Home
last modified time | relevance | path

Searched refs:dumpString (Results 1 – 5 of 5) 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.java498 String dumpString = getDumpString(verbosityToggle); in dumpShowsTxAndRxFates() local
499 assertTrue(dumpString.contains(WifiNative.FateReport.getTableHeader())); in dumpShowsTxAndRxFates()
500 assertTrue(Pattern.compile("0 .* TX ").matcher(dumpString).find()); in dumpShowsTxAndRxFates()
501 assertTrue(Pattern.compile("1 .* RX ").matcher(dumpString).find()); in dumpShowsTxAndRxFates()
502 assertTrue(Pattern.compile("2 .* TX ").matcher(dumpString).find()); in dumpShowsTxAndRxFates()
503 assertTrue(Pattern.compile("3 .* RX ").matcher(dumpString).find()); in dumpShowsTxAndRxFates()
504 assertFalse(dumpString.contains("VERBOSE PACKET FATE DUMP")); in dumpShowsTxAndRxFates()
505 assertFalse(dumpString.contains("Frame bytes")); in dumpShowsTxAndRxFates()
515 String dumpString = getDumpString(verbosityToggle); in dumpShowsTxAndRxFatesVerbose() local
516 assertTrue(dumpString.contains(WifiNative.FateReport.getTableHeader())); in dumpShowsTxAndRxFatesVerbose()
[all …]
DWifiBackupRestoreTest.java206 String dumpString = stringWriter.toString(); in cleanUp() local
208 assertTrue("Dump: " + dumpString, in cleanUp()
209 dumpString.contains(WifiConfigurationTestUtil.TEST_SSID)); in cleanUp()
211 assertFalse("Dump: " + dumpString, in cleanUp()
212 dumpString.contains(WifiConfigurationTestUtil.TEST_PSK)); in cleanUp()
213 assertFalse("Dump: " + dumpString, in cleanUp()
214 dumpString.contains(WifiConfigurationTestUtil.TEST_WEP_KEYS[0])); in cleanUp()
215 assertFalse("Dump: " + dumpString, in cleanUp()
216 dumpString.contains(WifiConfigurationTestUtil.TEST_WEP_KEYS[1])); in cleanUp()
217 assertFalse("Dump: " + dumpString, in cleanUp()
[all …]
DWifiConfigManagerTest.java3849 String dumpString = stringWriter.toString(); in testDump() local
3852 assertTrue(dumpString.contains(pskNetwork.SSID)); in testDump()
3853 assertTrue(dumpString.contains(eapNetwork.SSID)); in testDump()
3856 assertFalse(dumpString.contains(pskNetwork.preSharedKey)); in testDump()
3857 assertFalse(dumpString.contains(eapNetwork.enterpriseConfig.getPassword())); in testDump()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp1080 String8 dumpString; in TEST_F() local
1081 mConsumer->dumpState(String8{}, &dumpString); in TEST_F()
1087 ssize_t idx = dumpString.find("state=FREE"); in TEST_F()
1091 if (dumpString[bufferPtrIdx] == ':') { in TEST_F()
1098 ssize_t nullPtrIdx = dumpString.find("0x0]", bufferPtrIdx); in TEST_F()
1100 idx = dumpString.find("FREE", idx + 1); in TEST_F()