diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index ea79b5a8a198d..a3099db9b7a0a 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -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. diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index 23f4217caf9d0..0c3991d07ab6c 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -1191,17 +1191,6 @@ interface ITelephony { in List gsmNonRoamingList, in List cdmaRoamingList, in List 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. * diff --git a/telephony/java/com/android/internal/telephony/RILConstants.java b/telephony/java/com/android/internal/telephony/RILConstants.java index b076cf7cac204..decf2d4fc0194 100644 --- a/telephony/java/com/android/internal/telephony/RILConstants.java +++ b/telephony/java/com/android/internal/telephony/RILConstants.java @@ -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.