Home
last modified time | relevance | path

Searched refs:locked_mgr (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/native/android/
Dasset_manager.cpp86 ScopedLock<AssetManager2> locked_mgr(*AssetManagerForNdkAssetManager(amgr)); in AAssetManager_open() local
87 std::unique_ptr<Asset> asset = locked_mgr->Open(filename, amMode); in AAssetManager_open()
96 ScopedLock<AssetManager2> locked_mgr(*AssetManagerForNdkAssetManager(amgr)); in AAssetManager_openDir() local
97 return new AAssetDir(locked_mgr->OpenDir(dirName)); in AAssetManager_openDir()
Dconfiguration.cpp38 ScopedLock<AssetManager2> locked_mgr(*AssetManagerForNdkAssetManager(am)); in AConfiguration_fromAssetManager() local
39 ResTable_config config = locked_mgr->GetConfiguration(); in AConfiguration_fromAssetManager()
/frameworks/base/core/jni/android/graphics/fonts/
DFont.cpp99 ScopedLock<AssetManager2> locked_mgr(*mgr); in Font_Builder_getNativeAsset() local
101 asset = locked_mgr->Open(str.c_str(), Asset::ACCESS_BUFFER); in Font_Builder_getNativeAsset()
104 asset = locked_mgr->OpenNonAsset(str.c_str(), static_cast<ApkAssetsCookie>(cookie - 1), in Font_Builder_getNativeAsset()
107 asset = locked_mgr->OpenNonAsset(str.c_str(), Asset::ACCESS_BUFFER); in Font_Builder_getNativeAsset()
/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp240 ScopedLock<AssetManager2> locked_mgr(*mgr); in FontFamily_addFontFromAssetManager() local
242 asset = locked_mgr->Open(str.c_str(), Asset::ACCESS_BUFFER); in FontFamily_addFontFromAssetManager()
245 asset = locked_mgr->OpenNonAsset(str.c_str(), static_cast<ApkAssetsCookie>(cookie - 1), in FontFamily_addFontFromAssetManager()
248 asset = locked_mgr->OpenNonAsset(str.c_str(), Asset::ACCESS_BUFFER); in FontFamily_addFontFromAssetManager()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1676 ScopedLock<AssetManager2> locked_mgr(*mgr); in nFileA3DCreateFromAsset() local
1677 asset = locked_mgr->Open(str.c_str(), Asset::ACCESS_BUFFER); in nFileA3DCreateFromAsset()
1768 ScopedLock<AssetManager2> locked_mgr(*mgr); in nFontCreateFromAsset() local
1769 asset = locked_mgr->Open(str.c_str(), Asset::ACCESS_BUFFER); in nFontCreateFromAsset()