/frameworks/native/cmds/dumpstate/ |
D | DumpstateUtil.cpp | 46 static bool waitpid_with_timeout(pid_t pid, int timeout_ms, int* status) { in waitpid_with_timeout() argument 72 ts.tv_sec = MSEC_TO_SEC(timeout_ms); in waitpid_with_timeout() 73 ts.tv_nsec = (timeout_ms % 1000) * 1000000; in waitpid_with_timeout() 110 …andOptions::CommandOptionsBuilder::CommandOptionsBuilder(int64_t timeout_ms) : values(timeout_ms) { in CommandOptionsBuilder() argument 158 CommandOptions::CommandOptionsValues::CommandOptionsValues(int64_t timeout_ms) in CommandOptionsValues() argument 159 : timeout_ms_(timeout_ms), in CommandOptionsValues() 202 CommandOptions::CommandOptionsBuilder CommandOptions::WithTimeoutInMs(int64_t timeout_ms) { in WithTimeoutInMs() argument 203 return CommandOptions::CommandOptionsBuilder(timeout_ms); in WithTimeoutInMs()
|
D | DumpstateUtil.h | 80 explicit CommandOptionsValues(int64_t timeout_ms); 131 explicit CommandOptionsBuilder(int64_t timeout_ms); 155 static CommandOptionsBuilder WithTimeoutInMs(int64_t timeout_ms);
|
D | dumpstate.cpp | 732 unsigned long timeout_ms = 0; in logcat_timeout() local 737 timeout_ms += 10 * (readable_size + worst_write_perf) / worst_write_perf; in logcat_timeout() 740 return timeout_ms > MINIMUM_LOGCAT_TIMEOUT_MS ? timeout_ms : MINIMUM_LOGCAT_TIMEOUT_MS; in logcat_timeout() 996 unsigned long timeout_ms = logcat_timeout({"kernel"}); in DoKernelLogcat() local 1000 CommandOptions::WithTimeoutInMs(timeout_ms).Build()); in DoKernelLogcat() 1007 unsigned long timeout_ms = logcat_timeout({"main", "system", "crash"}); in DoSystemLogcat() local 1011 CommandOptions::WithTimeoutInMs(timeout_ms).Build()); in DoSystemLogcat() 1015 unsigned long timeout_ms = logcat_timeout({"radio"}); in DoRadioLogcat() local 1019 CommandOptions::WithTimeoutInMs(timeout_ms).Build(), true /* verbose_duration */); in DoRadioLogcat() 1023 unsigned long timeout_ms; in DoLogcat() local [all …]
|
/frameworks/base/cmds/incidentd/src/ |
D | incidentd_util.cpp | 182 static bool waitpid_with_timeout(pid_t pid, int timeout_ms, int* status) { in waitpid_with_timeout() argument 208 ts.tv_sec = timeout_ms / 1000; in waitpid_with_timeout() 209 ts.tv_nsec = (timeout_ms % 1000) * 1000000; in waitpid_with_timeout() 249 status_t wait_child(pid_t pid, int timeout_ms) { in wait_child() argument 251 if (waitpid_with_timeout(pid, timeout_ms, &status)) { in wait_child()
|
D | incidentd_util.h | 114 status_t wait_child(pid_t pid, int timeout_ms = 1000);
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | client_channel_factory.cpp | 58 int64_t timeout_ms) const { in Connect() 74 bool use_timeout = (timeout_ms >= 0); in Connect() 76 auto time_end = now + std::chrono::milliseconds{timeout_ms}; in Connect()
|
D | channel_event_set.cpp | 116 Status<int> ChannelEventReceiver::PollPendingEvents(int timeout_ms) const { in PollPendingEvents() 120 if (RETRY_EINTR(poll(pfds.data(), pfds.size(), timeout_ms)) < 0) { in PollPendingEvents()
|
D | ipc_helper.cpp | 413 int64_t timeout_ms) { in WaitForEndpoint() argument 479 ret = poll(&pfd, 1, timeout_ms); in WaitForEndpoint()
|
/frameworks/native/libs/vr/libpdx_default_transport/ |
D | pdx_tool.cpp | 22 explicit ControlClient(const std::string& service_path, long timeout_ms); 51 ControlClient::ControlClient(const std::string& service_path, long timeout_ms) in ControlClient() argument 52 : BASE{ClientChannelFactory::Create(service_path), timeout_ms} {} in ControlClient()
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | mock_client_channel_factory.h | 13 Connect, Status<std::unique_ptr<ClientChannel>>(int64_t timeout_ms));
|
D | client_channel_factory.h | 15 int64_t timeout_ms) const = 0;
|
D | client.h | 58 int64_t timeout_ms = kInfiniteTimeout);
|
/frameworks/native/libs/vr/libpdx_uds/private/uds/ |
D | client_channel_factory.h | 19 int64_t timeout_ms) const override;
|
D | channel_event_set.h | 66 Status<int> PollPendingEvents(int timeout_ms) const;
|
D | ipc_helper.h | 216 int64_t timeout_ms);
|
/frameworks/native/libs/tracing_perfetto/tests/ |
D | utils.cpp | 140 bool TracingSession::FlushBlocking(uint32_t timeout_ms) { in FlushBlocking() argument 148 session_, timeout_ms, in FlushBlocking()
|
/frameworks/native/libs/vr/libpdx/ |
D | client.cpp | 63 int64_t timeout_ms) in Client() argument 65 auto status = channel_factory_->Connect(timeout_ms);
|
D | client_tests.cpp | 64 int64_t timeout_ms) in SimpleClient() argument 65 : BASE{std::move(channel_factory), timeout_ms} { in SimpleClient() 66 EnableAutoReconnect(timeout_ms);
|
/frameworks/native/libs/binder/tests/ |
D | binderDriverInterfaceTest.cpp | 133 void binderWaitForReadData(int timeout_ms) { in binderWaitForReadData() argument 139 ret = poll(&pfd, 1, timeout_ms); in binderWaitForReadData()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_am_CachedAppOptimizer.cpp | 532 jint timeout_ms) { in com_android_server_am_CachedAppOptimizer_freezeBinder() argument 533 jint retVal = IPCThreadState::freeze(pid, freeze, timeout_ms); in com_android_server_am_CachedAppOptimizer_freezeBinder()
|
/frameworks/native/include/binder/ |
D | IPCThreadState.h | 55 LIBBINDER_EXPORTED static status_t freeze(pid_t pid, bool enabled, uint32_t timeout_ms);
|
/frameworks/native/libs/binder/include/binder/ |
D | IPCThreadState.h | 55 LIBBINDER_EXPORTED static status_t freeze(pid_t pid, bool enabled, uint32_t timeout_ms);
|
/frameworks/native/libs/vr/libbufferhub/ |
D | buffer_hub-test.cpp | 49 int timeout_ms = kPollTimeoutMs) { in PollBufferEvent() argument 51 return poll(&p, 1, timeout_ms); in PollBufferEvent() 640 int PollFd(int fd, int timeout_ms) { in PollFd() argument 642 return poll(&p, 1, timeout_ms); in PollFd()
|
/frameworks/native/cmds/installd/ |
D | utils.h | 169 int wait_child_with_timeout(pid_t pid, int timeout_ms);
|
/frameworks/native/libs/binder/ |
D | IPCThreadState.cpp | 1548 status_t IPCThreadState::freeze(pid_t pid, bool enable, uint32_t timeout_ms) { in freeze() argument 1554 info.timeout_ms = timeout_ms; in freeze()
|