/packages/services/BuiltInPrintService/jni/lib/ |
D | wprint_msgq.c | 43 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/ |
D | ippstatus_monitor.c | 64 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/ |
D | StreamHandler.cpp | 47 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()
|
D | EvsVehicleListener.h | 35 std::lock_guard<std::mutex> g(mLock); in onPropertyEvent() 54 std::unique_lock<std::mutex> g(mLock); in waitForEvents() 76 std::mutex mLock;
|
D | EvsStateControl.cpp | 152 std::lock_guard <std::mutex> lock(mLock); in updateLoop() 199 std::unique_lock<std::mutex> lock(mLock); in updateLoop()
|
D | StreamHandler.h | 70 std::mutex mLock;
|
/packages/services/Car/evs/sampleDriver/ |
D | EvsV4lCamera.cpp | 110 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()
|
D | EvsGlDisplay.cpp | 55 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()
|
D | EvsEnumerator.cpp | 42 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()
|
D | EvsGlDisplay.h | 58 std::mutex mAccessLock;
|
D | EvsEnumerator.h | 80 static std::mutex sLock; // Mutex on shared camera device list.
|
/packages/apps/Nfc/nci/jni/ |
D | Mutex.h | 94 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock() argument 95 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock() argument
|
D | CondVar.cpp | 78 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()
|
D | PeerToPeer.cpp | 255 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 …]
|
D | CondVar.h | 58 void wait(Mutex& mutex); 70 bool wait(Mutex& mutex, long millisec);
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.h | 190 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/ |
D | mutex.h | 43 Autolock(Mutex &mutex) : lock(&mutex) { in Autolock() argument
|
/packages/modules/DnsResolver/tests/dns_metrics_listener/ |
D | test_metrics.h | 42 std::mutex& getCvMutex() { return mCvMutex; } in getCvMutex() 49 std::mutex mCvMutex;
|
/packages/modules/DnsResolver/ |
D | LockedQueue.h | 45 std::mutex mLock;
|
D | DnsTlsSessionCache.h | 50 std::mutex mLock;
|
D | Experiments.h | 47 mutable std::mutex mMutex;
|
D | ResolverEventReporter.h | 64 mutable std::mutex mMutex;
|
D | resolv_tls_unit_test.cpp | 253 std::mutex mLock; 525 std::mutex mLock; 637 std::mutex mLock; 710 std::mutex mLock;
|
D | DnsTlsTransport.h | 67 mutable std::mutex mLock;
|
/packages/services/Car/tools/keventreader/server/ |
D | eventprovider.h | 40 std::mutex mMutex;
|