Searched refs:Registries (Results 1 – 10 of 10) sorted by relevance
25 import static org.robolectric.res.android.Registries.NATIVE_RES_XML_PARSERS;26 import static org.robolectric.res.android.Registries.NATIVE_RES_XML_TREES;71 import org.robolectric.res.android.Registries;374 …CppApkAssets cppApkAssets = Registries.NATIVE_APK_ASSETS_REGISTRY.getNativeObject(apk_assets_nativ… in getAllAssetDirs()402 …CppAssetManager2 am = Registries.NATIVE_ASSET_MANAGER_REGISTRY.getNativeObject(assetmanager_handle… in NdkAssetManagerForJavaObject()415 return Registries.NATIVE_ASSET_MANAGER_REGISTRY.getNativeObject(ptr); in AssetManagerFromLong()502 cppAssetManagerRef = Registries.NATIVE_ASSET_MANAGER_REGISTRY.register(appAssetManager); in nativeCreate()507 Registries.NATIVE_ASSET_MANAGER_REGISTRY.register(systemCppAssetManager2); in nativeCreate()525 Registries.NATIVE_ASSET_MANAGER_REGISTRY.unregister(ptr); in nativeDestroy()548 … apk_assets.add(Registries.NATIVE_APK_ASSETS_REGISTRY.getNativeObject(apk_assets_native_ptr)); in nativeSetApkAssets()[all …]
23 import static org.robolectric.res.android.Registries.NATIVE_RES_XML_PARSERS;24 import static org.robolectric.res.android.Registries.NATIVE_RES_XML_TREES;69 import org.robolectric.res.android.Registries;370 …CppApkAssets cppApkAssets = Registries.NATIVE_APK_ASSETS_REGISTRY.getNativeObject(apk_assets_nativ… in getAllAssetDirs()398 …CppAssetManager2 am = Registries.NATIVE_ASSET_MANAGER_REGISTRY.getNativeObject(assetmanager_handle… in NdkAssetManagerForJavaObject()411 return Registries.NATIVE_ASSET_MANAGER_REGISTRY.getNativeObject(ptr); in AssetManagerFromLong()498 cppAssetManagerRef = Registries.NATIVE_ASSET_MANAGER_REGISTRY.register(appAssetManager); in nativeCreate()503 Registries.NATIVE_ASSET_MANAGER_REGISTRY.register(systemCppAssetManager2); in nativeCreate()521 Registries.NATIVE_ASSET_MANAGER_REGISTRY.unregister(ptr); in nativeDestroy()544 apk_assets.add(Registries.NATIVE_APK_ASSETS_REGISTRY.getNativeObject(apk_assets_native_ptr)); in nativeSetApkAssets()[all …]
12 import org.robolectric.res.android.Registries;44 return RuntimeEnvironment.castNativePtr(Registries.NATIVE_RES_XML_TREES.register(osb)); in nativeCreate()54 ResXMLTree osb = Registries.NATIVE_RES_XML_TREES.getNativeObject(obj); in nativeGetStringBlock()70 ResXMLTree osb = Registries.NATIVE_RES_XML_TREES.getNativeObject(obj); in nativeCreateParseState()84 return Registries.NATIVE_RES_XML_PARSERS.register(st); in nativeCreateParseState()90 ResXMLTree osb = Registries.NATIVE_RES_XML_TREES.getNativeObject(obj); in nativeCreateParseState()104 return Registries.NATIVE_RES_XML_PARSERS.register(st); in nativeCreateParseState()339 Registries.NATIVE_RES_XML_PARSERS.unregister(state); in nativeDestroyParseState()349 Registries.NATIVE_RES_XML_TREES.unregister(obj); in nativeDestroy()353 return Registries.NATIVE_RES_XML_PARSERS.getNativeObject(state); in getResXMLParser()
24 import org.robolectric.res.android.Registries;125 Registries.NATIVE_APK_ASSETS_REGISTRY.unregister(nativePtr); in getFromCacheOrLoad()239 return Registries.NATIVE_APK_ASSETS_REGISTRY.register(apk_assets); in nativeLoad()281 CppApkAssets apk_assets = Registries.NATIVE_APK_ASSETS_REGISTRY.getNativeObject(ptr); in nativeGetAssetPath()288 CppApkAssets apk_assets = Registries.NATIVE_APK_ASSETS_REGISTRY.getNativeObject(ptr); in nativeGetStringBlock()295 CppApkAssets apk_assets = Registries.NATIVE_APK_ASSETS_REGISTRY.getNativeObject(ptr); in nativeIsUpToDate()309 Registries.NATIVE_APK_ASSETS_REGISTRY.getNativeObject(ptr); in nativeOpenXml()325 …return Registries.NATIVE_RES_XML_TREES.register(xml_tree); // reinterpret_cast<jlong>(xml_tree.rel… in nativeOpenXml()
54 import org.robolectric.res.android.Registries;340 return RuntimeEnvironment.castNativePtr(Registries.NATIVE_ASSET_REGISTRY.register(a)); in openAsset()386 long assetId = Registries.NATIVE_ASSET_REGISTRY.register(a); in openNonAssetNative()424 Registries.NATIVE_ASSET_REGISTRY.unregister(asset); in destroyAsset()512 return Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset); in getAsset()707 ResTableTheme theme = Registries.NATIVE_THEME_REGISTRY.getNativeObject(themeToken); in applyStyle()710 : Registries.NATIVE_RES_XML_PARSERS.getNativeObject(xmlParserToken); in applyStyle()756 ResTableTheme theme = Registries.NATIVE_THEME_REGISTRY.getNativeObject(themeToken); in resolveAttrs()802 ResXMLParser xmlParser = Registries.NATIVE_RES_XML_PARSERS.getNativeObject(xmlParserToken); in retrieveAttributes()985 return RuntimeEnvironment.castNativePtr(Registries.NATIVE_THEME_REGISTRY.register(theme)); in newTheme()[all …]
12 import org.robolectric.res.android.Registries;37 return Registries.NATIVE_ASSET_REGISTRY.getNativeObject(assetPtr); in getAsset()
3 import static org.robolectric.res.android.Registries.NATIVE_ASSET_REGISTRY;
79 import org.robolectric.res.android.Registries;501 long assetPtr = Registries.NATIVE_ASSET_REGISTRY.register(asset); in openNonAsset()
63 myNativePtr = Registries.NATIVE_STRING_POOLS.register(new WeakReference<>(this)); in ResStringPool()68 Registries.NATIVE_STRING_POOLS.unregister(myNativePtr); in finalize()76 return Registries.NATIVE_STRING_POOLS.getNativeObject(nativeId).get(); in getNativeObject()
6 public class Registries { class