Searched refs:assertStringContains (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | NetdEventListenerServiceTest.java | 22 import static com.android.testutils.MiscAssertsKt.assertStringContains; 115 assertStringContains(events2[0], "WakeupStats"); in testWakeupEventLogging() 116 assertStringContains(events2[0], "wlan0"); in testWakeupEventLogging() 117 assertStringContains(events2[0], "0x800"); in testWakeupEventLogging() 118 assertStringContains(events2[0], "0x86dd"); in testWakeupEventLogging() 121 assertStringContains(got, "WakeupEvent"); in testWakeupEventLogging() 122 assertStringContains(got, "wlan0"); in testWakeupEventLogging() 123 assertStringContains(got, "uid: " + uids[i]); in testWakeupEventLogging() 135 assertStringContains(events2[0], "WakeupStats"); in testWakeupEventLogging() 136 assertStringContains(events2[0], "wlan0"); in testWakeupEventLogging() [all …]
|
/frameworks/libs/net/common/hostdevice/com/android/testutils/ |
D | MiscAsserts.kt | 57 fun assertStringContains(got: String, want: String) { in assertStringContains() method
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 245 assertStringContains(getStateDump(), "WifiMetrics"); in stateDumpIncludesHeader() 251 assertStringContains(getStateDump(), "mWifiLogProto.alertReasonCounts=()"); in stateDumpAlertCountIsCorrectWithNoAlerts() 258 assertStringContains(getStateDump(), "mWifiLogProto.alertReasonCounts=(1,1)"); in stateDumpAlertCountIsCorrectWithOneAlert() 267 assertStringContains(getStateDump(), "mWifiLogProto.alertReasonCounts=(1,2),(16,1)"); in stateDumpAlertCountIsCorrectWithMultipleAlerts() 2343 private void assertStringContains( in assertStringContains() method in WifiMetricsTest
|