Home
last modified time | relevance | path

Searched refs:ThreadMutex (Results 1 – 5 of 5) sorted by relevance

/hardware/nxp/secure_element/libese-spi/src/include/
DNfcAdaptation.h28 class ThreadMutex {
30 ThreadMutex();
31 virtual ~ThreadMutex();
40 class ThreadCondVar : public ThreadMutex {
48 return ThreadMutex::operator pthread_mutex_t*();
57 AutoThreadMutex(ThreadMutex& m);
59 operator ThreadMutex&() { return mm; }
63 ThreadMutex& mm;
77 static ThreadMutex sLock;
78 static ThreadMutex sIoctlLock;
/hardware/nxp/nfc/halimpl/src/include/
DEseAdaptation.h31 class ThreadMutex {
33 ThreadMutex();
34 virtual ~ThreadMutex();
43 class ThreadCondVar : public ThreadMutex {
51 return ThreadMutex::operator pthread_mutex_t*();
60 AutoThreadMutex(ThreadMutex& m);
62 operator ThreadMutex&() { return mm; }
66 ThreadMutex& mm;
84 static ThreadMutex sLock;
85 static ThreadMutex sIoctlLock;
/hardware/nxp/secure_element/libese-spi/src/adaptation/
DNfcAdaptation.cpp33 ThreadMutex NfcAdaptation::sIoctlLock;
35 ThreadMutex NfcAdaptation::sLock;
76 ThreadMutex::ThreadMutex() { in ThreadMutex() function in ThreadMutex
92 ThreadMutex::~ThreadMutex() { pthread_mutex_destroy(&mMutex); } in ~ThreadMutex()
103 AutoThreadMutex::AutoThreadMutex(ThreadMutex& m) : mm(m) { mm.lock(); } in AutoThreadMutex()
125 void ThreadMutex::lock() { pthread_mutex_lock(&mMutex); } in lock()
136 void ThreadMutex::unlock() { pthread_mutex_unlock(&mMutex); } in unlock()
/hardware/nxp/nfc/halimpl/src/adaptation/
DEseAdaptation.cpp45 ThreadMutex EseAdaptation::sLock;
46 ThreadMutex EseAdaptation::sIoctlLock;
279 ThreadMutex::ThreadMutex() { in ThreadMutex() function in ThreadMutex
296 ThreadMutex::~ThreadMutex() { pthread_mutex_destroy(&mMutex); } in ~ThreadMutex()
307 void ThreadMutex::lock() { pthread_mutex_lock(&mMutex); } in lock()
318 void ThreadMutex::unlock() { pthread_mutex_unlock(&mMutex); } in unlock()
386 AutoThreadMutex::AutoThreadMutex(ThreadMutex& m) : mm(m) { mm.lock(); } in AutoThreadMutex()
/hardware/nxp/nfc/halimpl/hal/
DphNxpNciHal.cc55 static ThreadMutex sHalFnLock;