Home
last modified time | relevance | path

Searched refs:mCi (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DUsimDataDownloadTest.java.broken42 mHandler = new UsimDataDownloadHandler(mCi, 0);
59 private UsimDataDownloadCommands mCi;
66 mCi = new UsimDataDownloadCommands(mContext);
114 mCi.expectSendEnvelope(SMS_PP_ENVELOPE_3_1_1, 0x90, 0x00, "");
115 mCi.expectAcknowledgeGsmSms(true, 0);
117 mCi.assertExpectedMethodsCalled();
119 mCi.expectSendEnvelope(SMS_PP_ENVELOPE_3_1_1, 0x90, 0x00, "0123456789");
120 mCi.expectAcknowledgeGsmSmsWithPdu(true, "00077f16050123456789");
122 mCi.assertExpectedMethodsCalled();
124 mCi.expectSendEnvelope(SMS_PP_ENVELOPE_3_1_1, 0x62, 0xff, "0123456789abcdef");
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsStorageMonitor.java64 final CommandsInterface mCi; // accessed from inner class field in SmsStorageMonitor
80 mCi = phone.mCi; in SmsStorageMonitor()
84 mCi.setOnIccSmsFull(this, EVENT_ICC_FULL, null); in SmsStorageMonitor()
85 mCi.registerForOn(this, EVENT_RADIO_ON, null); in SmsStorageMonitor()
96 mCi.unSetOnIccSmsFull(this); in dispose()
97 mCi.unregisterForOn(this); in dispose()
129 mCi.reportSmsMemoryStatus(mStorageAvailable, in handleMessage()
165 mCi.reportSmsMemoryStatus(false, obtainMessage(EVENT_REPORT_MEMORY_STATUS_DONE));
168 mCi.reportSmsMemoryStatus(true, obtainMessage(EVENT_REPORT_MEMORY_STATUS_DONE));
DPhone.java277 public CommandsInterface mCi; field in Phone
530 mCi = ci; in Phone()
545 mCi.setOnCallRing(this, EVENT_CALL_RING, null); in Phone()
591 mCi.registerForSrvccStateChanged(this, EVENT_SRVCC_STATE_CHANGED, null); in Phone()
593 mCi.startLceService(DEFAULT_REPORT_INTERVAL_MS, LCE_PULL_MODE, in Phone()
1132 mCi.registerForInCallVoicePrivacyOn(h, what, obj); in registerForInCallVoicePrivacyOn()
1141 mCi.unregisterForInCallVoicePrivacyOn(h); in unregisterForInCallVoicePrivacyOn()
1152 mCi.registerForInCallVoicePrivacyOff(h, what, obj); in registerForInCallVoicePrivacyOff()
1161 mCi.unregisterForInCallVoicePrivacyOff(h); in unregisterForInCallVoicePrivacyOff()
1348 mCi.getNetworkSelectionMode(msg); in setNetworkSelectionModeAutomatic()
[all …]
DGsmCdmaCallTracker.java156 mCi = phone.mCi; in GsmCdmaCallTracker()
157 mCi.registerForCallStateChanged(this, EVENT_CALL_STATE_CHANGE, null); in GsmCdmaCallTracker()
158 mCi.registerForOn(this, EVENT_RADIO_AVAILABLE, null); in GsmCdmaCallTracker()
159 mCi.registerForNotAvailable(this, EVENT_RADIO_NOT_AVAILABLE, null); in GsmCdmaCallTracker()
180 mCi.unregisterForCallWaitingInfo(this); in updatePhoneType()
193 mCi.registerForCallWaitingInfo(this, EVENT_CALL_WAITING_INFO_CDMA, null); in updatePhoneType()
346 mCi.dial(mPendingMO.getAddress(), mPendingMO.isEmergencyCall(), in dialGsm()
466 mCi.dial(mPendingMO.getAddress(), mPendingMO.isEmergencyCall(), in dialCdma()
516 mCi.sendCDMAFeatureCode("", obtainMessage(EVENT_THREE_WAY_DIAL_BLANK_FLASH)); in dialThreeWay()
518 mCi.sendCDMAFeatureCode(mPendingMO.getAddress(), in dialThreeWay()
[all …]
DGsmCdmaPhone.java271 .makeServiceStateTracker(this, this.mCi); in GsmCdmaPhone()
274 this, this.mCi); in GsmCdmaPhone()
356 mCi.registerForAvailable(this, EVENT_RADIO_AVAILABLE, null); in initOnce()
357 mCi.registerForOffOrNotAvailable(this, EVENT_RADIO_OFF_OR_NOT_AVAILABLE, null); in initOnce()
358 mCi.registerForOn(this, EVENT_RADIO_ON, null); in initOnce()
359 mCi.registerForRadioStateChanged(this, EVENT_RADIO_STATE_CHANGED, null); in initOnce()
360 mCi.registerUiccApplicationEnablementChanged(this, in initOnce()
363 mCi.setOnSuppServiceNotification(this, EVENT_SSN, null); in initOnce()
364 mCi.setOnRegistrationFailed(this, EVENT_REGISTRATION_FAILED, null); in initOnce()
365 mCi.registerForBarringInfoChanged(this, EVENT_BARRING_INFO_CHANGED, null); in initOnce()
[all …]
DPhoneConfigurationManager.java105 phone.mCi.registerForAvailable(mHandler, Phone.EVENT_RADIO_AVAILABLE, phone); in PhoneConfigurationManager()
109 phone.mCi.registerForOn(mHandler, Phone.EVENT_RADIO_ON, phone); in PhoneConfigurationManager()
200 phone.mCi.enableModem(enable, result); in enablePhone()
247 phone.mCi.getModemStatus(result); in getPhoneStatusFromModem()
268 phone.mCi.getModemStatus(result); in updatePhoneStatus()
362 phone.mCi.onSlotActiveStatusChange(SubscriptionManager.isValidPhoneId(i)); in onMultiSimConfigChanged()
DNetworkScanRequestTracker.java417 nsri.mPhone.mCi.registerForNetworkScanResult(mHandler, in startScanDone()
463 nsri.mPhone.mCi.unregisterForNetworkScanResult(mHandler); in receiveResult()
471 nsri.mPhone.mCi.unregisterForNetworkScanResult(mHandler); in receiveResult()
476 nsri.mPhone.mCi.unregisterForNetworkScanResult(mHandler); in receiveResult()
516 nsri.mPhone.mCi.unregisterForNetworkScanResult(mHandler); in stopScanDone()
535 nsri.mPhone.mCi.unregisterForNetworkScanResult(mHandler); in interruptScanDone()
569 nsri.mPhone.mCi.registerForModemReset(mHandler, EVENT_MODEM_RESET, nsri); in startNewScan()
570 nsri.mPhone.mCi.registerForNotAvailable(mHandler, EVENT_RADIO_UNAVAILABLE, nsri); in startNewScan()
590 mLiveRequestInfo.mPhone.mCi.unregisterForModemReset(mHandler); in deleteScanAndMayNotify()
591 mLiveRequestInfo.mPhone.mCi.unregisterForNotAvailable(mHandler); in deleteScanAndMayNotify()
DServiceStateTracker.java148 private CommandsInterface mCi; field in ServiceStateTracker
623 mCi = ci; in ServiceStateTracker()
637 mCi.setOnSignalStrengthUpdate(this, EVENT_SIGNAL_STRENGTH_UPDATE, null); in ServiceStateTracker()
638 mCi.registerForCellInfoList(this, EVENT_UNSOL_CELL_INFO_LIST, null); in ServiceStateTracker()
639 mCi.registerForPhysicalChannelConfiguration(this, EVENT_PHYSICAL_CHANNEL_CONFIG, null); in ServiceStateTracker()
659 mCi.registerForImsNetworkStateChanged(this, EVENT_IMS_STATE_CHANGED, null); in ServiceStateTracker()
660 mCi.registerForRadioStateChanged(this, EVENT_RADIO_STATE_CHANGED, null); in ServiceStateTracker()
661 mCi.setOnNITZTime(this, EVENT_NITZ_TIME, null); in ServiceStateTracker()
691 mCi.setOnRestrictedStateChanged(this, EVENT_RESTRICTED_STATE_CHANGED, null); in ServiceStateTracker()
767 mCi.unregisterForCdmaPrlChanged(this); in updatePhoneType()
[all …]
DSmsDispatchersController.java104 private final CommandsInterface mCi; field in SmsDispatchersController
137 mCi = phone.mCi; in SmsDispatchersController()
153 mCi.registerForOn(this, EVENT_RADIO_ON, null); in SmsDispatchersController()
154 mCi.registerForImsNetworkStateChanged(this, EVENT_IMS_STATE_CHANGED, null); in SmsDispatchersController()
185 mCi.unregisterForOn(this); in dispose()
186 mCi.unregisterForImsNetworkStateChanged(this); in dispose()
206 mCi.getImsRegistrationState(this.obtainMessage(EVENT_IMS_STATE_DONE)); in handleMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSubscriptionSourceManager.java56 private CommandsInterface mCi; field in CdmaSubscriptionSourceManager
65 mCi = ci; in CdmaSubscriptionSourceManager()
66 mCi.registerForCdmaSubscriptionChanged(this, EVENT_CDMA_SUBSCRIPTION_SOURCE_CHANGED, null); in CdmaSubscriptionSourceManager()
67 mCi.registerForOn(this, EVENT_RADIO_ON, null); in CdmaSubscriptionSourceManager()
71 mCi.registerForSubscriptionStatusChanged(this, EVENT_SUBSCRIPTION_STATUS_CHANGED, null); in CdmaSubscriptionSourceManager()
100 mCi.unregisterForCdmaSubscriptionChanged(this); in dispose()
101 mCi.unregisterForOn(this); in dispose()
102 mCi.unregisterForSubscriptionStatusChanged(this); in dispose()
125 mCi.getCdmaSubscriptionSource(obtainMessage(EVENT_GET_CDMA_SUBSCRIPTION_SOURCE)); in handleMessage()
138 mCi.getCdmaSubscriptionSource( in handleMessage()
DCdmaSMSDispatcher.java140 mCi.sendCdmaSMSExpectMore(pdu, reply); in sendSms()
142 mCi.sendCdmaSms(pdu, reply); in sendSms()
145 mCi.sendImsCdmaSms(pdu, tracker.mImsRetry, tracker.mMessageRef, reply); in sendSms()
/frameworks/base/telephony/java/android/telephony/
DCellIdentityLte.java48 private final int mCi; field in CellIdentityLte
71 mCi = CellInfo.UNAVAILABLE; in CellIdentityLte()
121 mCi = inRangeOrUnavailable(ci, 0, MAX_CI); in CellIdentityLte()
163 this(cid.mCi, cid.mPci, cid.mTac, cid.mEarfcn, cid.mBands, cid.mBandwidth, cid.mMccStr, in CellIdentityLte()
186 if (mCi == CellInfo.UNAVAILABLE) return; in updateGlobalCellId()
188 mGlobalCellId = plmn + String.format("%07x", mCi); in updateGlobalCellId()
216 return mCi; in getCi()
326 int cid = mCi != CellInfo.UNAVAILABLE ? mCi : -1; in asCellLocation()
334 return Objects.hash(mCi, mPci, mTac, mEarfcn, Arrays.hashCode(mBands), in hashCode()
349 return mCi == o.mCi in equals()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCardApplication.java90 private CommandsInterface mCi; field in UiccCardApplication
121 mCi = ci; in UiccCardApplication()
124 mIccRecords = createIccRecords(as.app_type, mContext, mCi); in UiccCardApplication()
129 mCi.registerForNotAvailable(mHandler, EVENT_RADIO_UNAVAILABLE, null); in UiccCardApplication()
142 mCi = ci; in update()
196 mCi.unregisterForNotAvailable(mHandler); in dispose()
216 return new SIMFileHandler(this, mAid, mCi); in createIccFileHandler()
218 return new RuimFileHandler(this, mAid, mCi); in createIccFileHandler()
220 return new UsimFileHandler(this, mAid, mCi); in createIccFileHandler()
222 return new CsimFileHandler(this, mAid, mCi); in createIccFileHandler()
[all …]
DIccFileHandler.java104 protected final CommandsInterface mCi; field in IccFileHandler
163 mCi = ci; in IccFileHandler()
189 mCi.iccIOForApp(COMMAND_GET_RESPONSE, fileid, efPath, in loadEFLinearFixed()
222 mCi.iccIOForApp(COMMAND_GET_RESPONSE, IccConstants.EF_IMG, in loadEFImgLinearFixed()
244 mCi.iccIOForApp(COMMAND_GET_RESPONSE, fileid, efPath, in getEFLinearRecordSize()
272 mCi.iccIOForApp( in getEFTransparentRecordSize()
310 mCi.iccIOForApp(COMMAND_GET_RESPONSE, fileid, efPath, in loadEFLinearFixedAll()
341 mCi.iccIOForApp(COMMAND_GET_RESPONSE, fileid, getEFPath(fileid), in loadEFTransparent()
359 mCi.iccIOForApp(COMMAND_READ_BINARY, fileid, getEFPath(fileid), in loadEFTransparent()
388 mCi.iccIOForApp(COMMAND_READ_BINARY, fileid, getEFPath(EF_IMG), in loadEFImgTransparent()
[all …]
DUiccSlot.java62 private CommandsInterface mCi; field in UiccSlot
93 mCi = ci; in update()
96 int radioState = mCi.getRadioState(); in update()
123 mUiccCard = new UiccCard(mContext, mCi, ics, mPhoneId, mLock); in update()
130 mUiccCard = new EuiccCard(mContext, mCi, ics, phoneId, mLock); in update()
134 mUiccCard.update(mContext, mCi, ics); in update()
148 mCi = ci; in update()
184 (mCi == null) ? TelephonyManager.RADIO_POWER_UNAVAILABLE : mCi.getRadioState(); in updateCardStateAbsent()
436 pw.println(" mCi=" + mCi); in dump()
DUiccCard.java63 private CommandsInterface mCi; field in UiccCard
89 mCi = ci; in update()
97 mContext, mCi, ics, mPhoneId, this, mLock); in update()
99 mUiccProfile.update(mContext, mCi, ics); in update()
529 pw.println(" mCi=" + mCi); in dump()
DUiccProfile.java105 private CommandsInterface mCi; field in UiccProfile
317 mCi.unregisterForOffOrNotAvailable(mHandler); in dispose()
1017 mCi = ci; in update()
1030 ics.mApplications[i], mContext, mCi); in update()
1038 mUiccApplications[i].update(ics.mApplications[i], mContext, mCi); in update()
1065 mCatService = CatService.getInstance(mCi, mContext, this, mPhoneId); in createAndUpdateCatServiceLocked()
1067 mCatService.update(mCi, mContext, this); in createAndUpdateCatServiceLocked()
1510 mCi.iccOpenLogicalChannel(aid, p2, in iccOpenLogicalChannel()
1519 mCi.iccCloseLogicalChannel(channel, in iccCloseLogicalChannel()
1528 mCi.iccTransmitApduLogicalChannel(channel, cla, command, p1, p2, p3, in iccTransmitApduLogicalChannel()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimDataDownloadHandler.java60 private final CommandsInterface mCi; field in UsimDataDownloadHandler
64 mCi = commandsInterface; in UsimDataDownloadHandler()
92 mCi.writeSmsToSim(SmsManager.STATUS_ON_ICC_UNREAD, smsc, in handleUsimDataDownload()
174 mCi.sendEnvelopeWithStatus(encodedEnvelope, obtainMessage( in handleDataDownload()
229 mCi.acknowledgeLastIncomingGsmSms(true, 0, null); in sendSmsAckForEnvelopeResponse()
263 mCi.acknowledgeIncomingGsmSmsWithPdu(success, in sendSmsAckForEnvelopeResponse()
268 mCi.acknowledgeLastIncomingGsmSms(false, cause, null); in acknowledgeSmsWithError()
324 mCi.acknowledgeLastIncomingGsmSms(true, 0, null); in handleMessage()
327 mCi.acknowledgeLastIncomingGsmSms(false, in handleMessage()
DGsmSMSDispatcher.java59 mCi.setOnSmsStatus(this, EVENT_NEW_SMS_STATUS_REPORT, null); in GsmSMSDispatcher()
69 mCi.unSetOnSmsStatus(this); in dispose()
142 mCi.acknowledgeLastIncomingGsmSms(true, 0 /* cause */, null); in handleStatusReport()
192 mCi.sendSMSExpectMore(IccUtils.bytesToHexString(smsc), in sendSms()
195 mCi.sendSMS(IccUtils.bytesToHexString(smsc), in sendSms()
199 mCi.sendImsGsmSms(IccUtils.bytesToHexString(smsc), in sendSms()
DGsmInboundSmsHandler.java61 phone.mCi.setOnNewGsmSms(getHandler(), EVENT_NEW_SMS, null); in GsmInboundSmsHandler()
62 mDataDownloadHandler = new UsimDataDownloadHandler(phone.mCi, phone.getPhoneId()); in GsmInboundSmsHandler()
125 mPhone.mCi.unSetOnNewGsmSms(getHandler()); in onQuitting()
235 mPhone.mCi.acknowledgeLastIncomingGsmSms(success, resultToCause(result), response); in acknowledgeLastIncomingSms()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DCellularDataService.java116 mPhone.mCi.registerForDataCallListChanged(mHandler, DATA_CALL_LIST_CHANGED, null); in CellularDataServiceProvider()
133 mPhone.mCi.setupDataCall(accessNetworkType, dataProfile, isRoaming, allowRoaming, in setupDataCall()
149 mPhone.mCi.deactivateDataCall(cid, reason, message); in deactivateDataCall()
165 mPhone.mCi.setInitialAttachApn(dataProfile, isRoaming, message); in setInitialAttachApn()
181 mPhone.mCi.setDataProfile(dps.toArray(new DataProfile[dps.size()]), isRoaming, message); in setDataProfile()
195 mPhone.mCi.getDataCallList(message); in requestDataCallList()
200 mPhone.mCi.unregisterForDataCallListChanged(mHandler); in close()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
DCloseLogicalChannelInvocation.java37 private final CommandsInterface mCi; field in CloseLogicalChannelInvocation
40 mCi = ci; in CloseLogicalChannelInvocation()
46 mCi.iccCloseLogicalChannel(channel, msg); in sendRequestMessage()
DTransmitApduLogicalChannelInvocation.java41 private final CommandsInterface mCi; field in TransmitApduLogicalChannelInvocation
44 mCi = ci; in TransmitApduLogicalChannelInvocation()
50 mCi.iccTransmitApduLogicalChannel(command.channel, command.cla | command.channel, in sendRequestMessage()
DOpenLogicalChannelInvocation.java40 private final CommandsInterface mCi; field in OpenLogicalChannelInvocation
43 mCi = ci; in OpenLogicalChannelInvocation()
48 mCi.iccOpenLogicalChannel(aid, 0, msg); in sendRequestMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorGsmCdmaPhone.java81 mCi.getDeviceIdentity(obtainMessage(EVENT_GET_DEVICE_IDENTITY_DONE)); in fetchIMEI()
126 mCi.startDtmf(c, null); in startDtmf()

123