Searched refs:timeout_ms (Results 1 - 25 of 31) sorted by relevance

12

/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dclient_channel_factory.h15 int64_t timeout_ms) const = 0;
H A Dmock_client_channel_factory.h13 Connect, Status<std::unique_ptr<ClientChannel>>(int64_t timeout_ms));
H A Dclient.h58 int64_t timeout_ms = kInfiniteTimeout);
/frameworks/native/cmds/dumpstate/
H A DDumpstateUtil.h79 CommandOptionsValues(int64_t timeout_ms);
115 CommandOptionsBuilder(int64_t timeout_ms);
137 static CommandOptionsBuilder WithTimeoutInMs(int64_t timeout_ms);
H A DDumpstateUtil.cpp46 static bool waitpid_with_timeout(pid_t pid, int timeout_ms, int* status) { argument
57 ts.tv_sec = MSEC_TO_SEC(timeout_ms);
58 ts.tv_nsec = (timeout_ms % 1000) * 1000000;
95 CommandOptions::CommandOptionsBuilder::CommandOptionsBuilder(int64_t timeout_ms) : values(timeout_ms) { argument
134 CommandOptions::CommandOptionsValues::CommandOptionsValues(int64_t timeout_ms) argument
135 : timeout_ms_(timeout_ms),
173 CommandOptions::CommandOptionsBuilder CommandOptions::WithTimeoutInMs(int64_t timeout_ms) { argument
174 return CommandOptions::CommandOptionsBuilder(timeout_ms);
H A Ddumpstate.cpp679 unsigned long timeout_ms = 0; local
684 timeout_ms += 10 * (property_size + worst_write_perf) / worst_write_perf;
686 return timeout_ms > MINIMUM_LOGCAT_TIMEOUT_MS ? timeout_ms : MINIMUM_LOGCAT_TIMEOUT_MS;
880 unsigned long timeout_ms = logcat_timeout({"kernel"}); local
884 CommandOptions::WithTimeoutInMs(timeout_ms).Build());
888 unsigned long timeout_ms; local
891 timeout_ms = logcat_timeout({"main", "system", "crash"});
894 CommandOptions::WithTimeoutInMs(timeout_ms).Build());
895 timeout_ms
[all...]
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
H A Dvsync_client.h60 explicit VSyncClient(long timeout_ms);
/frameworks/native/libs/vr/libdisplay/
H A Dvsync_client.cpp14 VSyncClient::VSyncClient(long timeout_ms) argument
17 timeout_ms) {}
/frameworks/native/libs/vr/libpdx_uds/private/uds/
H A Dclient_channel_factory.h19 int64_t timeout_ms) const override;
H A Dchannel_event_set.h66 Status<int> PollPendingEvents(int timeout_ms) const;
H A Dipc_helper.h215 int64_t timeout_ms);
/frameworks/native/libs/vr/libbufferhub/
H A Ddetached_buffer.cpp85 int DetachedBuffer::Poll(int timeout_ms) { argument
88 return poll(&p, 1, timeout_ms);
H A Dbuffer_hub_client.cpp212 int BufferHubBuffer::Poll(int timeout_ms) { argument
215 return poll(&p, 1, timeout_ms);
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
H A Ddetached_buffer.h52 // Polls the fd for |timeout_ms| milliseconds (-1 for infinity).
53 int Poll(int timeout_ms);
H A Dbuffer_hub_client.h45 // Polls the fd for |timeout_ms| milliseconds (-1 for infinity).
46 int Poll(int timeout_ms);
/frameworks/native/libs/vr/libpdx_uds/
H A Dchannel_event_set.cpp116 Status<int> ChannelEventReceiver::PollPendingEvents(int timeout_ms) const {
120 if (RETRY_EINTR(poll(pfds.data(), pfds.size(), timeout_ms)) < 0) {
H A Dclient_channel_factory.cpp58 int64_t timeout_ms) const {
74 bool use_timeout = (timeout_ms >= 0);
76 auto time_end = now + std::chrono::milliseconds{timeout_ms};
H A Dipc_helper.cpp413 int64_t timeout_ms) {
479 ret = poll(&pfd, 1, timeout_ms);
412 WaitForEndpoint(const std::string& endpoint_path, int64_t timeout_ms) argument
/frameworks/native/libs/vr/libpdx_default_transport/
H A Dpdx_tool.cpp22 explicit ControlClient(const std::string& service_path, long timeout_ms);
51 ControlClient::ControlClient(const std::string& service_path, long timeout_ms) argument
52 : BASE{ClientChannelFactory::Create(service_path), timeout_ms} {}
/frameworks/base/services/core/jni/
H A Dcom_android_server_VibratorService.cpp110 static void vibratorOn(JNIEnv* /* env */, jobject /* clazz */, jlong timeout_ms) argument
112 Status retStatus = halCall(&V1_0::IVibrator::on, timeout_ms).withDefault(Status::UNKNOWN_ERROR);
/frameworks/native/libs/vr/libpdx/
H A Dclient.cpp63 int64_t timeout_ms)
65 auto status = channel_factory_->Connect(timeout_ms);
62 Client(std::unique_ptr<ClientChannelFactory> channel_factory, int64_t timeout_ms) argument
H A Dclient_tests.cpp64 int64_t timeout_ms)
65 : BASE{std::move(channel_factory), timeout_ms} {
66 EnableAutoReconnect(timeout_ms); variable
117 Status<std::unique_ptr<ClientChannel>> OnConnect(int64_t /*timeout_ms*/) {
63 SimpleClient(std::unique_ptr<ClientChannelFactory> channel_factory, int64_t timeout_ms) argument
/frameworks/native/libs/binder/tests/
H A DbinderDriverInterfaceTest.cpp133 void binderWaitForReadData(int timeout_ms) { argument
139 ret = poll(&pfd, 1, timeout_ms);
/frameworks/native/libs/vr/libvrflinger/
H A Dhardware_composer.h414 // control thread, or timeout_ms is reached before any events occur. Any
419 int requested_events, int timeout_ms);
/frameworks/native/libs/vr/libbufferhubqueue/tests/
H A Dbuffer_hub_queue-test.cpp65 bool WaitAndHandleOnce(BufferHubQueue* queue, int timeout_ms) { argument
69 ret = poll(&pfd, 1, timeout_ms);

Completed in 397 milliseconds

12