Home
last modified time | relevance | path

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

/cts/tests/tests/security/src/android/security/cts/
DMediaServerCrashTest.java98 AssetFileDescriptor afd = getContext().getResources().openRawResourceFd(res); in testIfMediaServerDied() local
123 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.java90 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
DMediaPlayerSurfaceStubActivity.java44 AssetFileDescriptor afd = mResources.openRawResourceFd(R.raw.testvideo); in onCreate() local
DMediaExtractorTest.java72 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in getDataSourceFor() local
127 AssetFileDescriptor afd = mResources.openRawResourceFd(R.raw.testvideo); in testExtractFromAssetFileDescriptor() local
287 AssetFileDescriptor afd = mResources.openRawResourceFd(R.raw.testvideo); in testExtractorHasCacheReachedEndOfStream() local
DTestProxyFileDescriptorCallback.java45 public static TestProxyFileDescriptorCallback fromAssetFd(AssetFileDescriptor afd) in fromAssetFd()
DTestMediaDataSource.java45 public static TestMediaDataSource 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
DRingtoneManagerTest.java140 try (AssetFileDescriptor afd = RingtoneManager.openDefaultRingtoneUri( in testAccessMethods()
DMediaRandomTest.java165 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.java148 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
DSoundPoolTest.java106 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(getSoundCs()); in testLoad() local
DMediaScannerTest.java593 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(entry.res); in testEncodingDetection() local
DMediaCodecTest.java1728 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(resourceId); in getMediaExtractorForMimeType() local
DDecodeAccuracyTestBase.java365 final AssetFileDescriptor afd = videoFormat.getAssetFileDescriptor(context); in setExtractorDataSource() local
/cts/tests/tests/content/src/android/content/cts/
DContentResolverTest.java648 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/
DDRMTest.java249 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(R.raw.testmp3_2); in testForwardLockAccess() local
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java394 AssetFileDescriptor afd = null; in hasCodecsForResourceCombo() local
620 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resourceId); in getTrackFormatForResource() local
660 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resourceId); in createMediaExtractorForMimeType() local
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java392 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/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java490 try (AssetFileDescriptor afd = context.getResources().openRawResourceFd(resId)) { in stageFile()
/cts/tests/tests/provider/src/android/provider/cts/
DProviderTestUtils.java201 try (AssetFileDescriptor afd = context.getResources().openRawResourceFd(resId)) { in stageFile()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java545 public static boolean resourcesPlayback(AssetFileDescriptor afd, int expectedDuration) { in resourcesPlayback()