Home
last modified time | relevance | path

Searched refs:getPhoneId (Results 1 – 25 of 99) sorted by relevance

1234

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java155 mMetrics.writeDataStallEvent(mPhone.getPhoneId(), i); in testEventDropped()
169 mMetrics.writeDataStallEvent(mPhone.getPhoneId(), 3); in testWriteDataStallEvent()
175 assertEquals(mPhone.getPhoneId(), log.events[0].phoneId); in testWriteDataStallEvent()
183 mMetrics.writeModemRestartEvent(mPhone.getPhoneId(), "Test"); in testModemRestartEvent()
190 assertEquals(mPhone.getPhoneId(), log.events[0].phoneId); in testModemRestartEvent()
210 mMetrics.writeCarrierIdMatchingEvent(mPhone.getPhoneId(), 1, in testWriteCarrierIdMatchingEventWithInvalidMatchingScore()
221 assertEquals(mPhone.getPhoneId(), log.events[0].phoneId); in testWriteCarrierIdMatchingEventWithInvalidMatchingScore()
251 mMetrics.writeCarrierIdMatchingEvent(mPhone.getPhoneId(), 1, 1, in testWriteCarrierIdMatchingEvent()
259 assertEquals(mPhone.getPhoneId(), log.events[0].phoneId); in testWriteCarrierIdMatchingEvent()
287 mMetrics.writeEmergencyNumberUpdateEvent(mPhone.getPhoneId(), number, in testWriteEmergencyNumberUpdateEvent()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDefaultPhoneNotifier.java70 int phoneId = sender.getPhoneId(); in notifyPhoneState()
82 int phoneId = sender.getPhoneId(); in notifyServiceState()
96 int phoneId = sender.getPhoneId(); in notifySignalStrength()
109 int phoneId = sender.getPhoneId(); in notifyMessageWaitingChanged()
139 int phoneId = sender.getPhoneId(); in notifyDataConnection()
162 mTelephonyRegistryMgr.notifyPreciseCallState(sender.getSubId(), sender.getPhoneId(), in notifyPreciseCallState()
170 mTelephonyRegistryMgr.notifyDisconnectCause(sender.getSubId(), sender.getPhoneId(), cause, in notifyDisconnectCause()
184 sender.getPhoneId(), apnType, apn, failCause); in notifyDataConnectionFailed()
195 sender.getPhoneId(), activationState); in notifyDataActivationStateChanged()
201 sender.getPhoneId(), activationState); in notifyVoiceActivationStateChanged()
[all …]
DImsSmsDispatcher.java124 mMetrics.writeOnImsServiceSmsSolicitedResponse(mPhone.getPhoneId(), status, reason);
223 mImsManagerConnector = new FeatureConnector<>(mContext, mPhone.getPhoneId(), in ImsSmsDispatcher()
227 return ImsManager.getInstance(mContext, phone.getPhoneId()); in ImsSmsDispatcher()
390 mMetrics.writeImsServiceSendSms(mPhone.getPhoneId(), format, in sendSms()
396 mMetrics.writeImsServiceSendSms(mPhone.getPhoneId(), format, in sendSms()
402 return ImsManager.getInstance(mContext, mPhone.getPhoneId()); in getImsManager()
421 Rlog.d(TAG + " [" + getPhoneId(mPhone) + "]", s); in logd()
425 Rlog.i(TAG + " [" + getPhoneId(mPhone) + "]", s); in logi()
429 Rlog.w(TAG + " [" + getPhoneId(mPhone) + "]", s); in logw()
433 Rlog.e(TAG + " [" + getPhoneId(mPhone) + "]", s); in loge()
[all …]
DCellBroadcastServiceManager.java71 Log.d(TAG, "CellBroadcastServiceManager created for phone " + phone.getPhoneId()); in CellBroadcastServiceManager()
157 mLocalLog.log("GSM SMS CB for phone " + mPhone.getPhoneId()); in initCellBroadcastServiceModule()
158 cellBroadcastService.handleGsmCellBroadcastSms(mPhone.getPhoneId(), in initCellBroadcastServiceModule()
161 mLocalLog.log("CDMA SMS CB for phone " + mPhone.getPhoneId()); in initCellBroadcastServiceModule()
163 cellBroadcastService.handleCdmaCellBroadcastSms(mPhone.getPhoneId(), in initCellBroadcastServiceModule()
166 mLocalLog.log("CDMA SCP message for phone " + mPhone.getPhoneId()); in initCellBroadcastServiceModule()
171 cellBroadcastService.handleCdmaScpMessage(mPhone.getPhoneId(), in initCellBroadcastServiceModule()
DNetworkRegistrationManager.java80 && mPhone.getPhoneId() == intent.getIntExtra(
96 ? "C" : "I") + "-" + mPhone.getPhoneId(); in NetworkRegistrationManager()
165 mINetworkService.requestNetworkRegistrationInfo(mPhone.getPhoneId(), domain, callback); in requestNetworkRegistrationInfo()
200 mINetworkService.createNetworkServiceProvider(mPhone.getPhoneId()); in onServiceConnected()
201 mINetworkService.registerForNetworkRegistrationInfoChanged(mPhone.getPhoneId(), in onServiceConnected()
248 mINetworkService.removeNetworkServiceProvider(mPhone.getPhoneId()); in unbindService()
263 if (mPhone == null || !SubscriptionManager.isValidPhoneId(mPhone.getPhoneId())) { in bindService()
303 if (SubscriptionManager.isValidPhoneId(mPhone.getPhoneId()) in rebindService()
DProxyController.java158 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); in registerForAllDataDisconnected()
166 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); in unregisterForAllDataDisconnected()
175 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); in areAllDataDisconnected()
267 int phoneId = rafs[i].getPhoneId(); in doSetRadioCapabilities()
382 int id = rc.getPhoneId(); in onStartRadioCapabilityResponse()
442 int id = rc.getPhoneId(); in onApplyRadioCapabilityResponse()
472 int id = rc.getPhoneId(); in onNotificationRadioCapabilityChanged()
DSmsBroadcastUndelivered.java227 int phoneId = getPhoneId(gsmInboundSmsHandler, cdmaInboundSmsHandler); in scanRawTable()
261 private static int getPhoneId(GsmInboundSmsHandler gsmInboundSmsHandler, in getPhoneId() method in SmsBroadcastUndelivered
265 phoneId = gsmInboundSmsHandler.getPhone().getPhoneId(); in getPhoneId()
267 phoneId = cdmaInboundSmsHandler.getPhone().getPhoneId(); in getPhoneId()
DCarrierKeyDownloadManager.java127 filter.addAction(INTENT_KEY_RENEWAL_ALARM_PREFIX + mPhone.getPhoneId()); in CarrierKeyDownloadManager()
137 int slotId = mPhone.getPhoneId();
211 int slotId = mPhone.getPhoneId(); in cleanupRenewalAlarms()
267 int slotId = mPhone.getPhoneId(); in resetRenewalAlarm()
283 int slotId = mPhone.getPhoneId(); in getMccMncSetFromPref()
543 int slotId = mPhone.getPhoneId(); in downloadKey()
DLocaleTracker.java172 if (phoneId == mPhone.getPhoneId()) {
249 mTag = LocaleTracker.class.getSimpleName() + "-" + mPhone.getPhoneId(); in LocaleTracker()
561 int phoneId = mPhone.getPhoneId(); in updateLocale()
574 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, mPhone.getPhoneId()); in updateLocale()
651 pw.println("LocaleTracker-" + mPhone.getPhoneId() + ":"); in dump()
DSimActivationTracker.java155 Rlog.d(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in log()
159 Rlog.e(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in loge()
DGsmCdmaCallTracker.java331 mMetrics.writeRilDial(mPhone.getPhoneId(), mPendingMO, clirMode, uusInfo); in dialGsm()
409 String operatorIsoContry = tm.getNetworkCountryIso(mPhone.getPhoneId()); in dialCdma()
410 String simIsoContry = tm.getSimCountryIsoForPhone(mPhone.getPhoneId()); in dialCdma()
779 mMetrics.writePhoneState(mPhone.getPhoneId(), mState); in updatePhoneState()
1093 mMetrics.writeRilCallList(mPhone.getPhoneId(), locallyDisconnectedConnections, in handlePollCalls()
1166 mMetrics.writeRilCallList(mPhone.getPhoneId(), activeConnections, getNetworkCountryIso()); in updateMetrics()
1240 mMetrics.writeRilHangup(mPhone.getPhoneId(), conn, conn.getGsmCdmaIndex(), in hangup()
1335 mMetrics.writeRilHangup(mPhone.getPhoneId(), c, call_index, getNetworkCountryIso()); in logHangupEvent()
1359 mMetrics.writeRilHangup(mPhone.getPhoneId(), c, c.getGsmCdmaIndex(), in hangupConnectionByIndex()
1373 mMetrics.writeRilHangup(mPhone.getPhoneId(), c, c.getGsmCdmaIndex(), in hangupAllConnections()
[all …]
DCarrierActionAgent.java299 Rlog.d(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in log()
303 Rlog.e(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in loge()
307 Rlog.v(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in logv()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DDefaultPhoneNotifierTest.java112 doReturn(2).when(mPhone).getPhoneId(); in testNotifySignalStrength()
135 doReturn(1).when(mPhone).getPhoneId(); in testNotifyMessageWaiting()
139 doReturn(2).when(mPhone).getPhoneId(); in testNotifyMessageWaiting()
154 doReturn(1).when(mPhone).getPhoneId(); in testNotifyDisconnectCause()
211 mPhone.getPhoneId(), in testNotifyPreciseCallState()
220 mPhone.getPhoneId(), in testNotifyPreciseCallState()
229 mPhone.getPhoneId(), in testNotifyPreciseCallState()
238 mPhone.getPhoneId(), in testNotifyPreciseCallState()
DMultiSimSettingControllerTest.java118 doReturn(0).when(mSubControllerMock).getPhoneId(1); in setUp()
119 doReturn(1).when(mSubControllerMock).getPhoneId(2); in setUp()
164 doReturn(SubscriptionManager.INVALID_PHONE_INDEX).when(mSubControllerMock).getPhoneId(2); in testTestSubInfoChangeBeforeAllSubReady()
202 doReturn(SubscriptionManager.INVALID_PHONE_INDEX).when(mSubControllerMock).getPhoneId(2); in testSingleActiveDsds()
217 doReturn(0).when(mSubControllerMock).getPhoneId(2); in testSingleActiveDsds()
218 doReturn(SubscriptionManager.INVALID_PHONE_INDEX).when(mSubControllerMock).getPhoneId(1); in testSingleActiveDsds()
242 doReturn(SubscriptionManager.INVALID_PHONE_INDEX).when(mSubControllerMock).getPhoneId(2); in testActivatingSecondSub()
263 doReturn(1).when(mSubControllerMock).getPhoneId(2); in testActivatingSecondSub()
285 doReturn(SubscriptionManager.INVALID_PHONE_INDEX).when(mSubControllerMock).getPhoneId(2); in testActivatingSecondSub()
286 doReturn(1).when(mSubControllerMock).getPhoneId(3); in testActivatingSecondSub()
[all …]
DCarrierResolverTest.java116 int phoneId = mPhone.getPhoneId(); in testCarrierMatch()
134 int phoneId = mPhone.getPhoneId(); in testMnoCarrierId()
158 int phoneId = mPhone.getPhoneId(); in testPreciseCarrierId()
199 int phoneId = mPhone.getPhoneId(); in testCarrierMatchSimAbsent()
218 int phoneId = mPhone.getPhoneId(); in testCarrierNoMatch()
252 int phoneId = mPhone.getPhoneId(); in testCarrierMatchPreferApnChange()
DSubscriptionInfoUpdaterTest.java510 doReturn(FAKE_SUB_ID_1).when(mSubscriptionController).getPhoneId(eq(FAKE_SUB_ID_1)); in testDualSimLoaded()
511 doReturn(FAKE_SUB_ID_2).when(mSubscriptionController).getPhoneId(eq(FAKE_SUB_ID_2)); in testDualSimLoaded()
739 final int phoneId = mPhone.getPhoneId(); in testUpdateFromCarrierConfigOpportunisticUnchanged()
750 mUpdater.updateSubscriptionByCarrierConfig(mPhone.getPhoneId(), in testUpdateFromCarrierConfigOpportunisticUnchanged()
761 final int phoneId = mPhone.getPhoneId(); in testUpdateFromCarrierConfigOpportunisticSetOpportunistic()
775 mUpdater.updateSubscriptionByCarrierConfig(mPhone.getPhoneId(), in testUpdateFromCarrierConfigOpportunisticSetOpportunistic()
792 final int phoneId = mPhone.getPhoneId(); in testUpdateFromCarrierConfigOpportunisticAddToGroup()
807 mUpdater.updateSubscriptionByCarrierConfig(mPhone.getPhoneId(), in testUpdateFromCarrierConfigOpportunisticAddToGroup()
826 final int phoneId = mPhone.getPhoneId(); in testUpdateFromCarrierConfigOpportunisticRemoveFromGroup()
843 mUpdater.updateSubscriptionByCarrierConfig(mPhone.getPhoneId(), in testUpdateFromCarrierConfigOpportunisticRemoveFromGroup()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataServiceManager.java113 && mPhone.getPhoneId() == intent.getIntExtra(
182 mIDataService.createDataServiceProvider(mPhone.getPhoneId()); in onServiceConnected()
183 mIDataService.registerForDataCallListChanged(mPhone.getPhoneId(), in onServiceConnected()
340 mIDataService.removeDataServiceProvider(mPhone.getPhoneId()); in unbindDataService()
356 if (mPhone == null || !SubscriptionManager.isValidPhoneId(mPhone.getPhoneId())) { in bindDataService()
395 if (SubscriptionManager.isValidPhoneId(mPhone.getPhoneId()) in rebindDataService()
566 mIDataService.setupDataCall(mPhone.getPhoneId(), accessNetworkType, dataProfile, in setupDataCall()
604 mIDataService.deactivateDataCall(mPhone.getPhoneId(), cid, reason, callback); in deactivateDataCall()
635 mIDataService.setInitialAttachApn(mPhone.getPhoneId(), dataProfile, isRoaming, in setInitialAttachApn()
668 mIDataService.setDataProfile(mPhone.getPhoneId(), dps, isRoaming, callback); in setDataProfile()
[all …]
DTelephonyNetworkFactory.java93 super(looper, phone.getContext(), "TelephonyNetworkFactory[" + phone.getPhoneId() in TelephonyNetworkFactory()
101 setCapabilityFilter(makeNetworkFilter(mSubscriptionController, mPhone.getPhoneId())); in TelephonyNetworkFactory()
105 LOG_TAG = "TelephonyNetworkFactory[" + mPhone.getPhoneId() + "]"; in TelephonyNetworkFactory()
249 networkRequest, mPhone.getPhoneId()); in onActivePhoneSwitch()
274 mPhone.getPhoneId()); in onSubIdChange()
292 networkRequest, mPhone.getPhoneId()); in onNeedNetworkFor()
DAccessNetworksManager.java98 && mPhone.getPhoneId() == intent.getIntExtra(
154 mIQualifiedNetworksService.createNetworkAvailabilityProvider(mPhone.getPhoneId(), in onServiceConnected()
275 mIQualifiedNetworksService.removeNetworkAvailabilityProvider(mPhone.getPhoneId()); in bindQualifiedNetworksService()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java62 mDataDownloadHandler = new UsimDataDownloadHandler(phone.mCi, phone.getPhoneId()); in GsmInboundSmsHandler()
110 int phoneId = mPhone.getPhoneId(); in handleTestAction()
262 mMetrics.writeIncomingSmsTypeZero(mPhone.getPhoneId(), in addSmsTypeZeroToMetrics()
270 mMetrics.writeIncomingVoiceMailSms(mPhone.getPhoneId(), in addVoicemailSmsToMetrics()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorPhoneSwitcher.java170 final int ddsPhoneId = mSubscriptionController.getPhoneId(ddsSubId); in handleMessage()
252 final int ddsPhoneId = mSubscriptionController.getPhoneId(primaryDataSubId); in onEvaluate()
500 int phoneId = phone.getPhoneId(); in isPhoneInVoiceCall()
525 int ddsPhoneId = mSubscriptionController.getPhoneId(ddsSubId); in handleConnectMaxFailure()
554 int ddsPhoneId = mSubscriptionController.getPhoneId( in onDdsSwitchResponse()
628 int ddsPhoneId = mSubscriptionController.getPhoneId( in isPhoneIdValidForRetry()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSIMRecords.java249 mTelephonyManager.setSimOperatorNumericForPhone(mParentApp.getPhoneId(), ""); in resetRecords()
250 mTelephonyManager.setSimOperatorNameForPhone(mParentApp.getPhoneId(), ""); in resetRecords()
251 mTelephonyManager.setSimCountryIsoForPhone(mParentApp.getPhoneId(), ""); in resetRecords()
1039 mParentApp.getPhoneId())); in handleMessage()
1489 mParentApp.getPhoneId(), operator); in onAllRecordsLoaded()
1499 mParentApp.getPhoneId(), MccTable.countryCodeForMcc(imsi.substring(0, 3))); in onAllRecordsLoaded()
1780 mParentApp.getPhoneId(), spn); in getSpnFsm()
1814 mParentApp.getPhoneId(), spn); in getSpnFsm()
1846 mParentApp.getPhoneId(), spn); in getSpnFsm()
2015 Rlog.d(LOG_TAG, "[SIMRecords-" + mParentApp.getPhoneId() + "] " + s); in log()
[all …]
DIsimUiccRecords.java331 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, mParentApp.getPhoneId()); in broadcastRefresh()
414 Rlog.d(LOG_TAG, "[ISIM-" + mParentApp.getPhoneId() + "] " + s); in log()
423 Rlog.e(LOG_TAG, "[ISIM-" + mParentApp.getPhoneId() + "] " + s); in loge()
DRuimRecords.java348 mParentApp.getPhoneId(), getServiceProviderName()); in onRecordLoaded()
794 mParentApp.getPhoneId(), operator); in onAllRecordsLoaded()
803 mTelephonyManager.setSimCountryIsoForPhone(mParentApp.getPhoneId(), in onAllRecordsLoaded()
820 int phoneId = mParentApp.getUiccProfile().getPhoneId(); in onAllRecordsLoaded()
969 Rlog.d(LOG_TAG, "[RuimRecords-" + mParentApp.getPhoneId() + "] " + s); in log()
979 Rlog.e(LOG_TAG, "[RuimRecords-" + mParentApp.getPhoneId() + "] " + s); in loge()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java228 TelephonyMetrics.getInstance().writeOnImsCallReceive(mPhone.getPhoneId(), in onIncomingCall()
881 phone.getContext(), phone.getPhoneId(), in ImsPhoneCallTracker()
885 return ImsManager.getInstance(phone.getContext(), phone.getPhoneId()); in ImsPhoneCallTracker()
1007 intent.putExtra(ImsManager.EXTRA_PHONE_ID, mPhone.getPhoneId()); in sendImsServiceStateIntent()
1507 mMetrics.writeOnImsCallStart(mPhone.getPhoneId(), imsCall.getSession()); in dialInternal()
1575 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in acceptCall()
1635 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), callToHold.getSession(), in holdActiveCallForPendingMo()
1667 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), callToHold.getSession(), in holdActiveCall()
1694 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), callToHold.getSession(), in holdActiveCallForWaitingCall()
1724 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in unholdHeldCall()
[all …]

1234