/system/core/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 …]
|
/system/bt/tools/bdtool/ |
D | adapter.c | 104 fprintf(stdout, "Bond state changed callback addr:%s state:%s\n", in bond_state_changed() 112 fprintf(stdout, "Device found num_properties:%d\n", num_properties); in device_found() 134 fprintf(stdout, "Discover state %s\n", state_name); in discovery_state_changed() 143 fprintf(stdout, "Device found bdaddr:%s num_properties:%d\n", in remote_device_properties() 173 fprintf(stdout, in ssp_request() 177 fprintf(stdout, "Device found:%s %s\n", in ssp_request() 180 fprintf(stdout, "auto-accepting bond\n"); in ssp_request() 195 if (name) fprintf(stdout, " name:%s\n", name->name); in parse_properties() 202 fprintf(stdout, " addr:%s\n", in parse_properties() 211 fprintf(stdout, " uuid:%zd: ", i); in parse_properties() [all …]
|
D | bdtool.c | 93 fprintf(stdout, "Bringing up bluetooth adapter\n"); in main() 101 fprintf(stdout, "BT adapter is up\n"); in main() 103 fprintf(stdout, "Starting to start discovery\n"); in main() 105 fprintf(stdout, "Started discovery for %d seconds\n", timeout_in_sec); in main() 109 fprintf(stdout, "Starting to cancel discovery\n"); in main() 111 fprintf(stdout, "Cancelled discovery after %d seconds\n", timeout_in_sec); in main() 116 fprintf(stdout, "BT adapter is up\n"); in main() 122 fprintf(stdout, "Set rc:%d device as discoverable for %d seconds\n", rc, in main() 139 fprintf(stdout, "BT adapter is up\n"); in main() 143 fprintf(stdout, "Started bonding:%d for %d seconds\n", rc, timeout_in_sec); in main() [all …]
|
/system/bt/tools/scripts/ |
D | btsnooz.py | 79 sys.stdout.write('btsnoop\x00\x00\x00\x00\x01\x00\x00\x03\xea') 106 sys.stdout.write(struct.pack('>II', length, length)) 107 sys.stdout.write(struct.pack('>II', type_to_direction(type), 0)) 108 …sys.stdout.write(struct.pack('>II', (first_timestamp_ms >> 32), (first_timestamp_ms & 0xFFFFFFFF))) 109 sys.stdout.write(type_to_hci(type)) 110 sys.stdout.write(decompressed[offset:offset + length - 1]) 133 sys.stdout.write(struct.pack('>II', packet_length, length)) 134 sys.stdout.write(struct.pack('>II', type_to_direction(snooz_type), 0)) 135 …sys.stdout.write(struct.pack('>II', (first_timestamp_ms >> 32), (first_timestamp_ms & 0xFFFFFFFF))) 136 sys.stdout.write(type_to_hci(snooz_type)) [all …]
|
D | dump_metrics_ascii.py | 97 stdout=subprocess.PIPE, 130 stdout, stderr = dump_metrics() 131 stdout = stdout.strip() 133 bluetooth_log = get_bluetooth_metrics(stdout, bluetooth_proto_module)
|
D | yapf_checker.py | 62 …ocess.run(full_yapf_command[1:], env=environment, stderr=subprocess.STDOUT, stdout=subprocess.PIPE) 64 if result.returncode != 0 or result.stdout: 65 logging.error(result.stdout.decode('utf-8').strip())
|
/system/bt/test/headless/read/ |
D | name.cc | 38 fprintf(stdout, "This test requires at least a single loop"); in Run() 43 fprintf(stdout, "This test requires a single device specified"); in Run() 58 fprintf(stdout, "Failure to start read remote device\n"); in Run() 68 fprintf(stdout, "Name result mac:%s name:%s\n", in Run() 72 fprintf(stdout, "Name Timeout or other failure"); in Run() 75 fprintf(stdout, "Unexpected remote name request failure status:%hd", in Run()
|
/system/tools/aidl/tests/ |
D | aidl_integration_test.py | 28 def __init__(self, exit_status, stdout, stderr): argument 36 self.stdout = stdout 44 for line in self.stdout.splitlines(): 89 stdout=subprocess.PIPE, stderr=subprocess.PIPE, 91 stdout, stderr = p.communicate() 94 return ShellResult(p.returncode, stdout, stderr) 117 raise TestFail(result.stdout) 133 if re.search(INSTRUMENTATION_FAILURES_PATTERN, result.stdout) is not None: 134 raise TestFail(result.stdout)
|
/system/bt/test/headless/sdp/ |
D | sdp.cc | 88 fprintf(stdout, "%s Unable to initialize sdp discovery\n", __func__); in sdp_query_uuid() 95 sdp_discovery_db.Print(stdout); in sdp_query_uuid() 100 fprintf(stdout, "%s Failed to start search attribute request\n", __func__); in sdp_query_uuid() 106 fprintf(stdout, "Failed search discovery result:%s\n", in sdp_query_uuid() 114 fprintf(stdout, "discovery record is null from:%s uuid:%s\n", in sdp_query_uuid() 117 fprintf(stdout, "result:%d attr_id:%x from:%s uuid:%s\n", result, in sdp_query_uuid()
|
/system/update_engine/common/ |
D | subprocess.cc | 128 record->stdout.append(buf, bytes_read); in OnStdoutReady() 156 if (!record->stdout.empty()) { in ChildExitedCallback() 157 LOG(INFO) << "Subprocess output:\n" << record->stdout; in ChildExitedCallback() 160 record->callback.Run(info.si_status, record->stdout); in ChildExitedCallback() 234 string* stdout, in SynchronousExec() argument 238 return SynchronousExecFlags(cmd, kSearchPath, return_code, stdout, stderr); in SynchronousExec() 244 string* stdout, in SynchronousExecFlags() argument 252 if (stdout) { in SynchronousExecFlags() 253 stdout->clear(); in SynchronousExecFlags() 271 } else if (stdout != nullptr) { in SynchronousExecFlags() [all …]
|
D | subprocess.h | 94 std::string* stdout, 99 std::string* stdout, 129 std::string stdout; member
|
/system/bt/test/headless/ |
D | get_options.cc | 43 fprintf(stdout, "%s: Usage:\n", name_); in Usage() 44 fprintf(stdout, in Usage() 47 fprintf(stdout, "%s --uuid=<uuid,> Comma separated list of uuids\n", in Usage() 49 fprintf(stdout, "%s --loop=<loop> Number of loops\n", name_); in Usage() 50 fprintf(stdout, "%s --msleep=<msecs> Sleep msec between loops\n", name_); in Usage() 51 fprintf(stdout, "%s --stderr Dump stderr to stdout\n", name_); in Usage()
|
/system/bt/test/headless/pairing/ |
D | pairing.cc | 31 fprintf(stdout, "This test requires at least a single loop"); in Run() 36 fprintf(stdout, "This test requires a single device specified"); in Run() 49 fprintf(stdout, "Failed to create bond status:%d", status); in Run()
|
/system/libziparchive/cli-tests/ |
D | zipinfo.test | 11 expected-stdout: 23 expected-stdout: 30 expected-stdout: 37 expected-stdout: 44 expected-stdout: 51 expected-stdout:
|
D | unzip.test | 12 expected-stdout: 24 expected-stdout: 35 expected-stdout: 47 expected-stdout: 59 expected-stdout: 71 expected-stdout: 78 expected-stdout: 86 expected-stdout: 115 expected-stdout: 122 expected-stdout: [all …]
|
/system/chre/build/ |
D | print_current_chre_api_version.c | 21 fprintf(stdout, "DEFAULT_CHRE_API_VERSION_MAJOR = 0x%02x\n", in main() 23 fprintf(stdout, "DEFAULT_CHRE_API_VERSION_MINOR = 0x%02x\n", in main()
|
/system/update_engine/scripts/ |
D | payload_info_unittest.py | 198 stdout = sys.stdout 200 sys.stdout = StringIO() 201 yield sys.stdout 203 sys.stdout = stdout
|
/system/extras/tests/memeater/ |
D | memeater.c | 63 fflush(stdout); in main() 78 fflush(stdout); in main()
|
/system/security/keystore/ |
D | keystore_cli.cpp | 130 fwrite(&data[0], data.size(), 1, stdout); \ 131 fflush(stdout); \ 172 fwrite(&data[0], data.size(), 1, stdout); \ 173 fflush(stdout); \
|
/system/extras/systrace_analysis/ |
D | analyze_trace.py | 52 js_args=js_args_arg, stdout=sys.stdout, stdin=sys.stdin);
|
/system/core/adb/client/ |
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()
|
/system/nvram/client/ |
D | nvram_client.c | 173 fputs(",", stdout); in HandleGetSpaceList() 177 fputs("\n", stdout); in HandleGetSpaceList() 218 fputs(",", stdout); in HandleGetSpaceControls() 222 fputs(name, stdout); in HandleGetSpaceControls() 227 fputs("", stdout); in HandleGetSpaceControls() 325 fwrite(buffer, sizeof(uint8_t), size, stdout); in HandleReadSpace() 326 fputs("\n", stdout); in HandleReadSpace()
|
/system/update_engine/payload_generator/ |
D | squashfs_filesystem.cc | 84 string stdout, stderr; in GetFileMapContent() local 86 if (!Subprocess::SynchronousExec(cmd, &exit_code, &stdout, &stderr) || in GetFileMapContent() 89 << stdout << " and stderr content: " << stderr; in GetFileMapContent() 112 string stdout, stderr; in GetUpdateEngineConfig() local 114 if (!Subprocess::SynchronousExec(cmd, &exit_code, &stdout, &stderr) || in GetUpdateEngineConfig() 117 << stdout << " and stderr: " << stderr; in GetUpdateEngineConfig()
|
/system/extras/bootctl/ |
D | bootctl.cpp | 73 fprintf(stdout, in do_hal_info() 83 fprintf(stdout, "%u\n", numSlots); in do_get_number_slots() 90 fprintf(stdout, "%u\n", curSlot); in do_get_current_slot() 211 fprintf(stdout, "%s\n", ss.str().c_str()); in do_get_snapshot_merge_status() 217 fprintf(stdout, "%s\n", suffix.c_str()); in do_get_suffix()
|
/system/bt/test/headless/nop/ |
D | nop.cc | 31 fprintf(stdout, "Nop loop:%lu\n", loop_); in Run()
|