Searched refs:activeModemCount (Results 1 – 8 of 8) sorted by relevance
89 int activeModemCount = 2; in testRequestNotSupported() local91 doReturn(activeModemCount).when(mTelephonyManager).getPhoneCount(); in testRequestNotSupported()99 RadioAccessFamily[] rafs = new RadioAccessFamily[activeModemCount]; in testRequestNotSupported()121 int activeModemCount = 2; in testWithNonPermanentExceptionOnRCResponse_WithExceptionOnFinishResponse() local123 doReturn(activeModemCount).when(mTelephonyManager).getPhoneCount(); in testWithNonPermanentExceptionOnRCResponse_WithExceptionOnFinishResponse()131 RadioAccessFamily[] rafs = new RadioAccessFamily[activeModemCount]; in testWithNonPermanentExceptionOnRCResponse_WithExceptionOnFinishResponse()153 int activeModemCount = 2; in testWithNonPermanentExceptionOnRCResponse_WithoutExceptionOnFinishResponse() local155 doReturn(activeModemCount).when(mTelephonyManager).getPhoneCount(); in testWithNonPermanentExceptionOnRCResponse_WithoutExceptionOnFinishResponse()163 RadioAccessFamily[] rafs = new RadioAccessFamily[activeModemCount]; in testWithNonPermanentExceptionOnRCResponse_WithoutExceptionOnFinishResponse()181 int activeModemCount = 2; in testOnRCResponseTimeout_WithExceptionOnFinishResponse() local[all …]
91 whenever(telephonyManager.activeModemCount).thenReturn(1) in getDefaultMessage()104 whenever(telephonyManager.activeModemCount).thenReturn(1) in getDefaultMessage_isPuk()117 whenever(telephonyManager.activeModemCount).thenReturn(1) in getDefaultMessage_isEsimLocked()130 whenever(telephonyManager.activeModemCount).thenReturn(2) in getDefaultMessage_multipleSims()143 whenever(telephonyManager.activeModemCount).thenReturn(2) in getDefaultMessage_multipleSims_isPuk()153 whenever(telephonyManager.activeModemCount).thenReturn(2) in getDefaultMessage_multipleSims_emptyDisplayName()164 whenever(telephonyManager.activeModemCount).thenReturn(2) in getDefaultMessage_multipleSims_emptyDisplayName_isPuk()
297 public static void onMultiSimConfigChanged(Context context, int activeModemCount) { in onMultiSimConfigChanged() argument300 if (prevActiveModemCount == activeModemCount) return; in onMultiSimConfigChanged()305 if (prevActiveModemCount > activeModemCount) return; in onMultiSimConfigChanged()307 sPhones = copyOf(sPhones, activeModemCount); in onMultiSimConfigChanged()308 sCommandsInterfaces = copyOf(sCommandsInterfaces, activeModemCount); in onMultiSimConfigChanged()309 sTelephonyNetworkFactories = copyOf(sTelephonyNetworkFactories, activeModemCount); in onMultiSimConfigChanged()312 for (int i = prevActiveModemCount; i < activeModemCount; i++) { in onMultiSimConfigChanged()
138 int activeModemCount = (int) ((AsyncResult) msg.obj).result; in handleMessage() local139 if (activeModemCount > 1) { in handleMessage()
901 int activeModemCount = (int) ((AsyncResult) msg.obj).result; in handleMessage() local902 onMultiSimConfigChanged(activeModemCount); in handleMessage()963 private synchronized void onMultiSimConfigChanged(int activeModemCount) { in onMultiSimConfigChanged() argument965 if (mActiveModemCount == activeModemCount) return; in onMultiSimConfigChanged()967 mActiveModemCount = activeModemCount; in onMultiSimConfigChanged()1025 mAutoDataSwitchController.onMultiSimConfigChanged(activeModemCount); in onMultiSimConfigChanged()
89 val count = telephonyManager.activeModemCount in getDefaultMessage()
2074 private void setNumPhones(int activeModemCount, int supportedModemCount) throws Exception { in setNumPhones() argument2090 doReturn(activeModemCount).when(mTelephonyManager).getPhoneCount(); in setNumPhones()2091 doReturn(activeModemCount).when(mTelephonyManager).getActiveModemCount(); in setNumPhones()2094 if (activeModemCount == 1) { in setNumPhones()2096 } else if (activeModemCount == 2) { in setNumPhones()
642 int activeModemCount = (int) ((AsyncResult) msg.obj).result; in handleMessage() local643 onMultiSimConfigChanged(activeModemCount); in handleMessage()