/system/connectivity/shill/bin/ |
H A D | set_wifi_regulatory | 27 # Example output of dump_vpd_log --stdout: 30 dump_vpd_log --stdout |
|
/system/core/adb/ |
H A D | shell_service_test.cpp | 112 // |stdout| and |stderr| with their respective data, and returns the exit code 114 int ReadShellProtocol(int fd, std::string* stdout, std::string* stderr) { argument 116 stdout->clear(); 123 stdout->append(protocol->data(), protocol->data_length()); 200 std::string stdout, stderr; local 201 EXPECT_EQ(24, ReadShellProtocol(subprocess_fd_, &stdout, &stderr)); 202 ExpectLinesEqual(stdout, {"foo", "baz"}); 212 // PTY always combines stdout and stderr but the shell protocol should 214 std::string stdout, stderr; local 215 EXPECT_EQ(50, ReadShellProtocol(subprocess_fd_, &stdout, 239 std::string stdout, stderr; local 262 std::string stdout, stderr; local 274 std::string stdout, stderr; local 286 std::string stdout, stderr; local [all...] |
H A D | line_printer.cpp | 55 setvbuf(stdout, NULL, _IONBF, 0); 65 fwrite(s.data(), 1, s.size(), stdout); 75 // On Windows, calling a C library function writing to stdout also handles 114 fflush(stdout);
|
H A D | test_adb.py | 59 p = subprocess.Popen(['adb', 'tcpip'], stdout=subprocess.PIPE, 65 p = subprocess.Popen(['adb', 'tcpip', 'foo'], stdout=subprocess.PIPE, 77 # stdin/stdout/stderr handles which can cause callers of adb.exe to hang. 87 # Start adb client with redirected stdin/stdout/stderr to check if it 103 stdin=subprocess.PIPE, stdout=subprocess.PIPE, 106 # Start threads that set events when stdout/stderr are closed. 110 args=(p.stdout, stdout_event)) 122 # stdin/stderr/stdout are still open, it must be open in the adb 134 # Wait a few seconds for stdout/stderr to be closed (in the success 136 # stdout/stder [all...] |
H A D | commandline.h | 22 // Callback used to handle the standard streams (stdout and stderr) sent by the 29 // Handles the stdout output from devices supporting the Shell protocol. 68 OnStream(stdout_str_, stdout, buffer, length); 94 // if |callback| is non-null, stdout/stderr output will be handled by it.
|
/system/extras/tests/memtest/ |
H A D | memtest.cpp | 125 fflush(stdout); 138 printf("Allocating %zd MB... ", size/(1024*1024)); fflush(stdout); 140 printf("%p (%s)\n", addr1, addr1==(void*)-1 ? "failed" : "OK"); fflush(stdout); 142 printf("touching %p...\n", addr1); fflush(stdout); 145 printf("advising DONTNEED...\n"); fflush(stdout); 148 printf("reading back %p...\n", addr1); fflush(stdout); 157 printf("Allocating %zd MB... ", size/(1024*1024)); fflush(stdout); 159 printf("%p (%s)\n", addr2, addr2==(void*)-1 ? "failed" : "OK"); fflush(stdout); 161 printf("touching %p...\n", addr2); fflush(stdout); 164 printf("unmap %p ...\n", addr2); fflush(stdout); [all...] |
H A D | thumb.cpp | 10 fflush(stdout);
|
/system/bt/tools/bdtool/ |
H A D | bdtool.c | 95 fprintf(stdout, "Bringing up bluetooth adapter\n"); 103 fprintf(stdout, "BT adapter is up\n"); 105 fprintf(stdout, "Starting to start discovery\n"); 107 fprintf(stdout, "Started discovery for %d seconds\n", timeout_in_sec); 111 fprintf(stdout, "Starting to cancel discovery\n"); 113 fprintf(stdout, "Cancelled discovery after %d seconds\n", timeout_in_sec); 118 fprintf(stdout, "BT adapter is up\n"); 123 fprintf(stdout, "Set rc:%d device as discoverable for %d seconds\n", rc, timeout_in_sec); 137 fprintf(stdout, "BT adapter is up\n"); 140 fprintf(stdout, "Starte [all...] |
H A D | adapter.c | 116 fprintf(stdout, "Bond state changed callback addr:%s state:%s\n", bdaddr_to_string(bdaddr, buf, sizeof(buf)), state_name); 123 fprintf(stdout, "Device found num_properties:%d\n", num_properties); 145 fprintf(stdout, "Discover state %s\n", state_name); 156 fprintf(stdout, "Device found bdaddr:%s num_properties:%d\n", 190 fprintf(stdout, "Got ssp request device_class:%u passkey:%x pairing_variant:%s\n", cod, pass_key, pairing_variant_name); 192 fprintf(stdout, "Device found:%s %s\n", bdaddr_to_string(remote_bd_addr, buf, sizeof(buf)), bd_name->name); 195 fprintf(stdout, "auto-accepting bond\n"); 214 fprintf(stdout, " name:%s\n", name->name); 223 fprintf(stdout, " addr:%s\n", bdaddr_to_string(addr, buf, sizeof(buf))); 233 fprintf(stdout, " uui [all...] |
/system/bt/tools/scripts/ |
H A D | btsnooz.py | 81 sys.stdout.write('btsnoop\x00\x00\x00\x00\x01\x00\x00\x03\xea') 102 # Second pass does the actual writing out to stdout. 108 sys.stdout.write(struct.pack('>II', length, length)) 109 sys.stdout.write(struct.pack('>II', type_to_direction(type), 0)) 110 sys.stdout.write(struct.pack('>II', (first_timestamp_ms >> 32), (first_timestamp_ms & 0xFFFFFFFF))) 111 sys.stdout.write(type_to_hci(type)) 112 sys.stdout.write(decompressed[offset : offset + length - 1]) 129 # Second pass does the actual writing out to stdout. 135 sys.stdout.write(struct.pack('>II', packet_length, length)) 136 sys.stdout [all...] |
/system/tools/aidl/tests/ |
H A D | integration-test.py | 33 def __init__(self, exit_status, stdout, stderr): 38 stdout: string stdout of shell command 41 self.stdout = stdout 48 output.append('stdout:') 49 for line in self.stdout.splitlines(): 100 return result.stdout.strip() 119 stdout=subprocess.PIPE, stderr=subprocess.PIPE, 121 stdout, stder [all...] |
/system/update_engine/common/ |
H A D | subprocess.cc | 125 record->stdout.append(buf, bytes_read); 155 if (!record->stdout.empty()) { 156 LOG(INFO) << "Subprocess output:\n" << record->stdout; 159 record->callback.Run(info.si_status, record->stdout); 233 string* stdout) { 240 stdout); 246 string* stdout) { 256 if (stdout) { 257 stdout->clear(); 270 if (stdout) 231 SynchronousExec(const vector<string>& cmd, int* return_code, string* stdout) argument 243 SynchronousExecFlags(const vector<string>& cmd, uint32_t flags, int* return_code, string* stdout) argument [all...] |
H A D | subprocess.h | 55 // code and the stdout output (and stderr if redirected). 69 // know the reader end in the parent. Only stdin, stdout, stderr and the file 88 // Executes a command synchronously. Returns true on success. If |stdout| is 90 // logged. Note that stderr is redirected to stdout. 93 std::string* stdout); 97 std::string* stdout); 121 // These are used to monitor the stdout of the running process, including 126 std::string stdout; member in struct:chromeos_update_engine::Subprocess::SubprocessRecord 130 // stdout pipe.
|
/system/extras/tests/cpueater/ |
H A D | cpueater.c | 57 fflush(stdout);
|
H A D | daemonize.c | 90 fflush(stdout); 91 close(2); dup(1); /* join stdout and stderr */
|
/system/extras/systrace_analysis/ |
H A D | analyze_trace.py | 52 js_args=js_args_arg, stdout=sys.stdout, stdin=sys.stdin);
|
/system/extras/bootctl/ |
H A D | bootctl.c | 57 fprintf(stdout, 71 fprintf(stdout, "%d\n", num_slots); 78 fprintf(stdout, "%d\n", cur_slot); 130 fprintf(stdout, "%s\n", suffix);
|
/system/extras/tests/include/ |
H A D | testUtil.h | 51 testPrint(stdout, __VA_ARGS__); \
|
/system/sepolicy/tools/ |
H A D | post_process_mac_perms | 45 p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, 89 sys.stdout.write(line.replace('</policy>', mac_perms_string))
|
/system/extras/memory_replay/ |
H A D | NativeInfo.cpp | 75 fflush(stdout);
|
/system/extras/procmem/ |
H A D | procmem.c | 174 fflush(stdout); 185 fflush(stdout); 200 fflush(stdout); 206 fflush(stdout);
|
/system/security/keystore/ |
H A D | keystore_cli.cpp | 142 fwrite(data, dataSize, 1, stdout); \ 143 fflush(stdout); \ 188 fwrite(data, dataSize, 1, stdout); \ 189 fflush(stdout); \
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
H A D | util.c | 451 fputs(line->file, stdout); 477 stdout); 479 fprintf(stdout, "\33[%sm\33[K", color); 483 stdout); 485 fprintf(stdout, "\33[m\33[K"); 492 fwrite(line->dat + a, line->len - a, 1, stdout); 496 fwrite(line->dat, line->len, 1, stdout);
|
/system/extras/pagecache/ |
H A D | pagecache.py | 195 A tuple containing the adb output (stdout & stderr) and the return code 276 sys.stdout.write('Done.\n') 285 def read_and_parse_trace_data_live(stdout, stderr, pagecache_stats, app_name): 290 stdout_thread = FileReaderThread(stdout, stdout_queue, 346 stdout.close() 395 atrace = subprocess.Popen(trace_cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, 401 read_and_parse_trace_data_live(atrace.stdout, atrace.stderr, pagecache_stats, options.app_name)
|
/system/connectivity/shill/test-scripts/ |
H A D | stability | 102 stdout=subprocess.PIPE).communicate()[0] 104 sys.stdout.flush()
|