Home
last modified time | relevance | path

Searched refs:mSarManager (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanOnlyModeManager.java50 private final SarManager mSarManager; field in ScanOnlyModeManager
67 mSarManager = sarManager; in ScanOnlyModeManager()
239 mSarManager.setScanOnlyWifiState(WifiManager.WIFI_STATE_ENABLED); in enter()
279 mSarManager.setScanOnlyWifiState(WifiManager.WIFI_STATE_DISABLED); in exit()
DWifiInjector.java148 private final SarManager mSarManager; field in WifiInjector
304 mSarManager = new SarManager(mContext, makeTelephonyManager(), clientModeImplLooper, in WifiInjector()
319 mSarManager, mWifiTrafficPoller, mLinkProbeManager); in WifiInjector()
440 return mSarManager; in getSarManager()
547 mWifiApConfigStore, config, mWifiMetrics, mSarManager, mWifiDiagnostics); in makeSoftApManager()
560 mSarManager); in makeScanOnlyModeManager()
DSoftApManager.java99 private final SarManager mSarManager; field in SoftApManager
153 mSarManager = sarManager; in SoftApManager()
562 mSarManager.setSapWifiState(WifiManager.WIFI_AP_STATE_ENABLED); in enter()
587 mSarManager.setSapWifiState(WifiManager.WIFI_AP_STATE_DISABLED); in exit()
DClientModeImpl.java218 private final SarManager mSarManager; field in ClientModeImpl
800 mSarManager = sarManager; in ClientModeImpl()
2628 mSarManager.handleScreenStateChanged(screenOn); in handleScreenStateChanged()
3944 mSarManager.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in enter()
3961 mSarManager.setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in exit()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanOnlyModeManagerTest.java69 @Mock SarManager mSarManager; field in ScanOnlyModeManagerTest
85 mWifiMetrics, mWakeupController, mSarManager); in createScanOnlyModeManager()
102 verify(mSarManager).setScanOnlyWifiState(eq(WIFI_STATE_ENABLED)); in startScanOnlyModeAndVerifyEnabled()
161 verify(mSarManager).setScanOnlyWifiState(eq(WIFI_STATE_DISABLED)); in scanModeStopCleansUpState()
DSoftApManagerTest.java118 @Mock SarManager mSarManager; field in SoftApManagerTest
167 mSarManager, in createSoftApManager()
241 mSarManager, in startSoftApDefaultConfigFailedToLoad()
285 mSarManager, in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
328 mSarManager, in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics()
370 mSarManager, in startSoftApOn5GhzFailGeneralErrorForNoCountryCode()
417 mSarManager, in startSoftApOn5GhzFailGeneralErrorForCountryCodeSetFailure()
534 mSarManager, in startSoftApFailNoChannel()
573 mSarManager, in startSoftApApInterfaceFailedToStart()
596 verify(mSarManager, never()).setSapWifiState(anyInt()); in stopWhenNotStarted()
[all …]
DClientModeImplTest.java362 @Mock SarManager mSarManager; field in ClientModeImplTest
558 mWrongPasswordNotifier, mSarManager, mWifiTrafficPoller, in initializeCmi()
2190 InOrder inOrderSarMgr = inOrder(mSarManager); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2203 inOrderSarMgr.verify(mSarManager).setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2227 inOrderSarMgr.verify(mSarManager).setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2251 inOrderSarMgr.verify(mSarManager).setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testWifiInfoCleanedUpEnteringExitingConnectModeState()