Home
last modified time | relevance | path

Searched refs:mMutex (Results 1 – 18 of 18) sorted by relevance

/device/linaro/poplar/wifi/wifi_hal/
Dsync.h27 pthread_mutex_t mMutex;
30 pthread_mutex_init(&mMutex, NULL); in Mutex()
33 pthread_mutex_destroy(&mMutex); in ~Mutex()
36 return pthread_mutex_trylock(&mMutex); in tryLock()
39 return pthread_mutex_lock(&mMutex); in lock()
42 pthread_mutex_unlock(&mMutex); in unlock()
50 pthread_mutex_t mMutex; variable
54 pthread_mutex_init(&mMutex, NULL); in Condition()
59 pthread_mutex_destroy(&mMutex); in ~Condition()
63 return pthread_cond_wait(&mCondition, &mMutex); in wait()
/device/generic/goldfish/audio/
Dring_buffer.cpp31 std::lock_guard<std::mutex> guard(mMutex); in availableToProduce()
36 std::unique_lock<std::mutex> lock(mMutex); in availableToConsume()
41 std::unique_lock<std::mutex> lock(mMutex); in makeRoomForProduce()
55 std::unique_lock<std::mutex> lock(mMutex); in waitForProduceAvailable()
66 std::unique_lock<std::mutex> lock(mMutex); in getProduceChunk()
80 std::unique_lock<std::mutex> lock(mMutex); in produce()
92 std::unique_lock<std::mutex> lock(mMutex); in produce()
116 std::unique_lock<std::mutex> lock(mMutex); in waitForConsumeAvailable()
127 std::unique_lock<std::mutex> lock(mMutex); in getConsumeChunk()
Dprimary_device.cpp238 std::lock_guard<std::mutex> guard(mMutex); in close()
257 std::lock_guard<std::mutex> guard(mMutex); in unrefDevice()
262 std::lock_guard<std::mutex> guard(mMutex); in unrefDevice()
267 std::lock_guard<std::mutex> guard(mMutex); in updateOutputStreamVolume()
274 std::lock_guard<std::mutex> guard(mMutex); in updateInputStreamMicMute()
301 std::lock_guard<std::mutex> guard(mMutex); in openOutputStreamImpl()
331 std::lock_guard<std::mutex> guard(mMutex); in openInputStreamImpl()
Dring_buffer.h91 mutable std::mutex mMutex; member
Dstream_out.cpp415 std::lock_guard<std::mutex> guard(mMutex); in setVolume()
577 std::lock_guard<std::mutex> guard(mMutex); in setMasterVolume()
Dstream_out.h127 std::mutex mMutex; member
Dprimary_device.h128 mutable std::mutex mMutex; member
/device/generic/goldfish/fingerprint/
Dsession.cpp157 std::lock_guard<std::mutex> lock(mMutex); in generateChallenge()
183 std::lock_guard<std::mutex> lock(mMutex); in enroll()
217 std::lock_guard<std::mutex> lock(mMutex); in authenticate()
247 std::lock_guard<std::mutex> lock(mMutex); in detectInteraction()
274 std::lock_guard<std::mutex> lock(mMutex); in enumerateEnrollments()
286 std::lock_guard<std::mutex> lock(mMutex); in removeEnrollments()
299 std::lock_guard<std::mutex> lock(mMutex); in getAuthenticatorId()
311 std::lock_guard<std::mutex> lock(mMutex); in invalidateAuthenticatorId()
324 std::lock_guard<std::mutex> lock(mMutex); in resetLockout()
364 std::lock_guard<std::mutex> lock(mMutex); in onSensorEventOn()
[all …]
Dsession.h131 mutable std::mutex mMutex; member
/device/google/trout/hal/audiocontrol/aidl/1.0/libandroid_audio_controller/
Dandroid_audio_controller.cpp81 mutable std::mutex mMutex; member in android::hardware::automotive::audiocontrol::V2_0::implementation::AudioFocusControllerImpl
137 std::lock_guard<std::mutex> lock(mMutex); in SetServerAddr()
176 const std::lock_guard<std::mutex> lock(mMutex); in AcquireFocus()
214 const std::lock_guard<std::mutex> lock(mMutex); in ReleaseFocus()
239 std::unique_lock<std::mutex> lock(mMutex); in RequestWorker()
/device/generic/goldfish-opengl/system/hwc3/
DDevice.cpp89 std::unique_lock<std::mutex> lock(mMutex); in getComposer()
123 std::unique_lock<std::mutex> lock(mMutex); in getPersistentKeyValue()
144 std::unique_lock<std::mutex> lock(mMutex); in setPersistentKeyValue()
DDevice.h50 std::mutex mMutex; variable
/device/generic/goldfish-opengl/system/codecs/c2/store/include/goldfish_codec2/store/
DGoldfishComponentStore.h154 std::lock_guard<std::mutex> lock(mMutex); in fetchModule()
173 std::mutex mMutex; ///< mutex guarding the module
205 mMutex; ///< mutex guarding the component lists during construction variable
/device/generic/car/emulator/Conn/SocketComm/
DSocketComm.cpp63 std::lock_guard<std::mutex> lock(mMutex); in sendMessage()
126 std::lock_guard<std::mutex> lock(mMutex); in listenThread()
136 std::lock_guard<std::mutex> lock(mMutex); in removeClosedConnections()
/device/google/trout/hal/common/android/watchdog/
DBaseWatchdogClient.h58 ::android::Mutex mMutex;
59 int mCurrentSessionId GUARDED_BY(mMutex);
DBaseWatchdogClient.cpp40 Mutex::Autolock lock(mMutex); in checkIfAlive()
88 Mutex::Autolock lock(mMutex); in respondToWatchdog()
/device/generic/car/emulator/Conn/SocketComm/include/
DSocketComm.h57 std::mutex mMutex; variable
/device/generic/goldfish-opengl/system/codecs/c2/store/
DGoldfishComponentStore.cpp305 std::lock_guard<std::mutex> lock(mMutex); in visitComponents()