/aosp_15_r20/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
H A D | ShellCommandUtils.java | 84 static String executeCommand(String command) throws AdbException { in executeCommand() 95 private static ParcelFileDescriptor[] executeShellCommandRweInternal(String command) { in executeShellCommandRweInternal() 106 public static StreamingShellOutput executeCommandForStream(String command, byte[] stdInBytes) in executeCommandForStream() 109 ParcelFileDescriptor[] fds = executeShellCommandRweInternal(command); in executeCommandForStream() local 126 static String executeCommand(String command, boolean allowEmptyOutput, byte[] stdInBytes) in executeCommand() 135 ParcelFileDescriptor[] fds = executeShellCommandRweInternal(command); in executeCommand() local 164 static byte[] executeCommandForBytes(String command) throws AdbException { in executeCommandForBytes() 168 static byte[] executeCommandForBytes(String command, byte[] stdInBytes) throws AdbException { in executeCommandForBytes() 178 ParcelFileDescriptor[] fds = executeShellCommandRweInternal(command); in executeCommandForBytes() local 198 private static void logCommand(String command, boolean allowEmptyOutput, byte[] stdInBytes) { in logCommand() [all …]
|
/aosp_15_r20/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
H A D | WindowManagerTraceMonitor.java | 57 String command = "perfetto --background-wait" + " --config - --txt --out " in captureDump() local 98 private byte[] executeShellCommand(String command) { in executeShellCommand() 111 private byte[] executeShellCommand(String command, byte[] stdin) { in executeShellCommand() 114 ParcelFileDescriptor[] fds = getInstrumentation().getUiAutomation() in executeShellCommand() local
|
/aosp_15_r20/external/rust/android-crates-io/crates/command-fds/src/ |
D | lib.rs | 223 let mut command = Command::new("ls"); in conflicting_mappings() localVariable 247 let mut command = Command::new("ls"); in no_mappings() localVariable 260 let mut command = Command::new("ls"); in none_preserved() localVariable 273 let mut command = Command::new("ls"); in one_mapping() localVariable 294 let mut command = Command::new("ls"); in one_preserved() localVariable 311 let mut command = Command::new("ls"); in swap_mappings() localVariable 344 let mut command = Command::new("ls"); in one_to_one_mapping() localVariable 372 let mut command = Command::new("cat"); in map_stdin() localVariable 402 let fds = parse_ls_output(&output.stdout); in expect_fds() localVariable
|
/aosp_15_r20/external/libcups/scheduler/ |
H A D | util.c | 160 cupsdExec(const char *command, /* I - Full path to program */ in cupsdExec() 234 const char *command, /* I - Command to run */ in cupsdPipeCommand() 239 fds[2]; /* Pipe file descriptors */ in cupsdPipeCommand() local
|
H A D | cupsfilter.c | 94 const char *command, /* Command name */ in main() local 528 const char *command, /* I - Command name */ in add_printer_filter() 650 const char *command, /* I - Command name */ in add_printer_filters() 1312 open_pipe(int *fds) /* O - Pipe file descriptors (2) */ in open_pipe()
|
H A D | client.c | 1854 char *command, /* I - Command to run */ in cupsdSendCommand() 3194 char *command, /* I - Command to run */ in pipe_command() 3203 int fds[2]; /* Pipe FDs */ in pipe_command() local
|
H A D | subscriptions.c | 1439 int fds[2]; /* Pipe file descriptors */ in cupsd_start_notifier() local 1445 command[1024]; /* Notifier command */ in cupsd_start_notifier() local
|
/aosp_15_r20/frameworks/base/tools/bit/ |
H A D | command.cpp | 101 get_command_output(const Command& command, int* err, bool quiet) in get_command_output() 107 int fds[2]; in get_command_output() local 160 run_command(const Command& command) in run_command()
|
/aosp_15_r20/external/nos/host/generic/libnos_datagram/ |
D | citadel.cpp | 47 __u32 command; member 78 static int read_datagram(void *ctx, uint32_t command, uint8_t *buf, uint32_t len) { in read_datagram() 129 static int write_datagram(void *ctx, uint32_t command, const uint8_t *buf, uint32_t len) { in write_datagram() 179 struct pollfd fds = {fd, POLLIN, 0}; in wait_for_interrupt() local
|
/aosp_15_r20/tools/tradefederation/core/src/com/android/tradefed/suite/checker/ |
D | SystemServerFileDescriptorChecker.java | 57 Integer fds = getIntegerFromCommand(device, "su root ls /proc/" + pid + "/fd | wc -w"); in postExecutionCheck() local 73 private static Integer getIntegerFromCommand(ITestDevice device, String command) in getIntegerFromCommand()
|
/aosp_15_r20/packages/modules/adb/daemon/ |
D | framebuffer_service.cpp | 66 int fds[2]; in framebuffer_service() local 78 const char* command = "screencap"; in framebuffer_service() local
|
/aosp_15_r20/external/google-breakpad/src/client/linux/crash_generation/ |
H A D | crash_generation_server.cc | 139 int fds[2]; in CreateReportChannel() local 297 char command; in ControlEvent() local
|
/aosp_15_r20/system/core/libsysutils/src/ |
H A D | SocketListener_test.cpp | 81 pollfd fds = {.fd = fd, .events = POLLIN}; in recvReply() local 139 void testCommand(const char* command, const char* expected) { in testCommand()
|
H A D | SocketListener.cpp | 153 std::vector<pollfd> fds; in runListener() local 270 void SocketListener::runOnEachSocket(SocketClientCommand *command) { in runOnEachSocket()
|
/aosp_15_r20/device/google/cuttlefish/host/commands/run_cvd/launch/ |
D | streamer.cpp | 71 Command command(binary); in LaunchCustomActionServers() local 183 std::vector<SharedFD> fds; in InitializeVConsoles() local
|
/aosp_15_r20/external/libchrome/base/process/ |
H A D | process_util_unittest.cc | 800 base::CommandLine command(test_helper_path_); in TEST_F() local 822 base::CommandLine command(test_helper_path_); in TEST_F() local 971 int fds[2]; in CountOpenFDsInChild() local 1160 int fds[2]; in TestLaunchProcess() local
|
/aosp_15_r20/device/google/cuttlefish/common/libs/fs/ |
D | shared_fd.cpp | 348 int SharedFD::Poll(std::vector<PollSharedFd>& fds, int timeout) { in Poll() 352 int SharedFD::Poll(PollSharedFd* fds, size_t num_fds, int timeout) { in Poll() 409 int fds[2]; in Pipe() local 452 int fds[2]; in SocketPair() local 861 int FileInstance::Fcntl(int command, int value) { in Fcntl()
|
/aosp_15_r20/external/cronet/base/process/ |
H A D | process_util_unittest.cc | 896 CommandLine command(test_helper_path_); in TEST_F() local 918 CommandLine command(test_helper_path_); in TEST_F() local 1056 int fds[2]; in CountOpenFDsInChild() local 1330 int fds[2]; in TestLaunchProcess() local
|
/aosp_15_r20/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
H A D | BaseMetricListener.java | 336 public byte[] executeCommandBlocking(String command) { in executeCommandBlocking() 406 final ParcelFileDescriptor[] fds = getInstrumentation().getUiAutomation() in getOutputStreamViaShell() local
|
/aosp_15_r20/packages/modules/Bluetooth/system/gd/hal/ |
D | hci_hal_host.cc | 97 struct pollfd fds[1]; in waitHciDev() local 262 void sendHciCommand(HciPacket command) override { in sendHciCommand()
|
/aosp_15_r20/frameworks/base/cmds/incidentd/src/ |
H A D | IncidentService.cpp | 452 int fds[2]; in getIncidentReport() local 554 status_t IncidentService::command(FILE* in, FILE* out, FILE* err, Vector<String8>& args) { in command() function in android::os::incidentd::IncidentService
|
/aosp_15_r20/external/strace/ |
H A D | strace.c | 484 strace_popen(const char *command) in strace_popen() 488 int fds[2]; in strace_popen() local 1244 int fds[2]; in open_dummy_desc() local
|
/aosp_15_r20/art/profman/ |
H A D | profman.cc | 76 std::vector<std::string> command; in CommandLine() local 1876 std::vector<int>* fds) { in ParseFdForCollection() 1882 static void CloseAllFds(const std::vector<int>& fds, const char* descriptor) { in CloseAllFds()
|
/aosp_15_r20/external/igt-gpu-tools/tools/ |
H A D | aubdump.c | 1071 launch_command(char *command) in launch_command() 1073 int i = 0, fds[2]; in launch_command() local
|
/aosp_15_r20/external/libusb/libusb/os/ |
H A D | linux_usbfs.c | 1743 struct usbfs_ioctl command; in op_detach_kernel_driver() local 1777 struct usbfs_ioctl command; in op_attach_kernel_driver() local 2715 struct pollfd *fds = event_data; in op_handle_events() local
|