Home
last modified time | relevance | path

Searched refs:mAfcManager (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DAfcManagerTest.java78 private AfcManager mAfcManager; field in AfcManagerTest
139 mAfcManager = makeAfcManager(); in testNoCrashForNullLocation()
142 mAfcManager.onLocationChange(null, false); in testNoCrashForNullLocation()
143 assertThat(mAfcManager.getLastKnownLocation()).isEqualTo(null); in testNoCrashForNullLocation()
152 mAfcManager = makeAfcManager(); in testUpdateLastKnownLocationOnLocationChange()
153 mAfcManager.setIsAfcSupportedInCurrentCountry(true); in testUpdateLastKnownLocationOnLocationChange()
156 mAfcManager.onLocationChange(mLocation, false); in testUpdateLastKnownLocationOnLocationChange()
160 assertThat(mAfcManager.getLastKnownLocation()).isEqualTo(mLocation); in testUpdateLastKnownLocationOnLocationChange()
161 assertThat(mAfcManager.getLocationManager()).isEqualTo(mLocationManager); in testUpdateLastKnownLocationOnLocationChange()
169 mAfcManager = makeAfcManager(); in testGetLocationAfterCountryCodeChange()
[all …]
DWifiServiceImplTest.java488 @Mock AfcManager mAfcManager; field in WifiServiceImplTest
556 when(mWifiInjector.getAfcManager()).thenReturn(mAfcManager); in setUp()
12251 verify(mAfcManager).onCountryCodeChange(newCountryCode); in testInformAfcManagerOnCountryCodeChange()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiInjector.java262 private final AfcManager mAfcManager; field in WifiInjector
618 mAfcManager = new AfcManager(mContextWithAttributionTag, this); in WifiInjector()
1224 return mAfcManager; in getAfcManager()
DWifiShellCommand.java219 private final AfcManager mAfcManager; field in WifiShellCommand
470 mAfcManager = wifiInjector.getAfcManager(); in WifiShellCommand()
1937 mWifiThreadRunner.post(() -> mAfcManager.onLocationChange(location, true), in onCommand()
2125 mAfcManager.setServerUrlAndRequestPropertyPairs(url, requestProperties); in onCommand()
DWifiServiceImpl.java403 private final AfcManager mAfcManager; field in WifiServiceImpl
581 mAfcManager = mWifiInjector.getAfcManager(); in WifiServiceImpl()
2056 mAfcManager.onCountryCodeChange(countryCode); in onDriverCountryCodeChanged()
5770 mAfcManager.enableVerboseLogging(mVerboseLoggingEnabled);