Searched refs:timeout_ms (Results 1 – 8 of 8) sorted by relevance
/device/generic/goldfish/vibrator/ |
D | vibrator_qemu.c | 27 static int sendit(unsigned int timeout_ms) in sendit() argument 30 if (qemu_control_command("vibrator:%u", timeout_ms) < 0) { in sendit() 39 static int qemu_vibra_on(vibrator_device_t* vibradev __unused, unsigned int timeout_ms) in qemu_vibra_on() argument 41 return sendit(timeout_ms); in qemu_vibra_on()
|
/device/google/contexthub/util/nanotool/ |
D | contexthub.h | 234 int timeout_ms = 0); 256 int timeout_ms) = 0; 266 int timeout_ms = 0);
|
D | contexthub.cpp | 516 std::function<bool(const AppToHostEvent&)> callback, int timeout_ms) { in ReadAppEvents() argument 520 bool timeout_required = timeout_ms > 0; in ReadAppEvents() 524 if (timeout_required && timeout_ms <= 0) { in ReadAppEvents() 531 result = ReadEvent(&event, timeout_ms); in ReadAppEvents() 535 timeout_ms -= std::chrono::duration_cast<Milliseconds>(delta).count(); in ReadAppEvents() 600 std::unique_ptr<ReadEventResponse>* response, int timeout_ms) { in ReadEvent() argument 602 ContextHub::TransportResult result = ReadEvent(responseBuf, timeout_ms); in ReadEvent()
|
D | androidcontexthub.h | 46 int timeout_ms) override;
|
D | androidcontexthub.cpp | 238 std::vector<uint8_t>& message, int timeout_ms) { in ReadEvent() argument 244 int timeout = timeout_ms > 0 ? timeout_ms : kPollNoTimeout; in ReadEvent()
|
/device/google/marlin/vibrator/ |
D | Vibrator.cpp | 48 Return<Status> Vibrator::on(uint32_t timeout_ms) { in on() argument 49 mEnable << timeout_ms << std::endl; in on()
|
/device/google/wahoo/power/ |
D | InteractionHandler.cpp | 199 void InteractionHandler::WaitForIdle(int32_t wait_ms, int32_t timeout_ms) { in WaitForIdle() argument 206 ALOGV("%s: wait:%d timeout:%d", __func__, wait_ms, timeout_ms); in WaitForIdle() 233 ret = poll(pfd, 2, timeout_ms); in WaitForIdle()
|
D | InteractionHandler.h | 40 void WaitForIdle(int32_t wait_ms, int32_t timeout_ms);
|