/hardware/google/pixel/power-libperfmgr/libperfmgr/ |
D | NodeLooperThread.cc | 56 if (a.timeout_ms != std::chrono::milliseconds::zero()) { in Request() 61 ReqTime::max() - now) > a.timeout_ms) { in Request() 62 end_time = now + a.timeout_ms; in Request() 108 std::chrono::milliseconds timeout_ms = kMaxUpdatePeriod; in threadLoop() local 118 timeout_ms = std::min(n->Update(true), timeout_ms); in threadLoop() 123 if (timeout_ms.count() < sleep_timeout_ns / 1000 / 1000) { in threadLoop() 124 sleep_timeout_ns = timeout_ms.count() * 1000 * 1000; in threadLoop()
|
D | HintManager.cc | 91 return act1.timeout_ms < act2.timeout_ms; in InitHintStatus() 93 timeout = min->timeout_ms == kMilliSecondZero ? kMilliSecondZero : max->timeout_ms; in InitHintStatus() 100 void HintManager::DoHintStatus(const std::string &hint_type, std::chrono::milliseconds timeout_ms) { in DoHintStatus() argument 104 ATRACE_INT(("H:" + hint_type).c_str(), (timeout_ms == kMilliSecondZero) in DoHintStatus() 106 : timeout_ms.count()); in DoHintStatus() 107 ATRACE_NAME(("H:" + hint_type + ":" + std::to_string((timeout_ms == kMilliSecondZero) in DoHintStatus() 109 : timeout_ms.count())).c_str()); in DoHintStatus() 119 (timeout_ms == kMilliSecondZero) ? kTimePointMax : now + timeout_ms; in DoHintStatus() 198 action.timeout_ms = timeout_ms_override; in DoHint()
|
/hardware/libhardware/modules/vibrator/ |
D | vibrator.c | 80 static int sendit(unsigned int timeout_ms) in sendit() argument 84 snprintf(value, sizeof(value), "%u", timeout_ms); in sendit() 88 static int vibra_on(vibrator_device_t* vibradev __unused, unsigned int timeout_ms) in vibra_on() argument 91 return sendit(timeout_ms); in vibra_on() 117 static int vibra_led_on(vibrator_device_t* vibradev __unused, unsigned int timeout_ms) in vibra_led_on() argument 126 snprintf(value, sizeof(value), "%u\n", timeout_ms); in vibra_led_on()
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/ |
D | NodeLooperThread.h | 37 std::chrono::milliseconds timeout_ms, const std::string &enable_property = "") 40 timeout_ms(timeout_ms), in node_index() 44 std::chrono::milliseconds timeout_ms; // 0ms for forever member
|
/hardware/interfaces/vibrator/1.0/default/ |
D | Vibrator.cpp | 37 Return<Status> Vibrator::on(uint32_t timeout_ms) { in on() argument 38 int32_t ret = mDevice->vibrator_on(mDevice, timeout_ms); in on()
|
/hardware/libhardware/include/hardware/ |
D | vibrator.h | 55 int (*vibrator_on)(struct vibrator_device* vibradev, unsigned int timeout_ms);
|
/hardware/libhardware/include_all/hardware/ |
D | vibrator.h | 55 int (*vibrator_on)(struct vibrator_device* vibradev, unsigned int timeout_ms);
|
/hardware/google/aemu/base/include/aemu/base/sockets/ |
D | SocketWaiter.h | 105 virtual int wait(int64_t timeout_ms) = 0;
|
/hardware/broadcom/libbt/src/ |
D | bt_vendor_brcm.c | 203 uint32_t *timeout_ms = (uint32_t *) param; in op() local 204 *timeout_ms = hw_lpm_get_idle_timeout(); in op()
|
D | hardware.c | 1230 uint32_t timeout_ms; in hw_lpm_get_idle_timeout() local 1235 timeout_ms = (uint32_t)lpm_param.host_stack_idle_threshold \ in hw_lpm_get_idle_timeout() 1238 timeout_ms *= 25; // 12.5 or 25 ? in hw_lpm_get_idle_timeout() 1240 timeout_ms *= 50; in hw_lpm_get_idle_timeout() 1242 timeout_ms *= 1; in hw_lpm_get_idle_timeout() 1244 timeout_ms *= 1; in hw_lpm_get_idle_timeout() 1246 timeout_ms *= 300; in hw_lpm_get_idle_timeout() 1248 return timeout_ms; in hw_lpm_get_idle_timeout()
|
/hardware/google/pixel/power-libperfmgr/disp-power/ |
D | InteractionHandler.cpp | 217 void InteractionHandler::WaitForIdle(int32_t wait_ms, int32_t timeout_ms) { in WaitForIdle() argument 224 ALOGV("%s: wait:%d timeout:%d", __func__, wait_ms, timeout_ms); in WaitForIdle() 251 ret = poll(pfd, 2, timeout_ms); in WaitForIdle()
|
D | InteractionHandler.h | 49 void WaitForIdle(int32_t wait_ms, int32_t timeout_ms);
|
/hardware/interfaces/bluetooth/1.0/default/test/fuzzer/ |
D | bt_vendor.cpp | 97 uint32_t* timeout_ms = (uint32_t*)param; in testOperations() local 98 *timeout_ms = 0; in testOperations()
|
/hardware/interfaces/tv/tuner/aidl/default/ |
D | dtv_plugin_api.h | 122 ssize_t (*read_stream)(struct dtv_streamer* streamer, void* buf, size_t count, int timeout_ms);
|
/hardware/google/pixel/usb/include/pixelusb/ |
D | MonitorFfs.h | 81 bool waitForPullUp(int timeout_ms);
|
/hardware/interfaces/bluetooth/audio/utils/aidl_session/ |
D | BluetoothAudioSession.cpp | 419 int timeout_ms = kFmqSendTimeoutMs; in OutWritePcmData() local 439 } else if (timeout_ms >= kWritePollMs) { in OutWritePcmData() 442 timeout_ms -= kWritePollMs; in OutWritePcmData() 445 << (kFmqSendTimeoutMs - timeout_ms) << " ms"; in OutWritePcmData() 457 int timeout_ms = kFmqReceiveTimeoutMs; in InReadPcmData() local 475 } else if (timeout_ms >= kReadPollMs) { in InReadPcmData() 478 timeout_ms -= kReadPollMs; in InReadPcmData() 482 << (kFmqReceiveTimeoutMs - timeout_ms) << " ms"; in InReadPcmData()
|
/hardware/nxp/uwb/halimpl/hal/ |
D | phNxpUciHal.h | 182 tHAL_UWB_STATUS Wait(long timeout_ms) { in Wait() argument 188 sem->wait_timeout_msec(timeout_ms); in Wait()
|
/hardware/google/camera/common/hal/tests/ |
D | camera_device_session_tests.cc | 262 status_t WaitForResult(const CaptureRequest& request, uint32_t timeout_ms) { in WaitForResult() argument 269 lock, std::chrono::milliseconds(timeout_ms), in WaitForResult() 287 status_t WaitForShutter(uint32_t frame_number, uint32_t timeout_ms) { in WaitForShutter() argument 294 lock, std::chrono::milliseconds(timeout_ms), in WaitForShutter()
|
/hardware/interfaces/usb/gadget/1.1/default/lib/ |
D | MonitorFfs.cpp | 224 bool MonitorFfs::waitForPullUp(int timeout_ms) { in waitForPullUp() argument 229 if (mCv.wait_for(lk, timeout_ms * 1ms, [] { return gadgetPullup; })) { in waitForPullUp()
|
/hardware/interfaces/usb/gadget/1.2/default/lib/ |
D | MonitorFfs.cpp | 224 bool MonitorFfs::waitForPullUp(int timeout_ms) { in waitForPullUp() argument 229 if (mCv.wait_for(lk, timeout_ms * 1ms, [] { return gadgetPullup; })) { in waitForPullUp()
|
/hardware/google/pixel/usb/ |
D | MonitorFfs.cpp | 267 bool MonitorFfs::waitForPullUp(int timeout_ms) { in waitForPullUp() argument 273 if (mCv.wait_for(lk, timeout_ms * 1ms, [] { return gadgetPullup; })) { in waitForPullUp()
|
/hardware/interfaces/usb/gadget/1.1/default/lib/include/ |
D | UsbGadgetCommon.h | 139 bool waitForPullUp(int timeout_ms);
|
/hardware/interfaces/usb/gadget/1.2/default/lib/include/ |
D | UsbGadgetCommon.h | 141 bool waitForPullUp(int timeout_ms);
|
/hardware/interfaces/bluetooth/async/test/ |
D | async_fd_watcher_unittest.cc | 150 void SetTimeout(std::chrono::milliseconds timeout_ms) { in SetTimeout() argument 152 async_fd_watcher_.ConfigureTimeout(timeout_ms, [this]() { OnTimeout(); }); in SetTimeout()
|
/hardware/interfaces/bluetooth/1.0/default/test/ |
D | async_fd_watcher_unittest.cc | 152 void SetTimeout(std::chrono::milliseconds timeout_ms) { in SetTimeout() argument 154 async_fd_watcher_.ConfigureTimeout(timeout_ms, [this]() { OnTimeout(); }); in SetTimeout()
|