Searched refs:Lock (Results 1 – 13 of 13) sorted by relevance
104 class Lock : public StaticLock {108 constexpr Lock() = default;112 ~Lock() { ::pthread_mutex_destroy(&mLock); } in ~Lock()
102 mutable Lock mLock; // Mutable to allow const members to lock it.
51 std::optional<void*> Lock();98 std::optional<void*> Lock(buffer_handle_t buffer);
169 std::optional<void*> Gralloc::Lock(buffer_handle_t buffer) { in Lock() function in cuttlefish::Gralloc313 auto lock_opt = Lock(buffer); in LockYCbCr()386 std::optional<void*> GrallocBuffer::Lock() { in Lock() function in cuttlefish::GrallocBuffer388 return gralloc_->Lock(buffer_); in Lock()
42 auto buffer_opt = imported_buffer.Lock(); in PostFrameBufferTarget()
339 auto buffer_data_opt = buffer.Lock(); in GetBufferSpec()
30 using android::base::guest::Lock;46 android::base::guest::Lock& getLock() { return mLock; } in getLock()156 Lock mLock;321 Lock mLock;442 Lock mLock;
120 Lock mLock;
155 Lock lock; in TEST()193 Lock lock; in TEST()226 Lock lock; in TEST()
169 using android::base::guest::Lock;4985 mutable Lock mLock;
59 using android::base::guest::Lock;
39 using android::base::guest::Lock;284 Lock mLock;288 static Lock sVmoStoreInitLock;
25 # Lock to lowest freqency on charger mode