Home
last modified time | relevance | path

Searched refs:scanStats (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiHealthMonitor.java280 ScanStats scanStats = mWifiSystemInfoStats.getCurrScanStats(); in handleScanResults() local
281 scanStats.clear(); in handleScanResults()
282 scanStats.setLastScanTimeMs(mClock.getWallClockMillis()); in handleScanResults()
286 scanStats.incrementNumBssidLastScan2g(); in handleScanResults()
288 scanStats.incrementNumBssidLastScanAbove2g(); in handleScanResults()
292 mFirstScanStats.copy(scanStats); in handleScanResults()
295 logd(" 2G scanResult count: " + scanStats.getNumBssidLastScan2g() in handleScanResults()
296 + ", Above2g scanResult count: " + scanStats.getNumBssidLastScanAbove2g()); in handleScanResults()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiHealthMonitorTest.java711 ScanStats scanStats = mWifiHealthMonitor.getWifiSystemInfoStats().getCurrScanStats(); in testFullBandScan() local
712 assertEquals(1_500_000_005_000L, scanStats.getLastScanTimeMs()); in testFullBandScan()
713 assertEquals(2, scanStats.getNumBssidLastScanAbove2g()); in testFullBandScan()
714 assertEquals(2, scanStats.getNumBssidLastScan2g()); in testFullBandScan()
727 ScanStats scanStats = mWifiHealthMonitor.getWifiSystemInfoStats().getCurrScanStats(); in test2GScan() local
728 assertEquals(TS_NONE, scanStats.getLastScanTimeMs()); in test2GScan()
729 assertEquals(0, scanStats.getNumBssidLastScanAbove2g()); in test2GScan()
730 assertEquals(0, scanStats.getNumBssidLastScan2g()); in test2GScan()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java2393 AppScanStats scanStats = mScannerMap.getAppScanStatsById(scannerId); in continuePiStartScan() local
2394 if (scanStats != null) { in continuePiStartScan()
2395 scanClient.stats = scanStats; in continuePiStartScan()
2397 scanStats.recordScanStart( in continuePiStartScan()