Home
last modified time | relevance | path

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

/packages/services/Car/tests/libvehiclenetwork-native-test/
DIVehicleNetworkTestListener.h31 Mutex::Autolock autolock(mLock); in onEvents()
50 Mutex::Autolock autolock(mHalErrorLock); in onHalError()
58 Mutex::Autolock autolock(mHalRestartLock); in onHalRestart()
64 Mutex::Autolock autolock(mLock); in waitForEvents()
69 Mutex::Autolock autolock(mLock); in waitForEvent()
83 Mutex::Autolock autolock(mLock); in getEventCount()
88 Mutex::Autolock autolock(mHalRestartLock); in getHalRestartCount()
93 Mutex::Autolock autolock(mHalRestartLock); in waitForHalRestart()
98 Mutex::Autolock autolock(mHalErrorLock); in waitForHalError()
103 Mutex::Autolock autolock(mHalErrorLock); in isErrorMatching()
[all …]
DVehicleNetworkTestListener.h44 Mutex::Autolock autolock(mLock); in onEvents()
73 Mutex::Autolock autolock(mLock); in waitForEvents()
78 Mutex::Autolock autolock(mLock); in waitForEvent()
91 Mutex::Autolock autolock(mLock); in getEventCount()
97 Mutex::Autolock autolock(mLock); in getEvents()
117 Mutex mLock;
DVehicleNetworkAudioHelperTest.cpp62 Mutex::Autolock autoLock(mLock); in onListProperties()
73 Mutex::Autolock autoLock(mLock); in onPropertyGet()
91 Mutex::Autolock autoLock(mLock); in setFocusState()
101 Mutex::Autolock autoLock(mLock); in getCurrentFocus()
107 mutable Mutex mLock;
/packages/apps/TV/usbtuner/jni/
Dmutex.h24 class Mutex {
26 Mutex() { in Mutex() function
35 ~Mutex() { in ~Mutex()
43 Autolock(Mutex &mutex) : lock(&mutex) { in Autolock()
50 Mutex *lock;
57 Mutex(const Mutex&);
58 Mutex& operator=(const Mutex&);
DDvbManager.cpp183 Mutex::Autolock autoLock(mFilterLock); in startTsPidFilter()
233 Mutex::Autolock autoLock(mFilterLock); in closeAllDvbPidFilter()
243 Mutex::Autolock autoLock(mFilterLock); in closePatFilter()
DDvbManager.h49 Mutex mFilterLock;
/packages/apps/Nfc/nci/jni/
DMutex.cpp37 Mutex::Mutex () in Mutex() function in Mutex
57 Mutex::~Mutex () in ~Mutex()
76 void Mutex::lock () in lock()
95 void Mutex::unlock () in unlock()
114 bool Mutex::tryLock () in tryLock()
134 pthread_mutex_t* Mutex::nativeHandle () in nativeHandle()
DMutex.h25 class Mutex
37 Mutex ();
49 ~Mutex ();
101 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock()
102 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock()
105 Mutex& mLock;
113 typedef Mutex::Autolock AutoMutex;
DPeerToPeer.h409 Mutex mMutex;
417 Mutex mDisconnectMutex; // synchronize the disconnect operation
418 Mutex mNewJniHandleMutex; // synchronize the creation of a new JNI handle
719 Mutex mMutex;
DCondVar.h62 void wait (Mutex& mutex);
75 bool wait (Mutex& mutex, long millisec);
DCondVar.cpp80 void CondVar::wait (Mutex& mutex) in wait()
100 bool CondVar::wait (Mutex& mutex, long millisec) in wait()
DDataQueue.h104 Mutex mMutex;
DSyncEvent.h120 Mutex mMutex;
DPn544Interop.cpp44 static Mutex gMutex;
DPowerSwitch.h247 Mutex mMutex;
DNativeNfcTag.cpp94 static Mutex sRfInterfaceMutex;
/packages/services/Car/vehicle_network_service/
DVehicleNetworkService.h84 mutable Mutex mLock;
133 Mutex::Autolock autoLock(mLock); in getSubscriptionInfo()
142 Mutex::Autolock autoLock(mLock); in setSubscriptionInfo()
148 Mutex::Autolock autoLock(mLock); in removePropertyAndCheckIfActive()
154 Mutex::Autolock autoLock(mLock); in removeAllProperties()
159 Mutex::Autolock autoLock(mLock); in isActive()
164 Mutex::Autolock autoLock(mLock); in setHalRestartMonitoringState()
169 Mutex::Autolock autoLock(mLock); in isMonitoringHalRestart()
174 Mutex::Autolock autoLock(mLock); in setHalErrorMonitoringState()
179 Mutex::Autolock autoLock(mLock); in isMonitoringHalError()
[all …]
DVehicleNetworkService.cpp53 Mutex::Autolock autoLock(mLock); in ~VehicleHalMessageHandler()
69 Mutex::Autolock autoLock(mLock); in handleHalEvent()
82 Mutex::Autolock autoLock(mLock); in handleHalError()
88 Mutex::Autolock autoLock(mLock); in handleMockStart()
100 Mutex::Autolock autoLock(mLock); in doHandleHalEvent()
131 Mutex::Autolock autoLock(mLock); in doHandleHalError()
299 Mutex::Autolock autoLock(mLock); in binderDied()
357 Mutex::Autolock autoLock(mLock); in onFirstRef()
393 Mutex::Autolock autoLock(mLock); in release()
473 Mutex::Autolock autoLock(mLock); in listProperties()
[all …]
/packages/services/Car/libvehiclenetwork/native/
DVehicleNetwork.cpp36 Mutex::Autolock autoLock(mLock); in ~VehicleNetworkEventMessageHandler()
46 Mutex::Autolock autoLock(mLock); in handleHalEvents()
53 Mutex::Autolock autoLock(mLock); in handleHalError()
64 Mutex::Autolock autoLock(mLock); in handleHalRestart()
72 Mutex::Autolock autoLock(mLock); in doHandleHalEvents()
87 Mutex::Autolock autoLock(mLock); in doHandleHalError()
104 Mutex::Autolock autoLock(mLock); in doHandleHalRestart()
162 Mutex::Autolock autoLock(mLock); in onFirstRef()
294 Mutex::Autolock autoLock(mLock); in binderDied()
307 Mutex::Autolock autoLock(mLock); in getService()
[all …]
DHandlerThread.cpp31 Mutex::Autolock autoLock(mLock); in getLooper()
61 Mutex::Autolock autoLock(mLock); in threadLoop()
/packages/services/Car/libvehiclenetwork/libvehiclenetwork-audio-helper/src/
DVehicleNetworkAudioHelper.cpp51 Mutex::Autolock autoLock(mLock); in init()
83 Mutex::Autolock autoLock(mLock); in release()
102 Mutex::Autolock autoLock(mLock); in notifyStreamStarted()
126 Mutex::Autolock autoLock(mLock); in notifyStreamStopped()
159 Mutex::Autolock autoLock(mLock); in getStreamFocusState()
184 Mutex::Autolock autoLock(mLock); in waitForStreamFocus()
208 Mutex::Autolock autoLock(mLock); in onEvents()
237 Mutex::Autolock autoLock(mLock); in onHalRestart()
/packages/apps/Terminal/jni/
Dcom_android_terminal_Terminal.cpp137 Mutex mLock;
383 Mutex::Autolock lock(mLock); in run()
397 Mutex::Autolock lock(mLock); in dispatchCharacter()
403 Mutex::Autolock lock(mLock); in dispatchKey()
419 Mutex::Autolock lock(mLock); in resize()
596 Mutex::Autolock lock(term->mLock); in com_android_terminal_Terminal_nativeGetCellRun()
/packages/services/Car/libvehiclenetwork/include/
DVehicleNetwork.h79 mutable Mutex mLock;
152 Mutex mLock;
DHandlerThread.h42 mutable Mutex mLock;
/packages/services/Car/libvehiclenetwork/libvehiclenetwork-audio-helper/include/
DVehicleNetworkAudioHelper.h81 Mutex mLock;