Searched refs:activeModemCount (Results 1 – 5 of 5) sorted by relevance
286 public static void onMultiSimConfigChanged(Context context, int activeModemCount) { in onMultiSimConfigChanged() argument289 if (prevActiveModemCount == activeModemCount) return; in onMultiSimConfigChanged()294 if (prevActiveModemCount > activeModemCount) return; in onMultiSimConfigChanged()296 sPhones = copyOf(sPhones, activeModemCount); in onMultiSimConfigChanged()297 sCommandsInterfaces = copyOf(sCommandsInterfaces, activeModemCount); in onMultiSimConfigChanged()298 sTelephonyNetworkFactories = copyOf(sTelephonyNetworkFactories, activeModemCount); in onMultiSimConfigChanged()301 for (int i = prevActiveModemCount; i < activeModemCount; i++) { in onMultiSimConfigChanged()
791 int activeModemCount = (int) ((AsyncResult) msg.obj).result; in handleMessage() local792 onMultiSimConfigChanged(activeModemCount); in handleMessage()813 private synchronized void onMultiSimConfigChanged(int activeModemCount) { in onMultiSimConfigChanged() argument815 if (mActiveModemCount == activeModemCount) return; in onMultiSimConfigChanged()817 mActiveModemCount = activeModemCount; in onMultiSimConfigChanged()
337 int activeModemCount = ((TelephonyManager) sContext.getSystemService( in onMultiSimConfigChanged() local340 for (int phoneId = activeModemCount; phoneId < SUPPORTED_MODEM_COUNT; phoneId++) { in onMultiSimConfigChanged()
1340 private void setNumPhones(int activeModemCount, int supportedModemCount) throws Exception { in setNumPhones() argument1352 doReturn(activeModemCount).when(mTelephonyManager).getPhoneCount(); in setNumPhones()1353 doReturn(activeModemCount).when(mTelephonyManager).getActiveModemCount(); in setNumPhones()1356 if (activeModemCount == 1) { in setNumPhones()1358 } else if (activeModemCount == 2) { in setNumPhones()
539 int activeModemCount = (int) ((AsyncResult) msg.obj).result; in handleMessage() local540 onMultiSimConfigChanged(activeModemCount); in handleMessage()