Home
last modified time | relevance | path

Searched refs:systemInfoStats (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiHealthMonitor.java827 SystemInfoStats systemInfoStats; in finishPendingRead() local
829 systemInfoStats = SystemInfoStats.parseFrom(serialized); in finishPendingRead()
834 readFromMemory(systemInfoStats); in finishPendingRead()
837 private void readFromMemory(@NonNull SystemInfoStats systemInfoStats) { in readFromMemory() argument
838 if (systemInfoStats.hasCurrSoftwareBuildInfo()) { in readFromMemory()
840 systemInfoStats.getCurrSoftwareBuildInfo()); in readFromMemory()
842 if (systemInfoStats.hasPrevSoftwareBuildInfo()) { in readFromMemory()
844 systemInfoStats.getPrevSoftwareBuildInfo()); in readFromMemory()
846 if (systemInfoStats.hasNumBssidLastScan2G()) { in readFromMemory()
847 mPrevScanStats.setNumBssidLastScan2g(systemInfoStats.getNumBssidLastScan2G()); in readFromMemory()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiHealthMonitorTest.java452 SystemInfoStats systemInfoStats = SystemInfoStats.parseFrom(serialized); in testSerializationDeserialization() local
454 .fromSoftwareBuildInfo(systemInfoStats.getCurrSoftwareBuildInfo()); in testSerializationDeserialization()
459 assertEquals(1_500_000_005_000L, systemInfoStats.getLastScanTimeMs()); in testSerializationDeserialization()
460 assertEquals(2, systemInfoStats.getNumBssidLastScan2G()); in testSerializationDeserialization()
461 assertEquals(2, systemInfoStats.getNumBssidLastScanAbove2G()); in testSerializationDeserialization()
774 SystemInfoStats systemInfoStats = SystemInfoStats.parseFrom(serialized); in testPostBootAbnormalScanDetection() local
775 assertEquals(1_500_000_005_000L, systemInfoStats.getLastScanTimeMs()); in testPostBootAbnormalScanDetection()
776 assertEquals(2, systemInfoStats.getNumBssidLastScan2G()); in testPostBootAbnormalScanDetection()
777 assertEquals(2, systemInfoStats.getNumBssidLastScanAbove2G()); in testPostBootAbnormalScanDetection()