Searched refs:NATIVE_ASSET_REGISTRY (Results 1 – 7 of 7) sorted by relevance
3 import static org.robolectric.res.android.Registries.NATIVE_ASSET_REGISTRY;18 Asset asset = NATIVE_ASSET_REGISTRY.getNativeObject(assetPtr); in createAssetInputStream()
37 return Registries.NATIVE_ASSET_REGISTRY.getNativeObject(assetPtr); in getAsset()
706 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()
702 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()
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()
501 long assetPtr = Registries.NATIVE_ASSET_REGISTRY.register(asset); in openNonAsset()
8 public static final NativeObjRegistry<Asset> NATIVE_ASSET_REGISTRY = field in Registries