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.java146 private final SarManager mSarManager; field in WifiInjector
296 mSarManager = new SarManager(mContext, makeTelephonyManager(), clientModeImplLooper, in WifiInjector()
310 mSarManager, mWifiTrafficPoller, mLinkProbeManager); in WifiInjector()
431 return mSarManager; in getSarManager()
538 mWifiApConfigStore, config, mWifiMetrics, mSarManager); in makeSoftApManager()
551 mSarManager); in makeScanOnlyModeManager()
DSoftApManager.java94 private final SarManager mSarManager; field in SoftApManager
145 mSarManager = sarManager; in SoftApManager()
526 mSarManager.setSapWifiState(WifiManager.WIFI_AP_STATE_ENABLED); in enter()
551 mSarManager.setSapWifiState(WifiManager.WIFI_AP_STATE_DISABLED); in exit()
DClientModeImpl.java211 private final SarManager mSarManager; field in ClientModeImpl
787 mSarManager = sarManager; in ClientModeImpl()
2607 mSarManager.handleScreenStateChanged(screenOn); in handleScreenStateChanged()
3913 mSarManager.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in enter()
3933 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.java91 @Mock SarManager mSarManager; field in SoftApManagerTest
139 mSarManager); in createSoftApManager()
212 mSarManager); in startSoftApDefaultConfigFailedToLoad()
255 mSarManager); in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
297 mSarManager); in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics()
338 mSarManager); in startSoftApOn5GhzFailGeneralErrorForNoCountryCode()
384 mSarManager); in startSoftApOn5GhzFailGeneralErrorForCountryCodeSetFailure()
500 mSarManager); in startSoftApFailNoChannel()
538 mSarManager); in startSoftApApInterfaceFailedToStart()
560 verify(mSarManager, never()).setSapWifiState(anyInt()); in stopWhenNotStarted()
[all …]
DClientModeImplTest.java355 @Mock SarManager mSarManager; field in ClientModeImplTest
547 mWrongPasswordNotifier, mSarManager, mWifiTrafficPoller, in initializeCmi()
2067 InOrder inOrderSarMgr = inOrder(mSarManager); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2080 inOrderSarMgr.verify(mSarManager).setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2104 inOrderSarMgr.verify(mSarManager).setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2128 inOrderSarMgr.verify(mSarManager).setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testWifiInfoCleanedUpEnteringExitingConnectModeState()