Home
last modified time | relevance | path

Searched refs:mutex (Results 1 – 25 of 40) sorted by relevance

12

/packages/services/BuiltInPrintService/jni/lib/
Dwprint_msgq.c43 pthread_mutex_t mutex; member
66 pthread_mutex_init(&msgq->mutex, &msgq->mutexattr); in msgQCreate()
82 pthread_mutex_lock(&(msgq->mutex)); in msgQDelete()
88 pthread_mutex_unlock(&(msgq->mutex)); in msgQDelete()
89 pthread_mutex_destroy(&(msgq->mutex)); in msgQDelete()
103 pthread_mutex_lock(&(msgq->mutex)); in msgQSend()
116 pthread_mutex_unlock(&(msgq->mutex)); in msgQSend()
135 pthread_mutex_lock(&(msgq->mutex)); in msgQReceive()
142 pthread_mutex_unlock(&(msgq->mutex)); in msgQReceive()
153 pthread_mutex_lock(&(msgq->mutex)); in msgQNumMsgs()
[all …]
/packages/services/BuiltInPrintService/jni/ipphelper/
Dippstatus_monitor.c64 pthread_mutex_t mutex; member
92 pthread_mutex_unlock(&monitor->mutex); in _init()
93 pthread_mutex_destroy(&monitor->mutex); in _init()
109 pthread_mutex_init(&monitor->mutex, &monitor->mutexattr); in _init()
125 pthread_mutex_lock(&monitor->mutex); in _destroy()
130 pthread_mutex_unlock(&monitor->mutex); in _destroy()
131 pthread_mutex_destroy(&monitor->mutex); in _destroy()
244 pthread_mutex_lock(&monitor->mutex); in _start()
246 pthread_mutex_unlock(&monitor->mutex); in _start()
294 pthread_mutex_lock(&monitor->mutex); in _cancel()
[all …]
/packages/services/Car/evs/app/
DStreamHandler.cpp47 std::unique_lock<std::mutex> lock(mLock); in startStream()
76 std::unique_lock<std::mutex> lock(mLock); in blockingStopStream()
84 std::unique_lock<std::mutex> lock(mLock); in isRunning()
90 std::unique_lock<std::mutex> lock(mLock); in newFrameAvailable()
96 std::unique_lock<std::mutex> lock(mLock); in getNewFrame()
116 std::unique_lock<std::mutex> lock(mLock); in doneWithFrame()
136 std::unique_lock <std::mutex> lock(mLock); in deliverFrame()
DEvsVehicleListener.h35 std::lock_guard<std::mutex> g(mLock); in onPropertyEvent()
54 std::unique_lock<std::mutex> g(mLock); in waitForEvents()
76 std::mutex mLock;
DEvsStateControl.cpp152 std::lock_guard <std::mutex> lock(mLock); in updateLoop()
199 std::unique_lock<std::mutex> lock(mLock); in updateLoop()
DStreamHandler.h70 std::mutex mLock;
/packages/services/Car/evs/sampleDriver/
DEvsV4lCamera.cpp110 std::lock_guard<std::mutex> lock(mAccessLock); in setMaxFramesInFlight()
135 std::lock_guard<std::mutex> lock(mAccessLock); in startVideoStream()
214 std::lock_guard <std::mutex> lock(mAccessLock); in doneWithFrame()
259 std::unique_lock <std::mutex> lock(mAccessLock); in stopVideoStream()
286 std::lock_guard<std::mutex> lock(mAccessLock); in setExtendedInfo()
431 std::lock_guard<std::mutex> lock(mAccessLock); in forwardFrame()
511 std::lock_guard<std::mutex> lock(mAccessLock); in forwardFrame()
DEvsGlDisplay.cpp55 std::lock_guard<std::mutex> lock(mAccessLock); in forceShutdown()
104 std::lock_guard<std::mutex> lock(mAccessLock); in setDisplayState()
143 std::lock_guard<std::mutex> lock(mAccessLock); in getDisplayState()
157 std::lock_guard<std::mutex> lock(mAccessLock); in getTargetBuffer()
247 std::lock_guard<std::mutex> lock(mAccessLock); in returnTargetBufferForDisplay()
DEvsEnumerator.cpp42 std::mutex EvsEnumerator::sLock;
104 std::lock_guard<std::mutex> lock(sLock); in EvsUeventThread()
149 std::lock_guard<std::mutex> lock(sLock); in enumerateDevices()
179 std::unique_lock<std::mutex> lock(sLock); in getCameraList()
DEvsGlDisplay.h58 std::mutex mAccessLock;
DEvsEnumerator.h80 static std::mutex sLock; // Mutex on shared camera device list.
/packages/apps/Nfc/nci/jni/
DMutex.h94 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock() argument
95 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock() argument
DCondVar.cpp78 void CondVar::wait(Mutex& mutex) { in wait() argument
79 int const res = pthread_cond_wait(&mCondition, mutex.nativeHandle()); in wait()
95 bool CondVar::wait(Mutex& mutex, long millisec) { in wait() argument
113 pthread_cond_timedwait(&mCondition, mutex.nativeHandle(), &absoluteTime); in wait()
DPeerToPeer.cpp255 AutoMutex mutex(mMutex); in removeServer() local
574 AutoMutex mutex(mMutex); in removeConn() local
719 AutoMutex mutex(mMutex); in findClient() local
739 AutoMutex mutex(mMutex); in findClient() local
759 AutoMutex mutex(mMutex); in findClientCon() local
779 AutoMutex mutex(mMutex); in findConnection() local
813 AutoMutex mutex(mMutex); in findConnection() local
1164 AutoMutex mutex(mMutex); in handleNfcOnOff() local
1721 AutoMutex mutex(mMutex); in unblockAll() local
1739 AutoMutex mutex(mMutex); in allocateConnection() local
[all …]
DCondVar.h58 void wait(Mutex& mutex);
70 bool wait(Mutex& mutex, long millisec);
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.h190 std::mutex& getCvMutex() { return cv_mutex_; } in getCvMutex()
336 mutable std::mutex mappings_mutex_;
339 mutable std::mutex queries_mutex_;
349 std::mutex update_mutex_;
351 std::mutex cv_mutex_;
354 std::mutex cv_mutex_for_deferred_resp_;
/packages/apps/TV/jni/
Dmutex.h43 Autolock(Mutex &mutex) : lock(&mutex) { in Autolock() argument
/packages/modules/DnsResolver/tests/dns_metrics_listener/
Dtest_metrics.h42 std::mutex& getCvMutex() { return mCvMutex; } in getCvMutex()
49 std::mutex mCvMutex;
/packages/modules/DnsResolver/
DLockedQueue.h45 std::mutex mLock;
DDnsTlsSessionCache.h50 std::mutex mLock;
DExperiments.h47 mutable std::mutex mMutex;
DResolverEventReporter.h64 mutable std::mutex mMutex;
Dresolv_tls_unit_test.cpp253 std::mutex mLock;
525 std::mutex mLock;
637 std::mutex mLock;
710 std::mutex mLock;
DDnsTlsTransport.h67 mutable std::mutex mLock;
/packages/services/Car/tools/keventreader/server/
Deventprovider.h40 std::mutex mMutex;

12