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()
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.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()
263 Mutex::Autolock l(sLock); in android_media_AudioRecord_setup()
338 Mutex::Autolock l(sLock); in android_media_AudioRecord_release()
341 if (lpCookie->cond.waitRelative(sLock, in android_media_AudioRecord_release()
Dandroid_media_AudioTrack.cpp97 static Mutex sLock; variable
133 Mutex::Autolock l(sLock); in audioCallback()
172 Mutex::Autolock l(sLock); in audioCallback()
182 Mutex::Autolock l(sLock); in getAudioTrack()
190 Mutex::Autolock l(sLock); in setAudioTrack()
371 Mutex::Autolock l(sLock); in android_media_AudioTrack_native_setup()
490 Mutex::Autolock l(sLock); in android_media_AudioTrack_native_release()
494 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/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/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()
/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()
728 private static final Object[] sLock = new Object[0]; field in DynamicLayout
/frameworks/base/core/java/android/os/
DEnvironment.java56 private static final Object sLock = new Object(); field in Environment
63 synchronized (sLock) { in getPrimaryVolume()
88 synchronized (sLock) { in initForCurrentUser()
/frameworks/native/include/ui/
DGraphicBufferAllocator.h83 static Mutex sLock; variable
/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.cpp61 static Mutex sLock; variable
129 Mutex::Autolock l(sLock); in getMediaPlayer()
136 Mutex::Autolock l(sLock); in setMediaPlayer()
/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/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/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/services/java/com/android/server/accessibility/
DScreenMagnifier.java888 private static final Object sLock = new Object(); field in ScreenMagnifier.MotionEventInfo
902 synchronized (sLock) { in obtain()
927 synchronized (sLock) { in recycle()

12