HomeSort by relevance Sort by last modified time
    Searched refs:timeout_ms (Results 1 - 25 of 286) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /system/core/libsuspend/
autosuspend_ops.h 23 int (*force_suspend)(int timeout_ms);
autosuspend.c 91 int autosuspend_force_suspend(int timeout_ms) {
101 return autosuspend_ops->force_suspend(timeout_ms);
  /external/libchrome/dbus/
mock_object_proxy.h 31 int timeout_ms,
35 int timeout_ms,
38 MockCallMethodAndBlockWithErrorDetails(method_call, timeout_ms, error));
41 int timeout_ms));
43 int timeout_ms) override {
45 MockCallMethodAndBlock(method_call, timeout_ms));
48 int timeout_ms,
51 int timeout_ms,
  /external/perf_data_converter/src/quipper/compat/
thread.h 42 // Wait for up to |timeout_ms| for a notification. Returns true if the
45 virtual bool WaitWithTimeout(int timeout_ms) = 0;
  /frameworks/native/libs/vr/libpdx/private/pdx/
client_channel_factory.h 15 int64_t timeout_ms) const = 0;
mock_client_channel_factory.h 13 Connect, Status<std::unique_ptr<ClientChannel>>(int64_t timeout_ms));
  /system/core/libsuspend/include/suspend/
autosuspend.h 50 * Forces suspend to happen. timeout_ms is used to give system a chance to suspend gracefully.
51 * When timeout expires, suspend will be forced via mem --> /sys/power/state. timeout_ms of 0
56 int autosuspend_force_suspend(int timeout_ms);
  /external/curl/lib/
select.c 75 int Curl_wait_ms(int timeout_ms)
87 if(!timeout_ms)
89 if(timeout_ms < 0) {
94 delay(timeout_ms);
96 Sleep(timeout_ms);
98 pending_ms = timeout_ms;
113 pending_ms = timeout_ms - ELAPSED_MS();
148 time_t timeout_ms) /* milliseconds to wait */
169 if(timeout_ms >= INT_MAX)
170 timeout_ms = INT_MAX
    [all...]
select.h 77 time_t timeout_ms);
84 int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);
92 int Curl_wait_ms(int timeout_ms);
  /external/libmojo/mojo/android/javatests/
mojo_test_case.cc 53 jlong timeout_ms) {
55 if (timeout_ms) {
58 base::TimeDelta::FromMilliseconds(timeout_ms));
  /system/core/libcutils/
sockets_windows.cpp 57 int socket_set_receive_timeout(cutils_socket_t sock, int timeout_ms) {
59 reinterpret_cast<char*>(&timeout_ms), sizeof(timeout_ms));
  /system/extras/libperfmgr/
NodeLooperThread.cc 48 if (a.timeout_ms != std::chrono::milliseconds::zero()) {
50 // Overflow protection in case timeout_ms is too big to overflow
53 ReqTime::max() - now) > a.timeout_ms) {
54 end_time = now + a.timeout_ms;
100 std::chrono::milliseconds timeout_ms = kMaxUpdatePeriod; local
103 timeout_ms = std::min(t, timeout_ms);
107 if (timeout_ms.count() < sleep_timeout_ns / 1000 / 1000) {
108 sleep_timeout_ns = timeout_ms.count() * 1000 * 1000;
  /device/generic/goldfish/vibrator/
vibrator_qemu.c 27 static int sendit(unsigned int timeout_ms)
30 if (qemu_control_command("vibrator:%u", timeout_ms) < 0) {
39 static int qemu_vibra_on(vibrator_device_t* vibradev __unused, unsigned int timeout_ms)
41 return sendit(timeout_ms);
  /system/extras/libperfmgr/include/perfmgr/
NodeLooperThread.h 35 std::chrono::milliseconds timeout_ms)
38 timeout_ms(timeout_ms) {}
41 std::chrono::milliseconds timeout_ms; // 0ms for forever member in struct:android::perfmgr::NodeAction
  /hardware/libhardware/modules/vibrator/
vibrator.c 80 static int sendit(unsigned int timeout_ms)
84 snprintf(value, sizeof(value), "%u", timeout_ms);
88 static int vibra_on(vibrator_device_t* vibradev __unused, unsigned int timeout_ms)
91 return sendit(timeout_ms);
117 static int vibra_led_on(vibrator_device_t* vibradev __unused, unsigned int timeout_ms)
126 snprintf(value, sizeof(value), "%u\n", timeout_ms);
  /external/perf_data_converter/src/quipper/compat/cros/detail/
thread.h 38 bool WaitWithTimeout(int timeout_ms) override {
39 return event_.TimedWait(base::TimeDelta::FromMilliseconds(timeout_ms));
  /external/perf_data_converter/src/quipper/compat/non_cros/detail/
thread.h 37 bool WaitWithTimeout(int timeout_ms) override {
39 return event_.wait_for(lock, std::chrono::milliseconds(timeout_ms)) ==
  /packages/services/Car/evs/app/
EvsVehicleListener.h 53 bool waitForEvents(int timeout_ms) {
55 std::cv_status result = mEventCond.wait_for(g, std::chrono::milliseconds(timeout_ms));
  /system/core/debuggerd/include/debuggerd/
client.h 29 bool debuggerd_trigger_dump(pid_t pid, enum DebuggerdDumpType dump_type, unsigned int timeout_ms,
  /art/runtime/
barrier.cc 72 bool Barrier::Increment(Thread* self, int delta, uint32_t timeout_ms) {
78 uint64_t abs_timeout = NanoTime() + MsToNs(timeout_ms);
80 timed_out = condition_.TimedWait(self, timeout_ms, timeout_ns);
87 timeout_ms = time_left / (1000*1000);
  /frameworks/native/libs/vr/libdisplay/include/private/dvr/
vsync_client.h 60 explicit VSyncClient(long timeout_ms);
  /hardware/libhardware/include/hardware/
vibrator.h 51 * @param timeout_ms number of milliseconds to vibrate
55 int (*vibrator_on)(struct vibrator_device* vibradev, unsigned int timeout_ms);
  /frameworks/native/cmds/dumpstate/
DumpstateUtil.h 79 CommandOptionsValues(int64_t timeout_ms);
115 CommandOptionsBuilder(int64_t timeout_ms);
137 static CommandOptionsBuilder WithTimeoutInMs(int64_t timeout_ms);
  /system/core/fastboot/
socket.cpp 51 ssize_t Socket::ReceiveAll(void* data, size_t length, int timeout_ms) {
55 ssize_t bytes = Receive(reinterpret_cast<char*>(data) + total, length - total, timeout_ms);
77 bool Socket::WaitForRecv(int timeout_ms) {
80 // In our usage |timeout_ms| <= 0 means block forever, so just return true immediately and let
82 if (timeout_ms <= 0) {
86 // select() doesn't always check this case and will block for |timeout_ms| if we let it.
96 timeout.tv_sec = timeout_ms / 1000;
97 timeout.tv_usec = (timeout_ms % 1000) * 1000;
116 ssize_t Receive(void* data, size_t length, int timeout_ms) override;
151 ssize_t UdpSocket::Receive(void* data, size_t length, int timeout_ms) {
    [all...]
socket.h 83 // Waits up to |timeout_ms| to receive up to |length| bytes of data. |timout_ms| of 0 will
86 virtual ssize_t Receive(void* data, size_t length, int timeout_ms) = 0;
89 virtual ssize_t ReceiveAll(void* data, size_t length, int timeout_ms);
109 // Blocks up to |timeout_ms| until a read is possible on |sock_|, and sets |receive_timed_out_|
111 // a subsequent recv() on |sock_| will complete without blocking or if |timeout_ms| <= 0.
112 bool WaitForRecv(int timeout_ms);

Completed in 349 milliseconds

1 2 3 4 5 6 7 8 91011>>