Home
last modified time | relevance | path

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

123

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java144 mMetrics.writeDataStallEvent(mPhone.getPhoneId(), i); in testEventDropped()
158 mMetrics.writeDataStallEvent(mPhone.getPhoneId(), 3); in testWriteDataStallEvent()
164 assertEquals(mPhone.getPhoneId(), log.events[0].phoneId); in testWriteDataStallEvent()
172 mMetrics.writeModemRestartEvent(mPhone.getPhoneId(), "Test"); in testModemRestartEvent()
179 assertEquals(mPhone.getPhoneId(), log.events[0].phoneId); in testModemRestartEvent()
188 mMetrics.writeCarrierIdMatchingEvent(mPhone.getPhoneId(), 1, in testWriteCarrierIdMatchingEventWithInvalidMatchingScore()
196 assertEquals(mPhone.getPhoneId(), log.events[0].phoneId); in testWriteCarrierIdMatchingEventWithInvalidMatchingScore()
208 mMetrics.writeCarrierIdMatchingEvent(mPhone.getPhoneId(), 1, 1, "mccmncTest", "gid1Test"); in testWriteCarrierIdMatchingEvent()
215 assertEquals(mPhone.getPhoneId(), log.events[0].phoneId); in testWriteCarrierIdMatchingEvent()
227 mMetrics.writeOnImsCallStart(mPhone.getPhoneId(), mImsCallSession); in testWriteOnImsCallStart()
[all …]
DInProgressCallSessionTest.java39 mCallSession = new InProgressCallSession(mPhone.getPhoneId()); in setUp()
DInProgressSmsSessionTest.java39 mSmsSession = new InProgressSmsSession(mPhone.getPhoneId()); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDefaultPhoneNotifier.java53 int phoneId = sender.getPhoneId(); in notifyPhoneState()
72 int phoneId = sender.getPhoneId(); in notifyServiceState()
92 int phoneId = sender.getPhoneId(); in notifySignalStrength()
111 int phoneId = sender.getPhoneId(); in notifyMessageWaitingChanged()
309 mRegistry.notifySimActivationStateChangedForPhoneId(sender.getPhoneId(), in notifyDataActivationStateChanged()
319 mRegistry.notifySimActivationStateChangedForPhoneId(sender.getPhoneId(), in notifyVoiceActivationStateChanged()
330 sender.getPhoneId(), sender.getSubId(), state); in notifyUserMobileDataStateChanged()
DCarrierIdentifier.java132 logd("Creating CarrierIdentifier[" + phone.getPhoneId() + "]"); in CarrierIdentifier()
180 mSpn = mTelephonyMgr.getSimOperatorNameForPhone(mPhone.getPhoneId()); in handleMessage()
199 String spn = mTelephonyMgr.getSimOperatorNameForPhone(mPhone.getPhoneId()); in handleMessage()
209 mPhone.getPhoneId(), UiccController.APP_FAM_3GPP); in handleMessage()
226 .getUiccProfileForPhone(mPhone.getPhoneId()); in handleMessage()
248 String mccmnc = mTelephonyMgr.getSimOperatorNumericForPhone(mPhone.getPhoneId()); in loadCarrierMatchingRulesOnMccMnc()
523 final String mccmnc = mTelephonyMgr.getSimOperatorNumericForPhone(mPhone.getPhoneId()); in matchCarrier()
584 mPhone.getPhoneId(), getCarrierListVersion(), mCarrierId, in matchCarrier()
630 + mTelephonyMgr.getSimOperatorNumericForPhone(mPhone.getPhoneId())); in dump()
DProxyController.java168 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); in registerForAllDataDisconnected()
176 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); in unregisterForAllDataDisconnected()
184 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); in isDataDisconnected()
268 int phoneId = rafs[i].getPhoneId(); in doSetRadioCapabilities()
357 int id = rc.getPhoneId(); in onStartRadioCapabilityResponse()
417 int id = rc.getPhoneId(); in onApplyRadioCapabilityResponse()
447 int id = rc.getPhoneId(); in onNotificationRadioCapabilityChanged()
DNetworkRegistrationManager.java102 mServiceBinder.getNetworkRegistrationState(mPhone.getPhoneId(), domain, callback); in getNetworkRegistrationState()
135 mServiceBinder.createNetworkServiceProvider(mPhone.getPhoneId()); in onServiceConnected()
136 mServiceBinder.registerForNetworkRegistrationStateChanged(mPhone.getPhoneId(), in onServiceConnected()
DCarrierKeyDownloadManager.java121 filter.addAction(INTENT_KEY_RENEWAL_ALARM_PREFIX + mPhone.getPhoneId()); in CarrierKeyDownloadManager()
131 int slotId = mPhone.getPhoneId();
193 int slotId = mPhone.getPhoneId(); in cleanupRenewalAlarms()
249 int slotId = mPhone.getPhoneId(); in resetRenewalAlarm()
266 int slotId = mPhone.getPhoneId(); in getMccMncSetFromPref()
530 int slotId = mPhone.getPhoneId(); in downloadKey()
DCellBroadcastHandler.java89 metrics.writeNewCBSms(mPhone.getPhoneId(), message.getMessageFormat(), in handleBroadcastSms()
113 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, mPhone.getPhoneId()); in handleBroadcastSms()
DSimActivationTracker.java156 Rlog.d(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in log()
160 Rlog.e(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in loge()
DGsmCdmaCallTracker.java316 mMetrics.writeRilDial(mPhone.getPhoneId(), mPendingMO, clirMode, uusInfo); in dial()
393 String operatorIsoContry = tm.getNetworkCountryIsoForPhone(mPhone.getPhoneId()); in dial()
394 String simIsoContry = tm.getSimCountryIsoForPhone(mPhone.getPhoneId()); in dial()
737 mMetrics.writePhoneState(mPhone.getPhoneId(), mState); in updatePhoneState()
1042 mMetrics.writeRilCallList(mPhone.getPhoneId(), locallyDisconnectedConnections); in handlePollCalls()
1113 mMetrics.writeRilCallList(mPhone.getPhoneId(), activeConnections); in updateMetrics()
1186 mMetrics.writeRilHangup(mPhone.getPhoneId(), conn, conn.getGsmCdmaIndex()); in hangup()
1280 mMetrics.writeRilHangup(mPhone.getPhoneId(), cn, call_index); in logHangupEvent()
1302 mMetrics.writeRilHangup(mPhone.getPhoneId(), cn, cn.getGsmCdmaIndex()); in hangupConnectionByIndex()
1317 mMetrics.writeRilHangup(mPhone.getPhoneId(), cn, cn.getGsmCdmaIndex()); in hangupAllConnections()
[all …]
DServiceStateTracker.java304 mSubscriptionController.setPlmnSpn(mPhone.getPhoneId(), mCurShowPlmn, in onSubscriptionsChanged()
1530 getSimOperatorNumericForPhone(mPhone.getPhoneId()); in getImsi()
1956 String brandOverride = mUiccController.getUiccCard(getPhoneId()) != null in handlePollStateResultMessage()
1957 ? mUiccController.getUiccCard(getPhoneId()) in handlePollStateResultMessage()
1988 String brandOverride = mUiccController.getUiccCard(getPhoneId()) != null in handlePollStateResultMessage()
1989 ? mUiccController.getUiccCard(getPhoneId()) in handlePollStateResultMessage()
2364 int[] subIds = SubscriptionManager.getSubId(mPhone.getPhoneId()); in updateSpnDisplay()
2387 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, mPhone.getPhoneId()); in updateSpnDisplay()
2390 if (!mSubscriptionController.setPlmnSpn(mPhone.getPhoneId(), in updateSpnDisplay()
2410 int[] subIds = SubscriptionManager.getSubId(mPhone.getPhoneId()); in updateSpnDisplay()
[all …]
DCarrierActionAgent.java295 Rlog.d(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in log()
299 Rlog.e(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in loge()
303 Rlog.v(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in logv()
DRadioCapability.java142 public int getPhoneId() { in getPhoneId() method in RadioCapability
DCarrierSignalAgent.java357 Rlog.d(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in log()
362 Rlog.e(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in loge()
366 Rlog.v(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in logv()
DSubscriptionMonitor.java86 mDefaultDataPhoneId = mSubscriptionController.getPhoneId(mDefaultDataSubId); in SubscriptionMonitor()
156 mSubscriptionController.getPhoneId(INVALID_SUBSCRIPTION_ID);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierIdentifierTest.java106 int phoneId = mPhone.getPhoneId(); in testCarrierMatch()
130 int phoneId = mPhone.getPhoneId(); in testCarrierMatchSpnOverride()
148 int phoneId = mPhone.getPhoneId(); in testCarrierMatchSimAbsent()
166 int phoneId = mPhone.getPhoneId(); in testCarrierNoMatch()
178 int phoneId = mPhone.getPhoneId(); in testCarrierMatchPreferApnChange()
DCarrierKeyDownloadMgrTest.java265 int slotId = mPhone.getPhoneId(); in testDownloadComplete()
290 int slotId = mPhone.getPhoneId(); in testCarrierConfigChanged()
313 int slotId = mPhone.getPhoneId(); in testAlarmRenewal()
DDefaultPhoneNotifierTest.java118 doReturn(2).when(mPhone).getPhoneId(); in testNotifySignalStrength()
141 doReturn(1).when(mPhone).getPhoneId(); in testNotifyMessageWaiting()
145 doReturn(2).when(mPhone).getPhoneId(); in testNotifyMessageWaiting()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataServiceManager.java151 mIDataService.createDataServiceProvider(mPhone.getPhoneId()); in onServiceConnected()
152 mIDataService.registerForDataCallListChanged(mPhone.getPhoneId(), in onServiceConnected()
378 mIDataService.setupDataCall(mPhone.getPhoneId(), accessNetworkType, dataProfile, in setupDataCall()
416 mIDataService.deactivateDataCall(mPhone.getPhoneId(), cid, reason, callback); in deactivateDataCall()
449 mIDataService.setInitialAttachApn(mPhone.getPhoneId(), dataProfile, isRoaming, in setInitialAttachApn()
485 mIDataService.setDataProfile(mPhone.getPhoneId(), dps, isRoaming, callback); in setDataProfile()
515 mIDataService.getDataCallList(mPhone.getPhoneId(), callback); in getDataCallList()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java196 TelephonyMetrics.getInstance().writeOnImsCallReceive(mPhone.getPhoneId(), in onIncomingCall()
702 mImsManagerConnector = new ImsManager.Connector(phone.getContext(), phone.getPhoneId(), in ImsPhoneCallTracker()
865 return sp.getInt(Phone.CLIR_KEY + mPhone.getDefaultPhone().getPhoneId(), in getClirMode()
1207 mMetrics.writeOnImsCallStart(mPhone.getPhoneId(), in dialInternal()
1270 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in acceptCall()
1335 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in switchWaitingOrHoldingAndActive()
1501 mMetrics.writePhoneState(mPhone.getPhoneId(), mState); in updatePhoneState()
1686 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in hangup()
1690 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in hangup()
1730 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in resumeWaitingOrHolding()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl167 int getPhoneId(int subId); in getPhoneId() method
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSIMRecords.java268 mTelephonyManager.setSimOperatorNumericForPhone(mParentApp.getPhoneId(), ""); in resetRecords()
269 mTelephonyManager.setSimOperatorNameForPhone(mParentApp.getPhoneId(), ""); in resetRecords()
270 mTelephonyManager.setSimCountryIsoForPhone(mParentApp.getPhoneId(), ""); in resetRecords()
1564 mParentApp.getPhoneId(), operator); in onAllRecordsLoaded()
1574 mParentApp.getPhoneId(), MccTable.countryCodeForMcc( in onAllRecordsLoaded()
1793 mParentApp.getPhoneId())); in useRoamingFromServiceState()
1896 mParentApp.getPhoneId(), spn); in getSpnFsm()
1932 mParentApp.getPhoneId(), spn); in getSpnFsm()
1964 mParentApp.getPhoneId(), spn); in getSpnFsm()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java1211 public static int getPhoneId(int subId) { in getPhoneId() method in SubscriptionManager
1224 result = iSub.getPhoneId(subId); in getPhoneId()
1314 return getPhoneId(getDefaultVoiceSubscriptionId()); in getDefaultVoicePhoneId()
1367 return getPhoneId(getDefaultSmsSubscriptionId()); in getDefaultSmsPhoneId()
1420 return getPhoneId(getDefaultDataSubscriptionId()); in getDefaultDataPhoneId()
1552 final int phoneId = getPhoneId(subId); in isNetworkRoaming()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java226 + " slotId = " + mPhone.getPhoneId()); in getUiccCardApplication()
227 return mUiccController.getUiccCardApplication(mPhone.getPhoneId(), in getUiccCardApplication()

123