Home
last modified time | relevance | path

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

12

/frameworks/native/include/utils/
DSingleton.h33 Mutex::Autolock _l(sLock); in getInstance()
43 Mutex::Autolock _l(sLock); in hasInstance()
54 static Mutex sLock; variable
68 template<> Mutex Singleton< TYPE >::sLock(Mutex::PRIVATE); \
/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()
327 Mutex::Autolock lock_(&sLock); in registerBuiltinFactories()
DMediaPlayerFactory.h76 static Mutex sLock; variable
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp64 static Mutex sLock; variable
98 Mutex::Autolock l(sLock); in recorderCallback()
136 Mutex::Autolock l(sLock); in recorderCallback()
145 Mutex::Autolock l(sLock); in getAudioRecord()
153 Mutex::Autolock l(sLock); in setAudioRecord()
267 Mutex::Autolock l(sLock); in android_media_AudioRecord_setup()
342 Mutex::Autolock l(sLock); in android_media_AudioRecord_release()
345 if (lpCookie->cond.waitRelative(sLock, in android_media_AudioRecord_release()
Dandroid_media_AudioTrack.cpp95 static Mutex sLock; variable
131 Mutex::Autolock l(sLock); in audioCallback()
170 Mutex::Autolock l(sLock); in audioCallback()
180 Mutex::Autolock l(sLock); in getAudioTrack()
188 Mutex::Autolock l(sLock); in setAudioTrack()
366 Mutex::Autolock l(sLock); in android_media_AudioTrack_native_setup()
485 Mutex::Autolock l(sLock); in android_media_AudioTrack_native_release()
489 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()
510 Mutex::Autolock _l(sLock); in android_hardware_Camera_release()
/frameworks/native/libs/ui/
DGraphicBufferAllocator.cpp34 Mutex GraphicBufferAllocator::sLock;
56 Mutex::Autolock _l(sLock); in dump()
149 Mutex::Autolock _l(GraphicBufferAllocator::sLock); in threadLoop()
221 Mutex::Autolock _l(sLock); in alloc()
/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/database/sqlite/
DSQLiteGlobal.java40 private static final Object sLock = new Object(); field in SQLiteGlobal
62 synchronized (sLock) { in getDefaultPageSize()
/frameworks/base/media/java/android/media/
DExifInterface.java114 private static final Object sLock = new Object(); field in ExifInterface
203 synchronized (sLock) { in loadAttributes()
266 synchronized (sLock) { in saveAttributes()
285 synchronized (sLock) { in getThumbnail()
/frameworks/base/core/java/android/os/
DEnvironment.java50 private static final Object sLock = new Object(); field in Environment
57 synchronized (sLock) { in getPrimaryVolume()
82 synchronized (sLock) { in initForCurrentUser()
/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()
705 private static final Object[] sLock = new Object[0]; field in DynamicLayout
/frameworks/native/include/ui/
DGraphicBufferAllocator.h83 static Mutex sLock; variable
/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp57 static Mutex sLock; variable
132 Mutex::Autolock l(sLock); in getMediaRecorder()
139 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.cpp61 static Mutex sLock; variable
129 Mutex::Autolock l(sLock); in getMediaPlayer()
136 Mutex::Autolock l(sLock); in setMediaPlayer()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java79 private final static ReentrantLock sLock = new ReentrantLock(); field in Bridge
418 return sLock; in getLock()
452 if (sLock.isHeldByCurrentThread() == false) { in setLog()
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java40 static final Object sLock = new Object(); field in PackageMonitor
82 synchronized (sLock) { in register()
/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/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/core/java/android/text/format/
DDateUtils.java40 private static final Object sLock = new Object(); field in DateUtils
581 synchronized (sLock) { in initFormatStrings()
603 synchronized (sLock) { in timeString()

12