/cts/tests/tests/security/src/android/security/cts/ |
D | MediaServerCrashTest.java | 98 AssetFileDescriptor afd = getContext().getResources().openRawResourceFd(res); in testIfMediaServerDied() local 124 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(res); in checkIfMediaServerDiedForDrm() local
|
D | MediaMetadataRetrieverTest.java | 48 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in setDataSourceFd() local
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerSurfaceStubActivity.java | 47 AssetFileDescriptor afd = null; 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 | MediaExtractorTest.java | 103 AssetFileDescriptor afd = getAssetFileDescriptorFor(res); in getDataSourceFor() local 167 AssetFileDescriptor afd = getAssetFileDescriptorFor("testvideo.3gp"); in SKIP_testExtractFromAssetFileDescriptor() local 437 AssetFileDescriptor afd = getContext().getResources() in testMpegh3dAudioMediaExtractorMha1() local 459 AssetFileDescriptor afd = getContext().getResources() in testMpegh3dAudioMediaExtractorMhm1() local 657 AssetFileDescriptor afd = getAssetFileDescriptorFor("testvideo.3gp"); in SKIP_testExtractorHasCacheReachedEndOfStream() local
|
D | MediaPlayerTestBase.java | 120 AssetFileDescriptor afd = getAssetFileDescriptorFor(res); in loadResource() local 144 AssetFileDescriptor afd = getAssetFileDescriptorFor(res); in loadSubtitleSource() local
|
D | RingtoneManagerTest.java | 134 try (AssetFileDescriptor afd = RingtoneManager.openDefaultRingtoneUri( in testAccessMethods()
|
D | MediaMetadataRetrieverTest.java | 120 AssetFileDescriptor afd = getAssetFileDescriptorFor(res); in setDataSourceFd() local 131 AssetFileDescriptor afd = getAssetFileDescriptorFor(res); in setDataSourceCallback() local 143 AssetFileDescriptor afd = getAssetFileDescriptorFor(res); in getFaultyDataSource() local 1122 AssetFileDescriptor afd = null; in testGetImage() 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 | MediaRandomTest.java | 170 AssetFileDescriptor afd = new AssetFileDescriptor(parcelFD, 0, parcelFD.getStatSize()); in loadSource() local
|
D | MediaPlayerTest.java | 163 AssetFileDescriptor afd = getAssetFileDescriptorFor(res); in testIfMediaServerDied() local 192 AssetFileDescriptor afd = getAssetFileDescriptorFor("bug13652927.ogg"); in testVorbisCrash() local 631 AssetFileDescriptor afd = getAssetFileDescriptorFor("test1m1s.mp3"); in initMediaPlayer() local 863 AssetFileDescriptor afd = getAssetFileDescriptorFor(res1); in testGapless() local
|
D | SoundPoolTest.java | 119 AssetFileDescriptor afd = getContext().getResources().openRawResourceFd(getSoundCs()); in testLoad() local
|
D | MediaScannerTest.java | 617 AssetFileDescriptor afd = getAssetFileDescriptorFor(entry.fileName); in testEncodingDetection() local
|
D | MediaCodecBlockModelTest.java | 973 try (AssetFileDescriptor afd = getAssetFileDescriptorFor(resource)) { in getMediaExtractorForMimeType()
|
D | MediaCodecTest.java | 1916 AssetFileDescriptor afd = new AssetFileDescriptor(parcelFD, 0, parcelFD.getStatSize()); in getMediaExtractorForMimeType() local
|
D | DecodeAccuracyTestBase.java | 367 final AssetFileDescriptor afd = videoFormat.getAssetFileDescriptor(); in setExtractorDataSource() local
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverTest.java | 706 AssetFileDescriptor afd = mContentResolver.openAssetFileDescriptor(uri, "r"); in testOpenAssetFileDescriptor() local 726 private String consumeAssetFileDescriptor(AssetFileDescriptor afd) in consumeAssetFileDescriptor() 754 AssetFileDescriptor afd = null; in testCrashingOpenAssetFileDescriptor() local 785 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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 473 AssetFileDescriptor afd = null; in hasCodecsForResourceCombo() local 502 AssetFileDescriptor afd = null; in hasCodecsForResourceCombo() local 760 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resourceId); in getTrackFormatForResource() local 815 AssetFileDescriptor afd = new AssetFileDescriptor(parcelFD, 0, parcelFD.getStatSize()); in createMediaExtractorForMimeType() local
|
/cts/tests/providerui/src/android/providerui/cts/ |
D | MediaStoreUiTest.java | 435 try (AssetFileDescriptor afd = context.getResources().openRawResourceFd(resId)) { in stageFile()
|
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/ |
D | MediaTranscodingTestUtil.java | 73 AssetFileDescriptor afd = null; in extractVideoFileInfo() local
|
/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorTest.java | 587 AssetFileDescriptor afd = new AssetFileDescriptor(parcelFD, 0, in testAssetFD()
|
D | ExtractorUnitTest.java | 739 AssetFileDescriptor afd = new AssetFileDescriptor(parcelFD, 0, in testIfWriteOnlyAssetFDIsRejectedBySetDataSource()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | CodecTest.java | 546 public static boolean resourcesPlayback(AssetFileDescriptor afd, int expectedDuration) { in resourcesPlayback()
|