/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;
|
D | EvsStateControl.h | 103 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.
|
D | EvsV4lCamera.h | 94 std::mutex mAccessLock;
|
/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/apps/TV/jni/ |
D | mutex.h | 43 Autolock(Mutex &mutex) : lock(&mutex) { in Autolock() argument
|
/packages/services/Car/tools/keventreader/server/ |
D | eventprovider.h | 40 std::mutex mMutex;
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_btservice_AdapterService.cpp | 81 std::mutex sSocketManagerMutex; 750 std::lock_guard<std::mutex> lock(sSocketManagerMutex); in cleanupNative() 1127 std::lock_guard<std::mutex> lock(sSocketManagerMutex); in getSocketManagerNative()
|