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

12

/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.cpp64 int lockType, int timeout,
85 lock.timeout = timeout;
261 * timeout value can be specified. By default, there is no timeout.
265 * @param: timeout value in ms. GENLOCK_MAX_TIMEOUT is the maximum timeout value.
270 int timeout)
281 if (0 == timeout) {
282 ALOGW("%s: trying to lock a buffer with timeout
63 perform_lock_unlock_operation(native_handle_t *buffer_handle, int lockType, int timeout, int flags) argument
268 genlock_lock_buffer(native_handle_t *buffer_handle, genlock_lock_type_t lockType, int timeout) argument
315 genlock_wait(native_handle_t *buffer_handle, int timeout) argument
352 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/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/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/libhardware/tests/camera2/
H A DCameraStreamFixture.h141 status_t waitForFrame(nsecs_t timeout) { argument
145 res = mCondition.waitRelative(mMutex, timeout);
H A Dcamera2_utils.h58 status_t waitForBuffer(nsecs_t timeout);
229 * Wait for max timeout nanoseconds for a new frame. Returns
230 * OK if a frame is available, TIMED_OUT if the timeout was reached.
232 status_t waitForFrame(nsecs_t timeout);
H A Dcamera2_utils.cpp137 status_t MetadataQueue::waitForBuffer(nsecs_t timeout) { argument
141 res = notEmpty.waitRelative(mMutex,timeout);
567 status_t FrameWaiter::waitForFrame(nsecs_t timeout) { argument
571 res = mCondition.waitRelative(mMutex, timeout);
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
H A Ddriver_cmd_wext.c41 * wpa_driver_wext_set_scan_timeout - Set scan timeout to report scan completion
44 * This function can be used to set registered timeout when starting a scan to
50 int timeout = 10; /* In case scan A and B bands it can be long */ local
53 * read results after a timeout. */
57 * when scan is complete, so use longer timeout to avoid race
60 timeout = 30;
62 wpa_printf(MSG_DEBUG, "Scan requested - scan timeout %d seconds",
63 timeout);
65 eloop_register_timeout(timeout, 0, wpa_driver_wext_scan_timeout, drv,
/hardware/qcom/display/libhwcomposer/
H A Dhwc_utils.cpp125 struct timeval timeout; local
126 timeout.tv_sec = 1;//wait 1 second before timeout
127 timeout.tv_usec = 0;
130 (char*)&timeout, sizeof(timeout )) < 0)
182 struct timeval timeout; local
183 timeout.tv_sec = 1; //wait 1 second before timeout
184 timeout
[all...]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
H A Dbt_amp_hci.h142 uint8 timeout[2]; member in struct:ls_to_cmd_parms
289 uint16 timeout; member in struct:read_ls_to_evt_parms
294 uint16 timeout; member in struct:read_lla_ca_to_evt_parms
/hardware/libhardware/include/hardware/
H A Dsensors.h627 * the timeout has expired.
968 * A timeout value of zero disables batch mode for the given sensor.
983 * "timeout" nanoseconds. That is, all events since the previous batch
1002 * batches at least every "timeout". No event shall be dropped or lost.
1003 * If internal h/w FIFOs fill-up before the timeout, then events are
1049 * the value of the timeout parameter.
1080 * Note: the timeout parameter, when > 0, has no impact on whether this
1083 * If timeout is set to 0, this function must succeed.
1098 * - accelerometer batched with timeout = 20s
1099 * - gyroscope batched with timeout
[all...]

Completed in 524 milliseconds

12