Home
last modified time | relevance | path

Searched refs:logcat (Results 1 – 25 of 27) sorted by relevance

12

/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/logcat/
DLogcatTest.java17 package com.android.bedstead.nene.logcat;
57 TestApis.logcat().findSystemServerException(expected); in throwsException_exceptionContainsActualServerSideInformation()
66 TestApis.logcat().clear(); in dump_filtersCorrectly()
70 assertThat(TestApis.logcat().dump(l -> l.contains("TEST123"))).isNotEmpty(); in dump_filtersCorrectly()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/logcat/
DBlockingLogcatListener.java17 package com.android.bedstead.nene.logcat;
34 Poll.forValue("matching lines", () -> TestApis.logcat().dump(mFilter)) in awaitMatch()
DSystemServerException.java17 package com.android.bedstead.nene.logcat;
DLogcat.java17 package com.android.bedstead.nene.logcat;
220 TestApis.logcat().clear(); in listen()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DPoc20_11.java46 String logcat = AdbUtils.runCommandLine("logcat -d", getDevice()); in testPocCVE_2020_0437() local
47 assertNotMatches("CellBroadcastContentProvider: failed to mark broadcast read", logcat); in testPocCVE_2020_0437()
DPoc16_05.java40 String logcat = AdbUtils.runCommandLine("logcat -d", getDevice()); in testPocCVE_2016_2460() local
41 assertNotMatchesMultiLine("IGraphicBufferProducer_Info is Leaked", logcat); in testPocCVE_2016_2460()
DPoc16_04.java39 String logcat = AdbUtils.runCommandLine("logcat -d", getDevice()); in testPocCVE_2016_2419() local
40 assertNotMatchesMultiLine("IOMX_InfoLeak b26323455", logcat); in testPocCVE_2016_2419()
DPoc18_07.java57 String logcat = AdbUtils.runCommandLine("logcat -d", getDevice()); in testPocCVE_2017_18275() local
60 logcat); in testPocCVE_2017_18275()
DCVE_2021_0478.java71 String logcat = AdbUtils.runCommandLine("logcat -d *:S AndroidRuntime:E", device); in testPocCVE_2021_0478() local
72 assertNotMatches(crashPattern, logcat); in testPocCVE_2021_0478()
DPoc16_11.java40 String logcat = AdbUtils.runCommandLine("logcat -d", getDevice()); in testPocCVE_2012_6702() local
41 assertNotMatchesMultiLine("fail: encountered same random values!", logcat); in testPocCVE_2012_6702()
DCVE_2021_0591.java71 String logcat = in testPocCVE_2021_0591() local
77 assertThat(message, pattern.matcher(logcat).find(), is(false)); in testPocCVE_2021_0591()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DDefaultDialerApplicationTest.java165 TestApis.logcat().clear(); in setDefaultDialerApplication()
169 var logcat = TestApis.logcat() in setDefaultDialerApplication() local
172 if (!logcat.isEmpty()) { in setDefaultDialerApplication()
176 "Error setting default dialer application. Relevant logcat: " + logcat); in setDefaultDialerApplication()
DNetworkLoggingTest.kt147 + TestApis.logcat().dump { l: String -> in <lambda>()
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DUtils.java42 + TestApis.logcat().dump( in dealWithNoExistingActivityException()
69 + TestApis.logcat().dump( in dealWithConnectedAppsSdkException()
/cts/common/device-side/bedstead/modules/permissions/src/test/kotlin/com/android/bedstead/permissions/
DPermissionsAnnotationExecutorTest.kt107 TestApis.logcat() in <lambda>()
111 .use { logcat -> in <lambda>() method
125 assertThat(logcat.awaitMatch()).isNotNull() in <lambda>()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAppSecurityPreparer.java58 try (InputStreamSource logcat = device.getLogcatDump()) { in setUp()
59 mLogger.testLog("AppSecurityPrep_failed_create_user", LogDataType.LOGCAT, logcat); in setUp()
/cts/hostsidetests/ctsverifier/src/com/android/cts/verifier/
DCtsVerifierTest.java232 String logcat = StreamUtil.getStringFromSource(logcatOutput); in runTest() local
233 if (logcat.contains("AndroidRuntime: Process: com.android.cts.verifier, PID: ") in runTest()
234 || logcat.contains("ANR in com.android.cts.verifier")) { in runTest()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DPackage.java1015 TestApis.logcat().clear(); in setAsRoleHolder()
1029 … + TestApis.logcat().dump((line) -> line.contains(role) || line.contains("Role"))); in setAsRoleHolder()
1033 + "Relevant logcat: " + TestApis.logcat().dump( in setAsRoleHolder()
1038 var logcat = TestApis.logcat() in setAsRoleHolder()
1040 if (!logcat.isEmpty()) { in setAsRoleHolder()
1074 TestApis.logcat().clear(); in removeAsRoleHolder()
1092 + "Relevant logcat: " + TestApis.logcat().dump( in removeAsRoleHolder()
1097 var logcat = TestApis.logcat() in removeAsRoleHolder()
1099 if (!logcat.isEmpty()) { in removeAsRoleHolder()
DPackages.java438 + TestApis.logcat().dump( in install()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/
DTestApis.kt35 import com.android.bedstead.nene.logcat.Logcat
159 fun logcat(): Logcat = Logcat.sInstance method
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/
DEventLogs.java116 + " package crashed). Relevant logs: " + TestApis.logcat().dump( in waitForEvent()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileCrossProfileTest.java542 final String logcat; in readLogcat() local
544 logcat = StreamUtil.getStringFromSource(logcatStream); in readLogcat()
547 return logcat; in readLogcat()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUserReference.java205 + TestApis.logcat().dump((l) -> l.contains("UserManagerService")), e); in remove()
329 + TestApis.logcat().dump(l -> l.contains("ActivityManager")), e); in startUser()
407 + TestApis.logcat().dump((line) -> line.contains("Cannot switch")), e); in switchTo()
417 + TestApis.logcat().dump((line) -> line.contains("ActivityManager"))); in switchTo()
/cts/hostsidetests/gputools/src/android/gputools/cts/
DCtsRootlessGpuDebugHostTest.java250 String logcat = getDevice().executeShellCommand( in scanLog() local
255 Scanner apkIn = new Scanner(logcat); in scanLog()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicy.kt769 TestApis.logcat() in <lambda>()

12