/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | VoicemailNotificationSettingsUtil.java | 102 if (prefs.contains(key) || telephonyManager.getPhoneCount() != 1) { in migrateVoicemailVibrationSettingsIfNeeded() 141 if (prefs.contains(key) || telephonyManager.getPhoneCount() != 1) { in migrateVoicemailRingtoneSettingsIfNeeded()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneConfigurationManager.java | 115 if (getPhoneCount() > 1) { in getDefaultCapability() 283 public int getPhoneCount() { in getPhoneCount() method in PhoneConfigurationManager 329 if (getPhoneCount() != numOfSims) { in switchMultiSimConfig()
|
D | ProxyController.java | 366 if ((TelephonyManager.getDefault().getPhoneCount() == 1) && (ar.exception != null)) { in onStartRadioCapabilityResponse()
|
D | SubscriptionController.java | 1739 phoneId >= mTelephonyManager.getPhoneCount()) { in setDisplayNumber() 1774 if (phoneId < 0 || phoneId >= mTelephonyManager.getPhoneCount()) { in setAssociatedPlmns() 2498 if (phoneId >= 0 && (phoneId < mTelephonyManager.getPhoneCount() in setDefaultFallbackSubId()
|
D | SubscriptionInfoUpdater.java | 1159 for (int i = 0; i < TelephonyManager.getDefault().getPhoneCount(); i++) { in isNewSim()
|
D | ServiceStateTracker.java | 4258 .getSystemService(Context.TELEPHONY_SERVICE)).getPhoneCount() > 1); in setNotification()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccControllerTest.java | 565 when(mTelephonyManager.getPhoneCount()).thenReturn(1); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges() 582 when(mTelephonyManager.getPhoneCount()).thenReturn(2); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_multiSim() 599 when(mTelephonyManager.getPhoneCount()).thenReturn(1); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_needsConsent() 619 when(mTelephonyManager.getPhoneCount()).thenReturn(2); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_needsConsent_multiSim() 639 when(mTelephonyManager.getPhoneCount()).thenReturn(2); in testDownloadSubscription_noPriv_hasCarrierPrivi_needsConsent_multiSim_targetPsim() 842 when(mTelephonyManager.getPhoneCount()).thenReturn(1); in testSwitchToSubscription_hasCarrierPrivileges() 853 when(mTelephonyManager.getPhoneCount()).thenReturn(2); in testSwitchToSubscription_hasCarrierPrivileges_multiSim() 865 when(mTelephonyManager.getPhoneCount()).thenReturn(1); in testSwitchToSubscription_hasCarrierPrivileges_needsConsent() 881 when(mTelephonyManager.getPhoneCount()).thenReturn(2); in testSwitchToSubscription_hasCarrierPrivileges_needsConsent_multiSim() 898 when(mTelephonyManager.getPhoneCount()).thenReturn(2); in testSwitchToSubscription_hasCarrierPrivileges_needsConsent_multiSim_targetPsim() [all …]
|
D | EuiccCardControllerTest.java | 99 when(mTelephonyManager.getPhoneCount()).thenReturn(1); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneConfigurationManagerTest.java | 94 assertEquals(1, mPcm.getPhoneCount()); in testGetPhoneCount() 96 assertEquals(2, mPcm.getPhoneCount()); in testGetPhoneCount()
|
D | SubscriptionControllerTest.java | 99 doReturn(SINGLE_SIM).when(mTelephonyManager).getPhoneCount(); in setUp() 1050 doReturn(SINGLE_SIM).when(mTelephonyManager).getPhoneCount(); in testGetEnabledSubscriptionIdDualSIM() 1059 doReturn(2).when(mTelephonyManager).getPhoneCount(); in testGetEnabledSubscriptionIdDualSIM()
|
D | SubscriptionInfoUpdaterTest.java | 137 doReturn(1).when(mTelephonyManager).getPhoneCount(); in setUp() 512 doReturn(2).when(mTelephonyManager).getPhoneCount(); in testDualSimLoaded()
|
D | TelephonyTest.java | 609 doReturn(1).when(mTelephonyManager).getPhoneCount(); in setUp() 613 mTelephonyManager.getPhoneCount())) in setUp()
|
D | MultiSimSettingControllerTest.java | 111 doReturn(DUAL_SIM).when(mTelephonyManager).getPhoneCount(); in setUp()
|
D | PhoneSwitcherTest.java | 1123 doReturn(activeModemCount).when(mTelephonyManager).getPhoneCount(); in setNumPhones()
|
D | PhoneSubInfoControllerTest.java | 57 doReturn(2).when(mTelephonyManager).getPhoneCount(); in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccStateChangedLauncher.java | 65 mIsRestricted = new boolean[TelephonyManager.getDefault().getPhoneCount()]; in handleMessage()
|
D | UiccController.java | 1226 return (index >= 0 && index < TelephonyManager.getDefault().getPhoneCount()); in isValidPhoneIndex()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccStateChangedLauncherTest.java | 75 when(TelephonyManager.getDefault().getPhoneCount()).thenReturn(CARD_COUNT); in setUp()
|
D | UiccControllerTest.java | 96 doReturn(PHONE_COUNT).when(mTelephonyManager).getPhoneCount(); in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | TelephonyEventBuilder.java | 174 int phoneCount = TelephonyManager.getDefault().getPhoneCount(); in setSimStateChange()
|
D | TelephonyMetrics.java | 207 private int mLastEnabledModemBitmap = (1 << TelephonyManager.getDefault().getPhoneCount()) - 1; 748 int phoneCount = TelephonyManager.getDefault().getPhoneCount(); in buildProto()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/ |
D | VendorSubscriptionController.java | 104 sNumPhones = TelephonyManager.getDefault().getPhoneCount(); in VendorSubscriptionController()
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 353 int numPhones = getTelephonyManager().getPhoneCount(); 2347 for (int i = 0; i < getTelephonyManager().getPhoneCount(); i++) { in dump()
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyManager.java | 410 public int getPhoneCount() { in getPhoneCount() method in TelephonyManager 508 return getPhoneCount() > 1; in isMultiSimEnabled() 3209 for (int i = 0; i < getPhoneCount(); i++) { in getSimStateIncludingLoaded() 6866 return getPhoneCount(); in getSimCount()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcTracker.java | 4818 for (int i = 0; i < mTelephonyManager.getPhoneCount(); i++) { in isPhoneStateIdle()
|