Searched refs:cmm (Results 1 – 13 of 13) sorted by relevance
293 for (ConcreteClientModeManager cmm : mActiveModeWarden.getClientModeManagersInRoles( in onConnectionEnd()295 if (cmm.isSecondaryInternet()) { in onConnectionEnd()299 cmm.disconnect(); in onConnectionEnd()381 for (ConcreteClientModeManager cmm : mActiveModeWarden.getClientModeManagersInRoles( in setStaConcurrencyForMultiInternetMode()383 if (cmm.isSecondaryInternet()) { in setStaConcurrencyForMultiInternetMode()384 cmm.disconnect(); in setStaConcurrencyForMultiInternetMode()563 for (ConcreteClientModeManager cmm : mActiveModeWarden.getClientModeManagersInRoles( in setMultiInternetConnectionWorksource()565 if (cmm.isSecondaryInternet()) { in setMultiInternetConnectionWorksource()566 cmm.disconnect(); in setMultiInternetConnectionWorksource()596 for (ConcreteClientModeManager cmm : mActiveModeWarden.getClientModeManagersInRoles( in disconnectSecondaryIfNeeded()[all …]
501 for (ClientModeManager cmm : in disconnectWifiToForceUpdateIfNeeded()503 if (!cmm.isConnected()) { in disconnectWifiToForceUpdateIfNeeded()506 cmm.disconnect(); in disconnectWifiToForceUpdateIfNeeded()531 for (ClientModeManager cmm : in shouldDisconnectWifiToForceUpdate()533 if (!cmm.isConnected()) { in shouldDisconnectWifiToForceUpdate()536 WifiInfo wifiInfo = cmm.getConnectionInfo(); in shouldDisconnectWifiToForceUpdate()
785 for (ClientModeManager cmm : mActiveModeWarden.getClientModeManagers()) { in resetCarrierNetworks()786 cmm.resetSimAuthNetworks(resetReason); in resetCarrierNetworks()840 for (ClientModeManager cmm : in handleBootCompleted()842 cmm.onBluetoothConnectionStateChanged(); in handleBootCompleted()849 for (ClientModeManager cmm : in handleBootCompleted()851 cmm.onBluetoothConnectionStateChanged(); in handleBootCompleted()4199 ConcreteClientModeManager cmm = (ConcreteClientModeManager) clientModeManager; in startRestrictingAutoJoinToSubscriptionId() local4200 if ((cmm.getRole() == ROLE_CLIENT_SECONDARY_LONG_LIVED && cmm.isSecondaryInternet()) in startRestrictingAutoJoinToSubscriptionId()4201 || cmm.getRole() == ROLE_CLIENT_SECONDARY_TRANSIENT) { in startRestrictingAutoJoinToSubscriptionId()4475 for (ConcreteClientModeManager cmm : secondaryCmms) { in getClientModeManagerIfSecondaryCmmRequestedByCallerPresent()[all …]
1208 for (ClientModeManager cmm in processMessageImpl()1210 WifiInfo wifiConnectedInfo = cmm.getConnectionInfo(); in processMessageImpl()2202 ConcreteClientModeManager cmm = (ConcreteClientModeManager) message.obj; in processMessageImpl() local2203 String wifiInterface = cmm.getInterfaceName(); in processMessageImpl()2204 WifiInfo wifiInfo = cmm.getConnectionInfo(); in processMessageImpl()2263 for (ClientModeManager cmm : mActiveModeWarden.getClientModeManagers()) { in getCurrentStaFreqMhz()2264 WifiInfo wifiConnectedInfo = cmm.getConnectionInfo(); in getCurrentStaFreqMhz()
500 private boolean isLocalOnlyOrPrimary(@NonNull ClientModeManager cmm) { in isLocalOnlyOrPrimary() argument501 return cmm.getRole() == ROLE_CLIENT_PRIMARY in isLocalOnlyOrPrimary()502 || cmm.getRole() == ROLE_CLIENT_LOCAL_ONLY; in isLocalOnlyOrPrimary()507 for (ClientModeManager cmm : mActiveModeWarden.getClientModeManagers()) { in checkForConcurrencyStartAndIncrementMetrics()508 if (isLocalOnlyOrPrimary(cmm) && cmm.isConnected()) { in checkForConcurrencyStartAndIncrementMetrics()
262 for (ClientModeManager cmm : mClientModeManagers) { in onIdleModeChanged()263 cmm.onIdleModeChanged(isIdle); in onIdleModeChanged()1594 for (ClientModeManager cmm : getClientModeManagers()) { in getMultiStatUseCase()1595 ClientRole clientRole = cmm.getRole(); in getMultiStatUseCase()2408 for (ConcreteClientModeManager cmm : mClientModeManagers) { in findAnyClientModeManagerConnectingOrConnectedToBssid()2409 if (isClientModeManagerConnectedOrConnectingToBssid(cmm, ssid, bssid)) { in findAnyClientModeManagerConnectingOrConnectedToBssid()2410 return cmm; in findAnyClientModeManagerConnectingOrConnectedToBssid()
2050 ConcreteClientModeManager cmm = mClientModeManagers.get(existingIfaceInfo.name); in allowedToDelete() local2051 if (cmm != null && cmm.isSecondaryInternet()) { in allowedToDelete()2097 ConcreteClientModeManager cmm = mClientModeManagers.get( in allowedToDelete() local2099 if (cmm != null && (cmm.getRole() in allowedToDelete()
439 for (ClientModeManager cmm : clientModeManagers) { in queueRequestOnAllIfaces()440 queueRequestOnIface(cmm.getInterfaceName(), request); in queueRequestOnAllIfaces()
425 cmm -> cmm.isConnected()); in updateWifiClientConnected()
344 ConcreteClientModeManager cmm = mock(ConcreteClientModeManager.class); in verifyDataStallTxFailureAfterConnectionEnd() local345 when(cmm.getRole()).thenReturn(ROLE_CLIENT_PRIMARY); in verifyDataStallTxFailureAfterConnectionEnd()346 mClientModeImplListener.onConnectionEnd(cmm); in verifyDataStallTxFailureAfterConnectionEnd()
544 private void setupMockForClientModeManager(ConcreteClientModeManager cmm) { in setupMockForClientModeManager() argument545 when(cmm.getRole()).thenReturn(ActiveModeManager.ROLE_CLIENT_PRIMARY); in setupMockForClientModeManager()546 when(cmm.isConnected()).thenReturn(false); in setupMockForClientModeManager()547 when(cmm.isDisconnected()).thenReturn(true); in setupMockForClientModeManager()548 when(cmm.isSupplicantTransientState()).thenReturn(false); in setupMockForClientModeManager()549 when(cmm.enableRoaming(anyBoolean())).thenReturn(true); in setupMockForClientModeManager()690 ConcreteClientModeManager cmm = mock(ConcreteClientModeManager.class); in testPrimaryToSecondaryTransientDoesNotDisableWifi() local691 when(cmm.getPreviousRole()).thenReturn(ROLE_CLIENT_PRIMARY); in testPrimaryToSecondaryTransientDoesNotDisableWifi()692 when(cmm.getRole()).thenReturn(ROLE_CLIENT_SECONDARY_TRANSIENT); in testPrimaryToSecondaryTransientDoesNotDisableWifi()695 mModeChangeCallbackCaptor.getValue().onActiveModeManagerRoleChanged(cmm); in testPrimaryToSecondaryTransientDoesNotDisableWifi()[all …]
809 assertTrue(currentCMMs.stream().anyMatch(cmm -> cmm.getRole() == ROLE_CLIENT_PRIMARY)); in testSwitchFromConnectModeToScanOnlyModeRemovesAdditionalCMMs()811 cmm -> cmm.getRole() == ROLE_CLIENT_SECONDARY_TRANSIENT)); in testSwitchFromConnectModeToScanOnlyModeRemovesAdditionalCMMs()5368 for (ClientModeManager cmm : currentCMMs) { in testOnIdleModeChanged()5369 verify(cmm).onIdleModeChanged(true); in testOnIdleModeChanged()
6371 for (ClientModeManager cmm : mClientModeManagers) { in testBluetoothBroadcastHandling()6372 verify(cmm).onBluetoothConnectionStateChanged(); in testBluetoothBroadcastHandling()6384 for (ClientModeManager cmm : mClientModeManagers) { in testBluetoothBroadcastHandling()6385 verify(cmm, times(2)).onBluetoothConnectionStateChanged(); in testBluetoothBroadcastHandling()6396 for (ClientModeManager cmm : mClientModeManagers) { in testBluetoothBroadcastHandling()6397 verify(cmm, times(3)).onBluetoothConnectionStateChanged(); in testBluetoothBroadcastHandling()6408 for (ClientModeManager cmm : mClientModeManagers) { in testBluetoothBroadcastHandling()6409 verify(cmm, times(4)).onBluetoothConnectionStateChanged(); in testBluetoothBroadcastHandling()