/cts/tests/app/src/android/app/cts/ |
D | ActivityDumpTest.java | 58 String dump = dump(mActivity); in testAddDumpable_oneOnly() local 60 assertWithMessage("dump() (expected to have name)").that(dump).contains(DEFAULT_NAME); in testAddDumpable_oneOnly() 61 assertWithMessage("dump() (expected to have content)").that(dump).contains(DEFAULT_CONTENT); in testAddDumpable_oneOnly() 69 String dump = dump(mActivity); in testAddDumpable_twoWithDistinctNames() local 71 assertWithMessage("dump() (expected to have name1)").that(dump).contains("dump1"); in testAddDumpable_twoWithDistinctNames() 72 assertWithMessage("dump() (expected to have content1)").that(dump).contains("able1"); in testAddDumpable_twoWithDistinctNames() 73 assertWithMessage("dump() (expected to have name2)").that(dump).contains("dump2"); in testAddDumpable_twoWithDistinctNames() 74 assertWithMessage("dump() (expected to have content2)").that(dump).contains("able2"); in testAddDumpable_twoWithDistinctNames() 82 String dump = dump(mActivity); in testAddDumpable_twoWithSameName() local 84 assertWithMessage("dump() (expected to have name)").that(dump).contains("dump"); in testAddDumpable_twoWithSameName() [all …]
|
/cts/hostsidetests/compilation/src/android/compilation/cts/ |
D | CompilationTest.java | 141 String dump = mUtils.assertCommandSucceeds("pm art dump " + TEST_APP_PKG); in testArtService() local 142 assertThat(dump).contains("[status=verify]"); in testArtService() 143 assertThat(dump).doesNotContain("[status=speed-profile]"); in testArtService() 145 dump = mUtils.assertCommandSucceeds("dumpsys package " + TEST_APP_PKG); in testArtService() 146 assertThat(dump).contains("[status=verify]"); in testArtService() 147 assertThat(dump).doesNotContain("[status=speed-profile]"); in testArtService() 152 dump = mUtils.assertCommandSucceeds("pm art dump " + TEST_APP_PKG); in testArtService() 153 assertThat(dump).doesNotContain("[status=verify]"); in testArtService() 154 assertThat(dump).contains("[status=speed-profile]"); in testArtService() 156 dump = mUtils.assertCommandSucceeds("dumpsys package " + TEST_APP_PKG); in testArtService() [all …]
|
D | AdbRootDependentCompilationTest.java | 236 String dump = mUtils.assertCommandSucceeds("pm art dump " + STATUS_CHECKER_PKG); in testSecondaryDexUseLoading() local 237 Utils.dumpDoesNotContainDexFile(dump, "bad_1.apk"); in testSecondaryDexUseLoading() 238 Utils.dumpDoesNotContainDexFile(dump, "bad_2.apk"); in testSecondaryDexUseLoading() 239 Utils.dumpDoesNotContainDexFile(dump, "bad_3.apk"); in testSecondaryDexUseLoading() 240 Utils.dumpDoesNotContainDexFile(dump, "bad_4.apk"); in testSecondaryDexUseLoading() 241 Utils.dumpContainsDexFile(dump, "good_1.apk"); in testSecondaryDexUseLoading() 242 Utils.dumpContainsDexFile(dump, "good_2.apk"); in testSecondaryDexUseLoading() 243 Utils.dumpContainsDexFile(dump, "good_3.apk"); in testSecondaryDexUseLoading()
|
/cts/tests/tests/companion/core/src/android/companion/cts/core/ |
D | DumpSysTest.kt | 113 val dump = SystemUtil.runShellCommand("dumpsys companiondevice") in dumpCurrentState() constant 115 val headerIndex0 = dump.indexOf("Companion Device Associations:") in dumpCurrentState() 118 val headerIndex1 = dump.indexOf("Companion Device Present:") in dumpCurrentState() 121 val headerIndex2 = dump.indexOf("Companion Device Application Controller:") in dumpCurrentState() 125 dump.substring(headerIndex0, headerIndex1), in dumpCurrentState() 126 dump.substring(headerIndex1, headerIndex2), in dumpCurrentState() 127 dump.substring(headerIndex2) in dumpCurrentState()
|
/cts/tests/app/ShortFgsTest/src/android/app/cts/shortfgstest/ |
D | DumpProtoUtils.java | 49 private static void logProtoDump(byte[] dump, InvalidProtocolBufferNanoException th) { in logProtoDump() argument 51 if (dump == null) { in logProtoDump() 55 Log.e(TAG, "Length=" + dump.length); in logProtoDump() 56 Log.e(TAG, "Dump in UTF-8: " + new String(dump, StandardCharsets.UTF_8).trim()); in logProtoDump() 59 for (var s : Base64.encodeToString(dump, 0).split("\n")) { in logProtoDump() 69 byte[] dump = null; in parseProtoDumpsys() 72 return parser.apply(dump = getDump(command)); in parseProtoDumpsys() 74 logProtoDump(dump, e); in parseProtoDumpsys() 78 + new String(dump, StandardCharsets.UTF_8).trim(), in parseProtoDumpsys()
|
/cts/tests/accessibility/common/src/android/accessibility/cts/common/ |
D | AccessibilityDumpOnFailureRule.java | 51 public void dump(int flag) { in dump() method in AccessibilityDumpOnFailureRule 52 AccessibilityDumper.getInstance().dump(flag); in dump() 62 AccessibilityDumper.getInstance().dump(); in failed()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/logcat/ |
D | Logcat.java | 73 public String dump(Predicate<String> lineFilter) { in dump() method in Logcat 74 try (ShellCommandUtils.StreamingShellOutput sso = dump()){ in dump() 94 public ShellCommandUtils.StreamingShellOutput dump() { in dump() method in Logcat 122 String[] logs = dump(lineFilter).split("\n"); in recent() 129 try (ShellCommandUtils.StreamingShellOutput sso = dump()){ in findSystemServerExceptions()
|
/cts/tests/tests/car/src/android/car/cluster/cts/ |
D | ClusterHomeManagerTest.java | 156 var dump = DumpUtils.executeDumpShellCommand(CLUSTER_HOME_SERVICE); in testStartVisibilityMonitoring() 157 int count = Integer.valueOf(dump.get(DUMP_TPL_COUNT)); in testStartVisibilityMonitoring() 158 boolean visible = Boolean.parseBoolean(dump.get(DUMP_CLUSTER_VISIBLE)); in testStartVisibilityMonitoring() 159 mTestMonitoringSurface = dump.get(DUMP_CLUSTER_SURFACE); in testStartVisibilityMonitoring() 177 var dump = DumpUtils.executeDumpShellCommand(CLUSTER_HOME_SERVICE); in testStartVisibilityMonitoring() 178 int count = Integer.valueOf(dump.get(DUMP_TPL_COUNT)); in testStartVisibilityMonitoring() 179 boolean visible = Boolean.parseBoolean(dump.get(DUMP_CLUSTER_VISIBLE)); in testStartVisibilityMonitoring()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowManagerTraceMonitor.java | 33 unique_session_name: "cts-windowmanager-dump" 66 byte[] dump = executeShellCommand("cat " + traceFile.getAbsolutePath()); in captureDump() 67 return dump; in captureDump()
|
/cts/hostsidetests/multiuser/dpc/src/com/android/cts/multiuser/dpc/ |
D | DpcService.java | 38 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump() method in DpcService 53 super.dump(fd, writer, args); in dump()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/ |
D | VoiceInteractionHelperTest.java | 66 String dump = ShellUtils.runShellCommand("dumpsys voiceinteraction"); in isVoiceInteractionDisabledFromDump() local 68 .matcher(dump); in isVoiceInteractionDisabledFromDump()
|
/cts/hostsidetests/notification/src/android/app/notification/cts/ |
D | NotificationHostTest.java | 112 NotificationServiceDumpProto dump = NotificationServiceDumpProto.parser() in hasNotificationListenerEnabled() local 115 if (dump.hasNotificationListeners()) { in hasNotificationListenerEnabled() 116 ManagedServicesProto managedServices = dump.getNotificationListeners(); in hasNotificationListenerEnabled()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | ContentCaptureLoggingTestRule.java | 59 dump(testName, t); in apply() 67 public void dump(@NonNull String testName, @NonNull Throwable t) {
|
D | AbstractContentCaptureActivity.java | 159 final String dump = runShellCommand( in dumpIt() local 162 Log.v(mTag, "dump it: " + dump); in dumpIt()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | AutofillLoggingTestRule.java | 65 dump(testName, t); in apply() 81 public void dump(@NonNull String testName, @NonNull Throwable t) {
|
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/ |
D | BackgroundActivityTestBase.java | 617 for (TaskStateDump dump : mTaskStateDumps) { in allTaskStateDumps() 618 if ("waitForCondition".equals(dump.name) && "waitForCondition".equals(lastDump.name) in allTaskStateDumps() 619 && dump.meta.equals(lastDump.meta) in allTaskStateDumps() 620 && dump.taskStates.equals(lastDump.taskStates)) { in allTaskStateDumps() 624 sb.append("\n----- " + dump.name + " t=" + Duration.between(mTestStartTime, dump.t) in allTaskStateDumps() 625 + " (" + dump.t + ") -----\n"); in allTaskStateDumps() 626 if (!dump.meta.equals(lastDump.meta)) { in allTaskStateDumps() 627 sb.append(dump.meta + "\n"); in allTaskStateDumps() 629 if (!dump.taskStates.equals(lastDump.taskStates)) { in allTaskStateDumps() 630 for (String s : dump.taskStates) { in allTaskStateDumps() [all …]
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarWifiManagerTest.java | 79 CarWifiDumpProto dump = ProtoUtils.getProto( in isPersistTetheringCapabilityEnabled() local 83 return dump.getPersistTetheringCapabilitiesEnabled(); in isPersistTetheringCapabilityEnabled()
|
/cts/hostsidetests/car/src/android/car/cts/ |
D | CarTelemetryHostTest.java | 132 String dump = dumpTelemetryService(); in testSavingResultsAcrossReboot() 133 return dump.contains(scriptOutput1) && dump.contains(scriptOutput2); in testSavingResultsAcrossReboot()
|
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/ |
D | Utils.java | 50 + TestApis.logcat().dump( in dealWithNoExistingActivityException() 88 + TestApis.logcat().dump( in dealWithConnectedAppsSdkException()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BinderTest.java | 77 mBinder.dump(new FileDescriptor(), in testDump() 81 mBinder.dump(new FileDescriptor(), dumpArgs); in testDump() 278 public void dump(FileDescriptor fd, PrintWriter fout, String[] args) { in dump() method in BinderTest.MockBinder 279 super.dump(fd, fout, args); in dump()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ActivityInfoTest.java | 65 info.dump(new StringBuilderPrinter(new StringBuilder()), ""); in testSimple() 154 mActivityInfo.dump(p, prefix); in testDump() 160 mActivityInfo.dump(null, ""); in testDump()
|
/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/ |
D | SafeCleanerRuleTest.java | 87 verify(mDumper).dump("Whatever", actualException); in testEmptyRule_testFails_withDumper() 113 verify(mDumper).dump("Whatever", actualException); in testOnlyTestFails_withDumper() 147 verify(mDumper).dump("Whatever", actualException); in testTestPass_oneRunnerFails_withDumper() 196 verify(mDumper).dump("Whatever", actualException); in testTestPass_oneExtraExceptionThrown_withDumper() 297 verify(mDumper).dump("Whatever", actualException); in testThrowTheKitchenSinkAKAEverybodyThrows_withDumper()
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | AlarmReceiver.java | 109 sHistory.dump("History of quotaed alarms"); in dumpState() 110 sCompatHistory.dump("History of quotaed compat alarms"); in dumpState()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeEventStreamTestUtils.java | 138 + stream.dump()); in expectEvent() 150 "expectEvent " + combinedCondition + " interrupted: " + stream.dump(), e); in expectEvent() 326 "notExpectEvent " + combinedCondition + " failed: " + stream.dump()); 333 "notExpectEvent " + combinedCondition + " failed: " + stream.dump(), e); 426 + lastEventName + " eventName=" + eventName + "\n" + stream.dump()); 464 throw new RuntimeException("notExpectEvent failed: " + stream.dump(), e);
|
/cts/hostsidetests/appbinding/app/src/com/android/cts/appbinding/app/ |
D | MyService.java | 25 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump() method in MyService
|