Home
last modified time | relevance | path

Searched refs:getActiveModemCount (Results 1 – 21 of 21) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/vcn/
H A DTelephonySubscriptionTracker.java169 final int modemCount = mTelephonyManager.getActiveModemCount(); in registerCarrierPrivilegesCallbacks()
300 final int modemCount = mTelephonyManager.getActiveModemCount(); in handleActionMultiSimConfigChanged()
/aosp14/frameworks/base/services/core/java/com/android/server/emergency/
H A DEmergencyAffordanceService.java247 final int activeModems = mTelephonyManager.getActiveModemCount(); in updateNetworkCountry()
/aosp14/frameworks/base/tests/vcn/java/com/android/server/vcn/
H A DTelephonySubscriptionTrackerTest.java188 doReturn(2).when(mTelephonyManager).getActiveModemCount(); in setUp()
349 doReturn(1).when(mTelephonyManager).getActiveModemCount(); in testMultiSimConfigChanged()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/emergency/
H A DEmergencyAffordanceServiceTest.java417 doReturn(ACTIVE_MODEM_COUNT).when(mTelephonyManager).getActiveModemCount(); in setUpCell()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSimPinViewController.java314 count = mTelephonyManager.getActiveModemCount(); in setLockedSimMessage()
H A DKeyguardSimPukViewController.java196 count = mTelephonyManager.getActiveModemCount(); in showDefaultMessage()
H A DCarrierTextManager.java235 for (int index = 0; index < getTelephonyManager().getActiveModemCount(); index++) { in updateCarrierTextWithSimIoError()
H A DKeyguardUpdateMonitor.java2689 for (int slot = 0; slot < mTelephonyManager.getActiveModemCount(); slot++) { in initializeSimState()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DCarrierTextManagerTest.java155 when(mTelephonyManager.getActiveModemCount()).thenReturn(3); in setUp()
267 when(mTelephonyManager.getActiveModemCount()).thenReturn(1); in testCardIOError()
H A DKeyguardUpdateMonitorTest.java513 when(mTelephonyManager.getActiveModemCount()).thenReturn(1); in testSimStateInitialized()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java578 int numPhones = getTelephonyManager().getActiveModemCount();
676 mNumPhones = getTelephonyManager().getActiveModemCount(); in onMultiSimConfigChanged()
804 int numPhones = getTelephonyManager().getActiveModemCount(); in TelephonyRegistry()
3402 for (int i = 0; i < getTelephonyManager().getActiveModemCount(); i++) { in dump()
3908 boolean valid = (phoneId >= 0) && (phoneId < getTelephonyManager().getActiveModemCount()); in validatePhoneId()
/aosp14/frameworks/base/telephony/java/android/telephony/
H A DSubscriptionManager.java2462 return slotIndex >= 0 && slotIndex < TelephonyManager.getDefault().getActiveModemCount(); in isValidSlotIndex()
2468 return phoneId >= 0 && phoneId < TelephonyManager.getDefault().getActiveModemCount(); in isValidPhoneId()
H A DTelephonyManager.java651 return getActiveModemCount(); in getPhoneCount()
662 public int getActiveModemCount() { in getActiveModemCount() method in TelephonyManager
691 return TelephonyProperties.max_active_modems().orElse(getActiveModemCount()); in getSupportedModemCount()
17218 if (getActiveModemCount() > 1) { in getPhoneCapability()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
H A DNetworkControllerImpl.java929 int simCount = mPhone.getActiveModemCount(); in hasAnySim()
/aosp14/frameworks/base/services/core/java/com/android/server/policy/
H A DPermissionPolicyService.java455 int numPhones = mTelephonyManager.getActiveModemCount(); in registerCarrierPrivilegesCallbacks()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DAppRestrictionController.java2894 final int numPhones = telephonyManager.getActiveModemCount(); in registerCarrierPrivilegesCallbacks()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
H A DBackgroundRestrictionTest.java3152 doReturn(phoneIds).when(telephonyManager).getActiveModemCount(); in PhoneCarrierPrivileges()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt14568 HSPLandroid/telephony/TelephonyManager;->getActiveModemCount()I
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt14632 HSPLandroid/telephony/TelephonyManager;->getActiveModemCount()I
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt45640 method public int getActiveModemCount();