Searched refs:dumpString (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | LastMileLoggerTest.java | 175 String dumpString = getDumpString(); in multipleIfaces() local 176 assertTrue(dumpString.contains("--- Last failed")); in multipleIfaces() 177 assertTrue(dumpString.contains("rdev_connect")); in multipleIfaces() 228 String dumpString = getDumpString(); in dumpShowsLastFailureTraceAndPendingConnectionTrace() local 229 assertTrue(dumpString.contains("rdev_connect try #1")); in dumpShowsLastFailureTraceAndPendingConnectionTrace() 230 assertTrue(dumpString.contains("rdev_connect try #2")); in dumpShowsLastFailureTraceAndPendingConnectionTrace() 242 String dumpString = getDumpString(); in dumpShowsLastFailureTraceAndCurrentConnectionTrace() local 243 assertTrue(dumpString.contains("rdev_connect try #1")); in dumpShowsLastFailureTraceAndCurrentConnectionTrace() 244 assertTrue(dumpString.contains("rdev_connect try #2")); in dumpShowsLastFailureTraceAndCurrentConnectionTrace() 254 String dumpString = getDumpString(); in dumpDoesNotClearLastFailureData() local [all …]
|
D | WifiDiagnosticsTest.java | 552 String dumpString = getDumpString(verbosityToggle); in dumpShowsTxAndRxFates() local 553 assertTrue(dumpString.contains(WifiNative.FateReport.getTableHeader())); in dumpShowsTxAndRxFates() 554 assertTrue(Pattern.compile("0 .* TX ").matcher(dumpString).find()); in dumpShowsTxAndRxFates() 555 assertTrue(Pattern.compile("1 .* RX ").matcher(dumpString).find()); in dumpShowsTxAndRxFates() 556 assertTrue(Pattern.compile("2 .* TX ").matcher(dumpString).find()); in dumpShowsTxAndRxFates() 557 assertTrue(Pattern.compile("3 .* RX ").matcher(dumpString).find()); in dumpShowsTxAndRxFates() 558 assertFalse(dumpString.contains("VERBOSE PACKET FATE DUMP")); in dumpShowsTxAndRxFates() 559 assertFalse(dumpString.contains("Frame bytes")); in dumpShowsTxAndRxFates() 569 String dumpString = getDumpString(verbosityToggle); in dumpShowsTxAndRxFatesVerbose() local 570 assertTrue(dumpString.contains(WifiNative.FateReport.getTableHeader())); in dumpShowsTxAndRxFatesVerbose() [all …]
|
D | WifiBackupRestoreTest.java | 353 String dumpString = stringWriter.toString(); in cleanUp() local 355 assertTrue("Dump: " + dumpString, in cleanUp() 356 dumpString.contains(WifiConfigurationTestUtil.TEST_SSID)); in cleanUp() 358 assertFalse("Dump: " + dumpString, in cleanUp() 359 dumpString.contains(WifiConfigurationTestUtil.TEST_PSK)); in cleanUp() 360 assertFalse("Dump: " + dumpString, in cleanUp() 361 dumpString.contains(WifiConfigurationTestUtil.TEST_WEP_KEYS[0])); in cleanUp() 362 assertFalse("Dump: " + dumpString, in cleanUp() 363 dumpString.contains(WifiConfigurationTestUtil.TEST_WEP_KEYS[1])); in cleanUp() 364 assertFalse("Dump: " + dumpString, in cleanUp() [all …]
|
D | WifiConfigManagerTest.java | 4657 String dumpString = stringWriter.toString(); in testDump() local 4660 assertTrue(dumpString.contains(pskNetwork.SSID)); in testDump() 4661 assertTrue(dumpString.contains(eapNetwork.SSID)); in testDump() 4664 assertFalse(dumpString.contains(pskNetwork.preSharedKey)); in testDump() 4665 assertFalse(dumpString.contains(eapNetwork.enterpriseConfig.getPassword())); in testDump()
|
/packages/modules/DnsResolver/ |
D | ExperimentsTest.cpp | 87 const std::string dumpString = captured.str(); in expectDumpOutput() local 89 EXPECT_EQ(dumpString.find(title), 0U); in expectDumpOutput() 98 size_t pos = dumpString.find(flagDump, startPos); in expectDumpOutput() 102 EXPECT_EQ(startPos + 1, dumpString.size()); in expectDumpOutput() 103 EXPECT_EQ(dumpString.substr(startPos), "\n"); in expectDumpOutput()
|
D | DnsStatsTest.cpp | 126 std::string dumpString = captureDumpOutput(); in verifyDumpOutput() local 129 std::string* dumpString) { in verifyDumpOutput() argument 131 ASSERT_NE(dumpString->find(protocol), std::string::npos); in verifyDumpOutput() 136 ASSERT_TRUE(std::regex_search(*dumpString, sm, pattern)); in verifyDumpOutput() 140 *dumpString = sm.suffix(); in verifyDumpOutput() 145 ASSERT_TRUE(std::regex_search(*dumpString, sm, pattern)); in verifyDumpOutput() 149 *dumpString = sm.suffix(); in verifyDumpOutput() 153 check(udpData, "UDP", &dumpString); in verifyDumpOutput() 154 check(dohData, "DOH", &dumpString); in verifyDumpOutput() 155 check(dotData, "TLS", &dumpString); in verifyDumpOutput() [all …]
|
/packages/modules/GeoTZ/locationtzprovider/src/test/java/com/android/timezone/location/provider/core/ |
D | ReferenceWithHistoryTest.java | 114 String dumpString = dumpReferenceWithHistory(referenceWithHistory); in testDumpWithFunction() local 115 assertThat(dumpString).contains(">V1<"); in testDumpWithFunction() 116 assertThat(dumpString).contains(">V2<"); in testDumpWithFunction()
|