Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DDefaultClientModeManager.java45 @Nullable public ClientRole getPreviousRole() { in getPreviousRole() method in DefaultClientModeManager
DActiveModeManager.java152 @Nullable Role getPreviousRole(); in getPreviousRole() method
DMultiInternetManager.java182 if (ccm.getPreviousRole() != ROLE_CLIENT_SECONDARY_LONG_LIVED in onActiveModeManagerRemoved()
207 if (ccm.getPreviousRole() == ROLE_CLIENT_SECONDARY_LONG_LIVED in onActiveModeManagerRoleChanged()
DMakeBeforeBreakManager.java321 if (newPrimary.getPreviousRole() == ROLE_CLIENT_PRIMARY) { in onInternetValidated()
DActiveModeWarden.java1699 if (ROLE_CLIENT_SECONDARY_LONG_LIVED.equals(clientModeManager.getPreviousRole()) in onStoppedOrStartFailure()
1700 || ROLE_CLIENT_LOCAL_ONLY.equals(clientModeManager.getPreviousRole())) { in onStoppedOrStartFailure()
DConcreteClientModeManager.java540 @Nullable public ClientRole getPreviousRole() { in getPreviousRole() method in ConcreteClientModeManager
DSoftApManager.java589 @Nullable public ClientRole getPreviousRole() { in getPreviousRole() method in SoftApManager
DWifiConnectivityManager.java1291 if (activeModeManager.getPreviousRole() == ROLE_CLIENT_PRIMARY in onActiveModeManagerRoleChanged()
DClientModeImpl.java7383 && mClientModeManager.getPreviousRole() == ROLE_CLIENT_PRIMARY) { in processMessageImpl()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DConcreteClientModeManagerTest.java618 assertNull(mClientModeManager.getPreviousRole()); in clientModeStopBeforeStartCleansUpState()
634 assertNull(mClientModeManager.getPreviousRole()); in clientModeStopCleansUpState()
645 mClientModeManager.getPreviousRole()); in clientModeStopCleansUpState()
1553 assertNull(mClientModeManager.getPreviousRole()); in setRoleBeforeInvokingListener()
1575 mClientModeManager.getPreviousRole()); in setRoleBeforeInvokingListener()
DMakeBeforeBreakManagerTest.java98 when(mNewPrimaryCmm.getPreviousRole()).thenReturn(ROLE_CLIENT_PRIMARY); in onL3ValidatedSecondaryTransientThatWasPreviouslyPrimary_noOp()
DWifiConnectivityManagerTest.java691 when(cmm.getPreviousRole()).thenReturn(ROLE_CLIENT_PRIMARY); in testPrimaryToSecondaryTransientDoesNotDisableWifi()
705 when(cmm.getPreviousRole()).thenReturn(ROLE_CLIENT_PRIMARY); in testPrimaryToScanOnlyWillDisableWifi()
DActiveModeWardenTest.java2702 verify(mClientModeManager, atLeastOnce()).getPreviousRole(); in testRestartWifiStackDoesNotExitECMMode()