/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/player/src/android/media/player/cts/ |
D | MediaPlayerSurfaceStubActivity.java | 52 AssetFileDescriptor afd = null; in onCreate() local
|
D | MediaPlayerRandomTest.java | 105 AssetFileDescriptor afd = new AssetFileDescriptor(parcelFD, 0, parcelFD.getStatSize()); in loadSource() local
|
D | MediaPlayerTest.java | 175 try (AssetFileDescriptor afd = getAssetFileDescriptorFor(res)) { in loadSubtitleSource() 188 try (AssetFileDescriptor afd = getAssetFileDescriptorFor(res)) { in loadResource() 229 AssetFileDescriptor afd = getAssetFileDescriptorFor(res); in testIfMediaServerDied() local 259 AssetFileDescriptor afd = getAssetFileDescriptorFor("bug13652927.ogg"); in testVorbisCrash() local 767 try (AssetFileDescriptor afd = getAssetFileDescriptorFor("test1m1s.mp3")) { in initMediaPlayer() 994 AssetFileDescriptor afd = getAssetFileDescriptorFor(res1); in testGapless() local
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaDrmExtractorTest.java | 71 AssetFileDescriptor afd = getAssetFileDescriptorFor(res); in getDataSourceFor() local
|
D | MediaDrmCodecBlockModelTest.java | 152 try (AssetFileDescriptor afd = getAssetFileDescriptorFor(resource)) { in getMediaExtractorForMimeType()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | TestProxyFileDescriptorCallback.java | 45 public static TestProxyFileDescriptorCallback fromAssetFd(AssetFileDescriptor afd) in fromAssetFd()
|
D | MediaMetadataRetrieverTest.java | 141 AssetFileDescriptor afd = getAssetFileDescriptorFor(res); in setDataSourceFd() local 152 AssetFileDescriptor afd = getAssetFileDescriptorFor(res); in setDataSourceCallback() local 164 AssetFileDescriptor afd = getAssetFileDescriptorFor(res); in getFaultyDataSource() local 1286 AssetFileDescriptor afd = null; in testGetImage() local
|
D | MediaScannerTest.java | 622 AssetFileDescriptor afd = getAssetFileDescriptorFor(entry.fileName); in testEncodingDetection() local
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | TestMediaDataSource.java | 43 public static TestMediaDataSource fromAssetFd(AssetFileDescriptor afd) throws IOException { in fromAssetFd()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | RingtoneManagerTest.java | 158 try (AssetFileDescriptor afd = RingtoneManager.openDefaultRingtoneUri( in testAccessMethods()
|
D | AudioEffectTest.java | 173 AssetFileDescriptor afd = getContext().getResources().openRawResourceFd(R.raw.testmp3); in test1_4InsertOnMediaPlayer() local 203 AssetFileDescriptor afd = getContext().getResources().openRawResourceFd(R.raw.testmp3); in test1_5AuxiliaryOnMediaPlayer() local
|
D | SoundPoolTest.java | 129 AssetFileDescriptor afd = getContext().getResources().openRawResourceFd(getSoundCs()); in testLoad() local
|
D | AudioPlaybackConfigurationTest.java | 859 AssetFileDescriptor afd = getContext().getResources().openRawResourceFd(resID); in createPlayer() local
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverTest.java | 728 AssetFileDescriptor afd = mContentResolver.openAssetFileDescriptor(uri, "r"); in testOpenAssetFileDescriptor() local 748 private String consumeAssetFileDescriptor(AssetFileDescriptor afd) in consumeAssetFileDescriptor() 776 AssetFileDescriptor afd = null; in testCrashingOpenAssetFileDescriptor() local 807 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/tests/media/codec/src/android/media/codec/cts/ |
D | MediaCodecBlockModelTest.java | 444 try (AssetFileDescriptor afd = getAssetFileDescriptorFor(resource)) { in getMediaExtractorForMimeType()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 498 AssetFileDescriptor afd = null; in hasCodecsForResourceCombo() local 527 AssetFileDescriptor afd = null; in hasCodecsForResourceCombo() local 785 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resourceId); in getTrackFormatForResource() local 840 AssetFileDescriptor afd = new AssetFileDescriptor(parcelFD, 0, parcelFD.getStatSize()); in createMediaExtractorForMimeType() local
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptor_AutoCloseInputStreamTest.java | 343 AssetFileDescriptor afd = new AssetFileDescriptor(fd, 0, transferSize); in testOffsetCorrectFileChannelTransferTo() local
|
/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorTest.java | 602 AssetFileDescriptor afd = new AssetFileDescriptor(parcelFD, 0, in testAssetFD()
|
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/ |
D | MediaTranscodingTestUtil.java | 73 AssetFileDescriptor afd = null; in extractVideoFileInfo() local
|
/cts/tests/mediaprovider/src/android/provider/cts/media/ |
D | MediaProviderTestUtils.java | 170 try (AssetFileDescriptor afd = context.getResources().openRawResourceFd(resId)) { in stageFile()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | CodecTest.java | 553 public static boolean resourcesPlayback(AssetFileDescriptor afd, int expectedDuration) { in resourcesPlayback()
|
/cts/tests/tests/media/extractor/src/android/media/extractor/cts/ |
D | MediaExtractorTest.java | 113 AssetFileDescriptor afd = getAssetFileDescriptorFor(res); in getDataSourceFor() local
|