Home
last modified time | relevance | path

Searched refs:activeModemCount (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneFactory.java269 public static void onMultiSimConfigChanged(Context context, int activeModemCount) { in onMultiSimConfigChanged() argument
272 if (prevActiveModemCount == activeModemCount) return; in onMultiSimConfigChanged()
277 if (prevActiveModemCount > activeModemCount) return; in onMultiSimConfigChanged()
279 sPhones = copyOf(sPhones, activeModemCount); in onMultiSimConfigChanged()
280 sCommandsInterfaces = copyOf(sCommandsInterfaces, activeModemCount); in onMultiSimConfigChanged()
281 sTelephonyNetworkFactories = copyOf(sTelephonyNetworkFactories, activeModemCount); in onMultiSimConfigChanged()
284 for (int i = prevActiveModemCount; i < activeModemCount; i++) { in onMultiSimConfigChanged()
DPhoneSwitcher.java623 int activeModemCount = (int) ((AsyncResult) msg.obj).result; in handleMessage() local
624 onMultiSimConfigChanged(activeModemCount); in handleMessage()
630 private synchronized void onMultiSimConfigChanged(int activeModemCount) { in onMultiSimConfigChanged() argument
632 if (mActiveModemCount == activeModemCount) return; in onMultiSimConfigChanged()
634 mActiveModemCount = activeModemCount; in onMultiSimConfigChanged()
DSubscriptionInfoUpdater.java339 int activeModemCount = ((TelephonyManager) sContext.getSystemService( in onMultiSimConfigChanged() local
342 for (int phoneId = activeModemCount; phoneId < SUPPORTED_MODEM_COUNT; phoneId++) { in onMultiSimConfigChanged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSwitcherTest.java1111 private void setNumPhones(int activeModemCount, int supportedModemCount) throws Exception { in setNumPhones() argument
1123 doReturn(activeModemCount).when(mTelephonyManager).getPhoneCount(); in setNumPhones()
1124 doReturn(activeModemCount).when(mTelephonyManager).getActiveModemCount(); in setNumPhones()
1127 if (activeModemCount == 1) { in setNumPhones()
1129 } else if (activeModemCount == 2) { in setNumPhones()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccController.java533 int activeModemCount = (int) ((AsyncResult) msg.obj).result; in handleMessage() local
534 onMultiSimConfigChanged(activeModemCount); in handleMessage()