Searched refs:assetFd (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | UpdateEngine.java | 367 public void applyPayload(@NonNull AssetFileDescriptor assetFd, in applyPayload() argument 370 mUpdateEngine.applyPayloadFd(assetFd.getParcelFileDescriptor(), in applyPayload() 371 assetFd.getStartOffset(), assetFd.getLength(), headerKeyValuePairs); in applyPayload()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ImageDecoder.java | 280 AssetFileDescriptor assetFd = null; in createImageDecoder() local 283 assetFd = mResolver.openTypedAssetFileDescriptor(mUri, in createImageDecoder() 286 assetFd = mResolver.openAssetFileDescriptor(mUri, "r"); in createImageDecoder() 292 if (assetFd == null) { in createImageDecoder() 303 return createFromAssetFileDescriptor(assetFd, preferAnimation, this); in createImageDecoder() 366 private static ImageDecoder createFromAssetFileDescriptor(@NonNull AssetFileDescriptor assetFd, in createFromAssetFileDescriptor() argument 368 if (assetFd == null) { in createFromAssetFileDescriptor() 371 final FileDescriptor fd = assetFd.getFileDescriptor(); in createFromAssetFileDescriptor() 372 final long offset = assetFd.getStartOffset(); in createFromAssetFileDescriptor() 378 decoder = nCreate(fd, assetFd.getDeclaredLength(), preferAnimation, source); in createFromAssetFileDescriptor() [all …]
|
/frameworks/base/core/jni/ |
D | android_content_res_ApkAssets.cpp | 559 jclass assetFd = FindClassOrDie(env, "android/content/res/AssetFileDescriptor"); in register_android_content_res_ApkAssets() local 561 GetFieldIDOrDie(env, assetFd, "mFd", "Landroid/os/ParcelFileDescriptor;"); in register_android_content_res_ApkAssets() 562 gAssetFileDescriptorOffsets.mStartOffset = GetFieldIDOrDie(env, assetFd, "mStartOffset", "J"); in register_android_content_res_ApkAssets() 563 gAssetFileDescriptorOffsets.mLength = GetFieldIDOrDie(env, assetFd, "mLength", "J"); in register_android_content_res_ApkAssets()
|