Home
last modified time | relevance | path

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

12

/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java205 int getPhoneId(int subId); in getPhoneId() method
220 public int getPhoneId(int subId) {
221 return SubscriptionManager.getPhoneId(subId);
540 phone.getPhoneId())); in placeOutgoingConference()
680 phone.getPhoneId())); in onCreateOutgoingConnection()
723 phone.getPhoneId())); in onCreateOutgoingConnection()
969 phone.getPhoneId())); in adjustAndPlaceOutgoingConnection()
1060 phone.getPhoneId())); in getTelephonyConnection()
1078 phone.getPhoneId())); in getTelephonyConnection()
1089 phone.getPhoneId())); in getTelephonyConnection()
[all …]
DRadioOnStateListener.java125 Log.d(this, "waitForRadioOn: Phone " + phone.getPhoneId()); in waitForRadioOn()
147 Log.d(this, "startSequenceInternal: Phone " + phone.getPhoneId()); in startSequenceInternal()
177 mPhone.getPhoneId()); in onServiceStateChanged()
202 mPhone.getPhoneId()); in onRadioOn()
DCdmaConnection.java229 telephonyDisconnectCause, null, getPhone().getPhoneId())); in hangupCallWaiting()
DTelephonyConnection.java200 + (phone != null ? Integer.toString(phone.getPhoneId())
2466 getPhone().getPhoneId(), imsReasonInfo)); in updateStateInternal()
3107 return ImsUtil.isWfcEnabled(phone.getContext(), phone.getPhoneId()); in isWfcEnabled()
DImsConference.java1456 null, mConferenceHost.getPhone().getPhoneId()); in setState()
DTelecomAccountRegistry.java381 mPhone.getPhoneId()).isVtEnabledByPlatform(); in buildPstnPhoneAccount()
/packages/services/Telephony/src/com/android/phone/
DIccNetworkDepersonalizationPanel.java98 int phoneId = phone == null ? 0: phone.getPhoneId(); in showDialog()
175 .getActiveSubscriptionInfoForSimSlotIndex(mPhone.getPhoneId()); in IccNetworkDepersonalizationPanel()
185 .getActiveSubscriptionInfoForSimSlotIndex(mPhone.getPhoneId()); in IccNetworkDepersonalizationPanel()
239 int phoneId = mPhone == null ? 0 : mPhone.getPhoneId(); in onStop()
296 log("Operator displayName is: " + displayName + "phoneId: " + mPhone.getPhoneId()); in displayStatus()
DCallFeaturesSetting.java275 + " phone.getPhoneId()=" + phone.getPhoneId()); in updateImsManager()
276 mImsMgr = ImsManager.getInstance(phone.getContext(), phone.getPhoneId()); in updateImsManager()
527 + " phone =" + mPhone.getPhoneId()); in updateVtWfc()
DPhoneUtils.java787 if (VDBG) Log.v(LOG_TAG, "register for ICC status, phone " + phone.getPhoneId()); in registerIccStatus()
801 Log.v(LOG_TAG, "register for ICC status, phone " + phones[phoneId].getPhoneId()); in registerIccStatus()
815 Log.v(LOG_TAG, "unregister for ICC status, phone " + phones[phoneId].getPhoneId()); in unregisterIccStatus()
DSubscriptionInfoHelper.java102 ? PhoneFactory.getPhone(SubscriptionManager.getPhoneId(mSubId)) in getPhone()
DPhoneInterfaceManager.java1576 int phoneId = request.phone.getPhoneId(); in handleMessage()
1597 int id = request.phone.getPhoneId(); in handleMessage()
1734 int phoneId = getPhoneFromRequest(request).getPhoneId(); in handleMessage()
1758 int phoneId = getPhoneFromRequest(request).getPhoneId(); in handleMessage()
2214 UiccController.getInstance().getUiccCard(phone.getPhoneId()); in getUiccCardFromRequest()
2219 return PhoneFactory.getPhone(mSubscriptionController.getPhoneId(subId)); in getPhone()
2334 final UnlockSim checkSimPin = new UnlockSim(phone.getPhoneId(), phone.getIccCard()); in supplyPinReportResultForSubscriber()
2348 final UnlockSim checkSimPuk = new UnlockSim(phone.getPhoneId(), phone.getIccCard()); in supplyPukReportResultForSubscriber()
5067 return mSubscriptionController.getPhoneId(getDefaultSubscription()); in getSlotForDefaultSubscription()
6534 int phoneId = mSubscriptionController.getPhoneId(subId); in isUserDataEnabled()
[all …]
DPhoneGlobals.java248 "handleSimLock: uiccCard for phone " + phone.getPhoneId() + " is null"); in handleSimLock()
254 "handleSimLock: uiccProfile for phone " + phone.getPhoneId() + " is null"); in handleSimLock()
564 return PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in getPhone()
DCdmaCallWaitingPreference.java59 Log.d(LOG_TAG, "phone id= " + mPhone.getPhoneId()); in init()
DCarrierConfigLoader.java1209 int phoneId = SubscriptionManager.getPhoneId(subscriptionId); in getConfigForSubIdWithFeature()
1250 int phoneId = SubscriptionManager.getPhoneId(subscriptionId); in overrideConfig()
1299 int phoneId = SubscriptionManager.getPhoneId(subscriptionId); in notifyConfigChangedForSubId()
DNotificationMgr.java295 resId = (phone.getPhoneId() == 0) ? R.drawable.stat_notify_voicemail_sub1 in updateMwi()
820 int phoneId = SubscriptionManager.getPhoneId(subId); in updateNetworkSelection()
DCallBarringEditPreference.java105 Log.d(LOG_TAG, "init: phone id = " + phone.getPhoneId()); in init()
DImsRcsController.java761 int slotId = phone.getPhoneId(); in getRcsFeatureController()
/packages/services/Telephony/tests/src/com/android/phone/
DCarrierConfigLoaderTest.java172 if (!SubscriptionManager.isValidPhoneId(SubscriptionManager.getPhoneId(DEFAULT_SUB_ID))) { in testUpdateConfigForPhoneId_simAbsent()
199 if (!SubscriptionManager.isValidPhoneId(SubscriptionManager.getPhoneId(DEFAULT_SUB_ID))) { in testUpdateConfigForPhoneId_simLoaded_withCachedConfigInXml()
252 if (!SubscriptionManager.isValidPhoneId(SubscriptionManager.getPhoneId(DEFAULT_SUB_ID))) { in testOverrideConfig_withNullBundle()
273 if (!SubscriptionManager.isValidPhoneId(SubscriptionManager.getPhoneId(DEFAULT_SUB_ID))) { in testOverrideConfig_withNonNullBundle()
349 if (!SubscriptionManager.isValidPhoneId(SubscriptionManager.getPhoneId(DEFAULT_SUB_ID))) { in testGetConfigForSubId_noPermission()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java658 when(slot0Phone.getPhoneId()).thenReturn(SLOT_0_PHONE_ID); in testRetryOutgoingOriginalConnection_redialTempFailOneSlot()
689 when(slot0Phone.getPhoneId()).thenReturn(SLOT_0_PHONE_ID); in testRetryOutgoingOriginalConnection_redialPermFailOneSlot()
722 when(slot0Phone.getPhoneId()).thenReturn(SLOT_0_PHONE_ID); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot()
763 when(slot0Phone.getPhoneId()).thenReturn(SLOT_0_PHONE_ID); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot()
804 when(slot0Phone.getPhoneId()).thenReturn(SLOT_0_PHONE_ID); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure()
859 when(slot0Phone.getPhoneId()).thenReturn(SLOT_0_PHONE_ID); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot_twoFailure()
1345 when(mSubscriptionManagerProxy.getPhoneId(0)).thenReturn(0); in setupForCallTest()
1349 when(mSubscriptionManagerProxy.getPhoneId(1)).thenReturn(1); in setupForCallTest()
1456 when(mSubscriptionManagerProxy.getPhoneId(eq(0))).thenReturn(0); in setupHandleToPhoneMap()
1474 when(phone.getPhoneId()).thenReturn(phoneId); in makeTestPhone()
/packages/services/Telephony/src/com/android/phone/settings/
DAccessibilitySettingsFragment.java189 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); in onPreferenceTreeClick()
211 ImsManager imsManager = ImsManager.getInstance(mContext, phone.getPhoneId()); in isVolteTtySupportedInAnySlot()
DSuppServicesUiUtil.java89 int simSlot = (phone.getPhoneId() == 0) ? 1 : 2; in makeMessage()
/packages/services/Telephony/src/com/android/phone/vvm/
DPhoneAccountHandleConverter.java45 Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in fromSubId()
/packages/apps/Settings/src/com/android/settings/network/apn/
DApnSettings.java178 && mPhoneId == SubscriptionUtil.getPhoneId(context, extraSubId)
219 mPhoneId = SubscriptionUtil.getPhoneId(activity, mSubId); in onCreate()
/packages/services/Mms/src/com/android/mms/service/
DMmsNetworkManager.java223 mPhoneId = SubscriptionManager.getPhoneId(mSubId); in acquireNetwork()
/packages/apps/Settings/src/com/android/settings/network/
DSubscriptionUtil.java377 public static int getPhoneId(Context context, int subId) {

12