/cts/tests/tests/security/src/android/security/cts/ |
D | MediaServerCrashTest.java | 98 AssetFileDescriptor afd = getContext().getResources().openRawResourceFd(res); in testIfMediaServerDied() local 123 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(res); in checkIfMediaServerDiedForDrm() local
|
D | MediaMetadataRetrieverTest.java | 49 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in setDataSourceFd() local
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaMetadataRetrieverTest.java | 90 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in setDataSourceFd() local 101 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in setDataSourceCallback() local 113 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in getFaultyDataSource() local 256 AssetFileDescriptor afd = resources.openRawResourceFd(resId); in testThumbnail() local 434 AssetFileDescriptor afd = resources.openRawResourceFd(resId); in testGetFrameAt() local 462 AssetFileDescriptor afd = resources.openRawResourceFd(resId); in testGetFrameAtEditList() local 504 AssetFileDescriptor afd = resources.openRawResourceFd(resId); in testGetScaledFrameAtTime() local 706 AssetFileDescriptor afd = null; in testGetImage() local
|
D | MediaPlayerSurfaceStubActivity.java | 44 AssetFileDescriptor afd = mResources.openRawResourceFd(R.raw.testvideo); in onCreate() local
|
D | TestProxyFileDescriptorCallback.java | 45 public static TestProxyFileDescriptorCallback fromAssetFd(AssetFileDescriptor afd) in fromAssetFd()
|
D | TestMediaDataSource.java | 45 public static TestMediaDataSource fromAssetFd(AssetFileDescriptor afd) throws IOException { in fromAssetFd()
|
D | MediaPlayerTestBase.java | 109 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in loadResource() local 133 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in loadSubtitleSource() local
|
D | RingtoneManagerTest.java | 140 try (AssetFileDescriptor afd = RingtoneManager.openDefaultRingtoneUri( in testAccessMethods()
|
D | MediaExtractorTest.java | 76 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in getDataSourceFor() local 131 AssetFileDescriptor afd = mResources.openRawResourceFd(R.raw.testvideo); in testExtractFromAssetFileDescriptor() local 460 AssetFileDescriptor afd = mResources.openRawResourceFd(R.raw.testvideo); in testExtractorHasCacheReachedEndOfStream() local
|
D | MediaRandomTest.java | 166 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in loadSource() local
|
D | AudioEffectTest.java | 159 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(R.raw.testmp3); in test1_4InsertOnMediaPlayer() local 185 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(R.raw.testmp3); in test1_5AuxiliaryOnMediaPlayer() local
|
D | MediaPlayerTest.java | 148 AssetFileDescriptor afd = mResources.openRawResourceFd(res); in testIfMediaServerDied() local 177 AssetFileDescriptor afd = mResources.openRawResourceFd(R.raw.bug13652927); in testVorbisCrash() local 603 AssetFileDescriptor afd = mResources.openRawResourceFd(R.raw.test1m1s); in initMediaPlayer() local 834 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(resid1); in testGapless() local
|
D | SoundPoolTest.java | 106 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(getSoundCs()); in testLoad() local
|
D | MediaScannerTest.java | 594 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(entry.res); in testEncodingDetection() local
|
D | MediaCodecTest.java | 1729 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(resourceId); in getMediaExtractorForMimeType() local
|
D | DecodeAccuracyTestBase.java | 365 final AssetFileDescriptor afd = videoFormat.getAssetFileDescriptor(context); in setExtractorDataSource() local
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverTest.java | 648 AssetFileDescriptor afd = mContentResolver.openAssetFileDescriptor(uri, "r"); in testOpenAssetFileDescriptor() local 668 private String consumeAssetFileDescriptor(AssetFileDescriptor afd) in consumeAssetFileDescriptor() 696 AssetFileDescriptor afd = null; in testCrashingOpenAssetFileDescriptor() local 727 AssetFileDescriptor afd = null; in testCrashingOpenTypedAssetFileDescriptor() local
|
/cts/tests/tests/drm/src/android/drm/cts/ |
D | DRMTest.java | 249 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(R.raw.testmp3_2); in testForwardLockAccess() local
|
/cts/tests/providerui/src/android/providerui/cts/ |
D | MediaStoreUiTest.java | 298 try (AssetFileDescriptor afd = context.getResources().openRawResourceFd(resId)) { in stageFile()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 392 AssetFileDescriptor afd = null; in hasCodecsForResourceCombo() local 618 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resourceId); in getTrackFormatForResource() local 658 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resourceId); in createMediaExtractorForMimeType() local
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 471 AssetFileDescriptor afd = null; in hasCodecsForResourceCombo() local 709 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resourceId); in getTrackFormatForResource() local 749 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resourceId); in createMediaExtractorForMimeType() local
|
/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorTest.java | 481 AssetFileDescriptor afd = new AssetFileDescriptor(parcelFD, 0, in testAssetFD()
|
D | ExtractorUnitTest.java | 726 AssetFileDescriptor afd = new AssetFileDescriptor(parcelFD, 0, in testIfWriteOnlyAssetFDIsRejectedBySetDataSource()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ProviderTestUtils.java | 226 try (AssetFileDescriptor afd = context.getResources().openRawResourceFd(resId)) { in stageFile()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | CodecTest.java | 545 public static boolean resourcesPlayback(AssetFileDescriptor afd, int expectedDuration) { in resourcesPlayback()
|