Home
last modified time | relevance | path

Searched refs:AssetFileDescriptor (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/core/java/android/content/res/
DAssetFileDescriptor.java36 public class AssetFileDescriptor implements Parcelable, Closeable { class
61 public AssetFileDescriptor(ParcelFileDescriptor fd, long startOffset, in AssetFileDescriptor() method in AssetFileDescriptor
77 public AssetFileDescriptor(ParcelFileDescriptor fd, long startOffset, in AssetFileDescriptor() method in AssetFileDescriptor
208 public AutoCloseInputStream(AssetFileDescriptor fd) throws IOException { in AutoCloseInputStream()
295 public AutoCloseOutputStream(AssetFileDescriptor fd) throws IOException { in AutoCloseOutputStream()
362 AssetFileDescriptor(Parcel src) { in AssetFileDescriptor() method in AssetFileDescriptor
373 public static final @android.annotation.NonNull Parcelable.Creator<AssetFileDescriptor> CREATOR
374 = new Parcelable.Creator<AssetFileDescriptor>() {
375 public AssetFileDescriptor createFromParcel(Parcel in) {
376 return new AssetFileDescriptor(in);
[all …]
/frameworks/ex/common/java/com/android/common/io/
DMoreCloseables.java19 import android.content.res.AssetFileDescriptor;
37 public static void closeQuietly(AssetFileDescriptor assetFileDescriptor) { in closeQuietly()
/frameworks/base/core/java/android/content/
DContentInterface.java21 import android.content.res.AssetFileDescriptor;
74 public @Nullable AssetFileDescriptor openAssetFile(@NonNull Uri uri, @NonNull String mode, in openAssetFile()
77 public @Nullable AssetFileDescriptor openTypedAssetFile(@NonNull Uri uri, in openTypedAssetFile()
DIContentProvider.java21 import android.content.res.AssetFileDescriptor;
60 public AssetFileDescriptor openAssetFile( in openAssetFile()
95 public AssetFileDescriptor openTypedAssetFile(String callingPkg, Uri url, String mimeType, in openTypedAssetFile()
DContentProviderNative.java21 import android.content.res.AssetFileDescriptor;
254 AssetFileDescriptor fd; in onTransact()
306 AssetFileDescriptor fd; in onTransact()
616 public AssetFileDescriptor openAssetFile( in openAssetFile()
633 AssetFileDescriptor fd = has != 0 in openAssetFile()
634 ? AssetFileDescriptor.CREATOR.createFromParcel(reply) : null; in openAssetFile()
690 public AssetFileDescriptor openTypedAssetFile(String callingPkg, Uri url, String mimeType, in openTypedAssetFile()
707 AssetFileDescriptor fd = has != 0 in openTypedAssetFile()
708 ? AssetFileDescriptor.CREATOR.createFromParcel(reply) : null; in openTypedAssetFile()
DContentProviderClient.java26 import android.content.res.AssetFileDescriptor;
438 public @Nullable AssetFileDescriptor openAssetFile(@NonNull Uri url, @NonNull String mode) in openAssetFile()
451 public @Nullable AssetFileDescriptor openAssetFile(@NonNull Uri url, @NonNull String mode, in openAssetFile()
476 public final @Nullable AssetFileDescriptor openTypedAssetFileDescriptor(@NonNull Uri uri, in openTypedAssetFileDescriptor()
483 public final @Nullable AssetFileDescriptor openTypedAssetFileDescriptor(@NonNull Uri uri, in openTypedAssetFileDescriptor()
490 public final @Nullable AssetFileDescriptor openTypedAssetFile(@NonNull Uri uri, in openTypedAssetFile()
DContentResolver.java35 import android.content.res.AssetFileDescriptor;
1187 AssetFileDescriptor fd = openAssetFileDescriptor(uri, "r", null);
1227 AssetFileDescriptor fd = openAssetFileDescriptor(uri, mode, null);
1338 AssetFileDescriptor afd = openAssetFileDescriptor(uri, mode, cancellationSignal);
1359 public final @Nullable AssetFileDescriptor openAssetFile(@NonNull Uri uri, @NonNull String mode,
1418 public final @Nullable AssetFileDescriptor openAssetFileDescriptor(@NonNull Uri uri,
1474 public final @Nullable AssetFileDescriptor openAssetFileDescriptor(@NonNull Uri uri,
1500 return new AssetFileDescriptor(pfd, 0, -1);
1510 AssetFileDescriptor fd = null;
1556 return new AssetFileDescriptor(pfd, fd.getStartOffset(),
[all …]
DLoggingContentInterface.java21 import android.content.res.AssetFileDescriptor;
233 public @Nullable AssetFileDescriptor openAssetFile(@NonNull Uri uri, @NonNull String mode, in openAssetFile()
246 public @Nullable AssetFileDescriptor openTypedAssetFile(@NonNull Uri uri, in openTypedAssetFile()
DContentProvider.java33 import android.content.res.AssetFileDescriptor;
450 public AssetFileDescriptor openAssetFile( in openAssetFile()
502 public AssetFileDescriptor openTypedAssetFile(String callingPkg, Uri uri, String mimeType, in openTypedAssetFile()
1709 public @Nullable AssetFileDescriptor openAssetFile(@NonNull Uri uri, @NonNull String mode) in openAssetFile()
1712 return fd != null ? new AssetFileDescriptor(fd, 0, -1) : null; in openAssetFile()
1773 public @Nullable AssetFileDescriptor openAssetFile(@NonNull Uri uri, @NonNull String mode, in openAssetFile()
1889 public @Nullable AssetFileDescriptor openTypedAssetFile(@NonNull Uri uri, in openTypedAssetFile()
1957 public @Nullable AssetFileDescriptor openTypedAssetFile(@NonNull Uri uri, in openTypedAssetFile()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContentProvider.java24 import android.content.res.AssetFileDescriptor;
84 public AssetFileDescriptor openAssetFile( in openAssetFile()
126 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri arg0, String arg1, in openTypedAssetFile()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaFrameworkTest.java22 import android.content.res.AssetFileDescriptor;
62 public static AssetFileDescriptor midiafd;
63 public static AssetFileDescriptor mp3afd;
/frameworks/base/test-mock/src/android/test/mock/
DMockIContentProvider.java25 import android.content.res.AssetFileDescriptor;
77 public AssetFileDescriptor openAssetFile( in openAssetFile()
122 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri url, String mimeType, in openTypedAssetFile()
DMockContentProvider.java29 import android.content.res.AssetFileDescriptor;
88 public AssetFileDescriptor openAssetFile( in openAssetFile()
132 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri url, in openTypedAssetFile()
259 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) { in openTypedAssetFile()
DMockResources.java25 import android.content.res.AssetFileDescriptor;
172 public AssetFileDescriptor openRawResourceFd(int id) throws NotFoundException { in openRawResourceFd()
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java54 import android.content.res.AssetFileDescriptor;
829 public AssetFileDescriptor openDocumentThumbnail( in openDocumentThumbnail()
857 public AssetFileDescriptor openTypedDocument( in openTypedDocument()
1313 public final AssetFileDescriptor openAssetFile(Uri uri, String mode) in openAssetFile()
1317 return fd != null ? new AssetFileDescriptor(fd, 0, -1) : null; in openAssetFile()
1327 public final AssetFileDescriptor openAssetFile(Uri uri, String mode, CancellationSignal signal) in openAssetFile()
1331 return fd != null ? new AssetFileDescriptor(fd, 0, -1) : null; in openAssetFile()
1342 public final AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) in openTypedAssetFile()
1355 public final AssetFileDescriptor openTypedAssetFile( in openTypedAssetFile()
1415 private final AssetFileDescriptor openTypedAssetFileImpl( in openTypedAssetFileImpl()
/frameworks/base/core/tests/coretests/src/android/content/
DContentResolverTest.java25 import android.content.res.AssetFileDescriptor;
83 final AssetFileDescriptor afd = new AssetFileDescriptor( in initImage()
/frameworks/base/media/java/android/media/
DSoundPool.java28 import android.content.res.AssetFileDescriptor;
224 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resId); in load()
245 public int load(AssetFileDescriptor afd, int priority) { in load()
DMediaExtractor.java24 import android.content.res.AssetFileDescriptor;
115 AssetFileDescriptor fd = null; in setDataSource()
217 public final void setDataSource(@NonNull AssetFileDescriptor afd) in setDataSource()
DJetPlayer.java21 import android.content.res.AssetFileDescriptor;
230 public boolean loadJetFile(AssetFileDescriptor afd) { in loadJetFile()
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
DSampleProvider.java6 import android.content.res.AssetFileDescriptor;
151 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { in openAssetFile()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java22 import android.content.res.AssetFileDescriptor;
318 public AssetFileDescriptor openDocumentThumbnail( in openDocumentThumbnail()
351 return new AssetFileDescriptor(fds[0], 0, AssetFileDescriptor.UNKNOWN_LENGTH); in openDocumentThumbnail()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedImageDrawable.java23 import android.content.res.AssetFileDescriptor;
81 State(long nativePtr, InputStream is, AssetFileDescriptor afd) { in State()
91 private final AssetFileDescriptor mAssetFd;
295 Rect cropRect, InputStream inputStream, AssetFileDescriptor afd) in AnimatedImageDrawable()
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java34 import android.content.res.AssetFileDescriptor;
271 AssetFileDescriptor assetFd = null; in createImageDecoder()
342 private static ImageDecoder createFromAssetFileDescriptor(@NonNull AssetFileDescriptor assetFd, in createFromAssetFileDescriptor()
540 CallableSource(@NonNull Callable<AssetFileDescriptor> callable) { in CallableSource()
544 private final Callable<AssetFileDescriptor> mCallable;
548 AssetFileDescriptor assetFd = null; in createImageDecoder()
804 private AssetFileDescriptor mAssetFd;
1055 public static Source createSource(@NonNull Callable<AssetFileDescriptor> callable) { in createSource()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DSimplePlayer.java20 import android.content.res.AssetFileDescriptor;
118AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(mFileResId); in playOrPause()
/frameworks/base/core/java/android/os/
DUpdateEngine.java23 import android.content.res.AssetFileDescriptor;
360 public void applyPayload(@NonNull AssetFileDescriptor assetFd, in applyPayload()

123