Searched refs:ScopedLock (Results 1 – 9 of 9) sorted by relevance
73 public class ScopedLock implements AutoCloseable { class in CloseableLock74 private ScopedLock() {} in ScopedLock() method in CloseableLock.ScopedLock119 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()
28 class ScopedLock; variable66 friend class ScopedLock<T>;75 class ScopedLock {77 explicit ScopedLock(Guarded<T>& guarded) : lock_(guarded.lock_), guarded_(guarded.guarded_) { in ScopedLock() function93 DISALLOW_COPY_AND_ASSIGN(ScopedLock);
358 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 …]
86 ScopedLock<AssetManager2> locked_mgr(*AssetManagerForNdkAssetManager(amgr)); in AAssetManager_open()96 ScopedLock<AssetManager2> locked_mgr(*AssetManagerForNdkAssetManager(amgr)); in AAssetManager_openDir()
38 ScopedLock<AssetManager2> locked_mgr(*AssetManagerForNdkAssetManager(am)); in AConfiguration_fromAssetManager()
99 ScopedLock<AssetManager2> locked_mgr(*mgr); in Font_Builder_getNativeAsset()
240 ScopedLock<AssetManager2> locked_mgr(*mgr); in FontFamily_addFontFromAssetManager()
1676 ScopedLock<AssetManager2> locked_mgr(*mgr); in nFileA3DCreateFromAsset()1768 ScopedLock<AssetManager2> locked_mgr(*mgr); in nFontCreateFromAsset()
22375 …ils/CloseableLock;->acquireExclusiveLock()Landroid/hardware/camera2/utils/CloseableLock$ScopedLock;22376 …amera2/utils/CloseableLock;->acquireLock()Landroid/hardware/camera2/utils/CloseableLock$ScopedLock;