Home
last modified time | relevance | path

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

12

/frameworks/av/media/libmediaplayerservice/
DMediaPlayerFactory.cpp36 Mutex MediaPlayerFactory::sLock; member in android::MediaPlayerFactory
75 Mutex::Autolock lock_(&sLock); in registerFactory()
80 Mutex::Autolock lock_(&sLock); in unregisterFactory()
85 Mutex::Autolock lock_(&sLock); \
134 Mutex::Autolock lock_(&sLock); in createPlayer()
332 Mutex::Autolock lock_(&sLock); in registerBuiltinFactories()
DMediaPlayerFactory.h76 static Mutex sLock; variable
/frameworks/native/libs/ui/
DGraphicBufferAllocator.cpp34 Mutex GraphicBufferAllocator::sLock;
56 Mutex::Autolock _l(sLock); in dump()
111 Mutex::Autolock _l(sLock); in alloc()
141 Mutex::Autolock _l(sLock); in free()
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp56 static Mutex sLock; variable
90 Mutex::Autolock l(sLock); in recorderCallback()
128 Mutex::Autolock l(sLock); in recorderCallback()
137 Mutex::Autolock l(sLock); in getAudioRecord()
145 Mutex::Autolock l(sLock); in setAudioRecord()
256 Mutex::Autolock l(sLock); in android_media_AudioRecord_setup()
331 Mutex::Autolock l(sLock); in android_media_AudioRecord_release()
334 if (lpCookie->cond.waitRelative(sLock, in android_media_AudioRecord_release()
Dandroid_media_AudioTrack.cpp91 static Mutex sLock; variable
127 Mutex::Autolock l(sLock); in audioCallback()
165 Mutex::Autolock l(sLock); in audioCallback()
175 Mutex::Autolock l(sLock); in getAudioTrack()
183 Mutex::Autolock l(sLock); in setAudioTrack()
365 Mutex::Autolock l(sLock); in android_media_AudioTrack_native_setup()
484 Mutex::Autolock l(sLock); in android_media_AudioTrack_native_release()
488 if (lpCookie->cond.waitRelative(sLock, in android_media_AudioTrack_native_release()
Dandroid_hardware_Camera.cpp55 static Mutex sLock; variable
115 Mutex::Autolock _l(sLock); in get_native_camera()
517 Mutex::Autolock _l(sLock); in android_hardware_Camera_release()
/frameworks/base/media/java/android/media/
DExifInterface.java114 private static final Object sLock = new Object(); field in ExifInterface
206 synchronized (sLock) { in loadAttributes()
269 synchronized (sLock) { in saveAttributes()
288 synchronized (sLock) { in getThumbnail()
302 synchronized (sLock) { in getThumbnailRange()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteGlobal.java40 private static final Object sLock = new Object(); field in SQLiteGlobal
62 synchronized (sLock) { in getDefaultPageSize()
/frameworks/base/core/java/android/widget/
DRemoteViewsService.java43 private static final Object sLock = new Object(); field in RemoteViewsService
215 synchronized (sLock) { in onDestroy()
236 synchronized (sLock) { in onBind()
/frameworks/base/core/java/android/text/
DMeasuredText.java48 private static final Object[] sLock = new Object[0]; field in MeasuredText
53 synchronized (sLock) { in obtain()
72 synchronized(sLock) { in recycle()
DAutoText.java59 private static Object sLock = new Object(); field in AutoText
92 synchronized (sLock) { in getInstance()
DDynamicLayout.java273 synchronized (sLock) { in reflow()
361 synchronized (sLock) { in reflow()
730 private static final Object[] sLock = new Object[0]; field in DynamicLayout
DTextUtils.java1318 synchronized (sLock) { in obtain()
1333 synchronized (sLock) { in recycle()
1780 private static Object sLock = new Object(); field in TextUtils
/frameworks/native/include/ui/
DGraphicBufferAllocator.h83 static Mutex sLock; variable
/frameworks/base/core/java/android/os/
DEnvironment.java69 private static final Object sLock = new Object(); field in Environment
80 synchronized (sLock) { in getPrimaryVolume()
105 synchronized (sLock) { in initForCurrentUser()
/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp56 static Mutex sLock; variable
130 Mutex::Autolock l(sLock); in getMediaRecorder()
137 Mutex::Autolock l(sLock); in setMediaRecorder()
Dandroid_media_MediaProfiles.cpp31 static Mutex sLock; variable
40 Mutex::Autolock lock(sLock); in android_media_MediaProfiles_native_init()
Dandroid_media_MediaMetadataRetriever.cpp47 static Mutex sLock; variable
359 Mutex::Autolock lock(sLock); in android_media_MediaMetadataRetriever_release()
Dandroid_media_MediaPlayer.cpp66 static Mutex sLock; variable
135 Mutex::Autolock l(sLock); in getMediaPlayer()
142 Mutex::Autolock l(sLock); in setMediaPlayer()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java82 private final static ReentrantLock sLock = new ReentrantLock(); field in Bridge
436 return sLock; in getLock()
470 if (sLock.isHeldByCurrentThread() == false) { in setLog()
/frameworks/base/tests/CoreTests/android/core/
DHeapTest.java347 private static final Object sLock = new Object(); field in HeapTest
353 synchronized (sLock) { in finalize()
/frameworks/base/core/java/android/text/format/
DDateUtils.java42 private static final Object sLock = new Object(); field in DateUtils
461 synchronized (sLock) { in initFormatStrings()
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp179 static Mutex sLock; variable
183 Mutex::Autolock l(sLock); in setDrmManagerClientImpl()
199 Mutex::Autolock l(sLock); in getDrmManagerClientImpl()
/frameworks/av/include/media/
DMediaProfiles.h487 static Mutex sLock; variable
/frameworks/base/services/java/com/android/server/accessibility/
DScreenMagnifier.java889 private static final Object sLock = new Object(); field in ScreenMagnifier.MotionEventInfo
903 synchronized (sLock) { in obtain()
928 synchronized (sLock) { in recycle()

12