Home
last modified time | relevance | path

Searched refs:Guarded (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/androidfw/include/androidfw/
DMutexGuard.h46 class Guarded {
50 explicit Guarded() : guarded_() { in Guarded() function
54 explicit Guarded(const T& guarded,
60 explicit Guarded(T&& guarded,
68 DISALLOW_COPY_AND_ASSIGN(Guarded);
77 explicit ScopedLock(Guarded<T>& guarded) : lock_(guarded.lock_), guarded_(guarded.guarded_) { in ScopedLock()
/frameworks/base/core/jni/include/android_runtime/
Dandroid_util_AssetManager.h28 extern Guarded<AssetManager2>* AssetManagerForJavaObject(JNIEnv* env, jobject jassetmanager);
29 extern Guarded<AssetManager2>* AssetManagerForNdkAssetManager(AAssetManager* assetmanager);
/frameworks/base/core/jni/android/graphics/fonts/
DFont.cpp87 Guarded<AssetManager2>* mgr = AssetManagerForJavaObject(env, assetMgr); in Font_Builder_getNativeAsset()
/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp226 Guarded<AssetManager2>* mgr = AssetManagerForJavaObject(env, jassetMgr); in FontFamily_addFontFromAssetManager()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp328 Guarded<AssetManager2> guarded_assetmanager;
341 Guarded<AssetManager2>* AssetManagerForNdkAssetManager(::AAssetManager* assetmanager) { in AssetManagerForNdkAssetManager()
348 Guarded<AssetManager2>* AssetManagerForJavaObject(JNIEnv* env, jobject jassetmanager) { in AssetManagerForJavaObject()
352 static Guarded<AssetManager2>& AssetManagerFromLong(jlong ptr) { in AssetManagerFromLong()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1668 Guarded<AssetManager2>* mgr = AssetManagerForJavaObject(_env, _assetMgr); in nFileA3DCreateFromAsset()
1760 Guarded<AssetManager2>* mgr = AssetManagerForJavaObject(_env, _assetMgr); in nFontCreateFromAsset()