Home
last modified time | relevance | path

Searched refs:stdin (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/Virtualization/tests/libs/libdts/src/
Dlib.rs59 .stdin(Stdio::piped()) in from_fdt()
64 let mut stdin = dtc.stdin.take().unwrap(); in from_fdt() localVariable
65 stdin.write_all(fdt.as_slice())?; in from_fdt()
/packages/modules/Bluetooth/floss/pandora/floss/
Dcmd_utils.py153 def execute(args, stdin=None, stdout=TEE_TO_LOGS, stderr=TEE_TO_LOGS, run_as=None): argument
169 ps = popen(args, stdin=stdin, stdout=stdout, stderr=stderr, run_as=run_as)
194 def popen(args, stdin=None, stdout=TEE_TO_LOGS, stderr=TEE_TO_LOGS, env=None, run_as=None): argument
223 …ps = subprocess.Popen(args, stdin=stdin, stdout=stdout, stderr=stderr, env=env, preexec_fn=preexec…
Dcras_utils.py32 def playback(blocking=True, stdin=None, *args, **kargs): argument
45 process = cmd_utils.popen(playback_cmd(*args, **kargs), stdin=stdin)
/packages/modules/Virtualization/guest/compsvc/src/
Dcompos_key.rs34 .stdin(Stdio::null()) in get_data_from_helper()
48 .stdin(Stdio::piped()) in sign()
55 child.stdin.take().unwrap().write_all(data).context("Failed to write data to be signed"); in sign()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DShellUtil.kt48 val (stdout, stdin) = InstrumentationRegistry.getInstrumentation().uiAutomation in <lambda>() constant
50 AutoCloseOutputStream(stdin).bufferedWriter().use { it.write(cmd) } in <lambda>()
DConnectivityDiagnosticsCollector.kt223 val stdin = fds[1] in <lambda>() constant
224 ParcelFileDescriptor.AutoCloseOutputStream(stdin).use { writer -> in <lambda>()
/packages/modules/adb/
Dtest_device.py277 stdin=subprocess.PIPE, stdout=subprocess.PIPE,
355 test_cmd, stdin=None,
360 test_cmd, stdin=subprocess.PIPE,
370 if self.device.has_shell_protocol() and os.isatty(sys.stdin.fileno()):
441 stdin=subprocess.PIPE, stdout=subprocess.PIPE,
472 stdin=subprocess.PIPE,
496 stdin=subprocess.PIPE,
548 stdin=subprocess.PIPE,
553 procs[i].stdin.write("%d\n" % i)
560 procs[i].stdin.write("%d\n" % (i % 256))
[all …]
Dtest_adb.py240 stdin=subprocess.PIPE,
268 proc.stdin.write(b"x")
269 proc.stdin.flush()
Dbenchmark_device.py83 subprocess.check_call(cmd, stdin=tmpfile)
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkWatchlistTest.java142 ParcelFileDescriptor stdin = fileDescriptors[1]; in saveResourceToFile() local
145 pipeResourceToFileDescriptor(res, stdin); in saveResourceToFile()
/packages/modules/Bluetooth/system/tools/scripts/
Dbtsnooz.py153 if not sys.stdin.isatty():
156 for line in sys.stdin.readlines():
/packages/modules/Virtualization/android/EmptyPayloadApp/
Dempty_binary.cpp8 setvbuf(stdin, nullptr, _IONBF, 0); in AVmPayload_main()
/packages/apps/Camera2/tests/exiftool_parser/
Dparser.py19 text = sys.stdin.read()
/packages/modules/Bluetooth/system/blueberry/controllers/
Dgrpc_bt_target_mock.py56 stdin=subprocess.PIPE,
Dgrpc_bt_sync_mock.py57 stdin=subprocess.PIPE,
/packages/modules/common/tools/
Dconv_classpaths_proto.py53 nargs='?', type=argparse.FileType('rb'), default=sys.stdin.buffer)
/packages/modules/adb/docs/dev/
Dincremental-install.md126 These files are not sent via the `IS` but instead sent on stdin, before
136 │ (stdin) write(unsigned) │
Dservices.md167 stdin/stdout/stderr as appropriate. Note that the ADB server uses
173 differentiate stdin, stderr, and also retrieve exit code.
/packages/modules/Virtualization/android/vm/src/
Dmain.rs477 if !io::stdin().is_terminal() { in command_console()
Drun.rs325 Some(duplicate_fd(io::stdin())?) in run()
/packages/modules/Virtualization/android/vm_demo_native/
Dmain.cpp227 ScopedFileDescriptor console_in_fd(fcntl(fileno(stdin), F_DUPFD_CLOEXEC)); in create_virtual_machine()
/packages/modules/Bluetooth/floss/hcidoc/src/
Dparser.rs355 fd = Box::new(BufReader::new(std::io::stdin())); in new()
/packages/modules/Virtualization/guest/microdroid_manager/src/
Dmain.rs696 command.stdin(Stdio::null()); in exec_task()
/packages/modules/adb/client/
Dincremental_server.cpp718 fclose(stdin); in serve()
/packages/modules/adb/docs/user/
Dadb.1.md185 &nbsp;&nbsp;&nbsp;&nbsp;Don't read from stdin.

12