Lines Matching refs:timeout
62 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 = 0", __FUNCTION__);
284 ret = perform_lock_unlock_operation(buffer_handle, kLockType, timeout, 0);
311 * @param: timeout value for the wait.
314 genlock_status_t genlock_wait(native_handle_t *buffer_handle, int timeout) {
328 if (0 == timeout)
329 ALOGW("%s: timeout = 0", __FUNCTION__);
333 lock.timeout = timeout;
348 * @param: timeout value for the wait.
352 int timeout) {
355 if (0 == timeout) {
356 ALOGW("%s: trying to lock a buffer with timeout = 0", __FUNCTION__);
360 ret = perform_lock_unlock_operation(buffer_handle, GENLOCK_RDLOCK, timeout,
365 timeout, 0);