Home
last modified time | relevance | path

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

/hardware/msm7k/libgralloc-qsd8k/
Dgr.h48 class Locker {
52 Locker& locker;
54 inline Autolock(Locker& locker) : locker(locker) { locker.lock(); } in Autolock()
57 inline Locker() { pthread_mutex_init(&mutex, 0); } in Locker() function
58 inline ~Locker() { pthread_mutex_destroy(&mutex); } in ~Locker()
Dallocator.cpp45 Locker::Autolock _l(mLock); in setSize()
62 Locker::Autolock _l(mLock); in allocate()
70 Locker::Autolock _l(mLock); in deallocate()
Dallocator.h125 mutable Locker mLock;
/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/msm7k/libgralloc/
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()
Dallocator.cpp45 Locker::Autolock _l(mLock); in setSize()
62 Locker::Autolock _l(mLock); in allocate()
70 Locker::Autolock _l(mLock); in deallocate()
Dallocator.h124 mutable Locker mLock;
/hardware/qcom/display/libgralloc/
Dgr.h67 class Locker {
71 Locker& locker;
73 inline Autolock(Locker& locker) : locker(locker) { locker.lock(); } in Autolock()
76 inline Locker() { pthread_mutex_init(&mutex, 0); } in Locker() function
77 inline ~Locker() { pthread_mutex_destroy(&mutex); } in ~Locker()
Dionalloc.h67 mutable Locker mLock;
Dionalloc.cpp67 Locker::Autolock _l(mLock); in alloc_buffer()
153 Locker::Autolock _l(mLock); in free_buffer()
/hardware/ril/mock-ril/src/cpp/
Dmock_ril.cpp248 v8::Locker locker;
261 v8::Locker locker;
305 v8::Locker locker; in RIL_Init()
Dctrl_server.cpp265 v8::Locker locker; in WaitOnSocketOrStopping()
326 v8::Locker locker; in Worker()
462 v8::Locker locker; in ctrlServerInit()
Drequests.cpp340 v8::Locker locker; in AddRequest()
394 v8::Locker locker; in Process()
517 v8::Locker locker; in testRequests()
Dworker_v8.cpp89 v8::Locker locker; in Process()
Djs_support.cpp69 v8::Locker locker; in MsSleep()
/hardware/qcom/display/libhwcomposer/
Dhwc_utils.h227 mutable Locker mBlankLock;
229 mutable Locker mExtSetLock;
Dhwc.cpp164 Locker::Autolock _l(ctx->mBlankLock); in hwc_prepare()
218 Locker::Autolock _l(ctx->mBlankLock); in hwc_blank()
320 Locker::Autolock _l(ctx->mExtSetLock); in hwc_set_external()
357 Locker::Autolock _l(ctx->mBlankLock); in hwc_set()
Dhwc_uevents.cpp70 Locker::Autolock _l(ctx->mExtSetLock); //hwc comp could be on in handle_uevent()