Home
last modified time | relevance | path

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

/packages/apps/Nfc/nxp/jni/
Dcom_android_nfc_list.cpp30 if(pthread_mutex_init(&pList->mutex, NULL) == -1) in listInit()
46 if(pthread_mutex_destroy(&pList->mutex) == -1) in listDestroy()
73 pthread_mutex_lock(&pList->mutex); in listAdd()
97 pthread_mutex_unlock(&pList->mutex); in listAdd()
107 pthread_mutex_lock(&pList->mutex); in listRemove()
160 pthread_mutex_unlock(&pList->mutex); in listRemove()
169 pthread_mutex_lock(&pList->mutex); in listGetAndRemoveNext()
197 pthread_mutex_unlock(&pList->mutex); in listGetAndRemoveNext()
Dcom_android_nfc_list.h35 pthread_mutex_t mutex; member
/packages/apps/Nfc/nci/jni/
DPeerToPeer.cpp273 AutoMutex mutex(mMutex); in removeServer() local
596 AutoMutex mutex(mMutex); in removeConn() local
744 AutoMutex mutex(mMutex); in findClient() local
766 AutoMutex mutex(mMutex); in findClient() local
788 AutoMutex mutex(mMutex); in findClientCon() local
810 AutoMutex mutex(mMutex); in findConnection() local
849 AutoMutex mutex(mMutex); in findConnection() local
1207 AutoMutex mutex(mMutex); in handleNfcOnOff() local
1733 AutoMutex mutex(mMutex); in unblockAll() local
1753 AutoMutex mutex(mMutex); in allocateConnection() local
[all …]
DMutex.h101 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock() argument
102 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock() argument
DCondVar.cpp80 void CondVar::wait (Mutex& mutex) in wait() argument
82 int const res = pthread_cond_wait (&mCondition, mutex.nativeHandle()); in wait()
100 bool CondVar::wait (Mutex& mutex, long millisec) in wait() argument
122 int waitResult = pthread_cond_timedwait (&mCondition, mutex.nativeHandle(), &absoluteTime); in wait()
DCondVar.h62 void wait (Mutex& mutex);
75 bool wait (Mutex& mutex, long millisec);