Home
last modified time | relevance | path

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

12

/packages/services/Telephony/src/com/android/phone/slice/
DSlicePurchaseController.java460 int phoneId = phone.getPhoneId(); in getInstance()
811 intent.putExtra(EXTRA_PHONE_ID, mPhone.getPhoneId()); in onStartSlicePurchaseApplication()
881 if (mPhone.getPhoneId() < TelephonyProperties.icc_operator_alpha().size()) { in getSimOperator()
882 return TelephonyProperties.icc_operator_alpha().get(mPhone.getPhoneId()); in getSimOperator()
900 intent.putExtra(EXTRA_PHONE_ID, mPhone.getPhoneId()); in createPendingIntent()
913 intent.putExtra(EXTRA_PHONE_ID, mPhone.getPhoneId()); in onTimeout()
964 mDailyCount = sp.getInt((KEY_DAILY_NOTIFICATION_COUNT + mPhone.getPhoneId()), 0) + 1; in onNotificationShown()
965 mMonthlyCount = sp.getInt((KEY_MONTHLY_NOTIFICATION_COUNT + mPhone.getPhoneId()), 0) + 1; in onNotificationShown()
970 editor.putInt((KEY_DAILY_NOTIFICATION_COUNT + mPhone.getPhoneId()), mDailyCount); in onNotificationShown()
971 editor.putInt((KEY_MONTHLY_NOTIFICATION_COUNT + mPhone.getPhoneId()), mMonthlyCount); in onNotificationShown()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/domainselection/
DDynamicRoutingController.java207 String iso = mNetworkCountries.get(Integer.valueOf(phone.getPhoneId())); in isDynamicRoutingEnabled()
208 Log.i(TAG, "isDynamicRoutingEnabled phoneId=" + phone.getPhoneId() + ", iso=" + iso in isDynamicRoutingEnabled()
248 Log.i(TAG, "isFromNetworkOrSim phoneId=" + phone.getPhoneId()); in isFromNetworkOrSim()
280 mEmergencyNumbers.get(Integer.valueOf(phone.getPhoneId())); in isDynamicNumber()
282 updateDynamicEmergencyNumbers(phone.getPhoneId()); in isDynamicNumber()
284 mEmergencyNumbers.get(Integer.valueOf(phone.getPhoneId())); in isDynamicNumber()
286 String iso = getNetworkCountryIso(phone.getPhoneId()); in isDynamicNumber()
/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()
DPhoneGlobals.java336 "handleSimLock: uiccPort for phone " + phone.getPhoneId() + " is null"); in handleSimLock()
342 "handleSimLock: uiccProfile for phone " + phone.getPhoneId() + " is null"); in handleSimLock()
468 PhoneAppCallback callback = mTelephonyCallbacks[phone.getPhoneId()];
476 mTelephonyCallbacks[phone.getPhoneId()] = callback;
699 mTelephonyCallbacks[phone.getPhoneId()] = callback; in onCreate()
754 return PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in getPhone()
DCallFeaturesSetting.java292 + " phone.getPhoneId()=" + phone.getPhoneId()); in updateImsManager()
293 mImsMgr = ImsManager.getInstance(phone.getContext(), phone.getPhoneId()); in updateImsManager()
546 + " phone =" + mPhone.getPhoneId()); in updateVtWfc()
DSubscriptionInfoHelper.java103 ? PhoneFactory.getPhone(SubscriptionManager.getPhoneId(mSubId)) in getPhone()
DPhoneUtils.java792 if (VDBG) Log.v(LOG_TAG, "register for ICC status, phone " + phone.getPhoneId()); in registerIccStatus()
806 Log.v(LOG_TAG, "register for ICC status, phone " + phones[phoneId].getPhoneId()); in registerIccStatus()
820 Log.v(LOG_TAG, "unregister for ICC status, phone " + phones[phoneId].getPhoneId()); in unregisterIccStatus()
DCdmaCallWaitingPreference.java59 Log.d(LOG_TAG, "phone id= " + mPhone.getPhoneId()); in init()
DNotificationMgr.java306 resId = (phone.getPhoneId() == 0) ? R.drawable.stat_notify_voicemail_sub1 in updateMwi()
843 int phoneId = SubscriptionManager.getPhoneId(subId); in updateNetworkSelection()
900 int phoneId = SubscriptionManager.getPhoneId(subId); in updateNetworkSelectionForFeatureDisabled()
DCallBarringEditPreference.java104 Log.d(LOG_TAG, "init: phone id = " + phone.getPhoneId()); in init()
DPhoneInterfaceManager.java1848 int phoneId = request.phone.getPhoneId(); in handleMessage()
1869 int id = request.phone.getPhoneId(); in handleMessage()
2006 int phoneId = getPhoneFromRequest(request).getPhoneId(); in handleMessage()
2030 int phoneId = getPhoneFromRequest(request).getPhoneId(); in handleMessage()
2556 UiccController.getInstance().getUiccPort(phone.getPhoneId()); in getUiccPortFromRequest()
2566 return PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in getPhone()
2691 final UnlockSim checkSimPin = new UnlockSim(phone.getPhoneId(), phone.getIccCard()); in supplyPinReportResultForSubscriber()
2708 final UnlockSim checkSimPuk = new UnlockSim(phone.getPhoneId(), phone.getIccCard()); in supplyPukReportResultForSubscriber()
5911 return SubscriptionManager.getPhoneId(getDefaultSubscription()); in getSlotForDefaultSubscription()
7465 int phoneId = SubscriptionManager.getPhoneId(subId); in isUserDataEnabled()
[all …]
DCarrierConfigLoader.java1350 int phoneId = SubscriptionManager.getPhoneId(subscriptionId); in getConfigForSubIdWithFeature()
1440 int phoneId = SubscriptionManager.getPhoneId(subscriptionId); in overrideConfig()
1494 int phoneId = SubscriptionManager.getPhoneId(subscriptionId); in notifyConfigChangedForSubId()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java287 int getPhoneId(int subId); in getPhoneId() method
298 return getPhoneId(SubscriptionManager.getDefaultDataSubscriptionId());
307 public int getPhoneId(int subId) {
308 return SubscriptionManager.getPhoneId(subId);
791 dsc.getPhoneId(), dsc.getImsReasonInfo(),
838 ncdsConn.getPhoneId(),
943 phone.getPhoneId())); in placeOutgoingConference()
1083 phone.getPhoneId())); in onCreateOutgoingConnection()
1126 phone.getPhoneId())); in onCreateOutgoingConnection()
1527 phone.getPhoneId())); in adjustAndPlaceOutgoingConnection()
[all …]
DCdmaConnection.java229 telephonyDisconnectCause, null, getPhone().getPhoneId())); in hangupCallWaiting()
DPstnIncomingCallNotifier.java502 return String.valueOf(mPhone.getPhoneId()); in getPhoneIdAsString()
DTelecomAccountRegistry.java235 + "phoneId = " + mPhone.getPhoneId() + "; subId = " + mPhone.getSubId()); in AccountEntry()
433 mPhone.getPhoneId()).isVtEnabledByPlatform(); in buildPstnPhoneAccount()
/packages/services/Telephony/src/com/android/phone/settings/
DRadioInfo.java767 mSelectedPhoneIndex = mPhone.getPhoneId(); in onCreate()
835 mMockSignalStrength.setSelection(mSelectedSignalStrengthIndex[mPhone.getPhoneId()]); in updateAllFields()
839 mMockDataNetworkType.setSelection(mSelectedMockDataNetworkTypeIndex[mPhone.getPhoneId()]); in updateAllFields()
847 mSimulateOutOfServiceSwitch.setChecked(mSimulateOos[mPhone.getPhoneId()]); in updateAllFields()
849 mMockSatellite.setChecked(mCarrierSatelliteOriginalBundle[mPhone.getPhoneId()] != null); in updateAllFields()
972 if (mSimulateOos[mPhone.getPhoneId()]) { in clearOverride()
975 if (mCarrierSatelliteOriginalBundle[mPhone.getPhoneId()] != null) { in clearOverride()
978 if (mSelectedSignalStrengthIndex[mPhone.getPhoneId()] > 0) { in clearOverride()
981 if (mSelectedMockDataNetworkTypeIndex[mPhone.getPhoneId()] > 0) { in clearOverride()
1859 mSimulateOos[mPhone.getPhoneId()] = true;
[all …]
DAccessibilitySettingsFragment.java191 int phoneId = SubscriptionManager.getPhoneId(subId); in onPreferenceTreeClick()
213 ImsManager imsManager = ImsManager.getInstance(mContext, phone.getPhoneId()); in isVolteTtySupportedInAnySlot()
DSuppServicesUiUtil.java89 int simSlot = (phone.getPhoneId() == 0) ? 1 : 2; in makeMessage()
/packages/services/Telephony/tests/src/com/android/phone/
DCarrierConfigLoaderTest.java209 if (!SubscriptionManager.isValidPhoneId(SubscriptionManager.getPhoneId(DEFAULT_SUB_ID))) { in testUpdateConfigForPhoneId_simAbsent()
242 if (!SubscriptionManager.isValidPhoneId(SubscriptionManager.getPhoneId(DEFAULT_SUB_ID))) { in testUpdateConfigForPhoneId_simLoaded_withCachedConfigInXml()
294 if (!SubscriptionManager.isValidPhoneId(SubscriptionManager.getPhoneId(DEFAULT_SUB_ID))) { in testOverrideConfig_withNullBundle()
315 if (!SubscriptionManager.isValidPhoneId(SubscriptionManager.getPhoneId(DEFAULT_SUB_ID))) { in testOverrideConfig_withNonNullBundle()
391 if (!SubscriptionManager.isValidPhoneId(SubscriptionManager.getPhoneId(DEFAULT_SUB_ID))) { in testGetConfigForSubId_noPermission()
/packages/services/Mms/src/com/android/mms/service/
DMmsNetworkManager.java268 public int getPhoneId(int subId) { in getPhoneId() method in MmsNetworkManager.Dependencies
269 return SubscriptionManager.getPhoneId(subId); in getPhoneId()
362 mPhoneId = mDeps.getPhoneId(mSubId); in acquireNetwork()
/packages/services/Telephony/src/com/android/phone/vvm/
DPhoneAccountHandleConverter.java45 Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in fromSubId()
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/
DDynamicRoutingControllerTest.java104 when(mPhone0.getPhoneId()).thenReturn(SLOT_0); in setUp()
105 when(mPhone1.getPhoneId()).thenReturn(SLOT_1); in setUp()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java972 when(slot0Phone.getPhoneId()).thenReturn(SLOT_0_PHONE_ID); in testRetryOutgoingOriginalConnection_redialTempFailOneSlot()
1004 when(slot0Phone.getPhoneId()).thenReturn(SLOT_0_PHONE_ID); in testRetryOutgoingOriginalConnection_redialPermFailOneSlot()
1038 when(slot0Phone.getPhoneId()).thenReturn(SLOT_0_PHONE_ID); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot()
1080 when(slot0Phone.getPhoneId()).thenReturn(SLOT_0_PHONE_ID); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot()
1122 when(slot0Phone.getPhoneId()).thenReturn(SLOT_0_PHONE_ID); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure()
1179 when(slot0Phone.getPhoneId()).thenReturn(SLOT_0_PHONE_ID); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot_twoFailure()
3034 assertEquals(mPhone1.getPhoneId(), attr.getSlotIndex()); in testDomainSelectionSwitchPhones()
3080 assertEquals(mPhone1.getPhoneId(), attr.getSlotIndex()); in testOnSelectionTerminatedPerm()
3126 assertEquals(mPhone1.getPhoneId(), attr.getSlotIndex()); in testOnSelectionTerminatedTemp()
4116 when(mSubscriptionManagerProxy.getPhoneId(0)).thenReturn(0); in setupForCallTest()
[all …]
/packages/services/Mms/tests/robotests/src/com/android/mms/service/
DMmsNetworkManagerTest.java88 doReturn(1).when(mDeps).getPhoneId(anyInt()); in setup()

12