Home
last modified time | relevance | path

Searched refs:stdout (Results 1 – 25 of 176) sorted by relevance

12345678

/system/bt/tools/bdtool/
Dadapter.c104 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 …]
Dbdtool.c93 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/test/headless/read/
Dname.cc38 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/bt/tools/scripts/
Dbtsnooz.py84 sys.stdout.write('btsnoop\x00\x00\x00\x00\x01\x00\x00\x03\xea')
111 sys.stdout.write(struct.pack('>II', length, length))
112 sys.stdout.write(struct.pack('>II', type_to_direction(type), 0))
113 …sys.stdout.write(struct.pack('>II', (first_timestamp_ms >> 32), (first_timestamp_ms & 0xFFFFFFFF)))
114 sys.stdout.write(type_to_hci(type))
115 sys.stdout.write(decompressed[offset:offset + length - 1])
138 sys.stdout.write(struct.pack('>II', packet_length, length))
139 sys.stdout.write(struct.pack('>II', type_to_direction(snooz_type), 0))
140 …sys.stdout.write(struct.pack('>II', (first_timestamp_ms >> 32), (first_timestamp_ms & 0xFFFFFFFF)))
141 sys.stdout.write(type_to_hci(snooz_type))
[all …]
Ddump_metrics_ascii.py97 stdout=subprocess.PIPE,
130 stdout, stderr = dump_metrics()
131 stdout = stdout.strip()
133 bluetooth_log = get_bluetooth_metrics(stdout, bluetooth_proto_module)
Dyapf_checker.py62 …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/connect/
Dconnect.cc45 fprintf(stdout, "Got callback\n"); in power_mode_callback()
85 fprintf(stdout, "Creating connection to:%s\n", bd_addr.ToString().c_str()); in do_connect()
90 fprintf(stdout, "Connected created to:%s result:%s[%u]\n", in do_connect()
100 fprintf(stdout, "Just crushing stack\n"); in do_connect()
105 fprintf(stdout, "Waiting to disconnect from supervision timeout\n"); in do_connect()
112 fprintf(stdout, "Disconnected after:%" PRId64 "ms from:%s result:%s[%u]\n", in do_connect()
118 fprintf(stdout, "Waiting %d seconds to just shutdown\n", in do_connect()
/system/libbase/
Dtest_utils_test.cpp50 fflush(stdout); in TEST()
53 fflush(stdout); in TEST()
58 fflush(stdout); in TEST()
63 fflush(stdout); in TEST()
67 fflush(stdout); in TEST()
/system/bt/test/headless/sdp/
Dsdp.cc89 fprintf(stdout, "%s Unable to initialize sdp discovery\n", __func__); in sdp_query_uuid()
96 sdp_discovery_db.Print(stdout); in sdp_query_uuid()
101 fprintf(stdout, "%s Failed to start search attribute request\n", __func__); in sdp_query_uuid()
107 fprintf(stdout, "Failed search discovery result:%s\n", in sdp_query_uuid()
115 fprintf(stdout, "discovery record is null from:%s uuid:%s\n", in sdp_query_uuid()
118 fprintf(stdout, "result:%d attr_id:%x from:%s uuid:%s\n", result, in sdp_query_uuid()
/system/update_engine/common/
Dsubprocess.cc127 record->stdout.append(buf, bytes_read); in OnStdoutReady()
155 if (!record->stdout.empty()) { in ChildExitedCallback()
156 LOG(INFO) << "Subprocess output:\n" << record->stdout; in ChildExitedCallback()
159 record->callback.Run(info.si_status, record->stdout); in ChildExitedCallback()
233 string* stdout, in SynchronousExec() argument
237 return SynchronousExecFlags(cmd, kSearchPath, return_code, stdout, stderr); in SynchronousExec()
243 string* stdout, in SynchronousExecFlags() argument
251 if (stdout) { in SynchronousExecFlags()
252 stdout->clear(); in SynchronousExecFlags()
270 } else if (stdout != nullptr) { in SynchronousExecFlags()
[all …]
Dsubprocess.h99 std::string* stdout,
104 std::string* stdout,
134 std::string stdout; member
/system/chre/host/common/include/chre_host/
Dlog.h41 #define LOGW(format, ...) CHRE_LOG(LOG_WARN, stdout, format, ##__VA_ARGS__)
42 #define LOGI(format, ...) CHRE_LOG(LOG_INFO, stdout, format, ##__VA_ARGS__)
43 #define LOGD(format, ...) CHRE_LOG(LOG_DEBUG, stdout, format, ##__VA_ARGS__)
51 #define LOGV(format, ...) CHRE_LOG(LOG_VERBOSE, stdout, format, ##__VA_ARGS__)
/system/bt/test/headless/
Dget_options.cc53 fprintf(stdout, "%s: Usage:\n", name_); in Usage()
54 fprintf(stdout, "%s -c Clear logcat logs\n", name_); in Usage()
55 fprintf(stdout, in Usage()
58 fprintf(stdout, in Usage()
61 fprintf(stdout, "%s --uuid=<uuid,> Comma separated list of uuids\n", in Usage()
63 fprintf(stdout, "%s --loop=<loop> Number of loops\n", name_); in Usage()
64 fprintf(stdout, "%s --msleep=<msecs> Sleep msec between loops\n", name_); in Usage()
65 fprintf(stdout, "%s --stderr Dump stderr to stdout\n", name_); in Usage()
/system/tools/aidl/tests/
Daidl_integration_test.py33 def __init__(self, exit_status, stdout, stderr): argument
41 self.stdout = stdout
49 for line in self.stdout.splitlines():
94 stdout=subprocess.PIPE, stderr=subprocess.PIPE,
96 stdout, stderr = p.communicate()
99 return ShellResult(p.returncode, stdout, stderr)
118 raise TestFail(result.stdout)
159 if re.search(INSTRUMENTATION_SUCCESS_PATTERN, result.stdout) is None:
160 raise TestFail(result.stdout)
163 return host.run('getprop "%s"' % prop).stdout.strip()
[all …]
/system/libziparchive/cli-tests/
Dzipinfo.test11 expected-stdout:
23 expected-stdout:
30 expected-stdout:
37 expected-stdout:
44 expected-stdout:
51 expected-stdout:
Dunzip.test12 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/
Dprint_current_chre_api_version.c21 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/unwinding/libunwindstack/tests/files/
Dboot_arm.oat.gnu_debugdata.txt4 $ xz --stdout boot_arm.oat.gnu_debugdata > boot_arm.oat.gnu_debugdata.xz.one-block
5 $ xz --block-list=256,65536 --stdout boot_arm.oat.gnu_debugdata > boot_arm.oat.gnu_debugdata.xz.odd…
6 $ xz --block-size=100000 --stdout boot_arm.oat.gnu_debugdata > boot_arm.oat.gnu_debugdata.xz.non-po…
/system/bt/test/headless/pairing/
Dpairing.cc31 fprintf(stdout, "This test requires at least a single loop"); in Run()
36 fprintf(stdout, "This test requires a single device specified"); in Run()
/system/libvintf/
DVintfFmMain.cpp24 fflush(stdout); in PlainLogger()
27 fprintf(stdout, "%s\n", message); in PlainLogger()
/system/extras/tests/memeater/
Dmemeater.c63 fflush(stdout); in main()
78 fflush(stdout); in main()
/system/update_engine/scripts/
Dpayload_info_unittest.py198 stdout = sys.stdout
200 sys.stdout = StringIO()
201 yield sys.stdout
203 sys.stdout = stdout
/system/extras/systrace_analysis/
Danalyze_trace.py52 js_args=js_args_arg, stdout=sys.stdout, stdin=sys.stdin);
/system/extras/bootctl/
Dbootctl.cpp74 fprintf(stdout, "HAL Version: %s\n", descriptor.c_str()); in do_hal_info()
81 fprintf(stdout, "%u\n", numSlots); in do_get_number_slots()
87 fprintf(stdout, "%u\n", curSlot); in do_get_current_slot()
114 fprintf(stdout, "%u\n", slot); in do_get_active_boot_slot()
204 fprintf(stdout, "%s\n", ss.str().c_str()); in do_get_snapshot_merge_status()
210 fprintf(stdout, "%s\n", suffix.c_str()); in do_get_suffix()
/system/nvram/client/
Dnvram_client.c173 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()

12345678