Home
last modified time | relevance | path

Searched refs:timeout_ms (Results 1 – 25 of 115) sorted by relevance

12345

/hardware/google/pixel/power-libperfmgr/libperfmgr/
DNodeLooperThread.cc56 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()
DHintManager.cc85 return act1.timeout_ms < act2.timeout_ms; in InitHintStatus()
87 timeout = min->timeout_ms == kMilliSecondZero ? kMilliSecondZero : max->timeout_ms; in InitHintStatus()
94 void HintManager::DoHintStatus(const std::string &hint_type, std::chrono::milliseconds timeout_ms) { in DoHintStatus() argument
98 ATRACE_INT(hint_type.c_str(), (timeout_ms == kMilliSecondZero) ? std::numeric_limits<int>::max() in DoHintStatus()
99 : timeout_ms.count()); in DoHintStatus()
109 (timeout_ms == kMilliSecondZero) ? kTimePointMax : now + timeout_ms; in DoHintStatus()
187 action.timeout_ms = timeout_ms_override; in DoHint()
/hardware/libhardware/modules/vibrator/
Dvibrator.c80 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/
DNodeLooperThread.h37 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/
DVibrator.cpp37 Return<Status> Vibrator::on(uint32_t timeout_ms) { in on() argument
38 int32_t ret = mDevice->vibrator_on(mDevice, timeout_ms); in on()
/hardware/google/gfxstream/guest/mesa/src/util/
Dfutex.c140 DWORD timeout_ms = INFINITE; in futex_wait() local
145 timeout_ms = (timeout->tv_sec - tsnow.tv_nsec) * 1000 + in futex_wait()
149 if (WaitOnAddress(addr, &value, sizeof(value), timeout_ms)) in futex_wait()
/hardware/google/pixel/power-libperfmgr/disp-power/
DInteractionHandler.cpp217 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()
DInteractionHandler.h49 void WaitForIdle(int32_t wait_ms, int32_t timeout_ms);
/hardware/broadcom/libbt/src/
Dbt_vendor_brcm.c203 uint32_t *timeout_ms = (uint32_t *) param; in op() local
204 *timeout_ms = hw_lpm_get_idle_timeout(); in op()
Dhardware.c1230 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/interfaces/bluetooth/audio/utils/aidl_session/
DBluetoothAudioSession.cpp390 int timeout_ms = kFmqSendTimeoutMs; in OutWritePcmData() local
410 } else if (timeout_ms >= kWritePollMs) { in OutWritePcmData()
413 timeout_ms -= kWritePollMs; in OutWritePcmData()
416 << (kFmqSendTimeoutMs - timeout_ms) << " ms"; in OutWritePcmData()
428 int timeout_ms = kFmqReceiveTimeoutMs; in InReadPcmData() local
446 } else if (timeout_ms >= kReadPollMs) { in InReadPcmData()
449 timeout_ms -= kReadPollMs; in InReadPcmData()
453 << (kFmqReceiveTimeoutMs - timeout_ms) << " ms"; in InReadPcmData()
/hardware/interfaces/bluetooth/1.0/default/test/fuzzer/
Dbt_vendor.cpp97 uint32_t* timeout_ms = (uint32_t*)param; in testOperations() local
98 *timeout_ms = 0; in testOperations()
/hardware/libhardware/include/hardware/
Dvibrator.h55 int (*vibrator_on)(struct vibrator_device* vibradev, unsigned int timeout_ms);
/hardware/libhardware/include_all/hardware/
Dvibrator.h55 int (*vibrator_on)(struct vibrator_device* vibradev, unsigned int timeout_ms);
/hardware/google/aemu/base/include/aemu/base/sockets/
DSocketWaiter.h105 virtual int wait(int64_t timeout_ms) = 0;
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_primary.cpp157 void DisplayPrimary::SetIdleTimeoutMs(uint32_t timeout_ms) { in SetIdleTimeoutMs() argument
162 hw_intf_->SetIdleTimeoutMs(timeout_ms); in SetIdleTimeoutMs()
164 idle_timeout_ms_ = timeout_ms; in SetIdleTimeoutMs()
Ddisplay_primary.h49 virtual void SetIdleTimeoutMs(uint32_t timeout_ms);
/hardware/interfaces/tv/tuner/aidl/default/
Ddtv_plugin_api.h122 ssize_t (*read_stream)(struct dtv_streamer* streamer, void* buf, size_t count, int timeout_ms);
/hardware/google/pixel/usb/include/pixelusb/
DMonitorFfs.h81 bool waitForPullUp(int timeout_ms);
/hardware/google/camera/common/hal/tests/
Dcamera_device_session_tests.cc256 status_t WaitForResult(const CaptureRequest& request, uint32_t timeout_ms) { in WaitForResult() argument
263 lock, std::chrono::milliseconds(timeout_ms), in WaitForResult()
281 status_t WaitForShutter(uint32_t frame_number, uint32_t timeout_ms) { in WaitForShutter() argument
288 lock, std::chrono::milliseconds(timeout_ms), in WaitForShutter()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_primary.h53 virtual void SetIdleTimeoutMs(uint32_t timeout_ms);
/hardware/qcom/display/msm8909/sdm/libs/core/fb/
Dhw_primary.h53 virtual void SetIdleTimeoutMs(uint32_t timeout_ms);
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_primary.h46 virtual void SetIdleTimeoutMs(uint32_t timeout_ms);
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display_primary.h46 virtual void SetIdleTimeoutMs(uint32_t timeout_ms);
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/
Dhw_primary.h53 virtual void SetIdleTimeoutMs(uint32_t timeout_ms);

12345