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
124 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(res); in checkIfMediaServerDiedForDrm() local
DMediaMetadataRetrieverTest.java48 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); in setDataSourceFd() local
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerSurfaceStubActivity.java47 AssetFileDescriptor afd = null; 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()
DMediaExtractorTest.java103 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
DMediaPlayerTestBase.java120 AssetFileDescriptor afd = getAssetFileDescriptorFor(res); in loadResource() local
144 AssetFileDescriptor afd = getAssetFileDescriptorFor(res); in loadSubtitleSource() local
DRingtoneManagerTest.java134 try (AssetFileDescriptor afd = RingtoneManager.openDefaultRingtoneUri( in testAccessMethods()
DMediaMetadataRetrieverTest.java120 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
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
DMediaRandomTest.java170 AssetFileDescriptor afd = new AssetFileDescriptor(parcelFD, 0, parcelFD.getStatSize()); in loadSource() local
DMediaPlayerTest.java163 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
DSoundPoolTest.java119 AssetFileDescriptor afd = getContext().getResources().openRawResourceFd(getSoundCs()); in testLoad() local
DMediaScannerTest.java617 AssetFileDescriptor afd = getAssetFileDescriptorFor(entry.fileName); in testEncodingDetection() local
DMediaCodecBlockModelTest.java973 try (AssetFileDescriptor afd = getAssetFileDescriptorFor(resource)) { in getMediaExtractorForMimeType()
DMediaCodecTest.java1916 AssetFileDescriptor afd = new AssetFileDescriptor(parcelFD, 0, parcelFD.getStatSize()); in getMediaExtractorForMimeType() local
DDecodeAccuracyTestBase.java367 final AssetFileDescriptor afd = videoFormat.getAssetFileDescriptor(); in setExtractorDataSource() local
/cts/tests/tests/content/src/android/content/cts/
DContentResolverTest.java706 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/
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.java473 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/
DMediaStoreUiTest.java435 try (AssetFileDescriptor afd = context.getResources().openRawResourceFd(resId)) { in stageFile()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java73 AssetFileDescriptor afd = null; in extractVideoFileInfo() local
/cts/tests/media/src/android/mediav2/cts/
DExtractorTest.java587 AssetFileDescriptor afd = new AssetFileDescriptor(parcelFD, 0, in testAssetFD()
DExtractorUnitTest.java739 AssetFileDescriptor afd = new AssetFileDescriptor(parcelFD, 0, in testIfWriteOnlyAssetFDIsRejectedBySetDataSource()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java546 public static boolean resourcesPlayback(AssetFileDescriptor afd, int expectedDuration) { in resourcesPlayback()