Home
last modified time | relevance | path

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

123

/device/generic/goldfish/camera/fake-pipeline2/
DJpegCompressor.cpp42 Mutex::Autolock lock(mMutex); in ~JpegCompressor()
46 Mutex::Autolock busyLock(mBusyMutex); in reserve()
60 Mutex::Autolock lock(mMutex); in start()
62 Mutex::Autolock busyLock(mBusyMutex); in start()
89 Mutex::Autolock lock(mMutex); in compressSynchronous()
91 Mutex::Autolock busyLock(mBusyMutex); in compressSynchronous()
202 Mutex::Autolock busyLock(mBusyMutex); in isBusy()
207 Mutex::Autolock lock(mBusyMutex); in isStreamInUse()
218 Mutex::Autolock lock(mBusyMutex); in waitForDone()
227 Mutex::Autolock lock(mBusyMutex); in cleanUp()
DSensor.cpp155 Mutex::Autolock lock(mControlMutex); in setExposureTime()
161 Mutex::Autolock lock(mControlMutex); in setFrameDuration()
167 Mutex::Autolock lock(mControlMutex); in setSensitivity()
173 Mutex::Autolock lock(mControlMutex); in setDestinationBuffers()
178 Mutex::Autolock lock(mControlMutex); in setFrameNumber()
184 Mutex::Autolock lock(mControlMutex); in waitForVSync()
197 Mutex::Autolock lock(mReadoutMutex); in waitForNewFrame()
219 Mutex::Autolock lock(mControlMutex); in setSensorListener()
250 Mutex::Autolock lock(mControlMutex); in threadLoop()
291 Mutex::Autolock lock(mReadoutMutex); in threadLoop()
DJpegCompressor.h84 Mutex mBusyMutex;
89 Mutex mMutex;
/device/google/cuttlefish/guest/hals/camera/fake-pipeline2/
DJpegCompressor.cpp35 JpegCompressor::~JpegCompressor() { Mutex::Autolock lock(mMutex); } in ~JpegCompressor()
38 Mutex::Autolock busyLock(mBusyMutex); in reserve()
53 Mutex::Autolock lock(mMutex); in start()
55 Mutex::Autolock busyLock(mBusyMutex); in start()
79 Mutex::Autolock lock(mMutex); in compressSynchronous()
81 Mutex::Autolock busyLock(mBusyMutex); in compressSynchronous()
205 Mutex::Autolock busyLock(mBusyMutex); in isBusy()
210 Mutex::Autolock lock(mBusyMutex); in isStreamInUse()
221 Mutex::Autolock lock(mBusyMutex); in waitForDone()
242 Mutex::Autolock lock(mBusyMutex); in cleanUp()
DSensor.cpp140 Mutex::Autolock lock(mControlMutex); in setExposureTime()
146 Mutex::Autolock lock(mControlMutex); in setFrameDuration()
152 Mutex::Autolock lock(mControlMutex); in setSensitivity()
158 Mutex::Autolock lock(mControlMutex); in setDestinationBuffers()
163 Mutex::Autolock lock(mControlMutex); in setFrameNumber()
169 Mutex::Autolock lock(mControlMutex); in waitForVSync()
181 Mutex::Autolock lock(mReadoutMutex); in waitForNewFrame()
203 Mutex::Autolock lock(mControlMutex); in setSensorListener()
233 Mutex::Autolock lock(mControlMutex); in threadLoop()
274 Mutex::Autolock lock(mReadoutMutex); in threadLoop()
DJpegCompressor.h76 Mutex mBusyMutex;
81 Mutex mMutex;
DSensor.h196 Mutex mControlMutex; // Lock before accessing control parameters
208 Mutex mReadoutMutex; // Lock before accessing readout variables
/device/linaro/poplar/wifi/wifi_hal/
Dsync.h24 class Mutex
29 Mutex() { in Mutex() function
32 ~Mutex() { in ~Mutex()
/device/generic/goldfish/camera/
DCallbackNotifier.cpp123 Mutex::Autolock locker(&mObjectLock); in setCallbacks()
136 Mutex::Autolock locker(&mObjectLock); in enableMessage()
147 Mutex::Autolock locker(&mObjectLock); in disableMessage()
157 Mutex::Autolock locker(&mObjectLock); in enableVideoRecording()
169 Mutex::Autolock locker(&mObjectLock); in disableVideoRecording()
206 Mutex::Autolock locker(&mObjectLock); in cleanupCBNotifier()
350 Mutex::Autolock locker(&mObjectLock); in isNewVideoFrameTime()
DEmulatedFakeCamera2.cpp167 Mutex::Autolock l(mMutex); in connectCamera()
207 Mutex::Autolock l(mMutex); in plugCamera()
220 Mutex::Autolock l(mMutex); in unplugCamera()
232 Mutex::Autolock l(mMutex); in getHotplugStatus()
242 Mutex::Autolock l(mMutex); in closeCamera()
272 Mutex::Autolock l(mMutex); in closeCamera()
307 Mutex::Autolock l(mMutex); in getInProgressCount()
332 Mutex::Autolock l(mMutex); in constructDefaultRequest()
368 Mutex::Autolock l(mMutex); in allocateStream()
484 Mutex::Autolock l(mMutex); in registerStreamBuffers()
[all …]
DWorkerThread.cpp41 Mutex::Autolock lock(mRunningMutex); in startThread()
50 Mutex::Autolock lock(mRunningMutex); in stopThread()
80 Mutex::Autolock lock(mRunningMutex); in threadLoop()
DPreviewWindow.cpp54 Mutex::Autolock locker(&mObjectLock); in setPreviewWindow()
80 Mutex::Autolock locker(&mObjectLock); in startPreview()
90 Mutex::Autolock locker(&mObjectLock); in stopPreview()
102 Mutex::Autolock locker(&mObjectLock); in onNextFrameAvailable()
DEmulatedQemuCameraDevice.cpp75 Mutex::Autolock locker(&mObjectLock); in connectDevice()
104 Mutex::Autolock locker(&mObjectLock); in disconnectDevice()
136 Mutex::Autolock locker(&mObjectLock); in startDevice()
187 Mutex::Autolock locker(&mObjectLock); in stopDevice()
DEmulatedFakeCamera2.h207 Mutex mInputMutex; // Protects mActive, mRequestCount
215 Mutex mInternalsMutex; // Lock before accessing below members.
251 Mutex mInputMutex; // Protects mActive, mInFlightQueue, mRequestCount
270 Mutex mInternalsMutex;
324 Mutex mInputMutex; // Protects input methods
DEmulatedFakeCamera3.h155 Mutex mLock;
231 Mutex mLock;
245 Mutex mJpegLock;
DEmulatedQemuCamera3.h150 Mutex mLock;
232 Mutex mLock;
243 Mutex mJpegLock;
DEmulatedCameraHotplugThread.cpp57 Mutex::Autolock al(mMutex); in requestExit()
93 Mutex::Autolock al(mMutex); in readyToRun()
156 Mutex::Autolock al(mMutex); in threadLoop()
DEmulatedCameraDevice.h538 mutable Mutex mBufferMutex;
547 Mutex mRequestMutex;
562 Mutex mObjectLock;
/device/google/cuttlefish/guest/hals/camera/
DCallbackNotifier.cpp110 Mutex::Autolock locker(&mObjectLock); in setCallbacks()
122 Mutex::Autolock locker(&mObjectLock); in enableMessage()
132 Mutex::Autolock locker(&mObjectLock); in disableMessage()
141 Mutex::Autolock locker(&mObjectLock); in enableVideoRecording()
152 Mutex::Autolock locker(&mObjectLock); in disableVideoRecording()
179 Mutex::Autolock locker(&mObjectLock); in cleanupCBNotifier()
305 Mutex::Autolock locker(&mObjectLock); in isNewVideoFrameTime()
DEmulatedFakeCamera2.cpp197 Mutex::Autolock l(mMutex); in connectCamera()
236 Mutex::Autolock l(mMutex); in plugCamera()
249 Mutex::Autolock l(mMutex); in unplugCamera()
261 Mutex::Autolock l(mMutex); in getHotplugStatus()
268 Mutex::Autolock l(mMutex); in closeCamera()
298 Mutex::Autolock l(mMutex); in closeCamera()
334 Mutex::Autolock l(mMutex); in getInProgressCount()
357 Mutex::Autolock l(mMutex); in constructDefaultRequest()
383 Mutex::Autolock l(mMutex); in allocateStream()
495 Mutex::Autolock l(mMutex); in registerStreamBuffers()
[all …]
DPreviewWindow.cpp50 Mutex::Autolock locker(&mObjectLock); in setPreviewWindow()
80 Mutex::Autolock locker(&mObjectLock); in startPreview()
89 Mutex::Autolock locker(&mObjectLock); in stopPreview()
101 Mutex::Autolock locker(&mObjectLock); in onNextFrameAvailable()
DEmulatedQemuCameraDevice.cpp73 Mutex::Autolock locker(&mObjectLock); in connectDevice()
101 Mutex::Autolock locker(&mObjectLock); in disconnectDevice()
131 Mutex::Autolock locker(&mObjectLock); in startDevice()
180 Mutex::Autolock locker(&mObjectLock); in stopDevice()
DEmulatedFakeCamera2.h191 Mutex mInputMutex; // Protects mActive, mRequestCount
199 Mutex mInternalsMutex; // Lock before accessing below members.
235 Mutex mInputMutex; // Protects mActive, mInFlightQueue, mRequestCount
254 Mutex mInternalsMutex;
308 Mutex mInputMutex; // Protects input methods
DEmulatedFakeCamera3.h151 Mutex mLock;
225 Mutex mLock;
239 Mutex mJpegLock;
/device/generic/goldfish/camera/qemu-pipeline3/
DQemuSensor.cpp137 Mutex::Autolock lock(mControlMutex); in setFrameDuration()
143 Mutex::Autolock lock(mControlMutex); in setDestinationBuffers()
148 Mutex::Autolock lock(mControlMutex); in setFrameNumber()
154 Mutex::Autolock lock(mControlMutex); in waitForVSync()
166 Mutex::Autolock lock(mReadoutMutex); in waitForNewFrame()
188 Mutex::Autolock lock(mControlMutex); in setQemuSensorListener()
216 Mutex::Autolock lock(mControlMutex); in threadLoop()
261 Mutex::Autolock lock(mReadoutMutex); in threadLoop()

123