Searched refs:assertStringContains (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | NetdEventListenerServiceTest.java | 21 import static com.android.testutils.MiscAsserts.assertStringContains; 121 assertStringContains(events2[0], "WakeupStats"); in testWakeupEventLogging() 122 assertStringContains(events2[0], "rmnet0"); in testWakeupEventLogging() 123 assertStringContains(events2[0], "0x86dd"); in testWakeupEventLogging() 125 assertStringContains(events2[1], "WakeupStats"); in testWakeupEventLogging() 126 assertStringContains(events2[1], "wlan0"); in testWakeupEventLogging() 127 assertStringContains(events2[1], "0x800"); in testWakeupEventLogging() 128 assertStringContains(events2[1], "0x86dd"); in testWakeupEventLogging() 131 assertStringContains(got, "WakeupEvent"); in testWakeupEventLogging() 132 assertStringContains(got, ((i == 8) ? "rmnet0" : "wlan0")); in testWakeupEventLogging() [all …]
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsEventLoggerTest.kt | 97 assertStringContains(outputRecentEvents, TEST_PERSIST_FLAG.toString()) in testDump_valid() 98 assertStringContains(eventString, pollReasonNameOf(it)) in testDump_valid() 99 assertStringContains(outputRecentEvents, eventString) in testDump_valid() 149 private fun assertStringContains(got: String, want: String) { in getLineCount() method in com.android.server.net.NetworkStatsEventLoggerTest
|
/packages/modules/Connectivity/staticlibs/testutils/hostdevice/com/android/testutils/ |
D | MiscAsserts.kt | 67 fun assertStringContains(got: String, want: String) { in assertStringContains() method
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 361 assertStringContains(getStateDump(), "WifiMetrics"); in stateDumpIncludesHeader() 367 assertStringContains(getStateDump(), "mWifiLogProto.alertReasonCounts=()"); in stateDumpAlertCountIsCorrectWithNoAlerts() 374 assertStringContains(getStateDump(), "mWifiLogProto.alertReasonCounts=(1,1)"); in stateDumpAlertCountIsCorrectWithOneAlert() 383 assertStringContains(getStateDump(), "mWifiLogProto.alertReasonCounts=(1,2),(16,1)"); in stateDumpAlertCountIsCorrectWithMultipleAlerts() 3545 private void assertStringContains( in assertStringContains() method in WifiMetricsTest
|