Home
last modified time | relevance | path

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

12345678910>>...21

/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.cpp59 Mutex::Autolock lock(mLock); in setInputSurface()
70 Mutex::Autolock lock(mLock); in querySurfaceMediaSource()
84 Mutex::Autolock lock(mLock); in setCamera()
95 Mutex::Autolock lock(mLock); in setPreviewSurface()
110 Mutex::Autolock lock(mLock); in setVideoSource()
124 Mutex::Autolock lock(mLock); in setAudioSource()
135 Mutex::Autolock lock(mLock); in setOutputFormat()
146 Mutex::Autolock lock(mLock); in setVideoEncoder()
157 Mutex::Autolock lock(mLock); in setAudioEncoder()
168 Mutex::Autolock lock(mLock); in setOutputFile()
[all …]
DMetadataRetrieverClient.cpp77 Mutex::Autolock lock(mLock); in disconnect()
111 Mutex::Autolock lock(mLock); in setDataSource()
138 Mutex::Autolock lock(mLock); in setDataSource()
180 Mutex::Autolock lock(mLock); in setDataSource()
193 Mutex MetadataRetrieverClient::sLock;
200 Mutex::Autolock lock(mLock); in getFrameAtTime()
201 Mutex::Autolock glock(sLock); in getFrameAtTime()
218 Mutex::Autolock lock(mLock); in getImageAtIndex()
219 Mutex::Autolock glock(sLock); in getImageAtIndex()
236 Mutex::Autolock lock(mLock); in getImageRectAtIndex()
[all …]
/frameworks/rs/
DrsMutex.cpp22 Mutex::Mutex() { in Mutex() function in android::renderscript::Mutex
25 Mutex::~Mutex() { in ~Mutex()
29 bool Mutex::init() { in init()
38 bool Mutex::lock() { in lock()
48 bool Mutex::unlock() { in unlock()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dcommon.cc169 static Mutex* log_silencer_count_mutex_ = NULL;
177 log_silencer_count_mutex_ = new Mutex; in InitLogSilencerCount()
311 struct Mutex::Internal {
319 Mutex::Mutex() in Mutex() function in google::protobuf::Mutex
324 Mutex::~Mutex() { in ~Mutex()
329 void Mutex::Lock() { in Lock()
336 void Mutex::Unlock() { in Unlock()
343 void Mutex::AssertHeld() { in AssertHeld()
351 struct Mutex::Internal {
355 Mutex::Mutex() in Mutex() function in google::protobuf::Mutex
[all …]
Dmutex.h48 class LIBPROTOBUF_EXPORT Mutex {
51 Mutex();
54 ~Mutex();
70 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Mutex);
84 explicit MutexLock(Mutex *mu) : mu_(mu) { this->mu_->Lock(); } in MutexLock()
87 Mutex *const mu_;
98 explicit MutexLockMaybe(Mutex *mu) : in MutexLockMaybe()
102 Mutex *const mu_;
138 using internal::Mutex;
/frameworks/av/media/libmediaplayer2/
DMediaPlayer2AudioOutput.cpp114 Mutex::Autolock lock(mLock); in bufferSize()
122 Mutex::Autolock lock(mLock); in frameCount()
130 Mutex::Autolock lock(mLock); in channelCount()
138 Mutex::Autolock lock(mLock); in frameSize()
146 Mutex::Autolock lock(mLock); in latency()
154 Mutex::Autolock lock(mLock); in msecsPerFrame()
159 Mutex::Autolock lock(mLock); in getPosition()
167 Mutex::Autolock lock(mLock); in getTimestamp()
183 Mutex::Autolock lock(mLock); in getPlayedOutDurationUs()
228 Mutex::Autolock lock(mLock); in getFramesWritten()
[all …]
Dmediaplayer2.cpp71 Mutex sRecordLock;
81 Mutex::Autolock lock(sRecordLock); in addPlayer()
87 Mutex::Autolock lock(sRecordLock); in removePlayer()
103 Mutex::Autolock lock(sRecordLock); in dumpPlayers()
272 Mutex::Autolock _l(mLock); in disconnect()
283 Mutex::Autolock _l(mLock); in disconnect()
298 Mutex::Autolock _l(mLock); in setListener()
308 Mutex::Autolock _l(mLock); in getSrcId()
331 Mutex::Autolock _l(mLock); in setDataSource()
376 Mutex::Autolock _l(mLock); in prepareNextDataSource()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp49 Mutex::Autolock _l(mLock); in setDeviceConnectionState()
80 Mutex::Autolock _l(mLock); in handleDeviceConfigChange()
103 Mutex::Autolock _l(mLock); in setPhoneState()
115 Mutex::Autolock _l(mLock); in getPhoneState()
137 Mutex::Autolock _l(mLock); in setForceUse()
164 Mutex::Autolock _l(mLock); in getOutput()
185 Mutex::Autolock _l(mLock); in getOutputForAttr()
236 Mutex::Autolock _l(mLock); in getPlaybackClientAndEffects()
265 Mutex::Autolock _l(mLock); in startOutput()
300 Mutex::Autolock _l(mLock); in doStopOutput()
[all …]
/frameworks/av/media/libmedia/
Dmediaplayer.cpp94 Mutex::Autolock _l(mLock); in disconnect()
118 Mutex::Autolock _l(mLock); in setListener()
129 Mutex::Autolock _l(mLock); in attachNewPlayer()
209 Mutex::Autolock _l(mLock); in invoke()
224 Mutex::Autolock lock(mLock); in setMetadataFilter()
234 Mutex::Autolock lock(mLock); in getMetadata()
245 Mutex::Autolock _l(mLock); in setVideoSurfaceTexture()
254 Mutex::Autolock _l(mLock); in getBufferingSettings()
265 Mutex::Autolock _l(mLock); in setBufferingSettings()
295 Mutex::Autolock _l(mLock); in prepare()
[all …]
Dmediametadataretriever.cpp34 Mutex MediaMetadataRetriever::sServiceLock;
40 Mutex::Autolock lock(sServiceLock); in getService()
89 Mutex::Autolock _l(mLock); in disconnect()
104 Mutex::Autolock _l(mLock); in setDataSource()
120 Mutex::Autolock _l(mLock); in setDataSource()
136 Mutex::Autolock _l(mLock); in setDataSource()
149 Mutex::Autolock _l(mLock); in getFrameAtTime()
161 Mutex::Autolock _l(mLock); in getImageAtIndex()
173 Mutex::Autolock _l(mLock); in getImageRectAtIndex()
187 Mutex::Autolock _l(mLock); in getFrameAtIndex()
[all …]
DJetPlayer.cpp103 Mutex::Autolock l(mMutex); in init()
124 Mutex::Autolock l(mMutex); in setEventCallback()
132 Mutex::Autolock lock(mMutex); in release()
173 Mutex::Autolock l(mMutex); in render()
331 Mutex::Autolock lock(mMutex); in loadFromFile()
350 Mutex::Autolock lock(mMutex); in loadFromFD()
367 Mutex::Autolock lock(mMutex); in closeFile()
376 Mutex::Autolock lock(mMutex); in play()
398 Mutex::Autolock lock(mMutex); in pause()
419 Mutex::Autolock lock(mMutex); in queueSegment()
[all …]
/frameworks/av/drm/libdrmframework/plugins/common/util/include/
DSessionMap.h37 Mutex::Autolock lock(mLock); in ~SessionMap()
51 Mutex::Autolock lock(mLock); in addValue()
67 Mutex::Autolock lock(mLock); in getValue()
77 Mutex::Autolock lock(mLock); in getSize()
90 Mutex::Autolock lock(mLock); in getValueAt()
105 Mutex::Autolock lock(mLock); in removeValue()
118 Mutex::Autolock lock(mLock); in isCreated()
123 Mutex::Autolock lock(mLock);
132 Mutex mLock;
/frameworks/av/media/utils/
DBatteryNotifier.cpp35 Mutex::Autolock _l(mLock); in ~BatteryNotifier()
42 Mutex::Autolock _l(mLock); in noteStartVideo()
51 Mutex::Autolock _l(mLock); in noteStopVideo()
69 Mutex::Autolock _l(mLock); in noteResetVideo()
78 Mutex::Autolock _l(mLock); in noteStartAudio()
87 Mutex::Autolock _l(mLock); in noteStopAudio()
105 Mutex::Autolock _l(mLock); in noteResetAudio()
114 Mutex::Autolock _l(mLock); in noteFlashlightOn()
127 Mutex::Autolock _l(mLock); in noteFlashlightOff()
140 Mutex::Autolock _l(mLock); in noteResetFlashlight()
[all …]
/frameworks/native/libs/gui/
DConsumerBase.cpp83 Mutex::Autolock lock(mMutex); in ~ConsumerBase()
109 Mutex::Autolock lock(mFrameAvailableMutex); in onFrameAvailable()
124 Mutex::Autolock lock(mFrameAvailableMutex); in onFrameReplaced()
135 Mutex::Autolock lock(mMutex); in onBuffersReleased()
158 Mutex::Autolock lock(mMutex); in abandon()
181 Mutex::Autolock _l(mMutex); in isAbandoned()
186 Mutex::Autolock _l(mMutex); in setName()
198 Mutex::Autolock lock(mFrameAvailableMutex); in setFrameAvailableListener()
204 Mutex::Autolock lock(mMutex); in detachBuffer()
223 Mutex::Autolock _l(mMutex); in setDefaultBufferSize()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp120 Mutex::Autolock autoLock(mMetricsLock); in ~NuPlayerDriver()
135 Mutex::Autolock autoLock(mMetricsLock); in setUID()
148 Mutex::Autolock autoLock(mLock); in setDataSource()
167 Mutex::Autolock autoLock(mLock); in setDataSource()
186 Mutex::Autolock autoLock(mLock); in setDataSource()
205 Mutex::Autolock autoLock(mLock); in setDataSource()
225 Mutex::Autolock autoLock(mLock); in setVideoSurfaceTexture()
254 Mutex::Autolock autoLock(mLock); in getBufferingSettings()
266 Mutex::Autolock autoLock(mLock); in setBufferingSettings()
277 Mutex::Autolock autoLock(mLock); in prepare()
[all …]
/frameworks/av/soundtrigger/
DSoundTrigger.cpp39 Mutex gLock;
49 Mutex::Autolock _l(gLock); in binderDied()
60 Mutex::Autolock _l(gLock); in getSoundTriggerHwService()
146 Mutex::Autolock _l(mLock); in detach()
158 Mutex::Autolock _l(mLock); in loadSoundModel()
168 Mutex::Autolock _l(mLock); in unloadSoundModel()
178 Mutex::Autolock _l(mLock); in startRecognition()
187 Mutex::Autolock _l(mLock); in stopRecognition()
196 Mutex::Autolock _l(mLock); in getModelState()
206 Mutex::Autolock _l(mLock); in onRecognitionEvent()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/default/
DSessionLibrary.cpp27 using android::Mutex;
32 Mutex SessionLibrary::sSingletonLock;
36 Mutex::Autolock lock(sSingletonLock); in get()
47 Mutex::Autolock lock(mSessionsLock); in createSession()
62 Mutex::Autolock lock(mSessionsLock); in findSession()
70 Mutex::Autolock lock(mSessionsLock);\ in destroySession()
/frameworks/av/drm/drmserver/
DDrmManager.cpp54 Mutex::Autolock _l(mLock); in addUniqueId()
79 Mutex::Autolock _l(mLock); in removeUniqueId()
113 Mutex::Autolock _l(mLock); in unloadPlugIns()
123 Mutex::Autolock _l(mListenerLock); in setDrmServiceListener()
133 Mutex::Autolock _l(mLock); in addClient()
145 Mutex::Autolock _l(mLock); in removeClient()
154 Mutex::Autolock _l(mLock); in getConstraints()
164 Mutex::Autolock _l(mLock); in getMetadata()
174 Mutex::Autolock _l(mLock); in canHandle()
193 Mutex::Autolock _l(mLock); in processDrmInfo()
[all …]
/frameworks/av/camera/ndk/impl/
DACameraCaptureSession.cpp30 Mutex::Autolock _l(mSessionLock); in ~ACameraCaptureSession()
43 Mutex::Autolock _l(mSessionLock); in closeByApp()
57 Mutex::Autolock _l(mSessionLock); in closeByApp()
85 Mutex::Autolock _l(mSessionLock); in stopRepeating()
103 Mutex::Autolock _l(mSessionLock); in abortCaptures()
120 Mutex::Autolock _l(mSessionLock); in updateOutputConfiguration()
129 Mutex::Autolock _l(mSessionLock); in getDevice()
140 Mutex::Autolock _l(mSessionLock); in closeByDevice()
/frameworks/native/services/surfaceflinger/
DBufferLayerConsumer.cpp85 Mutex::Autolock lock(mMutex); in setDefaultBufferSize()
97 Mutex::Autolock lock(mMutex); in setContentsChangedListener()
106 Mutex::Autolock lock(mMutex); in updateTexImage()
167 Mutex::Autolock lock(mMutex); in bindTextureImage()
195 Mutex::Autolock lock(mMutex); in releasePendingBuffer()
206 Mutex::Autolock lock(mMutex); in getPrevFinalReleaseFence()
303 Mutex::Autolock lock(mMutex); in getTransformMatrix()
308 Mutex::Autolock lock(mMutex); in setFilteringEnabled()
341 Mutex::Autolock lock(mMutex); in getTimestamp()
347 Mutex::Autolock lock(mMutex); in getCurrentDataSpace()
[all …]
/frameworks/av/media/libstagefright/
DMediaAdapter.cpp34 Mutex::Autolock autoLock(mAdapterLock); in ~MediaAdapter()
40 Mutex::Autolock autoLock(mAdapterLock); in start()
50 Mutex::Autolock autoLock(mAdapterLock); in stop()
71 Mutex::Autolock autoLock(mAdapterLock); in getFormat()
76 Mutex::Autolock autoLock(mAdapterLock); in signalBufferReturned()
86 Mutex::Autolock autoLock(mAdapterLock); in read()
117 Mutex::Autolock autoLock(mAdapterLock); in pushBuffer()
/frameworks/native/libs/sensor/
DSensorManager.cpp42 Mutex SensorManager::sLock;
48 Mutex::Autolock _l(sLock); in getInstanceForPackage()
97 Mutex::Autolock _l(mLock); in SensorManager()
128 Mutex::Autolock _l(mLock); in sensorManagerDied()
178 Mutex::Autolock _l(mLock); in getSensorList()
188 Mutex::Autolock _l(mLock); in getDynamicSensorList()
202 Mutex::Autolock _l(mLock); in getDefaultSensor()
231 Mutex::Autolock _l(mLock); in createEventQueue()
247 Mutex::Autolock _l(mLock); in isDataInjectionEnabled()
256 Mutex::Autolock _l(mLock); in createDirectChannel()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Stream.cpp159 Mutex::Autolock l(mLock); in forceToIdle()
193 Mutex::Autolock l(mLock); in restoreConfiguredState()
228 Mutex::Autolock l(mLock); in startConfiguration()
293 Mutex::Autolock l(mLock); in isConfiguring()
302 Mutex::Autolock l(mLock); in finishConfiguration()
374 Mutex::Autolock l(mLock); in cancelConfiguration()
406 Mutex::Autolock l(mLock); in isUnpreparable()
413 Mutex::Autolock l(mLock); in startPrepare()
464 Mutex::Autolock l(mLock); in isBlockedByPrepare()
469 Mutex::Autolock l(mLock); in isAbandoned()
[all …]
/frameworks/native/libs/gui/tests/
DDisconnectWaiter.h40 Mutex::Autolock lock(mMutex); in waitForFrame()
48 Mutex::Autolock lock(mMutex); in onFrameAvailable()
54 Mutex::Autolock lock(mMutex); in onBuffersReleased()
63 Mutex::Autolock lock(mMutex); in finishDisconnect()
69 Mutex mMutex;
/frameworks/base/libs/hwui/surfacetexture/
DSurfaceTexture.cpp89 Mutex::Autolock lock(mMutex); in setDefaultBufferSize()
102 Mutex::Autolock lock(mMutex); in updateTexImage()
116 Mutex::Autolock lock(mMutex); in releaseTexImage()
163 Mutex::Autolock lock(mMutex); in detachFromContext()
186 Mutex::Autolock lock(mMutex); in attachToContext()
210 Mutex::Autolock _l(mMutex); in attachToView()
230 Mutex::Autolock _l(mMutex); in detachFromView()
253 Mutex::Autolock lock(mMutex); in getTransformMatrix()
258 Mutex::Autolock lock(mMutex); in setFilteringEnabled()
403 Mutex::Autolock lock(mMutex); in getTimestamp()
[all …]

12345678910>>...21