Home
last modified time | relevance | path

Searched refs:NATIVE_ASSET_REGISTRY (Results 1 – 7 of 7) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAssetInputStream.java3 import static org.robolectric.res.android.Registries.NATIVE_ASSET_REGISTRY;
18 Asset asset = NATIVE_ASSET_REGISTRY.getNativeObject(assetPtr); in createAssetInputStream()
DShadowArscAssetInputStream.java37 return Registries.NATIVE_ASSET_REGISTRY.getNativeObject(assetPtr); in getAsset()
DShadowArscAssetManager10.java706 return Registries.NATIVE_ASSET_REGISTRY.register(asset); in nativeOpenAsset()
764 return Registries.NATIVE_ASSET_REGISTRY.register(asset); in nativeOpenNonAsset()
1616 Registries.NATIVE_ASSET_REGISTRY.unregister(asset_ptr); in nativeAssetDestroy()
1622 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); in nativeAssetReadChar()
1648 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); in nativeAssetRead()
1661 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); in nativeAssetSeek()
1669 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); in nativeAssetGetLength()
1676 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); in nativeAssetGetRemainingLength()
DShadowArscAssetManager9.java702 return Registries.NATIVE_ASSET_REGISTRY.register(asset); in nativeOpenAsset()
760 return Registries.NATIVE_ASSET_REGISTRY.register(asset); in nativeOpenNonAsset()
1614 Registries.NATIVE_ASSET_REGISTRY.unregister(asset_ptr); in nativeAssetDestroy()
1620 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); in nativeAssetReadChar()
1646 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); in nativeAssetRead()
1659 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); in nativeAssetSeek()
1667 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); in nativeAssetGetLength()
1674 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); in nativeAssetGetRemainingLength()
DShadowArscAssetManager.java340 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()
DShadowLegacyAssetManager.java501 long assetPtr = Registries.NATIVE_ASSET_REGISTRY.register(asset); in openNonAsset()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DRegistries.java8 public static final NativeObjRegistry<Asset> NATIVE_ASSET_REGISTRY = field in Registries