Searched refs:mMemoryStore (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiHealthMonitorTest.java | 93 WifiScoreCard.MemoryStore mMemoryStore; field in WifiHealthMonitorTest 376 mWifiHealthMonitor.installMemoryStoreSetUpDetectionAlarm(mMemoryStore); in makeSerializedExample() 454 mWifiHealthMonitor.installMemoryStoreSetUpDetectionAlarm(mMemoryStore); in testSerializationDeserialization() 491 mWifiHealthMonitor.installMemoryStoreSetUpDetectionAlarm(mMemoryStore); in testTimerMultiDayRun() 531 mWifiHealthMonitor.installMemoryStoreSetUpDetectionAlarm(mMemoryStore); in testTimerWith() 543 mWifiHealthMonitor.installMemoryStoreSetUpDetectionAlarm(mMemoryStore); in testTwoDailyDetections() 563 mWifiHealthMonitor.installMemoryStoreSetUpDetectionAlarm(mMemoryStore); in testBuildProto() 620 mWifiHealthMonitor.installMemoryStoreSetUpDetectionAlarm(mMemoryStore); in testWifiStatsLogWrite() 645 mWifiHealthMonitor.installMemoryStoreSetUpDetectionAlarm(mMemoryStore); in testAfterSwBuildChange() 683 mWifiScoreCard.installMemoryStore(mMemoryStore); in testReadAfterDelayedMemoryStoreInstallation() [all …]
|
D | WifiScoreCardTest.java | 107 @Mock WifiScoreCard.MemoryStore mMemoryStore; field in WifiScoreCardTest 719 mWifiScoreCard.installMemoryStore(mMemoryStore); 721 mWifiScoreCard.installMemoryStore(mMemoryStore); 832 mWifiScoreCard.installMemoryStore(mMemoryStore); in testReadAfterDelayedMemoryStoreInstallation() 834 verify(mMemoryStore, times(1)).read(any(), any(), any()); in testReadAfterDelayedMemoryStoreInstallation() 857 mWifiScoreCard.installMemoryStore(mMemoryStore); in testOlderItemsShouldBeEvicted() 864 verify(mMemoryStore, times(256 + 1)).read(any(), any(), any()); in testOlderItemsShouldBeEvicted() 865 verify(mMemoryStore, atLeastOnce()).write(any(), any(), any()); // Assumes target size < 256 in testOlderItemsShouldBeEvicted() 866 reset(mMemoryStore); in testOlderItemsShouldBeEvicted() 873 verify(mMemoryStore, never()).read(any(), any(), any()); // Assumes target size >= 3 in testOlderItemsShouldBeEvicted() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiHealthMonitor.java | 116 private MemoryStore mMemoryStore; field in WifiHealthMonitor 200 if (mMemoryStore == null) { in installMemoryStoreSetUpDetectionAlarm() 201 mMemoryStore = memoryStore; in installMemoryStoreSetUpDetectionAlarm() 204 mMemoryStore = memoryStore; in installMemoryStoreSetUpDetectionAlarm() 815 if (mMemoryStore != null) { in readFromMemory() 816 mMemoryStore.read(getL2Key(), SYSTEM_INFO_DATA_NAME, in readFromMemory() 862 if (mMemoryStore == null || !mChanged) return; in writeToMemory() 864 mMemoryStore.write(getL2Key(), SYSTEM_INFO_DATA_NAME, serialized); in writeToMemory()
|
D | WifiScoreCard.java | 127 private MemoryStore mMemoryStore; field in WifiScoreCard 185 if (mMemoryStore == null) { in installMemoryStore() 186 mMemoryStore = memoryStore; in installMemoryStore() 190 mMemoryStore = memoryStore; in installMemoryStore() 2152 if (mMemoryStore != null) { in requestReadBssid() 2153 mMemoryStore.read(perBssid.getL2Key(), PER_BSSID_DATA_NAME, in requestReadBssid() 2194 if (mMemoryStore == null) return; in removeNetwork() 2195 mMemoryStore.removeCluster(groupHintFromSsid(ssid)); in removeNetwork() 2199 if (mMemoryStore != null) { in requestReadNetwork() 2200 mMemoryStore.read(perNetwork.getL2Key(), PER_NETWORK_DATA_NAME, in requestReadNetwork() [all …]
|