Home
last modified time | relevance | path

Searched defs:afd (Results 1 – 22 of 22) sorted by relevance

/cts/tests/tests/security/src/android/security/cts/
DMediaServerCrashTest.java102 AssetFileDescriptor afd = getContext().getResources().openRawResourceFd(res); in testIfMediaServerDied() local
127 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(res); in checkIfMediaServerDiedForDrm() local
DMediaMetadataRetrieverTest.java49 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in setDataSourceFd() local
/cts/tests/tests/media/src/android/media/cts/
DMediaMetadataRetrieverTest.java92 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in setDataSourceFd() local
103 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in setDataSourceCallback() local
115 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in getFaultyDataSource() local
245 AssetFileDescriptor afd = resources.openRawResourceFd(resId); in testThumbnail() local
389 AssetFileDescriptor afd = resources.openRawResourceFd(resId); in testGetFrameAt() local
433 AssetFileDescriptor afd = resources.openRawResourceFd(resId); in testGetScaledFrameAtTime() local
640 AssetFileDescriptor afd = null; in testGetImage() local
DMediaPlayerSurfaceStubActivity.java44 AssetFileDescriptor afd = mResources.openRawResourceFd(R.raw.testvideo); in onCreate() local
DMediaPlayer2TestBase.java151 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resid); in createMediaPlayer2() local
329 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in loadResource() local
355 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in createDataSourceDesc() local
366 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in loadSubtitleSource() local
DMediaExtractorTest.java51 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in getDataSourceFor() local
DTestMediaDataSource.java45 public static TestMediaDataSource fromAssetFd(AssetFileDescriptor afd) throws IOException { in fromAssetFd()
DTestMedia2DataSource.java45 public static TestMedia2DataSource fromAssetFd(AssetFileDescriptor afd) throws IOException { in fromAssetFd()
DMediaPlayerTestBase.java109 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in loadResource() local
133 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in loadSubtitleSource() local
DMediaRandomTest.java167 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in loadSource() local
DAudioEffectTest.java158 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(R.raw.testmp3); in test1_4InsertOnMediaPlayer() local
184 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(R.raw.testmp3); in test1_5AuxiliaryOnMediaPlayer() local
DMediaPlayerTest.java151 AssetFileDescriptor afd = mResources.openRawResourceFd(res); in testIfMediaServerDied() local
180 AssetFileDescriptor afd = mResources.openRawResourceFd(R.raw.bug13652927); in testVorbisCrash() local
594 AssetFileDescriptor afd = mResources.openRawResourceFd(R.raw.test1m1s); in initMediaPlayer() local
825 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(resid1); in testGapless() local
DSoundPoolTest.java101 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(getSoundCs()); in testLoad() local
DMediaScannerTest.java621 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(entry.res); in testEncodingDetection() local
DMediaPlayer2Test.java163 AssetFileDescriptor afd = mResources.openRawResourceFd(R.raw.bug13652927); in testVorbisCrash() local
DMediaCodecTest.java1712 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(resourceId); in getMediaExtractorForMimeType() local
DDecodeAccuracyTestBase.java368 final AssetFileDescriptor afd = videoFormat.getAssetFileDescriptor(context); in setExtractorDataSource() local
/cts/tests/tests/content/src/android/content/cts/
DContentResolverTest.java639 AssetFileDescriptor afd = mContentResolver.openAssetFileDescriptor(uri, "r"); in testOpenAssetFileDescriptor() local
659 private String consumeAssetFileDescriptor(AssetFileDescriptor afd) in consumeAssetFileDescriptor()
687 AssetFileDescriptor afd = null; in testCrashingOpenAssetFileDescriptor() local
718 AssetFileDescriptor afd = null; in testCrashingOpenTypedAssetFileDescriptor() local
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_Audio_AlbumsTest.java179 AssetFileDescriptor afd = mContentResolver.openAssetFileDescriptor( in testAlbumArt() local
/cts/tests/tests/drm/src/android/drm/cts/
DDRMTest.java241 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(R.raw.testmp3_2); in testForwardLockAccess() local
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java391 AssetFileDescriptor afd = null; in hasCodecsForResourceCombo() local
617 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resourceId); in getTrackFormatForResource() local
657 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resourceId); in createMediaExtractorForMimeType() local
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java545 public static boolean resourcesPlayback(AssetFileDescriptor afd, int expectedDuration) { in resourcesPlayback()