Home
last modified time | relevance | path

Searched refs:RIL (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioNetworkProxy.java73 version = RIL.getServiceHalVersion(network.getInterfaceVersion()); in setAidl()
120 } else if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_6)) { in getAllowedNetworkTypesBitmap()
161 if (isEmpty() || mHalVersion.less(RIL.RADIO_HAL_VERSION_1_5)) return; in getBarringInfo()
192 } else if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_6)) { in getCellInfoList()
211 || overrideHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_6)) in getDataRegistrationState()
212 && mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_6)) { in getDataRegistrationState()
215 || overrideHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_5)) in getDataRegistrationState()
216 && mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_5)) { in getDataRegistrationState()
274 } else if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_6)) { in getSignalStrength()
287 if (isEmpty() || mHalVersion.less(RIL.RADIO_HAL_VERSION_1_6)) return; in getSystemSelectionChannels()
[all …]
DImsIndication.java33 private final RIL mRil;
35 public ImsIndication(RIL ril) { in ImsIndication()
67 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_CONNECTION_SETUP_FAILURE, response); in onConnectionSetupFailure()
91 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_NOTIFY_ANBR, response); in notifyAnbr()
109 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_TRIGGER_IMS_DEREGISTRATION, reason); in triggerImsDeregistration()
DRadioDataProxy.java52 version = RIL.getServiceHalVersion(data.getInterfaceVersion()); in setAidl()
96 if (isEmpty() || mHalVersion.less(RIL.RADIO_HAL_VERSION_1_6)) return; in allocatePduSessionId()
111 if (isEmpty() || mHalVersion.less(RIL.RADIO_HAL_VERSION_1_6)) return; in cancelHandover()
144 } else if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_6)) { in getDataCallList()
157 if (isEmpty() || mHalVersion.less(RIL.RADIO_HAL_VERSION_1_6)) return; in getSlicingConfig()
172 if (isEmpty() || mHalVersion.less(RIL.RADIO_HAL_VERSION_1_6)) return; in releasePduSessionId()
224 } else if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_5)) { in setDataProfile()
249 if (isEmpty() || mHalVersion.less(RIL.RADIO_HAL_VERSION_1_6)) return; in setDataThrottling()
269 } else if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_5)) { in setInitialAttachApn()
327 } else if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_6)) { in setupDataCall()
[all …]
DRILRequest.java105 rr.mWakeLockType = RIL.INVALID_WAKELOCK; in obtain()
192 if (mWakeLockType != RIL.INVALID_WAKELOCK) { in release()
194 if (mWakeLockType == RIL.FOR_WAKELOCK) { in release()
239 if (RIL.RILJ_LOGD) { in onError()
242 + " error: " + ex + " ret=" + RIL.retToString(mRequest, ret) in onError()
DRadioServiceProxy.java27 HalVersion mHalVersion = RIL.RADIO_HAL_VERSION_UNKNOWN;
61 mHalVersion = RIL.RADIO_HAL_VERSION_UNKNOWN; in clear()
DRadioSimProxy.java45 version = RIL.getServiceHalVersion(sim.getInterfaceVersion()); in setAidl()
89 if (isEmpty() || mHalVersion.less(RIL.RADIO_HAL_VERSION_1_5)) return; in areUiccApplicationsEnabled()
140 if (isEmpty() || mHalVersion.less(RIL.RADIO_HAL_VERSION_1_5)) return; in enableUiccApplications()
245 if (isEmpty() || mHalVersion.less(RIL.RADIO_HAL_VERSION_1_6)) return; in getSimPhonebookCapacity()
259 if (isEmpty() || mHalVersion.less(RIL.RADIO_HAL_VERSION_1_6)) return; in getSimPhonebookRecords()
278 if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_2_1)) { in iccCloseLogicalChannel()
575 } else if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_6)) { in setCarrierInfoForImsiEncryption()
655 } else if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_6)) { in setSimCardPower()
770 if (isEmpty() || mHalVersion.less(RIL.RADIO_HAL_VERSION_1_5)) return; in supplySimDepersonalization()
788 if (isEmpty() || mHalVersion.less(RIL.RADIO_HAL_VERSION_1_6)) return; in updateSimPhonebookRecords()
DImsResponse.java31 private final RIL mRil;
33 public ImsResponse(RIL ril) { in ImsResponse()
DRadioConfig.java298 mRadioConfigProxy.setHidl(RIL.RADIO_HAL_VERSION_1_3, in updateRadioConfigProxy()
308 mRadioConfigProxy.setHidl(RIL.RADIO_HAL_VERSION_1_1, in updateRadioConfigProxy()
485 if (proxy.getVersion().less(RIL.RADIO_HAL_VERSION_2_2)) { in updateSimultaneousCallingSupport()
513 if (proxy.getVersion().less(RIL.RADIO_HAL_VERSION_1_1)) { in getPhoneCapability()
541 return !proxy.isEmpty() && proxy.getVersion().greaterOrEqual(RIL.RADIO_HAL_VERSION_1_1); in isSetPreferredDataCommandSupported()
572 if (proxy.getVersion().less(RIL.RADIO_HAL_VERSION_1_1)) { in setNumOfLiveModems()
626 if (proxy.getVersion().less(RIL.RADIO_HAL_VERSION_1_3)) { in getHalDeviceCapabilities()
DRadioConfigProxy.java42 private HalVersion mRadioConfigHalVersion = RIL.RADIO_HAL_VERSION_UNKNOWN;
91 mRadioConfigHalVersion = RIL.getServiceHalVersion(radioConfig.getInterfaceVersion()); in setAidl()
112 mRadioConfigHalVersion = RIL.RADIO_HAL_VERSION_UNKNOWN; in clear()
DRadioMessagingProxy.java46 version = RIL.getServiceHalVersion(messaging.getInterfaceVersion()); in setAidl()
254 } else if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_6)) { in sendCdmaSms()
273 } else if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_6)) { in sendCdmaSmsExpectMore()
276 } else if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_5)) { in sendCdmaSmsExpectMore()
344 } else if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_6)) { in sendSms()
365 } else if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_6)) { in sendSmsExpectMore()
DModemIndication.java38 private final RIL mRil;
40 public ModemIndication(RIL ril) { in ModemIndication()
DMessagingResponse.java33 private final RIL mRil;
35 public MessagingResponse(RIL ril) { in MessagingResponse()
44 long messageId = RIL.getOutgoingSmsMessageId(rr.mResult); in responseSms()
DRadioModemProxy.java41 version = RIL.getServiceHalVersion(modem.getInterfaceVersion()); in setAidl()
351 } else if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_6)) { in setRadioPower()
354 } else if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_5)) { in setRadioPower()
DDataIndication.java43 private final RIL mRil;
45 public DataIndication(RIL ril) { in DataIndication()
DMessagingIndication.java39 private final RIL mRil;
41 public MessagingIndication(RIL ril) { in MessagingIndication()
DDataResponse.java35 private final RIL mRil;
37 public DataResponse(RIL ril) { in DataResponse()
DMockModem.java51 static final int RADIOCONFIG_SERVICE = RIL.MAX_SERVICE_IDX + 1;
191 for (int service = RIL.MIN_SERVICE_IDX; service <= RIL.MAX_SERVICE_IDX; service++) { in bindAllMockModemService()
DSimIndication.java47 private final RIL mRil;
49 public SimIndication(RIL ril) { in SimIndication()
DSimResponse.java38 private final RIL mRil;
40 public SimResponse(RIL ril) { in SimResponse()
116 RIL.RADIO_HAL_VERSION_2_2); in getAllowedCarriersResponse()
DRadioResponse.java70 RIL mRil;
72 public RadioResponse(RIL ril) { in RadioResponse()
378 mRil.setCompatVersion(request, RIL.RADIO_HAL_VERSION_1_4); in getVoiceRegistrationStateResponse_1_5()
462 mRil.setCompatVersion(request, RIL.RADIO_HAL_VERSION_1_4); in getDataRegistrationStateResponse_1_5()
809 responseScanStatus(responseInfo, RIL.RADIO_HAL_VERSION_1_4); in startNetworkScanResponse_1_5()
1913 public static void responseInts(int service, RIL ril, in responseInts()
1960 public static void responseIntArrayList(int service, RIL ril, in responseIntArrayList()
2096 public static void responseVoid(int service, RIL ril, in responseVoid()
2127 public static void responseString(int service, RIL ril, in responseString()
2154 public static void responseStrings(int service, RIL ril, in responseStrings()
[all …]
DModemResponse.java37 private final RIL mRil;
39 public ModemResponse(RIL ril) { in ModemResponse()
DRadioVoiceProxy.java45 version = RIL.getServiceHalVersion(voice.getInterfaceVersion()); in setAidl()
168 } else if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_6)) { in emergencyDial()
305 } else if (mHalVersion.greaterOrEqual(RIL.RADIO_HAL_VERSION_1_6)) { in getCurrentCalls()
DRadioImsProxy.java40 version = RIL.getServiceHalVersion(ims.getInterfaceVersion()); in setAidl()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRadioConfigResponseTest.java35 Set<String> caps = RILUtils.getCaps(RIL.RADIO_HAL_VERSION_1_5, false); in testVersion_1_5()
51 Set<String> caps = RILUtils.getCaps(RIL.RADIO_HAL_VERSION_1_6, true); in testReducedFeatureSet()
69 Set<String> caps = RILUtils.getCaps(RIL.RADIO_HAL_VERSION_1_6, false); in testNonReducedFeatureSet()
DRILTest.java230 private RIL mRILInstance;
231 private RIL mRILUnderTest;
331 mRILInstance = new RIL(context, in setUp()
347 for (int service = RIL.MIN_SERVICE_IDX; service <= RIL.MAX_SERVICE_IDX; service++) { in setUp()
354 replaceInstance(RIL.class, "mHalVersion", mRILUnderTest, mHalVersionV14); in setUp()
513 replaceInstance(RIL.class, "mHalVersion", mRILUnderTest, mHalVersionV15); in testSupplySimDepersonalization()
547 replaceInstance(RIL.class, "mHalVersion", mRILUnderTest, mHalVersionV15); in testSupplySimDepersonalizationWithNetworkLock()
723 replaceInstance(RIL.class, "mHalVersion", mRILUnderTest, mHalVersionV15); in testStartNetworkScanWithUnsupportedResponse()
734 mRILUnderTest.setCompatVersion(rr.getRequest(), RIL.RADIO_HAL_VERSION_1_4); in testStartNetworkScanWithUnsupportedResponse()
750 replaceInstance(RIL.class, "mHalVersion", mRILUnderTest, mHalVersionV15); in testGetVoiceRegistrationStateWithUnsupportedResponse()
[all …]

123