Home
last modified time | relevance | path

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

12

/cts/hostsidetests/edi/src/android/edi/cts/
DPropertyDeviceInfo.java59 private void parseProps(String stdout, HostInfoStore store) throws Exception { in parseProps() argument
61 if (stdout == null) stdout = ""; in parseProps()
62 try (Scanner scanner = new Scanner(stdout)) { in parseProps()
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/
DBaseHostTestCase.java86 String stdout = result.getStdout(); in isSuccessful() local
87 if (stdout.contains(ERROR_MESSAGE_TAG)) { in isSuccessful()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DUtils.java137 ByteArrayOutputStream stdout = new ByteArrayOutputStream(); in executeShellCommand() local
139 stdout.write(buf, 0, bytesRead); in executeShellCommand()
142 return stdout.toByteArray(); in executeShellCommand()
/cts/tests/tests/car/src/android/car/cts/
DCarApiTestBase.java125 ParcelFileDescriptor stdout = uiAutomation.executeShellCommand( in executeShellCommand() local
127 try (InputStream inputStream = new ParcelFileDescriptor.AutoCloseInputStream(stdout)) { in executeShellCommand()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandIncrementalTest.java544 (stdout) -> { in testInstallWithIdSigNoMissingPages()
545 try (Scanner scanner = new Scanner(stdout)) { in testInstallWithIdSigNoMissingPages()
876 (stdout) -> stdout.contains(expected)); in checkSysTraceForSubstring()
894 final String stdout = executeShellCommand("atrace --async_dump"); in checkSysTrace()
896 if (checker.apply(stdout)) { in checkSysTrace()
1051 final ParcelFileDescriptor stdout = getUiAutomation().executeShellCommand(command); in executeShellCommandStream() local
1052 return new ParcelFileDescriptor.AutoCloseInputStream(stdout); in executeShellCommandStream()
1074 ParcelFileDescriptor stdout = pfds[0]; in executeShellCommandRw() local
1084 return new ParcelFileDescriptor.AutoCloseInputStream(stdout); in executeShellCommandRw()
DPackageManagerShellCommandTest.java107 final ParcelFileDescriptor stdout = getUiAutomation().executeShellCommand(command); in executeShellCommand() local
108 try (InputStream inputStream = new ParcelFileDescriptor.AutoCloseInputStream(stdout)) { in executeShellCommand()
121 ParcelFileDescriptor stdout = pfds[0]; in executeShellCommand() local
131 try (InputStream inputStream = new ParcelFileDescriptor.AutoCloseInputStream(stdout)) { in executeShellCommand()
DChecksumsTest.java1241 final ParcelFileDescriptor stdout = getUiAutomation().executeShellCommand(command); in executeShellCommand() local
1242 try (InputStream inputStream = new ParcelFileDescriptor.AutoCloseInputStream(stdout)) { in executeShellCommand()
/cts/hostsidetests/backup/src/android/cts/backup/
DRestoreSessionHostSideTest.java240 OutputStream stdout = new FileOutputStream(outFile); in installWithAdb() local
243 runUtil.runTimedCmd(DEFAULT_TEST_TIMEOUT_MS, stdout, /* stderr= */ null, in installWithAdb()
/cts/libs/install/src/android/cts/install/lib/host/
DInstallUtilsHost.java152 String stdout = mTest.getDevice().executeAdbCommand(args); in installApexes() local
153 assertThat(stdout).isNotNull(); in installApexes()
/cts/hostsidetests/theme/
Davd.py57 emu_proc = subprocess.Popen(emu_cmd.split(" "), bufsize=-1, stdout=subprocess.PIPE,
Dandroid_device.py38 adb_process = subprocess.Popen(args=adb_cmd.split(), bufsize=-1, stderr=PIPE, stdout=PIPE)
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DActivityManagerGetConfigTests.java88 ByteArrayOutputStream stdout = new ByteArrayOutputStream(); in executeShellCommand() local
90 stdout.write(buf, 0, bytesRead); in executeShellCommand()
93 return stdout.toByteArray(); in executeShellCommand()
/cts/suite/audio_quality/lib/src/
DFileUtil.cpp145 fprintf(stdout, "%s", mBuffer); in doVprintf()
/cts/apps/CameraITS/utils/
Dits_session_utils.py142 proc = subprocess.Popen(command.split(), stdout=subprocess.PIPE)
198 command.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
237 self.adb.split() + ['logcat'], stdout=subprocess.PIPE)
238 logcat = proc.stdout
1180 subprocess.check_call(cmd.split(), stdout=devnull, stderr=subprocess.STDOUT)
/cts/hostsidetests/seccomp/app/
Dgen_blocklist.py116 stdin=subprocess.PIPE, stdout=subprocess.PIPE)
/cts/apps/CameraITS/tools/
Drun_sensor_fusion.py162 output = subprocess.run(cmd, stdout=fp)
Drun_all_tests.py148 subprocess.check_call(cmd.split(), stdout=devnull, stderr=subprocess.STDOUT)
520 output = subprocess.run(cmd, stdout=fp)
/cts/tools/utils/
Dmonsoon.py420 sys.stdout.flush()
427 sys.stdout.flush()
/cts/tools/incremental-cts/
Dincremental_deqp.py197 completed = subprocess.run(adb_cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
202 return completed.stdout
/cts/apps/CtsVerifier/assets/scripts/
Dexecute_power_tests.py561 sys.stdout.write("\33[1A\33[2K")
891 sys.stdout.flush()
898 sys.stdout.flush()
/cts/hostsidetests/incrementalinstall/src/android/incrementalinstall/cts/
DIncrementalInstallTest.java368 OutputStream stdout = new FileOutputStream(outFile); in installWithAdbInstaller() local
371 runUtil.runTimedCmd(DEFAULT_TEST_TIMEOUT_MS, stdout, /* stderr= */ null, in installWithAdbInstaller()
/cts/suite/cts/utils/
Dget_csv_report.py142 p = subprocess.Popen(command.split(), stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
/cts/tools/release-parser/tests/resources/
DCtsAslrMallocTestCases32.pb.txt570 name: "stdout"
/cts/tests/app/src/android/app/cts/
DServiceTest.java440 ByteArrayOutputStream stdout = new ByteArrayOutputStream(); in executeShellCommand() local
442 stdout.write(buf, 0, bytesRead); in executeShellCommand()
445 return stdout.toByteArray(); in executeShellCommand()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerState.java358 ByteArrayOutputStream stdout = new ByteArrayOutputStream(); in executeShellCommand() local
360 stdout.write(buf, 0, bytesRead); in executeShellCommand()
363 return stdout.toByteArray(); in executeShellCommand()

12