Home
last modified time | relevance | path

Searched refs:mMutex (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Nfc/nci/jni/
DPowerSwitch.cpp93 mMutex.lock(); in initialize()
118 mMutex.unlock(); in initialize()
132 mMutex.lock(); in getLevel()
134 mMutex.unlock(); in getLevel()
152 mMutex.lock(); in setLevel()
168 mMutex.unlock(); in setLevel()
175 mMutex.lock(); in setLevel()
205 mMutex.unlock(); in setLevel()
214 mMutex.lock(); in setScreenOffPowerState()
216 mMutex.unlock(); in setScreenOffPowerState()
[all …]
DMutex.cpp42 memset(&mMutex, 0, sizeof(mMutex)); in Mutex()
43 int res = pthread_mutex_init(&mMutex, NULL); in Mutex()
59 int res = pthread_mutex_destroy(&mMutex); in ~Mutex()
75 int res = pthread_mutex_lock(&mMutex); in lock()
91 int res = pthread_mutex_unlock(&mMutex); in unlock()
107 int res = pthread_mutex_trylock(&mMutex); in tryLock()
123 pthread_mutex_t* Mutex::nativeHandle() { return &mMutex; } in nativeHandle()
DDataQueue.cpp51 mMutex.lock(); in ~DataQueue()
57 mMutex.unlock(); in ~DataQueue()
61 mMutex.lock(); in isEmpty()
63 mMutex.unlock(); in isEmpty()
81 mMutex.lock(); in enqueue()
97 mMutex.unlock(); in enqueue()
115 mMutex.lock(); in dequeue()
140 mMutex.unlock(); in dequeue()
DPeerToPeer.cpp200 mMutex.lock(); in registerServer()
209 mMutex.unlock(); in registerServer()
223 mMutex.unlock(); in registerServer()
255 AutoMutex mutex(mMutex); in removeServer()
438 mMutex.lock(); in accept()
442 mMutex.unlock(); in accept()
445 mMutex.unlock(); in accept()
467 mMutex.lock(); in deregisterServer()
470 mMutex.unlock(); in deregisterServer()
473 mMutex.unlock(); in deregisterServer()
[all …]
DSyncEvent.h46 void start() { mMutex.lock(); } in start()
57 void wait() { mCondVar.wait(mMutex); } in wait()
70 bool retVal = mCondVar.wait(mMutex, millisec); in wait()
95 void end() { mMutex.unlock(); } in end()
99 Mutex mMutex; variable
DPeerToPeer.h390 Mutex mMutex; variable
689 Mutex mMutex;
DDataQueue.h97 Mutex mMutex; variable
DMutex.h103 pthread_mutex_t mMutex;
DPowerSwitch.h246 Mutex mMutex; variable
/packages/apps/TV/jni/
Dmutex.h27 pthread_mutex_init(&mMutex, NULL); in Mutex()
30 return -pthread_mutex_lock(&mMutex); in lock()
33 pthread_mutex_unlock(&mMutex); in unlock()
36 pthread_mutex_destroy(&mMutex); in ~Mutex()
54 pthread_mutex_t mMutex;
/packages/services/Car/tools/keventreader/server/
Deventprovider.cpp30 std::scoped_lock lock(mMutex); in startLoop()
43 std::scoped_lock lock(mMutex); in registerCallback()
49 std::scoped_lock lock(mMutex); in unregisterCallback()
Deventprovider.h40 std::mutex mMutex; variable