Home
last modified time | relevance | path

Searched refs:cmm (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DMultiInternetManager.java293 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 …]
DWifiCountryCode.java501 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()
DWifiServiceImpl.java785 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() local
4200 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 …]
DSoftApManager.java1208 for (ClientModeManager cmm in processMessageImpl()
1210 WifiInfo wifiConnectedInfo = cmm.getConnectionInfo(); in processMessageImpl()
2202 ConcreteClientModeManager cmm = (ConcreteClientModeManager) message.obj; in processMessageImpl() local
2203 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()
DWifiNetworkFactory.java500 private boolean isLocalOnlyOrPrimary(@NonNull ClientModeManager cmm) { in isLocalOnlyOrPrimary() argument
501 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()
DActiveModeWarden.java262 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()
DHalDeviceManager.java2050 ConcreteClientModeManager cmm = mClientModeManagers.get(existingIfaceInfo.name); in allowedToDelete() local
2051 if (cmm != null && cmm.isSecondaryInternet()) { in allowedToDelete()
2097 ConcreteClientModeManager cmm = mClientModeManagers.get( in allowedToDelete() local
2099 if (cmm != null && (cmm.getRole() in allowedToDelete()
DApplicationQosPolicyRequestHandler.java439 for (ClientModeManager cmm : clientModeManagers) { in queueRequestOnAllIfaces()
440 queueRequestOnIface(cmm.getInterfaceName(), request); in queueRequestOnAllIfaces()
DWifiLockManager.java425 cmm -> cmm.isConnected()); in updateWifiClientConnected()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiDataStallTest.java344 ConcreteClientModeManager cmm = mock(ConcreteClientModeManager.class); in verifyDataStallTxFailureAfterConnectionEnd() local
345 when(cmm.getRole()).thenReturn(ROLE_CLIENT_PRIMARY); in verifyDataStallTxFailureAfterConnectionEnd()
346 mClientModeImplListener.onConnectionEnd(cmm); in verifyDataStallTxFailureAfterConnectionEnd()
DWifiConnectivityManagerTest.java544 private void setupMockForClientModeManager(ConcreteClientModeManager cmm) { in setupMockForClientModeManager() argument
545 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() local
691 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 …]
DActiveModeWardenTest.java809 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()
DWifiServiceImplTest.java6371 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()