Home
last modified time | relevance | path

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

12

/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/player/src/android/media/player/cts/
DMediaPlayerSurfaceStubActivity.java52 AssetFileDescriptor afd = null; in onCreate() local
DMediaPlayerRandomTest.java105 AssetFileDescriptor afd = new AssetFileDescriptor(parcelFD, 0, parcelFD.getStatSize()); in loadSource() local
DMediaPlayerTest.java175 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/
DMediaDrmExtractorTest.java71 AssetFileDescriptor afd = getAssetFileDescriptorFor(res); in getDataSourceFor() local
DMediaDrmCodecBlockModelTest.java152 try (AssetFileDescriptor afd = getAssetFileDescriptorFor(resource)) { in getMediaExtractorForMimeType()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DTestProxyFileDescriptorCallback.java45 public static TestProxyFileDescriptorCallback fromAssetFd(AssetFileDescriptor afd) in fromAssetFd()
DMediaMetadataRetrieverTest.java141 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
DMediaScannerTest.java622 AssetFileDescriptor afd = getAssetFileDescriptorFor(entry.fileName); in testEncodingDetection() local
/cts/tests/tests/media/common/src/android/media/cts/
DTestMediaDataSource.java43 public static TestMediaDataSource fromAssetFd(AssetFileDescriptor afd) throws IOException { in fromAssetFd()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DRingtoneManagerTest.java158 try (AssetFileDescriptor afd = RingtoneManager.openDefaultRingtoneUri( in testAccessMethods()
DAudioEffectTest.java173 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
DSoundPoolTest.java129 AssetFileDescriptor afd = getContext().getResources().openRawResourceFd(getSoundCs()); in testLoad() local
DAudioPlaybackConfigurationTest.java859 AssetFileDescriptor afd = getContext().getResources().openRawResourceFd(resID); in createPlayer() local
/cts/tests/tests/content/src/android/content/cts/
DContentResolverTest.java728 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/
DDRMTest.java249 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(R.raw.testmp3_2); in testForwardLockAccess() local
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecBlockModelTest.java444 try (AssetFileDescriptor afd = getAssetFileDescriptorFor(resource)) { in getMediaExtractorForMimeType()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java498 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/
DAssetFileDescriptor_AutoCloseInputStreamTest.java343 AssetFileDescriptor afd = new AssetFileDescriptor(fd, 0, transferSize); in testOffsetCorrectFileChannelTransferTo() local
/cts/tests/media/src/android/mediav2/cts/
DExtractorTest.java602 AssetFileDescriptor afd = new AssetFileDescriptor(parcelFD, 0, in testAssetFD()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java73 AssetFileDescriptor afd = null; in extractVideoFileInfo() local
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaProviderTestUtils.java170 try (AssetFileDescriptor afd = context.getResources().openRawResourceFd(resId)) { in stageFile()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java553 public static boolean resourcesPlayback(AssetFileDescriptor afd, int expectedDuration) { in resourcesPlayback()
/cts/tests/tests/media/extractor/src/android/media/extractor/cts/
DMediaExtractorTest.java113 AssetFileDescriptor afd = getAssetFileDescriptorFor(res); in getDataSourceFor() local

12