/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | LastMileLoggerTest.java | 84 mLastMileLogger.reportConnectionEvent(WLAN0, WifiDiagnostics.CONNECTION_EVENT_STARTED); in connectionEventStartedEnablesTracing() 91 mLastMileLogger.reportConnectionEvent(WLAN0, WifiDiagnostics.CONNECTION_EVENT_STARTED); in connectionEventStartedDoesNotCrashIfReleaseFileIsMissing() 99 mLastMileLogger.reportConnectionEvent(WLAN0, WifiDiagnostics.CONNECTION_EVENT_STARTED); in connectionEventStartedDoesNotEnableTracingIfReleaseFileIsMissing() 105 mLastMileLogger.reportConnectionEvent(WLAN0, WifiDiagnostics.CONNECTION_EVENT_STARTED); in connectionEventStartedDoesNotAttemptToReopenReleaseFile() 116 mLastMileLogger.reportConnectionEvent(WLAN0, WifiDiagnostics.CONNECTION_EVENT_STARTED); in connectionEventStartedDoesNotAttemptToReopenReleaseFile() 123 mLastMileLogger.reportConnectionEvent(WLAN0, WifiDiagnostics.CONNECTION_EVENT_STARTED); in connectionEventStartedDoesNotCrashIfEnableFileIsMissing() 128 mLastMileLogger.reportConnectionEvent(WLAN0, WifiDiagnostics.CONNECTION_EVENT_STARTED); in connectionEventStartedDoesNotCrashOnRepeatedCalls() 129 mLastMileLogger.reportConnectionEvent(WLAN0, WifiDiagnostics.CONNECTION_EVENT_STARTED); in connectionEventStartedDoesNotCrashOnRepeatedCalls() 134 mLastMileLogger.reportConnectionEvent(WLAN0, WifiDiagnostics.CONNECTION_EVENT_SUCCEEDED); in connectionEventSucceededDisablesTracing() 141 mLastMileLogger.reportConnectionEvent(WLAN0, WifiDiagnostics.CONNECTION_EVENT_SUCCEEDED); in connectionEventSucceededDoesNotCrashIfEnableFileIsMissing() [all …]
|
D | WifiDiagnosticsTest.java | 92 WifiDiagnostics mWifiDiagnostics; 171 mBootTimeMs += WifiDiagnostics.LOGCAT_READ_TIMEOUT_MILLIS / 2; in setUp() 175 mWifiDiagnostics = new WifiDiagnostics( in setUp() 239 eq(WifiDiagnostics.VERBOSE_NO_LOG), anyInt(), anyInt(), anyInt(), in startLoggingStopsAndRestartsRingBufferLoggingInVerboseMode() 242 eq(WifiDiagnostics.VERBOSE_LOG_WITH_WAKEUP), anyInt(), anyInt(), anyInt(), in startLoggingStopsAndRestartsRingBufferLoggingInVerboseMode() 252 eq(WifiDiagnostics.VERBOSE_NO_LOG), anyInt(), anyInt(), anyInt(), in startLoggingStopsAndThenStartRingBufferLoggingInNormalMode() 255 gt(WifiDiagnostics.VERBOSE_NO_LOG), anyInt(), anyInt(), anyInt(), in startLoggingStopsAndThenStartRingBufferLoggingInNormalMode() 310 mWifiDiagnostics.triggerBugReportDataCapture(WifiDiagnostics.REPORT_REASON_NONE); in canCaptureAndStoreRingBufferData() 332 mWifiDiagnostics.triggerBugReportDataCapture(WifiDiagnostics.REPORT_REASON_NONE); in loggerDiscardsExtraneousData() 357 mWifiDiagnostics.reportConnectionEvent(WifiDiagnostics.CONNECTION_EVENT_FAILED, in reportConnectionFailureIsIgnoredWithoutVerboseMode() [all …]
|
D | ClientModeImplTest.java | 553 @Mock WifiDiagnostics mWifiDiagnostics; 4508 eq(WifiDiagnostics.CONNECTION_EVENT_STARTED), any()); in testReportConnectionEventIsCalledAfterCmdStartConnect() 4511 eq(WifiDiagnostics.CONNECTION_EVENT_STARTED), any()); in testReportConnectionEventIsCalledAfterCmdStartConnect() 4527 eq(WifiDiagnostics.CONNECTION_EVENT_TIMEOUT), any()); in testApNoResponseTriggerTimeout() 4538 eq(WifiDiagnostics.CONNECTION_EVENT_TIMEOUT), any()); in testApNoResponseTimerCanceledAfterConnectionSuccess() 4545 eq(WifiDiagnostics.CONNECTION_EVENT_TIMEOUT), any()); in verifyConnectionEventTimeoutDoesNotOccur() 4566 eq(WifiDiagnostics.CONNECTION_EVENT_FAILED), any()); in testReportConnectionEventIsCalledAfterAssociationFailure() 4569 eq(WifiDiagnostics.CONNECTION_EVENT_FAILED), any()); in testReportConnectionEventIsCalledAfterAssociationFailure() 4619 eq(WifiDiagnostics.CONNECTION_EVENT_FAILED), any()); in testReportConnectionEventIsCalledAfterAuthenticationFailure() 5185 eq(WifiDiagnostics.CONNECTION_EVENT_FAILED), any()); in testReportConnectionEventIsCalledAfterDhcpFailure() [all …]
|
D | ActiveModeWardenTest.java | 170 @Mock WifiDiagnostics mWifiDiagnostics; 1181 WifiDiagnostics.REPORT_REASON_WIFINATIVE_FAILURE); in handleWifiNativeFailureDeviceNotShuttingDown() 1195 WifiDiagnostics.REPORT_REASON_WIFINATIVE_FAILURE); in handleWifiNativeFailureDeviceShuttingDown() 1208 WifiDiagnostics.REPORT_REASON_WIFINATIVE_FAILURE); in handleWifiNativeStatusReady()
|
D | WifiShellCommandTest.java | 107 @Mock WifiDiagnostics mWifiDiagnostics;
|
D | ConcreteClientModeManagerTest.java | 112 @Mock WifiDiagnostics mWifiDiagnostics;
|
D | WifiLastResortWatchdogTest.java | 54 @Mock WifiDiagnostics mWifiDiagnostics;
|
D | SoftApManagerTest.java | 207 @Mock WifiDiagnostics mWifiDiagnostics;
|
D | WifiServiceImplTest.java | 472 @Mock WifiDiagnostics mWifiDiagnostics; 861 WifiDiagnostics.REPORT_REASON_USER_ACTION); in testDumpNullArgs()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | LastMileLogger.java | 71 if (event == WifiDiagnostics.CONNECTION_EVENT_FAILED in reportConnectionEvent() 72 || event == WifiDiagnostics.CONNECTION_EVENT_TIMEOUT) { in reportConnectionEvent() 79 if (status == WifiDiagnostics.CONNECTION_EVENT_STARTED) { in anyConnectionInProgress()
|
D | WifiDiagnostics.java | 59 public class WifiDiagnostics { class 161 public WifiDiagnostics( in WifiDiagnostics() method in WifiDiagnostics 498 WifiDiagnostics.this.onRingBufferData(status, buffer); 503 WifiDiagnostics.this.onWifiAlert(errorCode, buffer);
|
D | WifiLastResortWatchdog.java | 126 private final WifiDiagnostics mWifiDiagnostics; 143 WifiDiagnostics wifiDiagnostics, in WifiLastResortWatchdog()
|
D | WifiInjector.java | 215 private final WifiDiagnostics mWifiDiagnostics; 408 mWifiDiagnostics = new WifiDiagnostics( in WifiInjector() 1142 public WifiDiagnostics getWifiDiagnostics() { in getWifiDiagnostics()
|
D | ClientModeImpl.java | 241 private final WifiDiagnostics mWifiDiagnostics; 712 @NonNull WifiDiagnostics wifiDiagnostics, in ClientModeImpl() 3776 mWifiDiagnostics.reportConnectionEvent(WifiDiagnostics.CONNECTION_EVENT_STARTED, in reportConnectionAttemptStart() 3793 WifiDiagnostics.CONNECTION_EVENT_TIMEOUT, mClientModeManager); in handleConnectionAttemptEndForDiagnostics() 3796 mWifiDiagnostics.reportConnectionEvent(WifiDiagnostics.CONNECTION_EVENT_FAILED, in handleConnectionAttemptEndForDiagnostics() 4020 mWifiDiagnostics.triggerBugReportDataCapture(WifiDiagnostics.REPORT_REASON_DHCP_FAILURE); in handleIPv4Failure() 6147 WifiDiagnostics.REPORT_REASON_ASSOC_FAILURE); in processMessageImpl() 6206 WifiDiagnostics.REPORT_REASON_AUTH_FAILURE); in processMessageImpl() 6599 WifiDiagnostics.REPORT_REASON_REACHABILITY_LOST); in processMessageImpl() 6615 WifiDiagnostics.REPORT_REASON_REACHABILITY_FAILURE); in processMessageImpl() [all …]
|
D | ActiveModeWarden.java | 131 private final WifiDiagnostics mWifiDiagnostics; 382 WifiDiagnostics wifiDiagnostics, in ActiveModeWarden() 417 WifiDiagnostics.REPORT_REASON_WIFINATIVE_FAILURE); in ActiveModeWarden()
|
D | SoftApManager.java | 260 private WifiDiagnostics mWifiDiagnostics; 436 @NonNull WifiDiagnostics wifiDiagnostics, in SoftApManager()
|
D | WifiShellCommand.java | 217 private final WifiDiagnostics mWifiDiagnostics;
|
D | WifiServiceImpl.java | 5586 WifiDiagnostics.REPORT_REASON_USER_ACTION);
|
/packages/modules/Wifi/service/tests/wifitests/ |
D | Android.bp | 557 "com.android.server.wifi.WifiDiagnostics", 558 "com.android.server.wifi.WifiDiagnostics$*", 559 "com.android.server.wifi.WifiDiagnostics.**",
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 149 import com.android.server.wifi.WifiDiagnostics; 299 @Mock WifiDiagnostics mWifiDiagnostics;
|