/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/logcat/ |
D | LogcatTest.java | 17 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/ |
D | BlockingLogcatListener.java | 17 package com.android.bedstead.nene.logcat; 34 Poll.forValue("matching lines", () -> TestApis.logcat().dump(mFilter)) in awaitMatch()
|
D | SystemServerException.java | 17 package com.android.bedstead.nene.logcat;
|
D | Logcat.java | 17 package com.android.bedstead.nene.logcat; 220 TestApis.logcat().clear(); in listen()
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | Poc20_11.java | 46 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()
|
D | Poc16_05.java | 40 String logcat = AdbUtils.runCommandLine("logcat -d", getDevice()); in testPocCVE_2016_2460() local 41 assertNotMatchesMultiLine("IGraphicBufferProducer_Info is Leaked", logcat); in testPocCVE_2016_2460()
|
D | Poc16_04.java | 39 String logcat = AdbUtils.runCommandLine("logcat -d", getDevice()); in testPocCVE_2016_2419() local 40 assertNotMatchesMultiLine("IOMX_InfoLeak b26323455", logcat); in testPocCVE_2016_2419()
|
D | Poc18_07.java | 57 String logcat = AdbUtils.runCommandLine("logcat -d", getDevice()); in testPocCVE_2017_18275() local 60 logcat); in testPocCVE_2017_18275()
|
D | CVE_2021_0478.java | 71 String logcat = AdbUtils.runCommandLine("logcat -d *:S AndroidRuntime:E", device); in testPocCVE_2021_0478() local 72 assertNotMatches(crashPattern, logcat); in testPocCVE_2021_0478()
|
D | Poc16_11.java | 40 String logcat = AdbUtils.runCommandLine("logcat -d", getDevice()); in testPocCVE_2012_6702() local 41 assertNotMatchesMultiLine("fail: encountered same random values!", logcat); in testPocCVE_2012_6702()
|
D | CVE_2021_0591.java | 71 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/ |
D | DefaultDialerApplicationTest.java | 165 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()
|
D | NetworkLoggingTest.kt | 147 + TestApis.logcat().dump { l: String -> in <lambda>()
|
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/ |
D | Utils.java | 42 + 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/ |
D | PermissionsAnnotationExecutorTest.kt | 107 TestApis.logcat() in <lambda>() 111 .use { logcat -> in <lambda>() method 125 assertThat(logcat.awaitMatch()).isNotNull() in <lambda>()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | AppSecurityPreparer.java | 58 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/ |
D | CtsVerifierTest.java | 232 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/ |
D | Package.java | 1015 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()
|
D | Packages.java | 438 + TestApis.logcat().dump( in install()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/ |
D | TestApis.kt | 35 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/ |
D | EventLogs.java | 116 + " package crashed). Relevant logs: " + TestApis.logcat().dump( in waitForEvent()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | ManagedProfileCrossProfileTest.java | 542 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/ |
D | UserReference.java | 205 + 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/ |
D | CtsRootlessGpuDebugHostTest.java | 250 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/ |
D | DevicePolicy.kt | 769 TestApis.logcat() in <lambda>()
|