/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneConfigurationManager.java | 104 if (getPhoneCount() > 1) { in getDefaultCapability() 270 public int getPhoneCount() { in getPhoneCount() method in PhoneConfigurationManager 272 return tm.getPhoneCount(); in getPhoneCount() 316 if (getPhoneCount() != numOfSims) { in switchMultiSimConfig()
|
D | ProxyController.java | 163 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount()) { in registerForAllDataDisconnected() 171 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount()) { in unregisterForAllDataDisconnected() 180 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount()) { in areAllDataDisconnected() 343 if ((TelephonyManager.getDefault().getPhoneCount() == 1) && (ar.exception != null)) { in onStartRadioCapabilityResponse()
|
D | NetworkRegistrationManager.java | 95 if (TelephonyManager.getDefault().getPhoneCount() > 1) { in NetworkRegistrationManager()
|
D | CarrierServiceBindHelper.java | 109 int numPhones = TelephonyManager.from(context).getPhoneCount(); in CarrierServiceBindHelper()
|
D | PhoneFactory.java | 153 int numPhones = tm.getPhoneCount(); in makeDefaultPhone()
|
D | SubscriptionController.java | 1634 phoneId >= mTelephonyManager.getPhoneCount()) { in setDisplayNumber() 1669 if (phoneId < 0 || phoneId >= mTelephonyManager.getPhoneCount()) { in setAssociatedPlmns() 2315 if (phoneId >= 0 && (phoneId < mTelephonyManager.getPhoneCount() in setDefaultFallbackSubId()
|
D | SubscriptionInfoUpdater.java | 77 private static final int PROJECT_SIM_NUM = TelephonyManager.getDefault().getPhoneCount();
|
/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/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccControllerTest.java | 564 when(mTelephonyManager.getPhoneCount()).thenReturn(1); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges() 581 when(mTelephonyManager.getPhoneCount()).thenReturn(2); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_multiSim() 598 when(mTelephonyManager.getPhoneCount()).thenReturn(1); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_needsConsent() 618 when(mTelephonyManager.getPhoneCount()).thenReturn(2); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_needsConsent_multiSim() 638 when(mTelephonyManager.getPhoneCount()).thenReturn(2); in testDownloadSubscription_noPriv_hasCarrierPrivi_needsConsent_multiSim_targetPsim() 841 when(mTelephonyManager.getPhoneCount()).thenReturn(1); in testSwitchToSubscription_hasCarrierPrivileges() 852 when(mTelephonyManager.getPhoneCount()).thenReturn(2); in testSwitchToSubscription_hasCarrierPrivileges_multiSim() 864 when(mTelephonyManager.getPhoneCount()).thenReturn(1); in testSwitchToSubscription_hasCarrierPrivileges_needsConsent() 880 when(mTelephonyManager.getPhoneCount()).thenReturn(2); in testSwitchToSubscription_hasCarrierPrivileges_needsConsent_multiSim() 897 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/src/java/com/android/internal/telephony/uicc/ |
D | UiccStateChangedLauncher.java | 65 mIsRestricted = new boolean[TelephonyManager.getDefault().getPhoneCount()]; in handleMessage()
|
D | UiccController.java | 1029 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 | 99 doReturn(PHONE_COUNT).when(mTelephonyManager).getPhoneCount(); in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | TelephonyEventBuilder.java | 165 int phoneCount = TelephonyManager.getDefault().getPhoneCount(); in setSimStateChange()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SubscriptionControllerTest.java | 86 doReturn(SINGLE_SIM).when(mTelephonyManager).getPhoneCount(); in setUp() 964 doReturn(SINGLE_SIM).when(mTelephonyManager).getPhoneCount(); in testGetEnabledSubscriptionIdDualSIM() 972 doReturn(2).when(mTelephonyManager).getPhoneCount(); in testGetEnabledSubscriptionIdDualSIM()
|
D | MultiSimSettingControllerTest.java | 107 doReturn(DUAL_SIM).when(mTelephonyManager).getPhoneCount(); in setUp()
|
D | PhoneSubInfoControllerTest.java | 54 doReturn(2).when(mTelephonyManager).getPhoneCount(); in setUp()
|
D | TelephonyTest.java | 538 doReturn(1).when(mTelephonyManager).getPhoneCount(); in setUp()
|
D | SubscriptionInfoUpdaterTest.java | 143 doReturn(1).when(mTelephonyManager).getPhoneCount(); in setUp()
|
D | PhoneSwitcherTest.java | 995 doReturn(numPhones).when(mTelephonyManager).getPhoneCount(); in setNumPhones()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | CarrierTextControllerTest.java | 115 when(mTelephonyManager.getPhoneCount()).thenReturn(3); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | CarrierTextController.java | 175 Context.TELEPHONY_SERVICE)).getPhoneCount(); in CarrierTextController()
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 279 int numPhones = TelephonyManager.getDefault().getPhoneCount(); 374 int numPhones = TelephonyManager.getDefault().getPhoneCount(); in TelephonyRegistry() 1963 for (int i = 0; i < TelephonyManager.getDefault().getPhoneCount(); i++) { in dump()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccController.java | 1205 return mTelephonyManager.getPhoneCount() > 1; in supportMultiActiveSlots()
|