Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/tests/src/android/net/wifi/util/
DWifiResourceCacheTest.java44 private WifiResourceCache mWifiResourceCache; field in WifiResourceCacheTest
49 mWifiResourceCache = new WifiResourceCache(mWifiContext); in setup()
55 assertTrue(mWifiResourceCache.getBoolean(TEST_ID, TEST_NAME)); in testGetBooleanResource()
56 assertTrue(mWifiResourceCache.getBoolean(TEST_ID, TEST_NAME)); in testGetBooleanResource()
63 assertEquals(VALUE_1, mWifiResourceCache.getInteger(TEST_ID, TEST_NAME)); in testGetIntegerResource()
64 assertEquals(VALUE_1, mWifiResourceCache.getInteger(TEST_ID, TEST_NAME)); in testGetIntegerResource()
71 assertTrue(mWifiResourceCache.getBoolean(TEST_ID, TEST_NAME)); in testOverrideBooleanResource()
72 mWifiResourceCache.overrideBooleanValue(TEST_NAME, false); in testOverrideBooleanResource()
73 assertFalse(mWifiResourceCache.getBoolean(TEST_ID, TEST_NAME)); in testOverrideBooleanResource()
74 mWifiResourceCache.restoreBooleanValue(TEST_NAME); in testOverrideBooleanResource()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiContext.java67 private WifiResourceCache mWifiResourceCache; field in WifiContext
71 mWifiResourceCache = new WifiResourceCache(this); in WifiContext()
203 return mWifiResourceCache; in getResourceCache()
221 mWifiResourceCache.reset(); in resetResourceCache()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiGlobals.java52 private final WifiResourceCache mWifiResourceCache; field in WifiGlobals
107 mWifiResourceCache = context.getResourceCache(); in WifiGlobals()
348 return mWifiResourceCache.getBoolean(R.bool.config_wifiWepDeprecated, in isWepDeprecated()
359 return !mWifiResourceCache.getBoolean(R.bool.config_wifiWepDeprecated, in isWepSupported()
593 return mWifiResourceCache in isBackgroundScanSupported()
DWifiServiceImpl.java338 private final WifiResourceCache mWifiResourceCache; field in WifiServiceImpl
519 mWifiResourceCache = mContext.getResourceCache(); in WifiServiceImpl()
5607 mWifiResourceCache.dump(pw);
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java508 @Mock WifiResourceCache mWifiResourceCache; field in WifiServiceImplTest
569 when(mContext.getResourceCache()).thenReturn(mWifiResourceCache); in setUp()
864 verify(mWifiResourceCache).dump(any()); in testDumpNullArgs()
9440 verify(mWifiResourceCache).dump(any()); in testDumpShouldDumpWakeupController()