Searched refs:activeModemCount (Results 1 – 5 of 5) sorted by relevance
265 public static void onMultiSimConfigChanged(Context context, int activeModemCount) { in onMultiSimConfigChanged() argument268 if (prevActiveModemCount == activeModemCount) return; in onMultiSimConfigChanged()273 if (prevActiveModemCount > activeModemCount) return; in onMultiSimConfigChanged()275 sPhones = copyOf(sPhones, activeModemCount); in onMultiSimConfigChanged()276 sCommandsInterfaces = copyOf(sCommandsInterfaces, activeModemCount); in onMultiSimConfigChanged()277 sTelephonyNetworkFactories = copyOf(sTelephonyNetworkFactories, activeModemCount); in onMultiSimConfigChanged()280 for (int i = prevActiveModemCount; i < activeModemCount; i++) { in onMultiSimConfigChanged()
614 int activeModemCount = (int) ((AsyncResult) msg.obj).result; in handleMessage() local615 onMultiSimConfigChanged(activeModemCount); in handleMessage()621 private synchronized void onMultiSimConfigChanged(int activeModemCount) { in onMultiSimConfigChanged() argument623 if (mActiveModemCount == activeModemCount) return; in onMultiSimConfigChanged()625 mActiveModemCount = activeModemCount; in onMultiSimConfigChanged()
360 int activeModemCount = ((TelephonyManager) sContext.getSystemService( in onMultiSimConfigChanged() local363 for (int phoneId = activeModemCount; phoneId < SUPPORTED_MODEM_COUNT; phoneId++) { in onMultiSimConfigChanged()
1111 private void setNumPhones(int activeModemCount, int supportedModemCount) throws Exception { in setNumPhones() argument1123 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()
537 int activeModemCount = (int) ((AsyncResult) msg.obj).result; in handleMessage() local538 onMultiSimConfigChanged(activeModemCount); in handleMessage()