Lines Matching refs:timeout
64 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 = 0", __FUNCTION__);
285 ret = perform_lock_unlock_operation(buffer_handle, kLockType, timeout, 0);
301 // Do the unlock operation by setting the unlock flag. Timeout is always
312 * @param: timeout value for the wait.
315 genlock_status_t genlock_wait(native_handle_t *buffer_handle, int timeout) {
329 if (0 == timeout)
330 ALOGW("%s: timeout = 0", __FUNCTION__);
334 lock.timeout = timeout;
349 * @param: timeout value for the wait.
353 int timeout) {
356 if (0 == timeout) {
357 ALOGW("%s: trying to lock a buffer with timeout = 0", __FUNCTION__);
361 ret = perform_lock_unlock_operation(buffer_handle, GENLOCK_RDLOCK, timeout,
366 timeout, 0);