/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiInjector.java | 36 private final WifiMetrics mWifiMetrics = new WifiMetrics(mClock); 38 new WifiLastResortWatchdog(mWifiMetrics); 44 return mWifiMetrics;
|
WifiLastResortWatchdog.java | 81 private WifiMetrics mWifiMetrics; 86 mWifiMetrics = wifiMetrics; 216 mWifiMetrics.incrementNumLastResortWatchdogSuccesses(); 357 mWifiMetrics.incrementNumLastResortWatchdogTriggers(); 358 mWifiMetrics.addCountToNumLastResortWatchdogAvailableNetworksTotal( 371 mWifiMetrics.addCountToNumLastResortWatchdogBadAuthenticationNetworksTotal(badAuth); 372 mWifiMetrics.incrementNumLastResortWatchdogTriggersWithBadAuthentication(); 375 mWifiMetrics.addCountToNumLastResortWatchdogBadAssociationNetworksTotal(badAssoc); 376 mWifiMetrics.incrementNumLastResortWatchdogTriggersWithBadAssociation(); 379 mWifiMetrics.addCountToNumLastResortWatchdogBadDhcpNetworksTotal(badDhcp) [all...] |
WifiConnectivityManager.java | 131 private final WifiMetrics mWifiMetrics; 230 mWifiMetrics.countScanResults(scanDetails); 353 mWifiMetrics.incrementNumConnectivityWatchdogPnoBad(); 355 mWifiMetrics.incrementNumConnectivityWatchdogPnoGood(); 534 mWifiMetrics = wifiInjector.getWifiMetrics(); [all...] |
WifiStateMachine.java | 186 private WifiMetrics mWifiMetrics; [all...] |
WifiServiceImpl.java | 153 private final WifiMetrics mWifiMetrics; 319 mWifiMetrics = mWifiInjector.getWifiMetrics(); [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiMetricsTest.java | 48 WifiMetrics mWifiMetrics; 57 mWifiMetrics = new WifiMetrics(mClock); 67 mWifiMetrics.startConnectionEvent(null, "RED", 69 mWifiMetrics.endConnectionEvent( 73 mWifiMetrics.endConnectionEvent( 77 mWifiMetrics.startConnectionEvent(null, "BLUE", 79 mWifiMetrics.startConnectionEvent(null, "GREEN", 87 * Simulate how dumpsys gets the proto from mWifiMetrics, filter the proto bytes out and 98 mWifiMetrics.dump(null, writer, args); 111 * Gets the 'clean dump' proto bytes from mWifiMetrics & deserializes it int [all...] |
WifiLastResortWatchdogTest.java | 43 @Mock WifiMetrics mWifiMetrics; 58 mLastResortWatchdog = new WifiLastResortWatchdog(mWifiMetrics); [all...] |
WifiConnectivityManagerTest.java | 106 private WifiMetrics mWifiMetrics; 254 mWifiMetrics = mock(WifiMetrics.class); 256 when(wifiInjector.getWifiMetrics()).thenReturn(mWifiMetrics); 538 verify(mWifiMetrics).incrementNumConnectivityWatchdogPnoBad(); 539 verify(mWifiMetrics, never()).incrementNumConnectivityWatchdogPnoGood(); 565 verify(mWifiMetrics).incrementNumConnectivityWatchdogPnoGood(); 566 verify(mWifiMetrics, never()).incrementNumConnectivityWatchdogPnoBad(); [all...] |
WifiStateMachineTest.java | 329 @Mock WifiMetrics mWifiMetrics; 356 when(mWifiInjector.getWifiMetrics()).thenReturn(mWifiMetrics); [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
WifiScanningServiceTest.java | 87 WifiMetrics mWifiMetrics; 99 mWifiMetrics = new WifiMetrics(mClock); 111 when(mWifiInjector.getWifiMetrics()).thenReturn(mWifiMetrics); 597 assertEquals(mWifiMetrics.getOneshotScanCount(), 1); 598 assertEquals(mWifiMetrics.getScanReturnEntry(WifiMetricsProto.WifiLog.SCAN_UNKNOWN), 1); 639 assertEquals(mWifiMetrics.getOneshotScanCount(), 1); 640 assertEquals(mWifiMetrics.getScanReturnEntry(WifiMetricsProto.WifiLog.SCAN_UNKNOWN), 1); [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
WifiScanningServiceImpl.java | 269 private final WifiMetrics mWifiMetrics; 281 mWifiMetrics = wifiInjector.getWifiMetrics(); 537 mWifiMetrics.incrementScanReturnEntry( 550 mWifiMetrics.incrementOneshotScanCount(); 586 mWifiMetrics.incrementScanReturnEntry( 634 mWifiMetrics.incrementScanReturnEntry( 645 mWifiMetrics.incrementScanReturnEntry( 656 mWifiMetrics.incrementScanReturnEntry( [all...] |