Home
last modified time | relevance | path

Searched defs:afd (Results 1 – 25 of 25) 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
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()
DMediaExtractorTest.java76 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
DMediaRandomTest.java166 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in loadSource() local
DAudioEffectTest.java159 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
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.java594 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(entry.res); in testEncodingDetection() local
DMediaCodecTest.java1729 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/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java298 try (AssetFileDescriptor afd = context.getResources().openRawResourceFd(resId)) { in stageFile()
/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/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java471 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/
DExtractorTest.java481 AssetFileDescriptor afd = new AssetFileDescriptor(parcelFD, 0, in testAssetFD()
DExtractorUnitTest.java726 AssetFileDescriptor afd = new AssetFileDescriptor(parcelFD, 0, in testIfWriteOnlyAssetFDIsRejectedBySetDataSource()
/cts/tests/tests/provider/src/android/provider/cts/
DProviderTestUtils.java226 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()