Home
last modified time | relevance | path

Searched refs:mMemoryStore (Results 1 – 4 of 4) sorted by relevance

/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiHealthMonitorTest.java93 WifiScoreCard.MemoryStore mMemoryStore; field in WifiHealthMonitorTest
365 mWifiHealthMonitor.installMemoryStoreSetUpDetectionAlarm(mMemoryStore); in makeSerializedExample()
443 mWifiHealthMonitor.installMemoryStoreSetUpDetectionAlarm(mMemoryStore); in testSerializationDeserialization()
480 mWifiHealthMonitor.installMemoryStoreSetUpDetectionAlarm(mMemoryStore); in testTimerMultiDayRun()
520 mWifiHealthMonitor.installMemoryStoreSetUpDetectionAlarm(mMemoryStore); in testTimerWith()
532 mWifiHealthMonitor.installMemoryStoreSetUpDetectionAlarm(mMemoryStore); in testTwoDailyDetections()
552 mWifiHealthMonitor.installMemoryStoreSetUpDetectionAlarm(mMemoryStore); in testBuildProto()
672 mWifiScoreCard.installMemoryStore(mMemoryStore); in testReadAfterDelayedMemoryStoreInstallation()
676 verify(mMemoryStore, times(4)).read(any(), any(), any()); in testReadAfterDelayedMemoryStoreInstallation()
684 mWifiScoreCard.installMemoryStore(mMemoryStore); in testReadAfterStartupMemoryStoreInstallation()
[all …]
H A DWifiScoreCardTest.java106 @Mock WifiScoreCard.MemoryStore mMemoryStore; field in WifiScoreCardTest
720 mWifiScoreCard.installMemoryStore(mMemoryStore);
722 mWifiScoreCard.installMemoryStore(mMemoryStore);
833 mWifiScoreCard.installMemoryStore(mMemoryStore); in testReadAfterDelayedMemoryStoreInstallation()
835 verify(mMemoryStore, times(1)).read(any(), any(), any()); in testReadAfterDelayedMemoryStoreInstallation()
858 mWifiScoreCard.installMemoryStore(mMemoryStore); in testOlderItemsShouldBeEvicted()
865 verify(mMemoryStore, times(256 + 1)).read(any(), any(), any()); in testOlderItemsShouldBeEvicted()
866 verify(mMemoryStore, atLeastOnce()).write(any(), any(), any()); // Assumes target size < 256 in testOlderItemsShouldBeEvicted()
867 reset(mMemoryStore); in testOlderItemsShouldBeEvicted()
874 verify(mMemoryStore, never()).read(any(), any(), any()); // Assumes target size >= 3 in testOlderItemsShouldBeEvicted()
[all …]
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DWifiHealthMonitor.java116 private MemoryStore mMemoryStore; field in WifiHealthMonitor
198 if (mMemoryStore == null) { in installMemoryStoreSetUpDetectionAlarm()
199 mMemoryStore = memoryStore; in installMemoryStoreSetUpDetectionAlarm()
202 mMemoryStore = memoryStore; in installMemoryStoreSetUpDetectionAlarm()
812 if (mMemoryStore != null) { in readFromMemory()
813 mMemoryStore.read(getL2Key(), SYSTEM_INFO_DATA_NAME, in readFromMemory()
859 if (mMemoryStore == null || !mChanged) return; in writeToMemory()
861 mMemoryStore.write(getL2Key(), SYSTEM_INFO_DATA_NAME, serialized); in writeToMemory()
H A DWifiScoreCard.java128 private MemoryStore mMemoryStore; field in WifiScoreCard
186 if (mMemoryStore == null) { in installMemoryStore()
187 mMemoryStore = memoryStore; in installMemoryStore()
191 mMemoryStore = memoryStore; in installMemoryStore()
2165 if (mMemoryStore != null) { in requestReadBssid()
2207 if (mMemoryStore == null) return; in removeNetwork()
2208 mMemoryStore.removeCluster(groupHintFromSsid(ssid)); in removeNetwork()
2212 if (mMemoryStore != null) { in requestReadNetwork()
2232 if (mMemoryStore == null) return 0; in doWritesBssid()
2254 if (mMemoryStore == null) return 0; in doWritesNetwork()
[all …]