Home
last modified time | relevance | path

Searched refs:ScopedLock (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/utils/
DCloseableLock.java73 public class ScopedLock implements AutoCloseable { class in CloseableLock
74 private ScopedLock() {} in ScopedLock() method in CloseableLock.ScopedLock
119 ScopedLock scoper = acquireExclusiveLock(); in close()
167 public ScopedLock acquireLock() { in acquireLock()
214 return new ScopedLock(); in acquireLock()
235 public ScopedLock acquireExclusiveLock() { in acquireExclusiveLock()
287 return new ScopedLock(); in acquireExclusiveLock()
/frameworks/base/libs/androidfw/include/androidfw/
DMutexGuard.h28 class ScopedLock; variable
66 friend class ScopedLock<T>;
75 class ScopedLock {
77 explicit ScopedLock(Guarded<T>& guarded) : lock_(guarded.lock_), guarded_(guarded.guarded_) { in ScopedLock() function
93 DISALLOW_COPY_AND_ASSIGN(ScopedLock);
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp358 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeGetOverlayableMap()
483 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeSetApkAssets()
532 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeSetConfiguration()
537 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeGetAssignedPackageIdentifiers()
568 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeList()
616 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeOpenAsset()
636 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeOpenAssetFd()
662 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeOpenNonAsset()
690 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeOpenNonAssetFd()
716 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeOpenXmlAsset()
[all …]
/frameworks/base/native/android/
Dasset_manager.cpp86 ScopedLock<AssetManager2> locked_mgr(*AssetManagerForNdkAssetManager(amgr)); in AAssetManager_open()
96 ScopedLock<AssetManager2> locked_mgr(*AssetManagerForNdkAssetManager(amgr)); in AAssetManager_openDir()
Dconfiguration.cpp38 ScopedLock<AssetManager2> locked_mgr(*AssetManagerForNdkAssetManager(am)); in AConfiguration_fromAssetManager()
/frameworks/base/core/jni/android/graphics/fonts/
DFont.cpp99 ScopedLock<AssetManager2> locked_mgr(*mgr); in Font_Builder_getNativeAsset()
/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp240 ScopedLock<AssetManager2> locked_mgr(*mgr); in FontFamily_addFontFromAssetManager()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1676 ScopedLock<AssetManager2> locked_mgr(*mgr); in nFileA3DCreateFromAsset()
1768 ScopedLock<AssetManager2> locked_mgr(*mgr); in nFontCreateFromAsset()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt22375 …ils/CloseableLock;->acquireExclusiveLock()Landroid/hardware/camera2/utils/CloseableLock$ScopedLock;
22376 …amera2/utils/CloseableLock;->acquireLock()Landroid/hardware/camera2/utils/CloseableLock$ScopedLock;