Home
last modified time | relevance | path

Searched refs:RILUtils (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioConfigResponseHidl.java54 ArrayList<IccSlotStatus> ret = RILUtils.convertHalSlotStatus(slotStatus); in getSimSlotsStatusResponse()
58 logd(rr, RILUtils.requestToString(rr.mRequest) + " " + ret.toString()); in getSimSlotsStatusResponse()
61 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in getSimSlotsStatusResponse()
79 logd(rr, RILUtils.requestToString(rr.mRequest)); in setSimSlotsMappingResponse()
82 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in setSimSlotsMappingResponse()
98 PhoneCapability ret = RILUtils.convertHalPhoneCapability( in getPhoneCapabilityResponse()
103 logd(rr, RILUtils.requestToString(rr.mRequest) + " " + ret.toString()); in getPhoneCapabilityResponse()
106 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in getPhoneCapabilityResponse()
124 logd(rr, RILUtils.requestToString(rr.mRequest)); in setPreferredDataModemResponse()
127 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in setPreferredDataModemResponse()
[all …]
DRadioConfigResponseAidl.java55 final Set<String> ret = RILUtils.getCaps(mHalVersion, modemReducedFeatureSet1); in getHalDeviceCapabilitiesResponse()
59 logd(rr, RILUtils.requestToString(rr.mRequest)); in getHalDeviceCapabilitiesResponse()
62 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in getHalDeviceCapabilitiesResponse()
81 logd(rr, RILUtils.requestToString(rr.mRequest)); in getNumOfLiveModemsResponse()
84 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in getNumOfLiveModemsResponse()
101 PhoneCapability ret = RILUtils.convertHalPhoneCapability( in getPhoneCapabilityResponse()
106 logd(rr, RILUtils.requestToString(rr.mRequest) + " " + ret.toString()); in getPhoneCapabilityResponse()
109 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in getPhoneCapabilityResponse()
126 ArrayList<Integer> ret = RILUtils.primitiveArrayToArrayList(enabledLogicalSlots); in getSimultaneousCallingSupportResponse()
130 logd(rr, RILUtils.requestToString(rr.mRequest) + " " + ret); in getSimultaneousCallingSupportResponse()
[all …]
DRIL.java341 + RILUtils.requestToString(rr.mRequest)); in handleMessage()
1331 + RILUtils.requestToString(rr.mRequest), rr.mSerial); in addRequest()
1424 riljLog(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest)); in getIccCardStatus()
1447 riljLog(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest) in supplyIccPinForApp()
1452 simProxy.supplyIccPinForApp(rr.mSerial, RILUtils.convertNullToEmptyString(pin), in supplyIccPinForApp()
1453 RILUtils.convertNullToEmptyString(aid)); in supplyIccPinForApp()
1471 String pukStr = RILUtils.convertNullToEmptyString(puk); in supplyIccPukForApp()
1473 riljLog(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest) in supplyIccPukForApp()
1479 RILUtils.convertNullToEmptyString(newPin), in supplyIccPukForApp()
1480 RILUtils.convertNullToEmptyString(aid)); in supplyIccPukForApp()
[all …]
DRadioMessagingProxy.java253 mMessagingProxy.sendCdmaSms(serial, RILUtils.convertToHalCdmaSmsMessageAidl(pdu)); in sendCdmaSms()
256 serial, RILUtils.convertToHalCdmaSmsMessage(pdu)); in sendCdmaSms()
258 mRadioProxy.sendCdmaSms(serial, RILUtils.convertToHalCdmaSmsMessage(pdu)); in sendCdmaSms()
272 serial, RILUtils.convertToHalCdmaSmsMessageAidl(pdu)); in sendCdmaSmsExpectMore()
275 serial, RILUtils.convertToHalCdmaSmsMessage(pdu)); in sendCdmaSmsExpectMore()
278 serial, RILUtils.convertToHalCdmaSmsMessage(pdu)); in sendCdmaSmsExpectMore()
280 mRadioProxy.sendCdmaSms(serial, RILUtils.convertToHalCdmaSmsMessage(pdu)); in sendCdmaSmsExpectMore()
307 RILUtils.convertToHalGsmSmsMessageAidl(smscPdu, gsmPdu)}; in sendImsSms()
313 RILUtils.convertToHalCdmaSmsMessageAidl(cdmaPdu)}; in sendImsSms()
323 msg.gsmMessage.add(RILUtils.convertToHalGsmSmsMessage(smscPdu, gsmPdu)); in sendImsSms()
[all …]
DRadioDataProxy.java221 dpis[i] = RILUtils.convertToHalDataProfile(profiles[i]); in setDataProfile()
227 dpis.add(RILUtils.convertToHalDataProfile15(dp)); in setDataProfile()
233 dpis.add(RILUtils.convertToHalDataProfile14(dp)); in setDataProfile()
268 mDataProxy.setInitialAttachApn(serial, RILUtils.convertToHalDataProfile(dataProfile)); in setInitialAttachApn()
271 RILUtils.convertToHalDataProfile15(dataProfile)); in setInitialAttachApn()
274 RILUtils.convertToHalDataProfile14(dataProfile)); in setInitialAttachApn()
323 mDataProxy.setupDataCall(serial, accessNetwork, RILUtils.convertToHalDataProfile(dp), in setupDataCall()
324 roamingAllowed, reason, RILUtils.convertToHalLinkProperties(linkProperties), in setupDataCall()
325 dnsesArr, pduSessionId, RILUtils.convertToHalSliceInfoAidl(sliceInfo), in setupDataCall()
329 accessNetwork, RILUtils.convertToHalDataProfile15(dataProfileInfo), in setupDataCall()
[all …]
DRadioNetworkProxy.java374 RILUtils.convertToHalRadioAccessFamilyAidl(networkTypeBitmask)); in setAllowedNetworkTypesBitmap()
377 serial, RILUtils.convertToHalRadioAccessFamily(networkTypeBitmask)); in setAllowedNetworkTypesBitmap()
391 RILUtils.convertToHalRadioAccessFamily(networkTypesBitmask)); in setPreferredNetworkTypeBitmap()
497 RILUtils.convertToHalAccessNetworkAidl(ran)); in setLinkCapacityReportingCriteria()
501 RILUtils.primitiveArrayToArrayList(thresholdsDlKbps), in setLinkCapacityReportingCriteria()
502 RILUtils.primitiveArrayToArrayList(thresholdsUlKbps), in setLinkCapacityReportingCriteria()
503 RILUtils.convertToHalAccessNetwork(ran)); in setLinkCapacityReportingCriteria()
510 RILUtils.primitiveArrayToArrayList(thresholdsDlKbps), in setLinkCapacityReportingCriteria()
511 RILUtils.primitiveArrayToArrayList(thresholdsUlKbps), in setLinkCapacityReportingCriteria()
512 RILUtils.convertToHalAccessNetwork(ran)); in setLinkCapacityReportingCriteria()
[all …]
DMessagingResponse.java113 numInts = RILUtils.CDMA_BROADCAST_SMS_NO_OF_SERVICE_CATEGORIES in getCdmaBroadcastConfigResponse()
114 * RILUtils.CDMA_BSI_NO_OF_INTS_STRUCT + 1; in getCdmaBroadcastConfigResponse()
118 ret[0] = RILUtils.CDMA_BROADCAST_SMS_NO_OF_SERVICE_CATEGORIES; in getCdmaBroadcastConfigResponse()
122 for (int i = 1; i < numInts; i += RILUtils.CDMA_BSI_NO_OF_INTS_STRUCT) { in getCdmaBroadcastConfigResponse()
123 ret[i] = i / RILUtils.CDMA_BSI_NO_OF_INTS_STRUCT; in getCdmaBroadcastConfigResponse()
129 numInts = (numServiceCategories * RILUtils.CDMA_BSI_NO_OF_INTS_STRUCT) + 1; in getCdmaBroadcastConfigResponse()
134 j++, i = i + RILUtils.CDMA_BSI_NO_OF_INTS_STRUCT) { in getCdmaBroadcastConfigResponse()
DRadioSimProxy.java368 RILUtils.convertToHalSimApduAidl(0, cla, instruction, p1, p2, p3, data, in iccTransmitApduBasicChannel()
372 RILUtils.convertToHalSimApdu(0, cla, instruction, p1, p2, p3, data)); in iccTransmitApduBasicChannel()
411 RILUtils.convertToHalSimApduAidl(channel, cla, instruction, p1, p2, p3, data, in iccTransmitApduLogicalChannel()
415 RILUtils.convertToHalSimApdu(channel, cla, instruction, p1, p2, p3, data)); in iccTransmitApduLogicalChannel()
526 carrierRestrictions.allowedCarriers = RILUtils.convertToHalCarrierRestrictionListAidl( in setAllowedCarriers()
528 carrierRestrictions.excludedCarriers = RILUtils.convertToHalCarrierRestrictionListAidl( in setAllowedCarriers()
534 RILUtils.convertToHalSimLockMultiSimPolicyAidl( in setAllowedCarriers()
540 carrierRestrictions.allowedCarriers = RILUtils.convertToHalCarrierRestrictionList( in setAllowedCarriers()
542 carrierRestrictions.excludedCarriers = RILUtils.convertToHalCarrierRestrictionList( in setAllowedCarriers()
548 RILUtils.convertToHalSimLockMultiSimPolicy( in setAllowedCarriers()
[all …]
DNetworkIndication.java92 BarringInfo cbi = new BarringInfo(RILUtils.convertHalCellIdentity(cellIdentity), in barringInfoChanged()
93 RILUtils.convertHalBarringInfoList(barringInfos)); in barringInfoChanged()
121 ArrayList<CellInfo> response = RILUtils.convertHalCellInfoList(records); in cellInfoList()
135 List<LinkCapacityEstimate> response = RILUtils.convertHalLinkCapacityEstimate(lce); in currentLinkCapacityEstimate()
183 RILUtils.convertHalCellConnectionStatus(config.status)) in currentPhysicalChannelConfigs()
214 SignalStrength ss = RILUtils.convertHalSignalStrength(signalStrength); in currentSignalStrength()
245 ArrayList<CellInfo> cellInfos = RILUtils.convertHalCellInfoList(result.networkInfos); in networkScanResult()
324 CellIdentity ci = RILUtils.convertHalCellIdentity(cellIdentity); in registrationFailed()
418 EmergencyRegistrationResult response = RILUtils.convertHalEmergencyRegResult(result); in emergencyNetworkScanResult()
442 RILUtils.convertCellularIdentifierDisclosure(identifierDisclsoure); in cellularIdentifierDisclosed()
[all …]
DModemResponse.java104 ArrayList<HardwareConfig> ret = RILUtils.convertHalHardwareConfigList(config); in getHardwareConfigResponse()
180 RadioCapability ret = RILUtils.convertHalRadioCapability(radioCapability, mRil); in getRadioCapabilityResponse()
246 RadioCapability ret = RILUtils.convertHalRadioCapability(radioCapability, mRil); in setRadioCapabilityResponse()
262 UUID.fromString(RILUtils.RADIO_POWER_FAILURE_RF_HARDWARE_ISSUE_UUID), in setRadioPowerResponse()
266 UUID.fromString(RILUtils.RADIO_POWER_FAILURE_NO_RF_CALIBRATION_UUID), in setRadioPowerResponse()
271 UUID.fromString(RILUtils.RADIO_POWER_FAILURE_BUGREPORT_UUID), in setRadioPowerResponse()
DRadioVoiceProxy.java137 mVoiceProxy.dial(serial, RILUtils.convertToHalDialAidl(address, clirMode, uusInfo)); in dial()
139 mRadioProxy.dial(serial, RILUtils.convertToHalDial(address, clirMode, uusInfo)); in dial()
159 RILUtils.convertToHalDialAidl(address, clirMode, uusInfo), in emergencyDial()
170 RILUtils.convertToHalDial(address, clirMode, uusInfo), in emergencyDial()
181 RILUtils.convertToHalDial(address, clirMode, uusInfo), in emergencyDial()
238 cfInfo.number = RILUtils.convertNullToEmptyString(number); in getCallForwardStatus()
247 cfInfo.number = RILUtils.convertNullToEmptyString(number); in getCallForwardStatus()
564 cfInfo.number = RILUtils.convertNullToEmptyString(number); in setCallForward()
574 cfInfo.number = RILUtils.convertNullToEmptyString(number); in setCallForward()
DRadioResponse.java617 int networkTypeBitmask = RILUtils.convertHalNetworkTypeBitMask(halRadioAccessFamilyBitmap); in getAllowedNetworkTypesBitmapResponse()
1000 int networkTypeBitmask = RILUtils.convertHalNetworkTypeBitMask(halRadioAccessFamilyBitmap); in getPreferredNetworkTypeBitmapResponse()
1526 RadioCapability ret = RILUtils.convertHalRadioCapability(rc, mRil); in getRadioCapabilityResponse()
1663 .setAllowedCarriers(RILUtils.convertHalCarrierList( in getAllowedCarriersResponse_1_4()
1665 .setExcludedCarriers(RILUtils.convertHalCarrierList( in getAllowedCarriersResponse_1_4()
1761 int convertedStatus = RILUtils.convertHalKeepaliveStatusCode( in startKeepaliveResponse()
1822 AdnCapacity capacity = RILUtils.convertHalPhonebookCapacity(pbCapacity); in getSimPhonebookCapacityResponse()
1853 IccCardStatus iccCardStatus = RILUtils.convertHalCardStatus(cardStatus.base.base); in responseIccCardStatus()
1873 IccCardStatus iccCardStatus = RILUtils.convertHalCardStatus(cardStatus); in responseIccCardStatus_1_5()
1986 dc = RILUtils.convertToDriverCall(calls.get(i)); in responseCurrentCalls()
[all …]
DNetworkResponse.java59 int networkTypeBitmask = RILUtils.convertHalNetworkTypeBitMask(halRadioAccessFamilyBitmap); in getAllowedNetworkTypesBitmapResponse()
70 RILUtils.primitiveArrayToArrayList(bandModes)); in getAvailableBandModesResponse()
85 RILUtils.convertHalOperatorStatus(info.status))); in getAvailableNetworksResponse()
105 BarringInfo bi = new BarringInfo(RILUtils.convertHalCellIdentity(cellIdentity), in getBarringInfoResponse()
106 RILUtils.convertHalBarringInfoList(barringInfos)); in getBarringInfoResponse()
134 ArrayList<CellInfo> ret = RILUtils.convertHalCellInfoList(cellInfo); in getCellInfoListResponse()
199 SignalStrength ret = RILUtils.convertHalSignalStrength(signalStrength); in getSignalStrengthResponse()
218 specifiers.add(RILUtils.convertHalRadioAccessSpecifier(specifier)); in getSystemSelectionChannelsResponse()
432 EmergencyRegistrationResult response = RILUtils.convertHalEmergencyRegResult(regState); in setEmergencyModeResponse()
DRadioModemProxy.java215 mModemProxy.nvResetConfig(serial, RILUtils.convertToHalResetNvTypeAidl(resetType)); in nvResetConfig()
217 mRadioProxy.nvResetConfig(serial, RILUtils.convertToHalResetNvType(resetType)); in nvResetConfig()
232 mRadioProxy.nvWriteCdmaPrl(serial, RILUtils.primitiveArrayToArrayList(prl)); in nvWriteCdmaPrl()
320 halRc.logicalModemUuid = RILUtils.convertNullToEmptyString(rc.getLogicalModemUuid()); in setRadioCapability()
329 halRc.logicalModemUuid = RILUtils.convertNullToEmptyString(rc.getLogicalModemUuid()); in setRadioCapability()
DSimResponse.java120 int policy = RILUtils.convertAidlSimLockMultiSimPolicy(multiSimPolicy); in getAllowedCarriersResponse()
128 RILUtils.convertHalCarrierList( in getAllowedCarriersResponse()
130 RILUtils.convertHalCarrierList( in getAllowedCarriersResponse()
134 RILUtils.convertAidlCarrierInfoList( in getAllowedCarriersResponse()
136 RILUtils.convertAidlCarrierInfoList( in getAllowedCarriersResponse()
187 IccCardStatus iccCardStatus = RILUtils.convertHalCardStatus(cardStatus); in getIccCardStatusResponse()
210 AdnCapacity capacity = RILUtils.convertHalPhonebookCapacity(pbCapacity); in getSimPhonebookCapacityResponse()
DModemIndication.java53 ArrayList<HardwareConfig> response = RILUtils.convertHalHardwareConfigList(configs); in hardwareConfigChanged()
87 RadioCapability response = RILUtils.convertHalRadioCapability(radioCapability, mRil); in radioCapabilityIndication()
103 int state = RILUtils.convertHalRadioState(radioState); in radioStateChanged()
DDataResponse.java89 RILUtils.convertHalDataCallResultList(dataCallResultList); in getDataCallListResponse()
106 NetworkSlicingConfig ret = RILUtils.convertHalSlicingConfig(slicingConfig); in getSlicingConfigResponse()
158 DataCallResponse response = RILUtils.convertHalDataCallResult(setupDataCallResult); in setupDataCallResponse()
187 int convertedStatus = RILUtils.convertHalKeepaliveStatusCode( in startKeepaliveResponse()
DRadioIndication.java141 int state = RILUtils.convertHalRadioState(radioState); in radioStateChanged()
173 byte[] pduArray = RILUtils.arrayListToPrimitiveArray(pdu); in newSms()
186 byte[] pduArray = RILUtils.arrayListToPrimitiveArray(pdu); in newSmsStatusReport()
254 List<LinkCapacityEstimate> response = RILUtils.convertHalLinkCapacityEstimate(lce); in currentLinkCapacityEstimate()
270 List<LinkCapacityEstimate> response = RILUtils.convertHalLinkCapacityEstimate(lce); in currentLinkCapacityEstimate_1_6()
295 SignalStrength ss = RILUtils.convertHalSignalStrength(signalStrength); in currentSignalStrength_1_4()
312 SignalStrength ss = RILUtils.convertHalSignalStrength(signalStrength); in currentSignalStrength_1_6()
523 SmsMessage sms = new SmsMessage(RILUtils.convertHalCdmaSmsMessage(msg)); in cdmaNewSms()
532 byte[] response = RILUtils.arrayListToPrimitiveArray(data); in newBroadcastSms()
818 ArrayList<CellInfo> response = RILUtils.convertHalCellInfoList((ArrayList<Object>) records); in responseCellInfoList()
[all …]
DRadioConfigIndicationHidl.java45 ArrayList<IccSlotStatus> ret = RILUtils.convertHalSlotStatus(slotStatus); in simSlotsStatusChanged()
58 ArrayList<IccSlotStatus> ret = RILUtils.convertHalSlotStatus(slotStatus); in simSlotsStatusChanged_1_2()
DRadioConfig.java169 logd(i + ": [" + rr.mSerial + "] " + RILUtils.requestToString(rr.mRequest)); in clearRequestList()
337 Trace.TRACE_TAG_NETWORK, "RIL", RILUtils.requestToString(rr.mRequest), rr.mSerial); in obtainRequest()
441 logd(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest)); in getSimSlotsStatus()
469 logd(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest)); in setPreferredDataModem()
497 logd(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest)); in updateSimultaneousCallingSupport()
524 logd(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest)); in getPhoneCapability()
554 logd(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest) + " " in setSimSlotsMapping()
584 logd(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest) in setNumOfLiveModems()
649 logd(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest)); in getHalDeviceCapabilities()
DDataIndication.java61 ArrayList<DataCallResponse> response = RILUtils.convertHalDataCallResultList(dcList); in dataCallListChanged()
110 DataProfile response = RILUtils.convertToDataProfile(dpi); in unthrottleApn()
129 NetworkSlicingConfig ret = RILUtils.convertHalSlicingConfig(slicingConfig); in slicingConfigChanged()
DRadioConfigIndicationAidl.java48 ArrayList<IccSlotStatus> ret = RILUtils.convertHalSlotStatus(slotStatus); in simSlotsStatusChanged()
62 RILUtils.primitiveArrayToArrayList(enabledLogicalSlots); in onSimultaneousCallingSupportChanged()
DImsIndication.java64 RILUtils.convertHalConnectionFailureReason(failureInfo.failureReason), in onConnectionSetupFailure()
112 response[0] = RILUtils.convertHalDeregistrationReason(reason); in triggerImsDeregistration()
/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()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/security/
DSecurityAlgorithmUpdateTest.java33 import com.android.internal.telephony.RILUtils;
100 assertThat(RILUtils.convertSecurityAlgorithmUpdate(aidlUpdate)) in testConvertSecurityAlgorithmUpdate()

12