/frameworks/base/core/java/android/content/res/ |
D | AssetFileDescriptor.java | 35 public class AssetFileDescriptor implements Parcelable, Closeable { class 57 public AssetFileDescriptor(ParcelFileDescriptor fd, long startOffset, in AssetFileDescriptor() method in AssetFileDescriptor 73 public AssetFileDescriptor(ParcelFileDescriptor fd, long startOffset, in AssetFileDescriptor() method in AssetFileDescriptor 204 public AutoCloseInputStream(AssetFileDescriptor fd) throws IOException { in AutoCloseInputStream() 291 public AutoCloseOutputStream(AssetFileDescriptor fd) throws IOException { in AutoCloseOutputStream() 358 AssetFileDescriptor(Parcel src) { in AssetFileDescriptor() method in AssetFileDescriptor 369 public static final Parcelable.Creator<AssetFileDescriptor> CREATOR 370 = new Parcelable.Creator<AssetFileDescriptor>() { 371 public AssetFileDescriptor createFromParcel(Parcel in) { 372 return new AssetFileDescriptor(in); [all …]
|
D | AssetManager.java | 323 public final AssetFileDescriptor openFd(String fileName) in openFd() 331 return new AssetFileDescriptor(pfd, mOffsets[0], mOffsets[1]); in openFd() 415 public final AssetFileDescriptor openNonAssetFd(String fileName) in openNonAssetFd() 420 public final AssetFileDescriptor openNonAssetFd(int cookie, in openNonAssetFd() 429 return new AssetFileDescriptor(pfd, mOffsets[0], mOffsets[1]); in openNonAssetFd()
|
/frameworks/ex/common/java/com/android/common/io/ |
D | MoreCloseables.java | 19 import android.content.res.AssetFileDescriptor; 37 public static void closeQuietly(AssetFileDescriptor assetFileDescriptor) { in closeQuietly()
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsProvider.java | 39 import android.content.res.AssetFileDescriptor; 459 public AssetFileDescriptor openDocumentThumbnail( in openDocumentThumbnail() 735 public final AssetFileDescriptor openAssetFile(Uri uri, String mode) in openAssetFile() 739 return fd != null ? new AssetFileDescriptor(fd, 0, -1) : null; in openAssetFile() 749 public final AssetFileDescriptor openAssetFile(Uri uri, String mode, CancellationSignal signal) in openAssetFile() 753 return fd != null ? new AssetFileDescriptor(fd, 0, -1) : null; in openAssetFile() 762 public final AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) in openTypedAssetFile() 779 public final AssetFileDescriptor openTypedAssetFile( in openTypedAssetFile()
|
D | DocumentsContract.java | 27 import android.content.res.AssetFileDescriptor; 822 AssetFileDescriptor afd = null; in getDocumentThumbnail() 997 public static AssetFileDescriptor openImageThumbnail(File file) throws FileNotFoundException { in openImageThumbnail() 1022 return new AssetFileDescriptor(pfd, thumb[0], thumb[1], extras); in openImageThumbnail() 1027 return new AssetFileDescriptor(pfd, 0, AssetFileDescriptor.UNKNOWN_LENGTH, extras); in openImageThumbnail()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContentProvider.java | 24 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/core/java/android/content/ |
D | IContentProvider.java | 19 import android.content.res.AssetFileDescriptor; 53 public AssetFileDescriptor openAssetFile( in openAssetFile() 68 public AssetFileDescriptor openTypedAssetFile(String callingPkg, Uri url, String mimeType, in openTypedAssetFile()
|
D | ContentProviderClient.java | 19 import android.content.res.AssetFileDescriptor; 309 public AssetFileDescriptor openAssetFile(Uri url, String mode) in openAssetFile() 321 public AssetFileDescriptor openAssetFile(Uri url, String mode, CancellationSignal signal) in openAssetFile() 343 public final AssetFileDescriptor openTypedAssetFileDescriptor(Uri uri, in openTypedAssetFileDescriptor() 349 public final AssetFileDescriptor openTypedAssetFileDescriptor(Uri uri, in openTypedAssetFileDescriptor()
|
D | ContentResolver.java | 24 import android.content.res.AssetFileDescriptor; 646 AssetFileDescriptor fd = openAssetFileDescriptor(uri, "r", null); in openInputStream() 686 AssetFileDescriptor fd = openAssetFileDescriptor(uri, mode, null); in openOutputStream() 778 AssetFileDescriptor afd = openAssetFileDescriptor(uri, mode, cancellationSignal); in openFileDescriptor() 846 public final AssetFileDescriptor openAssetFileDescriptor(Uri uri, String mode) in openAssetFileDescriptor() 902 public final AssetFileDescriptor openAssetFileDescriptor(Uri uri, in openAssetFileDescriptor() 918 return new AssetFileDescriptor(pfd, 0, -1); in openAssetFileDescriptor() 928 AssetFileDescriptor fd = null; in openAssetFileDescriptor() 973 return new AssetFileDescriptor(pfd, fd.getStartOffset(), in openAssetFileDescriptor() 1025 public final AssetFileDescriptor openTypedAssetFileDescriptor( in openTypedAssetFileDescriptor() [all …]
|
D | ContentProviderNative.java | 19 import android.content.res.AssetFileDescriptor; 261 AssetFileDescriptor fd; in onTransact() 312 AssetFileDescriptor fd; in onTransact() 605 public AssetFileDescriptor openAssetFile( in openAssetFile() 622 AssetFileDescriptor fd = has != 0 in openAssetFile() 623 ? AssetFileDescriptor.CREATOR.createFromParcel(reply) : null; in openAssetFile() 676 public AssetFileDescriptor openTypedAssetFile(String callingPkg, Uri url, String mimeType, in openTypedAssetFile() 693 AssetFileDescriptor fd = has != 0 in openTypedAssetFile() 694 ? AssetFileDescriptor.CREATOR.createFromParcel(reply) : null; in openTypedAssetFile()
|
D | ContentProvider.java | 25 import android.content.res.AssetFileDescriptor; 351 public AssetFileDescriptor openAssetFile( in openAssetFile() 384 public AssetFileDescriptor openTypedAssetFile(String callingPkg, Uri uri, String mimeType, in openTypedAssetFile() 1320 public AssetFileDescriptor openAssetFile(Uri uri, String mode) in openAssetFile() 1323 return fd != null ? new AssetFileDescriptor(fd, 0, -1) : null; in openAssetFile() 1383 public AssetFileDescriptor openAssetFile(Uri uri, String mode, CancellationSignal signal) in openAssetFile() 1498 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) in openTypedAssetFile() 1565 public AssetFileDescriptor openTypedAssetFile( in openTypedAssetFile()
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockIContentProvider.java | 24 import android.content.res.AssetFileDescriptor; 70 public AssetFileDescriptor openAssetFile( in openAssetFile() 109 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri url, String mimeType, in openTypedAssetFile()
|
D | MockContentProvider.java | 28 import android.content.res.AssetFileDescriptor; 86 public AssetFileDescriptor openAssetFile( in openAssetFile() 130 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri url, in openTypedAssetFile() 249 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) { in openTypedAssetFile()
|
D | MockResources.java | 25 import android.content.res.AssetFileDescriptor; 167 public AssetFileDescriptor openRawResourceFd(int id) throws NotFoundException { in openRawResourceFd()
|
/frameworks/base/media/java/android/media/ |
D | SoundPool.java | 26 import android.content.res.AssetFileDescriptor; 240 public int load(AssetFileDescriptor afd, int priority) { in load() 484 public int load(AssetFileDescriptor afd, int priority); in load() 566 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resId); in load() 579 public int load(AssetFileDescriptor afd, int priority) { in load() 736 public int load(AssetFileDescriptor afd, int priority) { in load()
|
D | MediaMetadataRetriever.java | 21 import android.content.res.AssetFileDescriptor; 169 AssetFileDescriptor fd = null; in setDataSource()
|
D | MediaExtractor.java | 21 import android.content.res.AssetFileDescriptor; 90 AssetFileDescriptor fd = null; in setDataSource()
|
D | Ringtone.java | 21 import android.content.res.AssetFileDescriptor; 320 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd( in playFallbackRingtone()
|
D | JetPlayer.java | 24 import android.content.res.AssetFileDescriptor; 226 public boolean loadJetFile(AssetFileDescriptor afd) { in loadJetFile()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaFrameworkTest.java | 22 import android.content.res.AssetFileDescriptor; 62 public static AssetFileDescriptor midiafd; 63 public static AssetFileDescriptor mp3afd;
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
D | VariableSpeedNative.java | 22 import android.content.res.AssetFileDescriptor; 42 AssetFileDescriptor afd = context.getContentResolver().openAssetFileDescriptor(uri, "r"); in playFromContext()
|
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/ |
D | SampleProvider.java | 6 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/ |
D | TestDocumentsProvider.java | 22 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/media/tests/EffectsTest/src/com/android/effectstest/ |
D | SimplePlayer.java | 20 import android.content.res.AssetFileDescriptor; 118 … AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(mFileResId); in playOrPause()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ResourcesWrapper.java | 21 import android.content.res.AssetFileDescriptor; 200 public AssetFileDescriptor openRawResourceFd(int id) throws NotFoundException { in openRawResourceFd()
|