Searched refs:ROLE_CLIENT_SCAN_ONLY (Results 1 – 13 of 13) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ConcreteClientModeManagerTest.java | 30 import static com.android.server.wifi.ActiveModeManager.ROLE_CLIENT_SCAN_ONLY; 277 mClientModeManager = createClientModeManager(ROLE_CLIENT_SCAN_ONLY); in startClientInScanOnlyModeAndVerifyEnabled() 500 mClientModeManager.setRole(ROLE_CLIENT_SCAN_ONLY, TEST_WORKSOURCE); in testSwitchFromConnectModeToScanOnlyModeFail() 532 mClientModeManager.setRole(ROLE_CLIENT_SCAN_ONLY, TEST_WORKSOURCE); in switchFromConnectModeToScanOnlyMode() 1136 mClientModeManager.setRole(ROLE_CLIENT_SCAN_ONLY, TEST_WORKSOURCE); in switchToScanOnlyModeWithWifiOffDeferringTimeNoWifiCalling() 1160 mClientModeManager.setRole(ROLE_CLIENT_SCAN_ONLY, TEST_WORKSOURCE); in switchToScanOnlyModeWithWifiOffDeferringTimeAndImsOnWwan() 1191 mClientModeManager.setRole(ROLE_CLIENT_SCAN_ONLY, TEST_WORKSOURCE); in switchToScanOnlyModeWithWifiOffDeferringTimeAndWifiCallingOnImsUnregistered() 1238 mClientModeManager.setRole(ROLE_CLIENT_SCAN_ONLY, TEST_WORKSOURCE); in switchToScanOnlyModeWithWifiOffDeferringTimeAndWifiCallingOnNetworkLostFirst() 1294 mClientModeManager.setRole(ROLE_CLIENT_SCAN_ONLY, TEST_WORKSOURCE); in switchToScanOnlyModeWithWifiOffDeferringTimeAndWifiCallingOnImsRegistered() 1335 mClientModeManager.setRole(ROLE_CLIENT_SCAN_ONLY, TEST_WORKSOURCE); in switchToScanOnlyModeWithWifiOffDeferringTimeAndWifiCallingTimedOut() [all …]
|
D | ClientModeManagerBroadcastQueueTest.java | 20 import static com.android.server.wifi.ActiveModeManager.ROLE_CLIENT_SCAN_ONLY; 84 when(mPrimaryManager.getRole()).thenReturn(ROLE_CLIENT_SCAN_ONLY); in scanOnlyModeManagerSendBroadcast_sentImmediately()
|
D | ActiveModeWardenTest.java | 26 import static com.android.server.wifi.ActiveModeManager.ROLE_CLIENT_SCAN_ONLY; 431 when(mClientModeManager.getRole()).thenReturn(ROLE_CLIENT_SCAN_ONLY); in enterScanOnlyModeActiveState() 439 any(), eq(TEST_WORKSOURCE), eq(ROLE_CLIENT_SCAN_ONLY), anyBoolean()); in enterScanOnlyModeActiveState() 444 verify(mClientModeManager).setRole(ROLE_CLIENT_SCAN_ONLY, INTERNAL_REQUESTOR_WS); in enterScanOnlyModeActiveState() 688 when(mClientModeManager.getRole()).thenReturn(ROLE_CLIENT_SCAN_ONLY); in testScanOnlyModeScanHiddenNetworks() 698 any(), eq(TEST_WORKSOURCE), eq(ROLE_CLIENT_SCAN_ONLY), anyBoolean()); in testScanOnlyModeScanHiddenNetworks() 826 inOrder.verify(mClientModeManager).setRole(ROLE_CLIENT_SCAN_ONLY, INTERNAL_REQUESTOR_WS); in testSwitchFromConnectModeToScanOnlyModeRemovesAdditionalCMMs() 1405 any(), eq(new WorkSource(Process.WIFI_UID)), eq(ROLE_CLIENT_SCAN_ONLY), in enableScanMode() 2597 any(), eq(new WorkSource(Process.WIFI_UID)), eq(ROLE_CLIENT_SCAN_ONLY), in testRestartWifiStackInStaScanEnabledState() 2888 any(), eq(TEST_WORKSOURCE), eq(ROLE_CLIENT_SCAN_ONLY), anyBoolean()); in staDisabled_toggleWifiOff_scanAvailable_goToScanMode() [all …]
|
D | WifiConnectivityManagerTest.java | 20 import static com.android.server.wifi.ActiveModeManager.ROLE_CLIENT_SCAN_ONLY; 706 when(cmm.getRole()).thenReturn(ROLE_CLIENT_SCAN_ONLY); in testPrimaryToScanOnlyWillDisableWifi()
|
D | ClientModeImplTest.java | 39 import static com.android.server.wifi.ActiveModeManager.ROLE_CLIENT_SCAN_ONLY; 2598 when(mClientModeManager.getRole()).thenReturn(ROLE_CLIENT_SCAN_ONLY); in testNetworkDisconnectAfterInterfaceSwitchedToScan()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ClientModeManagerBroadcastQueue.java | 20 import static com.android.server.wifi.ActiveModeManager.ROLE_CLIENT_SCAN_ONLY; 81 || manager.getRole() == ROLE_CLIENT_SCAN_ONLY) { in queueOrSendBroadcast()
|
D | ActiveModeWarden.java | 31 import static com.android.server.wifi.ActiveModeManager.ROLE_CLIENT_SCAN_ONLY; 1028 || getClientModeManagerInRole(ROLE_CLIENT_SCAN_ONLY) != null in hasPrimaryOrScanOnlyModeManager() 1030 || getClientModeManagerTransitioningIntoRole(ROLE_CLIENT_SCAN_ONLY) != null; in hasPrimaryOrScanOnlyModeManager() 1097 return getClientModeManagerInRole(ROLE_CLIENT_SCAN_ONLY); in getScanOnlyClientModeManager() 1145 if (manager.getRole() != ROLE_CLIENT_SCAN_ONLY) return false; in areAllClientModeManagersInScanOnlyRole() 1270 new ClientListener(), requestorWs, ROLE_CLIENT_SCAN_ONLY, mVerboseLoggingEnabled); in startScanOnlyClientModeManager() 1305 } else if (role == ROLE_CLIENT_SCAN_ONLY) { in startPrimaryOrScanOnlyClientModeManager() 1352 clientModeManager.setRole(ROLE_CLIENT_SCAN_ONLY, requestorWs); in switchAllPrimaryClientModeManagersToScanOnlyMode() 1370 && clientModeManager.getRole() != ROLE_CLIENT_SCAN_ONLY) { in switchAllPrimaryOrScanOnlyClientModeManagers() 1384 return ROLE_CLIENT_SCAN_ONLY; in getRoleForPrimaryOrScanOnlyClientModeManager() [all …]
|
D | ActiveModeManager.java | 87 ClientRole ROLE_CLIENT_SCAN_ONLY = new ClientRole() { field
|
D | ConcreteClientModeManager.java | 406 } else if (mTargetRoleChangeInfo.role == ROLE_CLIENT_SCAN_ONLY) { in continueToStopWifi() 584 if (role == ROLE_CLIENT_SCAN_ONLY) { in setRole() 1161 || (mScanRoleChangeInfoToSetOnTransition.role != ROLE_CLIENT_SCAN_ONLY)) { in enterImpl() 1166 new RoleChangeInfo(ROLE_CLIENT_SCAN_ONLY); in enterImpl()
|
D | WifiConnectivityManager.java | 23 import static com.android.server.wifi.ActiveModeManager.ROLE_CLIENT_SCAN_ONLY; 3111 if (role == ROLE_CLIENT_PRIMARY || role == ROLE_CLIENT_SCAN_ONLY) { in handleConnectionStateChanged()
|
D | ClientModeImpl.java | 32 import static com.android.server.wifi.ActiveModeManager.ROLE_CLIENT_SCAN_ONLY; 2600 return mClientModeManager.getRole() == ActiveModeManager.ROLE_CLIENT_SCAN_ONLY; in isScanOnly() 4480 if (isPrimary() || mClientModeManager.getRole() == ROLE_CLIENT_SCAN_ONLY) { in registerDisconnected()
|
D | WifiMetrics.java | 6499 if (role == ActiveModeManager.ROLE_CLIENT_SCAN_ONLY) { in convertIfaceToEnum() 6500 return WifiMetricsProto.ROLE_CLIENT_SCAN_ONLY; in convertIfaceToEnum() 6515 case WifiMetricsProto.ROLE_CLIENT_SCAN_ONLY: in clientRoleEnumToString()
|
/packages/modules/Wifi/service/proto/src/ |
D | metrics.proto | 965 ROLE_CLIENT_SCAN_ONLY = 1; enumerator
|