Lines Matching refs:timeout
68 int lockType, int timeout,
88 lock.timeout = timeout;
268 * timeout value can be specified. By default, there is no timeout.
272 * @param: timeout value in ms. GENLOCK_MAX_TIMEOUT is the maximum timeout value.
277 int timeout)
288 if (0 == timeout) {
289 ALOGW("%s: trying to lock a buffer with timeout = 0", __FUNCTION__);
292 ret = perform_lock_unlock_operation(buffer_handle, kLockType, timeout, 0);
319 * @param: timeout value for the wait.
322 genlock_status_t genlock_wait(native_handle_t *buffer_handle, int timeout) {
336 if (0 == timeout)
337 ALOGW("%s: timeout = 0", __FUNCTION__);
341 lock.timeout = timeout;
356 * @param: timeout value for the wait.
360 int timeout) {
363 if (0 == timeout) {
364 ALOGW("%s: trying to lock a buffer with timeout = 0", __FUNCTION__);
368 ret = perform_lock_unlock_operation(buffer_handle, GENLOCK_RDLOCK, timeout,
373 timeout, 0);