Searched refs:timeout (Results 1 - 25 of 62) sorted by relevance

123

/hardware/qcom/display/libgenlock/
H A Dgenlock.h53 #define GENLOCK_MAX_TIMEOUT 1000 // Max 1s timeout
86 * read. An optional timeout value can be specified.
87 * By default, there is no timeout.
91 * @param: timeout value in ms. GENLOCK_MAX_TIMEOUT is the maximum timeout
97 int timeout);
111 * @param: timeout value for the wait.
114 genlock_status_t genlock_wait(native_handle_t *buffer_handle, int timeout);
120 * @param: timeout value for the wait.
124 int timeout);
[all...]
H A Dgenlock.cpp62 int lockType, int timeout,
82 lock.timeout = timeout;
260 * timeout value can be specified. By default, there is no timeout.
264 * @param: timeout value in ms. GENLOCK_MAX_TIMEOUT is the maximum timeout value.
269 int timeout)
280 if (0 == timeout) {
281 ALOGW("%s: trying to lock a buffer with timeout
61 perform_lock_unlock_operation(native_handle_t *buffer_handle, int lockType, int timeout, int flags) argument
267 genlock_lock_buffer(native_handle_t *buffer_handle, genlock_lock_type_t lockType, int timeout) argument
314 genlock_wait(native_handle_t *buffer_handle, int timeout) argument
351 genlock_write_to_read(native_handle_t *buffer_handle, int timeout) argument
[all...]
/hardware/ti/omap4xxx/domx/mm_osal/inc/
H A Dtimm_osal_pipes.h58 * Defined for Pipe timeout value
67 void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout);
70 void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout);
75 TIMM_OSAL_U32 * actualSize, TIMM_OSAL_S32 timeout);
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
H A DConnection.cpp108 size_t Connection::readData(void *buffer, uint32_t len, int32_t timeout) argument
118 if (timeout >= 0) {
119 // Calculate timeout value
120 tv.tv_sec = timeout / 1000;
121 tv.tv_usec = (timeout - (tv.tv_sec * 1000)) * 1000;
178 int Connection::waitData(int32_t timeout) argument
187 if (timeout >= 0) {
188 // Calculate timeout value
189 tv.tv_sec = timeout / 1000;
190 tv.tv_usec = (timeout
[all...]
H A DConnection.h83 * @param timeout Timeout in milliseconds
86 * @return -2 if no data available, i.e. timeout
88 virtual size_t readData(void *buffer, uint32_t len, int32_t timeout);
112 * @param timeout Timeout in milliseconds
116 virtual int waitData(int32_t timeout);
H A DNetlinkConnection.h162 * @param timeout Timeout in milliseconds(ignored)
165 * @return -2 if no data available, i.e. timeout
170 int32_t timeout
H A DNetlinkConnection.cpp181 int32_t timeout
187 if (!dataLeft.wait(timeout)) {
/hardware/ril/libril/
H A Dril_event.h30 struct timeval timeout; member in struct:ril_event
H A Dril_event.cpp86 dlog(" timeout = %ds + %dus", (int)ev->timeout.tv_sec, (int)ev->timeout.tv_usec);
168 // walk list, see if now >= ev->timeout for any events
171 while ((tev != &timer_list) && (timercmp(&now, &tev->timeout, >))) {
231 (int)tev->timeout.tv_sec, (int)tev->timeout.tv_usec);
232 if (timercmp(&tev->timeout, &now, >)) {
233 timersub(&tev->timeout, &now, tv);
300 timeradd(&now, tv, &ev->timeout);
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
H A DExynos_OSAL_Event.c170 struct timespec timeout; local
185 timeout.tv_sec = now.tv_sec + tv_us / 1000000;
186 timeout.tv_nsec = (tv_us % 1000000) * 1000;
203 funcret = pthread_cond_timedwait(&event->condition, (pthread_mutex_t *)(event->mutex), &timeout);
/hardware/ti/omap3/dspbridge/inc/
H A Drms_sh.h97 RMS_WORD timeout; /* Timeout (msec) for blocking calls */ member in struct:RMS_StrmDef
/hardware/ti/omap3/dspbridge/libbridge/inc/
H A Drms_sh.h97 RMS_WORD timeout; /* Timeout (msec) for blocking calls */ member in struct:RMS_StrmDef
/hardware/ti/omap4xxx/libtiutils/
H A DMessageQueue.h91 ///Wait for message in maximum three different queues with a timeout
92 static int waitForMsg(MessageQueue *queue1, MessageQueue *queue2=0, MessageQueue *queue3=0, int timeout = 0);
H A DMessageQueue.cpp310 @briefWait for message in maximum three different queues with a timeout
315 @param timeout The timeout value (in micro secs) to wait for a message in any of the queues
320 android::status_t MessageQueue::waitForMsg(MessageQueue *queue1, MessageQueue *queue2, MessageQueue *queue3, int timeout) argument
376 int ret = poll(pfd, n, timeout);
/hardware/ti/wlan/wl1271/stad/src/Sta_Management/
H A DauthSm.h80 TI_UINT32 timeout; member in struct:__anon3065
H A DAssocSM.h96 TI_UINT32 timeout; member in struct:__anon3046
H A DtrafficAdmControl.h97 TI_UINT32 timeout; member in struct:__anon3119
/hardware/ti/omap4xxx/domx/mm_osal/src/
H A Dtimm_osal_pipes.c182 void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout)
225 void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout)
306 TIMM_OSAL_U32 size, TIMM_OSAL_U32 * actualSize, TIMM_OSAL_S32 timeout)
318 if ((pHandle->messageCount == 0) && (timeout == TIMM_OSAL_NO_SUSPEND))
320 /*If timeout is 0 and pipe is empty, return error */
325 if ((timeout != TIMM_OSAL_NO_SUSPEND) &&
326 (timeout != TIMM_OSAL_SUSPEND))
329 supported. Going to read with infinite timeout now");
181 TIMM_OSAL_WriteToPipe(TIMM_OSAL_PTR pPipe, void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout) argument
224 TIMM_OSAL_WriteToFrontOfPipe(TIMM_OSAL_PTR pPipe, void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_S32 timeout) argument
304 TIMM_OSAL_ReadFromPipe(TIMM_OSAL_PTR pPipe, void *pMessage, TIMM_OSAL_U32 size, TIMM_OSAL_U32 * actualSize, TIMM_OSAL_S32 timeout) argument
H A Dtimm_osal_events.c271 struct timespec timeout; local
361 timeout.tv_sec = now.tv_sec + timeout_us / 1000000;
362 timeout.tv_nsec = (timeout_us % 1000000) * 1000;
371 &timeout);
/hardware/ti/wlan/wl1271/TWD/MacServices/
H A DScanSrv.c592 TI_UINT32 i, uDtimPeriodMs, uBeaconIntervalMs, timeout = 0; local
596 timeout calculation is performed according to scan type:
631 /* the timeout is the scan duration on all channels */
634 timeout += scanParams->channelEntry[ i ].normalChannelEntry.maxChannelDwellTime;
636 timeout = (timeout / 1000) + uDtimPeriodMs + SCAN_SRV_FW_GUARD_TIME_MS;
641 /* the timeout is the scan duration on all channels, plus the maximum time that can pass
645 timeout += scanParams->channelEntry[ i ].normalChannelEntry.maxChannelDwellTime;
647 timeout = (timeout / 100
[all...]
/hardware/qcom/gps/loc_api/libloc_api/
H A Dloc_eng_ni.cpp298 notif.timeout = LOC_NI_NO_RESPONSE_TIME; // vx_req->user_resp_timer_val;
319 notif.timeout = LOC_NI_NO_RESPONSE_TIME; // umts_cp_req->user_response_timer;
353 notif.timeout = LOC_NI_NO_RESPONSE_TIME; // supl_req->user_response_timer;
410 LOGI("Notification: notif_type: %d, timeout: %d, default_resp: %d", notif.ni_type, notif.timeout, notif.default_response);
414 /* For robustness, always sets a timeout to clear up the notification status, even though
417 loc_eng_ni_data.response_time_left = 5 + (notif.timeout != 0 ? notif.timeout : LOC_NI_NO_RESPONSE_TIME);
/hardware/msm7k/librpc/rpc/
H A Dclnt.h145 timeout - return after timeout (ignored)
163 struct timeval timeout
/hardware/ti/omap4xxx/security/tf_sdk/include/
H A Dtee_client_api_ex.h81 uint32_t timeout,
/hardware/ti/wlan/wl1271/stad/src/Connection_Managment/
H A Dconn.h78 TI_UINT32 timeout; member in struct:__anon2948
/hardware/libhardware/tests/camera2/
H A Dcamera2_utils.h53 status_t waitForBuffer(nsecs_t timeout);
224 * Wait for max timeout nanoseconds for a new frame. Returns
225 * OK if a frame is available, TIMED_OUT if the timeout was reached.
227 status_t waitForFrame(nsecs_t timeout);

Completed in 386 milliseconds

123