Home
last modified time | relevance | path

Searched refs:dumpString (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DLastMileLoggerTest.java201 String dumpString = getDumpString(); in dumpShowsLastFailureTraceAndPendingConnectionTrace() local
202 assertTrue(dumpString.contains("rdev_connect try #1")); in dumpShowsLastFailureTraceAndPendingConnectionTrace()
203 assertTrue(dumpString.contains("rdev_connect try #2")); in dumpShowsLastFailureTraceAndPendingConnectionTrace()
215 String dumpString = getDumpString(); in dumpShowsLastFailureTraceAndCurrentConnectionTrace() local
216 assertTrue(dumpString.contains("rdev_connect try #1")); in dumpShowsLastFailureTraceAndCurrentConnectionTrace()
217 assertTrue(dumpString.contains("rdev_connect try #2")); in dumpShowsLastFailureTraceAndCurrentConnectionTrace()
227 String dumpString = getDumpString(); in dumpDoesNotClearLastFailureData() local
228 assertTrue(dumpString.contains("rdev_connect")); in dumpDoesNotClearLastFailureData()
237 String dumpString = getDumpString(); in dumpDoesNotClearPendingConnectionTrace() local
238 assertTrue(dumpString.contains("rdev_connect")); in dumpDoesNotClearPendingConnectionTrace()
DWifiDiagnosticsTest.java513 String dumpString = getDumpString(verbosityToggle); in dumpShowsTxAndRxFates() local
514 assertTrue(dumpString.contains(WifiNative.FateReport.getTableHeader())); in dumpShowsTxAndRxFates()
515 assertTrue(Pattern.compile("0 .* TX ").matcher(dumpString).find()); in dumpShowsTxAndRxFates()
516 assertTrue(Pattern.compile("1 .* RX ").matcher(dumpString).find()); in dumpShowsTxAndRxFates()
517 assertTrue(Pattern.compile("2 .* TX ").matcher(dumpString).find()); in dumpShowsTxAndRxFates()
518 assertTrue(Pattern.compile("3 .* RX ").matcher(dumpString).find()); in dumpShowsTxAndRxFates()
519 assertFalse(dumpString.contains("VERBOSE PACKET FATE DUMP")); in dumpShowsTxAndRxFates()
520 assertFalse(dumpString.contains("Frame bytes")); in dumpShowsTxAndRxFates()
530 String dumpString = getDumpString(verbosityToggle); in dumpShowsTxAndRxFatesVerbose() local
531 assertTrue(dumpString.contains(WifiNative.FateReport.getTableHeader())); in dumpShowsTxAndRxFatesVerbose()
[all …]
DWifiBackupRestoreTest.java248 String dumpString = stringWriter.toString(); in cleanUp() local
250 assertTrue("Dump: " + dumpString, in cleanUp()
251 dumpString.contains(WifiConfigurationTestUtil.TEST_SSID)); in cleanUp()
253 assertFalse("Dump: " + dumpString, in cleanUp()
254 dumpString.contains(WifiConfigurationTestUtil.TEST_PSK)); in cleanUp()
255 assertFalse("Dump: " + dumpString, in cleanUp()
256 dumpString.contains(WifiConfigurationTestUtil.TEST_WEP_KEYS[0])); in cleanUp()
257 assertFalse("Dump: " + dumpString, in cleanUp()
258 dumpString.contains(WifiConfigurationTestUtil.TEST_WEP_KEYS[1])); in cleanUp()
259 assertFalse("Dump: " + dumpString, in cleanUp()
[all …]
DWifiConfigManagerTest.java3804 String dumpString = stringWriter.toString(); in testDump() local
3807 assertTrue(dumpString.contains(pskNetwork.SSID)); in testDump()
3808 assertTrue(dumpString.contains(eapNetwork.SSID)); in testDump()
3811 assertFalse(dumpString.contains(pskNetwork.preSharedKey)); in testDump()
3812 assertFalse(dumpString.contains(eapNetwork.enterpriseConfig.getPassword())); in testDump()
/frameworks/av/services/mediametrics/
DMediaMetricsService.cpp301 auto [ dumpString, lines ] = mAudioAnalytics.dump(linesToDump, sinceNs, prefixptr); in dump()
302 result.append(dumpString.c_str()); in dump()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp1092 String8 dumpString; in TEST_F() local
1093 mConsumer->dumpState(String8{}, &dumpString); in TEST_F()
1099 ssize_t idx = dumpString.find("state=FREE"); in TEST_F()
1103 if (dumpString[bufferPtrIdx] == ':') { in TEST_F()
1110 ssize_t nullPtrIdx = dumpString.find("0x0]", bufferPtrIdx); in TEST_F()
1112 idx = dumpString.find("FREE", idx + 1); in TEST_F()