Remove deprecated IRadio <1.4 APIs and references
Test: atest FrameworksTelephonyTests, CtsTelephonyTestCases Bug: 280900995 Change-Id: I556e0ce3c35c2458724f3b7295950ced01e822a5
This commit is contained in:
@@ -11286,29 +11286,6 @@ public class TelephonyManager {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the result and response from RIL for oem request
|
||||
*
|
||||
* @param oemReq the data is sent to ril.
|
||||
* @param oemResp the respose data from RIL.
|
||||
* @return negative value request was not handled or get error
|
||||
* 0 request was handled succesfully, but no response data
|
||||
* positive value success, data length of response
|
||||
* @hide
|
||||
* @deprecated OEM needs a vendor-extension hal and their apps should use that instead
|
||||
*/
|
||||
@Deprecated
|
||||
public int invokeOemRilRequestRaw(byte[] oemReq, byte[] oemResp) {
|
||||
try {
|
||||
ITelephony telephony = getITelephony();
|
||||
if (telephony != null)
|
||||
return telephony.invokeOemRilRequestRaw(oemReq, oemResp);
|
||||
} catch (RemoteException ex) {
|
||||
} catch (NullPointerException ex) {
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link android.telephony.ims.ImsMmTelManager#setVtSettingEnabled(boolean)}
|
||||
* instead.
|
||||
|
||||
@@ -1191,17 +1191,6 @@ interface ITelephony {
|
||||
in List<String> gsmNonRoamingList, in List<String> cdmaRoamingList,
|
||||
in List<String> cdmaNonRoamingList);
|
||||
|
||||
/**
|
||||
* Returns the result and response from RIL for oem request
|
||||
*
|
||||
* @param oemReq the data is sent to ril.
|
||||
* @param oemResp the respose data from RIL.
|
||||
* @return negative value request was not handled or get error
|
||||
* 0 request was handled succesfully, but no response data
|
||||
* positive value success, data length of response
|
||||
*/
|
||||
int invokeOemRilRequestRaw(in byte[] oemReq, out byte[] oemResp);
|
||||
|
||||
/**
|
||||
* Check if any mobile Radios need to be shutdown.
|
||||
*
|
||||
|
||||
@@ -323,11 +323,6 @@ public interface RILConstants {
|
||||
int SETUP_DATA_AUTH_CHAP = 2;
|
||||
int SETUP_DATA_AUTH_PAP_CHAP = 3;
|
||||
|
||||
/* LCE service related constants. */
|
||||
int LCE_NOT_AVAILABLE = -1;
|
||||
int LCE_STOPPED = 0;
|
||||
int LCE_ACTIVE = 1;
|
||||
|
||||
/**
|
||||
* No restriction at all including voice/SMS/USSD/SS/AV64
|
||||
* and packet data.
|
||||
|
||||
Reference in New Issue
Block a user