Home
last modified time | relevance | path

Searched refs:lockState (Results 1 – 4 of 4) sorted by relevance

/device/linaro/hikey/gralloc/
Dgralloc_module.cpp116 hnd->lockState &= ~(private_handle_t::LOCK_STATE_UNREGISTERED); in gralloc_register_buffer()
183 hnd->lockState &= ~(private_handle_t::LOCK_STATE_UNREGISTERED); in gralloc_register_buffer()
235 hnd->lockState = 0; in unmap_buffer()
251 …AERR_IF(hnd->lockState & private_handle_t::LOCK_STATE_READ_MASK, "[unregister] handle %p still loc… in gralloc_unregister_buffer()
261 hnd->lockState &= ~(private_handle_t::LOCK_STATE_MAPPED); in gralloc_unregister_buffer()
264 if (!(hnd->lockState & private_handle_t::LOCK_STATE_WRITE)) in gralloc_unregister_buffer()
269 hnd->lockState |= private_handle_t::LOCK_STATE_UNREGISTERED; in gralloc_unregister_buffer()
301 if (hnd->lockState & private_handle_t::LOCK_STATE_UNREGISTERED) in gralloc_lock()
313 hnd->lockState |= private_handle_t::LOCK_STATE_WRITE; in gralloc_lock()
350 hnd->lockState |= private_handle_t::LOCK_STATE_WRITE; in gralloc_lock_ycbcr()
[all …]
Dgralloc_priv.h182 int lockState; member
230 lockState(lock_state), in private_handle_t()
263 lockState(lock_state), in private_handle_t()
297 lockState(lock_state), in private_handle_t()
/device/generic/goldfish/radio/libril/
Dril_service.cpp248 bool lockState,
1329 bool lockState, const hidl_string& password, in setFacilityLockForApp() argument
1335 5, facility.c_str(), lockState ? "1" : "0", password.c_str(), in setFacilityLockForApp()
/device/google/cuttlefish/guest/hals/ril/libril/
Dril_service.cpp256 bool lockState,
1453 bool lockState, const hidl_string& password, in setFacilityLockForApp() argument
1459 5, facility.c_str(), lockState ? "1" : "0", password.c_str(), in setFacilityLockForApp()