/packages/modules/adb/daemon/ |
D | shell_service_test.cpp | 96 int ReadShellProtocol(borrowed_fd fd, std::string* stdout, std::string* stderr) { in ReadShellProtocol() argument 98 stdout->clear(); in ReadShellProtocol() 105 stdout->append(protocol->data(), protocol->data_length()); in ReadShellProtocol() 181 std::string stdout, stderr; in TEST_F() local 182 EXPECT_EQ(24, ReadShellProtocol(command_fd_, &stdout, &stderr)); in TEST_F() 183 ExpectLinesEqual(stdout, {"foo", "baz"}); in TEST_F() 195 std::string stdout, stderr; in TEST_F() local 196 EXPECT_EQ(50, ReadShellProtocol(command_fd_, &stdout, &stderr)); in TEST_F() 197 ExpectLinesEqual(stdout, {"foo", "bar", "baz"}); in TEST_F() 220 std::string stdout, stderr; in TEST_F() local [all …]
|
/packages/apps/Car/libs/car-ui-lib/tests/apitest/ |
D | git_utils.py | 24 stdout=subprocess.PIPE, stderr=subprocess.PIPE) 25 stdout, stderr = result.communicate() 28 raise Exception("Git error: "+str(stdout)+str(stderr)) 30 return 'car-ui-lib' in str(stdout)
|
/packages/apps/Car/libs/car-ui-lib/tests/tools/ |
D | quick_rro.py | 74 result = subprocess.Popen(command_args, stdout=subprocess.PIPE, stderr=subprocess.PIPE) 75 stdout, stderr = result.communicate() 77 stdout = str(stdout) 82 if len(stdout) > 0: 83 err += '\n' + stdout.strip() 88 return stdout
|
/packages/services/Car/tests/BugReportApp/utils/ |
D | bugreport_app_tester_test.py | 36 self._mock_popen.stdout.read.return_value = '\n \n asd\r\n\r\nqwe 123 $\n\n' 41 self._mock_popen.stdout.read.return_value = '' 47 self._mock_popen.stdout = SimpleMagicMock() 49 self._mock_popen.stdout.read = SimpleMagicMock(return_value='blah') 69 self._mock_popen.stdout.read.return_value = '123 789'
|
D | bugreport_app_tester.py | 153 raw = popen.stdout.read() 179 popen = subprocess.Popen(full_cmd, stdout=subprocess.PIPE) 326 sys.stdout.write('Remaining time %.0f seconds\r' % remaining) 327 sys.stdout.flush()
|
/packages/modules/adb/client/ |
D | commandline.cpp | 85 fprintf(stdout, "%s\n", adb_version().c_str()); in help() 87 fprintf(stdout, in help() 403 fwrite(buf.data(), 1, len, stdout); in copy_to_file() 404 fflush(stdout); in copy_to_file() 850 fflush(stdout); in adb_sideload_legacy() 981 fflush(stdout); in adb_sideload_install() 1134 fwrite(buf, 1, sizeof(buf) - bytes_left, stdout); in adb_root() 1135 fflush(stdout); in adb_root() 1227 fwrite(buf.data(), 1, bytes, stdout); in write_zeros() 1228 fflush(stdout); in write_zeros() [all …]
|
D | line_printer.cpp | 57 setvbuf(stdout, nullptr, _IONBF, 0); in LinePrinter() 67 fwrite(s.data(), 1, s.size(), stdout); in Out() 119 fflush(stdout); in Print()
|
D | adb_install.cpp | 255 fputs(buf, stdout); in install_app_streamed() 682 fputs(buf, stdout); in install_multiple_app_streamed() 796 fprintf(stdout, "Created parent session ID %d.\n", parent_session_id); in install_multi_package() 860 fprintf(stdout, "Created child session ID %d.\n", session_id); in install_multi_package() 960 fputs(buf, stdout); in install_multi_package()
|
D | commandline.h | 72 OnStream(stdout_str_, stdout, buffer, length); in OnStdout()
|
D | main.cpp | 92 if (setvbuf(stdout, nullptr, _IONBF, 0) == -1) { in adb_server_main()
|
/packages/modules/adb/ |
D | test_device.py | 90 self.assertEqual(abb.stdout, cmd.stdout) 293 stdin=subprocess.PIPE, stdout=subprocess.PIPE, 372 stdout=subprocess.PIPE, stderr=subprocess.PIPE) 377 stdout=subprocess.PIPE, stderr=subprocess.PIPE) 457 stdin=subprocess.PIPE, stdout=subprocess.PIPE, 459 remote_pid = sleep_proc.stdout.readline().strip().decode("utf8") 489 stdout=subprocess.PIPE, 491 stdout, stderr = proc.communicate(input) 492 self.assertEqual(input.splitlines(), stdout.splitlines()) 513 stdout=subprocess.PIPE) [all …]
|
D | test_adb.py | 125 stdout=subprocess.PIPE, 186 stdout=subprocess.PIPE, 193 stdout=subprocess.PIPE, 241 stdout=subprocess.PIPE, 248 args=(proc.stdout, stdout_event)) 463 stdout=subprocess.PIPE, 671 stdout=subprocess.PIPE,
|
D | benchmark_device.py | 90 subprocess.check_call(cmd, stdout=devnull)
|
/packages/apps/Car/Dialer/tests/ |
D | checkresources.py | 6 stdout=subprocess.PIPE, 9 stdout, stderr = process.communicate() variable 11 lines = stdout.decode('utf-8').split('\n')
|
/packages/modules/Virtualization/vm/src/ |
D | run.rs | 44 let stdout = if daemonize { None } else { Some(&stdout_file) }; in command_run() localVariable 45 let vm = virt_manager.startVm(&config_file, stdout).context("Failed to start VM")?; in command_run() 105 let stdout_fd = io::stdout().as_raw_fd(); in duplicate_stdout()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/prettyauto/ |
D | prettyauto.cpp | 22 _setmode(_fileno(stdout), _O_BINARY); // NEW in main() 34 FileWriteStream os(stdout, writeBuffer, sizeof(writeBuffer)); in main()
|
/packages/modules/NetworkStack/tests/hostdriven/host/src/com/android/networkstack/hosttests/ |
D | NetworkStackHostTests.kt | 97 assertTrue(amResult?.stdout?.trim()?.startsWith("Restart the system") ?: false, in applyUpdateAndCheckNetworkStackRegistered() 157 cmdResult.stdout?.trim()?.let { in waitForDumpsys()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | DialogUiTest.java | 365 StringBuffer stdout = new StringBuffer(); in runShellCommand() local 367 stdout.append(new String(buf, 0, bytesRead)); in runShellCommand() 370 return stdout.toString(); in runShellCommand()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NetworkWatchlistTest.java | 143 ParcelFileDescriptor stdout = fileDescriptors[0]; in saveResourceToFile() local 148 consumeFile(stdout); in saveResourceToFile()
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | AtraceUtils.java | 166 BufferedReader stdout = new BufferedReader( in atraceListCategories() local 175 while ((line = stdout.readLine()) != null) { in atraceListCategories()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/condense/ |
D | condense.cpp | 22 FileWriteStream os(stdout, writeBuffer, sizeof(writeBuffer)); in main()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/pretty/ |
D | pretty.cpp | 20 FileWriteStream os(stdout, writeBuffer, sizeof(writeBuffer)); in main()
|
/packages/modules/common/tools/ |
D | conv_classpaths_proto.py | 55 default=sys.stdout.buffer)
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/capitalize/ |
D | capitalize.cpp | 55 FileWriteStream os(stdout, writeBuffer, sizeof(writeBuffer)); in main()
|
/packages/modules/Virtualization/virtmanager/src/ |
D | crosvm.rs | 131 command.stdout(log_fd); in run_vm()
|