Home
last modified time | relevance | path

Searched refs:assetFd (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/os/
DUpdateEngine.java360 public void applyPayload(@NonNull AssetFileDescriptor assetFd, in applyPayload() argument
363 mUpdateEngine.applyPayloadFd(assetFd.getParcelFileDescriptor(), in applyPayload()
364 assetFd.getStartOffset(), assetFd.getLength(), headerKeyValuePairs); in applyPayload()
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java271 AssetFileDescriptor assetFd = null; in createImageDecoder() local
274 assetFd = mResolver.openTypedAssetFileDescriptor(mUri, in createImageDecoder()
277 assetFd = mResolver.openAssetFileDescriptor(mUri, "r"); in createImageDecoder()
289 return createFromAssetFileDescriptor(assetFd, this); in createImageDecoder()
342 private static ImageDecoder createFromAssetFileDescriptor(@NonNull AssetFileDescriptor assetFd, in createFromAssetFileDescriptor() argument
344 final FileDescriptor fd = assetFd.getFileDescriptor(); in createFromAssetFileDescriptor()
345 final long offset = assetFd.getStartOffset(); in createFromAssetFileDescriptor()
357 IoUtils.closeQuietly(assetFd); in createFromAssetFileDescriptor()
359 decoder.mAssetFd = assetFd; in createFromAssetFileDescriptor()
548 AssetFileDescriptor assetFd = null; in createImageDecoder() local
[all …]
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp1625 jclass assetFd = FindClassOrDie(env, "android/content/res/AssetFileDescriptor"); in register_android_content_AssetManager() local
1627 GetFieldIDOrDie(env, assetFd, "mFd", "Landroid/os/ParcelFileDescriptor;"); in register_android_content_AssetManager()
1628 gAssetFileDescriptorOffsets.mStartOffset = GetFieldIDOrDie(env, assetFd, "mStartOffset", "J"); in register_android_content_AssetManager()
1629 gAssetFileDescriptorOffsets.mLength = GetFieldIDOrDie(env, assetFd, "mLength", "J"); in register_android_content_AssetManager()