Home
last modified time | relevance | path

Searched refs:Locker (Results 1 – 22 of 22) sorted by relevance

/hardware/libhardware/modules/gralloc/
Dgr.h49 class Locker {
53 Locker& locker;
55 inline Autolock(Locker& locker) : locker(locker) { locker.lock(); } in Autolock()
58 inline Locker() { pthread_mutex_init(&mutex, 0); } in Locker() function
59 inline ~Locker() { pthread_mutex_destroy(&mutex); } in ~Locker()
/hardware/qcom/display/msm8974/libgralloc/
Dgr.h68 class Locker {
72 Locker& locker;
74 inline Autolock(Locker& locker) : locker(locker) { locker.lock(); } in Autolock()
77 inline Locker() { pthread_mutex_init(&mutex, 0); } in Locker() function
78 inline ~Locker() { pthread_mutex_destroy(&mutex); } in ~Locker()
Dionalloc.h67 mutable Locker mLock;
Dionalloc.cpp67 Locker::Autolock _l(mLock); in alloc_buffer()
130 Locker::Autolock _l(mLock); in free_buffer()
/hardware/qcom/display/msm8960/libgralloc/
Dgr.h68 class Locker {
72 Locker& locker;
74 inline Autolock(Locker& locker) : locker(locker) { locker.lock(); } in Autolock()
77 inline Locker() { pthread_mutex_init(&mutex, 0); } in Locker() function
78 inline ~Locker() { pthread_mutex_destroy(&mutex); } in ~Locker()
Dionalloc.h67 mutable Locker mLock;
Dionalloc.cpp67 Locker::Autolock _l(mLock); in alloc_buffer()
129 Locker::Autolock _l(mLock); in free_buffer()
/hardware/qcom/display/msm8x26/libgralloc/
Dgr.h68 class Locker {
72 Locker& locker;
74 inline Autolock(Locker& locker) : locker(locker) { locker.lock(); } in Autolock()
77 inline Locker() { pthread_mutex_init(&mutex, 0); } in Locker() function
78 inline ~Locker() { pthread_mutex_destroy(&mutex); } in ~Locker()
Dionalloc.h67 mutable Locker mLock;
Dionalloc.cpp67 Locker::Autolock _l(mLock); in alloc_buffer()
129 Locker::Autolock _l(mLock); in free_buffer()
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_uevents.cpp106 Locker::Autolock _l(ctx->mDrawLock); in handle_uevent()
126 Locker::Autolock _l(ctx->mDrawLock); in handle_uevent()
136 Locker::Autolock _l(ctx->mDrawLock); in handle_uevent()
149 Locker::Autolock _l(ctx->mDrawLock); in handle_uevent()
161 Locker::Autolock _l(ctx->mDrawLock); in handle_uevent()
170 Locker::Autolock _l(ctx->mDrawLock); in handle_uevent()
Dhwc_qclient.cpp71 Locker::Autolock _sl(mHwcContext->mDrawLock); in securing()
85 Locker::Autolock _sl(mHwcContext->mDrawLock); in unsecuring()
95 Locker::Autolock _sl(mHwcContext->mDrawLock); in died()
Dhwc.cpp323 Locker::Autolock _l(ctx->mDrawLock); in hwc_blank()
667 Locker::Autolock _l(ctx->mDrawLock); in hwc_dump()
Dhwc_utils.h383 mutable Locker mDrawLock;
/hardware/qcom/display/msm8974/libqdutils/
Didle_invalidator.cpp48 Locker::Autolock _l(mLock); in init()
60 Locker::Autolock _l(mLock); in threadLoop()
81 Locker::Autolock _l(mLock); in markForSleep()
Didle_invalidator.h45 mutable Locker mLock;
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_uevents.cpp115 Locker::Autolock _l(ctx->mExtSetLock); in handle_uevent()
120 Locker::Autolock _l(ctx->mExtSetLock); in handle_uevent()
131 Locker::Autolock _l(ctx->mExtSetLock); in handle_uevent()
150 Locker::Autolock _l(ctx->mExtSetLock); //hwc comp could be on in handle_uevent()
Dhwc.cpp213 Locker::Autolock _l(ctx->mBlankLock); in hwc_prepare()
275 Locker::Autolock _l(ctx->mBlankLock); in hwc_blank()
401 Locker::Autolock _l(ctx->mExtSetLock); in hwc_set_external()
465 Locker::Autolock _l(ctx->mBlankLock); in hwc_set()
Dhwc_utils.h333 mutable Locker mBlankLock;
335 mutable Locker mExtSetLock;
/hardware/qcom/display/msm8x26/libhwcomposer/
Dhwc_uevents.cpp115 Locker::Autolock _l(ctx->mExtSetLock); in handle_uevent()
120 Locker::Autolock _l(ctx->mExtSetLock); in handle_uevent()
131 Locker::Autolock _l(ctx->mExtSetLock); in handle_uevent()
150 Locker::Autolock _l(ctx->mExtSetLock); //hwc comp could be on in handle_uevent()
Dhwc.cpp213 Locker::Autolock _l(ctx->mBlankLock); in hwc_prepare()
248 Locker::Autolock _l(ctx->mBlankLock); in hwc_eventControl()
276 Locker::Autolock _l(ctx->mBlankLock); in hwc_blank()
402 Locker::Autolock _l(ctx->mExtSetLock); in hwc_set_external()
466 Locker::Autolock _l(ctx->mBlankLock); in hwc_set()
Dhwc_utils.h332 mutable Locker mBlankLock;
334 mutable Locker mExtSetLock;