Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 242) sorted by relevance

12345678910

/hardware/qcom/display/msm8960/libgenlock/
Dgenlock.cpp68 int lockType, int timeout, in perform_lock_unlock_operation() argument
88 lock.timeout = timeout; in perform_lock_unlock_operation()
277 int timeout) in genlock_lock_buffer() argument
288 if (0 == timeout) { in genlock_lock_buffer()
292 ret = perform_lock_unlock_operation(buffer_handle, kLockType, timeout, 0); in genlock_lock_buffer()
322 genlock_status_t genlock_wait(native_handle_t *buffer_handle, int timeout) { in genlock_wait() argument
336 if (0 == timeout) in genlock_wait()
341 lock.timeout = timeout; in genlock_wait()
360 int timeout) { in genlock_write_to_read() argument
363 if (0 == timeout) { in genlock_write_to_read()
[all …]
Dgenlock.h97 int timeout);
114 genlock_status_t genlock_wait(native_handle_t *buffer_handle, int timeout);
124 int timeout);
/hardware/qcom/sm8150/display/libhistogram/
Dcolor_sampling_tool.cpp48 int timeout = -1; in main() local
52 case 't': timeout = strtol(optarg, NULL, 10); break; in main()
62 if (timeout > 0) { in main()
63 std::cout << "Sampling for " << timeout << " seconds.\n"; in main()
65 request.tv_sec = timeout; in main()
/hardware/qcom/sdm845/display/libhistogram/
Dcolor_sampling_tool.cpp48 int timeout = -1; in main() local
52 case 't': timeout = strtol(optarg, NULL, 10); break; in main()
62 if (timeout > 0) { in main()
63 std::cout << "Sampling for " << timeout << " seconds.\n"; in main()
65 request.tv_sec = timeout; in main()
/hardware/interfaces/weaver/1.0/vts/functional/
DVtsHalWeaverV1_0TargetTest.cpp133 uint32_t timeout; in TEST_P() local
138 timeout = r.timeout; in TEST_P()
144 EXPECT_EQ(timeout, 0u); in TEST_P()
165 uint32_t timeout; in TEST_P() local
170 timeout = r.timeout; in TEST_P()
176 EXPECT_EQ(timeout, 0u); in TEST_P()
248 uint32_t timeout; in TEST_P() local
254 timeout = r.timeout; in TEST_P()
260 EXPECT_EQ(timeout, 0u); in TEST_P()
324 uint32_t timeout; in TEST_P() local
[all …]
/hardware/interfaces/bluetooth/1.0/default/
Dasync_fd_watcher.cc55 const std::chrono::milliseconds timeout, in ConfigureTimeout() argument
61 timeout_ms_ = timeout; in ConfigureTimeout()
141 struct timeval timeout; in ThreadRoutine() local
144 timeout.tv_sec = timeout_ms_.count() / 1000; in ThreadRoutine()
145 timeout.tv_usec = (timeout_ms_.count() % 1000) * 1000; in ThreadRoutine()
146 timeout_ptr = &timeout; in ThreadRoutine()
/hardware/ril/libril/
Dril_event.cpp86 dlog(" timeout = %ds + %dus", (int)ev->timeout.tv_sec, (int)ev->timeout.tv_usec); in dump_event()
170 while ((tev != &timer_list) && (timercmp(&now, &tev->timeout, >))) { in processTimeouts()
230 (int)tev->timeout.tv_sec, (int)tev->timeout.tv_usec); in calcNextTimeout()
231 if (timercmp(&tev->timeout, &now, >)) { in calcNextTimeout()
232 timersub(&tev->timeout, &now, tv); in calcNextTimeout()
299 timeradd(&now, tv, &ev->timeout); in ril_timer_add()
302 while (timercmp(&list->timeout, &ev->timeout, < ) in ril_timer_add()
/hardware/interfaces/health/utils/libhealthloop/
DHealthLoop.cpp202 int timeout = awake_poll_interval_; in MainLoop() local
212 if (timeout < 0 || (mode_timeout > 0 && mode_timeout < timeout)) timeout = mode_timeout; in MainLoop()
213 nevents = epoll_wait(epollfd_, events, eventct, timeout); in MainLoop()
/hardware/interfaces/health/storage/1.0/vts/functional/
DVtsHalHealthStorageV1_0TargetTest.cpp95 void waitForResult(std::chrono::duration<R, P> timeout, Result expected) { in waitForResult() argument
97 ASSERT_TRUE(waitLocked(&lock, timeout)) << "timeout after " << toString(timeout); in waitForResult()
124 bool ping(std::chrono::duration<R, P> timeout) { in ping() argument
133 return pingFlag->wait(timeout); in ping()
/hardware/interfaces/health/storage/1.0/
DIStorage.hal33 * specified timeout, the implementation must call IGarbageCollect.finish
36 * If garbage collection does not finish within the specified timeout,
40 * @param timeoutSeconds timeout in seconds. The implementation must
41 * return after the timeout is reached.
/hardware/interfaces/broadcastradio/common/vts/utils/
Dcall-barrier.cpp33 bool CallBarrier::waitForCall(std::chrono::milliseconds timeout) { in waitForCall() argument
38 auto status = mCond.wait_for(lk, timeout); in waitForCall()
/hardware/interfaces/broadcastradio/common/vts/utils/include/broadcastradio-vts-utils/
Dpointer-utils.h36 static void clearAndWait(sp<T>& ptr, std::chrono::milliseconds timeout) { in clearAndWait() argument
44 auto limit = steady_clock::now() + timeout; in clearAndWait()
Dmock-timeout.h153 #define EXPECT_TIMEOUT_CALL_WAIT(obj, Method, timeout) \ argument
158 auto status = (obj).egmock_cond_##Method.wait_for(lk, timeout); \
Dcall-barrier.h46 bool waitForCall(std::chrono::milliseconds timeout);
/hardware/interfaces/gatekeeper/1.0/default/
DGatekeeper.cpp76 rsp.timeout = ret; in enroll()
109 rsp.timeout = ret; in verify()
126 rsp.timeout = ret; in deleteUser()
145 rsp.timeout = ret; in deleteAllUsers()
/hardware/qcom/display/msm8994/libqdutils/
Didle_invalidator.cpp85 bool IdleInvalidator::setIdleTimeout(const uint32_t& timeout) { in setIdleTimeout() argument
87 __FUNCTION__, timeout); in setIdleTimeout()
99 snprintf(strSleepTime, sizeof(strSleepTime), "%d", timeout); in setIdleTimeout()
Didle_invalidator.h50 bool setIdleTimeout(const uint32_t& timeout);
/hardware/interfaces/gatekeeper/1.0/
Dtypes.hal26 ERROR_RETRY_TIMEOUT = -2, // operation should be retried after timeout
37 * retry timeout in ms, if code == ERROR_RETRY_TIMEOUT
40 uint32_t timeout;
/hardware/interfaces/camera/device/3.5/default/
DExternalCameraDeviceSession.cpp119 std::chrono::milliseconds timeout = std::chrono::milliseconds(kReqProcTimeoutMs); in waitForBufferRequestDone() local
120 auto st = mRequestDoneCond.wait_for(lk, timeout); in waitForBufferRequestDone()
121 if (st == std::cv_status::timeout) { in waitForBufferRequestDone()
140 std::chrono::milliseconds timeout = std::chrono::milliseconds(kReqWaitTimeoutMs); in waitForNextRequest() local
141 auto st = mRequestCond.wait_for(lk, timeout); in waitForNextRequest()
142 if (st == std::cv_status::timeout) { in waitForNextRequest()
/hardware/google/pixel/thermal/utils/
Dthermal_watcher.cpp141 int timeout = (thermal_triggered_ || is_polling_) ? kMinPollIntervalMs : kUeventPollTimeoutMs; in threadLoop() local
142 if (time_elapsed_ms < timeout && looper_->pollOnce(timeout, &fd, nullptr, nullptr) >= 0) { in threadLoop()
/hardware/invensense/65xx/libsensors_iio/
Dsensors_mpl.cpp95 int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
320 int64_t timeout) in batch() argument
323 return mSensor->batch(handle, flags, period_ns, timeout); in batch()
367 int handle, int flags, int64_t period_ns, int64_t timeout) in poll__batch() argument
370 return ctx->batch(handle, flags, period_ns, timeout); in poll__batch()
/hardware/invensense/6515/libsensors_iio/
Dsensors_mpl.cpp118 int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
358 int64_t timeout) in batch() argument
361 return mSensor->batch(handle, flags, period_ns, timeout); in batch()
429 int handle, int flags, int64_t period_ns, int64_t timeout) in poll__batch() argument
432 return ctx->batch(handle, flags, period_ns, timeout); in poll__batch()
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_ni.cpp148 …: notif_type: %d, timeout: %d, default_resp: %d", notif->ni_type, notif->timeout, notif->default_r… in loc_eng_ni_request_handler()
159 …loc_eng_ni_data_p->respTimeLeft = 5 + (notif->timeout != 0 ? notif->timeout : LOC_NI_NO_RESPONSE_T… in loc_eng_ni_request_handler()
/hardware/qcom/sdm845/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_ni.cpp148 …: notif_type: %d, timeout: %d, default_resp: %d", notif->ni_type, notif->timeout, notif->default_r… in loc_eng_ni_request_handler()
159 …loc_eng_ni_data_p->respTimeLeft = 5 + (notif->timeout != 0 ? notif->timeout : LOC_NI_NO_RESPONSE_T… in loc_eng_ni_request_handler()
/hardware/interfaces/usb/gadget/1.0/
DIUsbGadget.hal31 * @param timeout The maximum time (in milliseconds) within which the
36 uint64_t timeout);

12345678910