Home
last modified time | relevance | path

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

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStaging.java136 final AssetFileDescriptor afd = openAssetFileDescriptor(packageUri); in onResume() local
287 try (AssetFileDescriptor afd = openAssetFileDescriptor(getIntent().getData())) { in getContentSizeBytes()
/frameworks/native/cmds/service/
Dservice.cpp212 int afd = ashmem_create_region("test", statbuf.st_size); in main() local
/frameworks/av/media/audioaidlconversion/tests/
Daudio_aidl_ndk_cpp_conversion_tests.cpp103 auto afd = make_AFD_Encap(); in make_AFD_Encap_with_Enc() local
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DSessionStager.kt100 .use { afd -> afd?.length ?: AssetFileDescriptor.UNKNOWN_LENGTH } in <lambda>() method
DInstallRepository.kt309 context.contentResolver.openAssetFileDescriptor(uri, "r").use { afd -> in <lambda>() method
/frameworks/base/core/tests/coretests/src/android/content/
DContentResolverTest.java89 final AssetFileDescriptor afd = new AssetFileDescriptor( in initImage() local
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedImageDrawable.java81 State(long nativePtr, InputStream is, AssetFileDescriptor afd) { in State()
295 Rect cropRect, InputStream inputStream, AssetFileDescriptor afd) in AnimatedImageDrawable()
/frameworks/base/media/java/android/media/
DSoundPool.java227 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resId); in load() local
248 public int load(AssetFileDescriptor afd, int priority) { in load()
DMediaExtractor.java216 public final void setDataSource(@NonNull AssetFileDescriptor afd) in setDataSource()
DRingtone.java615 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd( in playFallbackRingtone() local
DJetPlayer.java230 public boolean loadJetFile(AssetFileDescriptor afd) { in loadJetFile()
DRingtoneManager.java1136 AssetFileDescriptor afd = null; in openDefaultRingtoneUri() local
DMediaPlayer.java1013 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resid); in create() local
1151 try (AssetFileDescriptor afd = optimize in attemptDataSource()
1253 public void setDataSource(@NonNull AssetFileDescriptor afd) in setDataSource()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DSimplePlayer.java118 … AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(mFileResId); in playOrPause() local
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java369 … AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(mFileResId); in playOrPause() local
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java571 public static boolean resourcesPlayback(AssetFileDescriptor afd, int expectedDuration){ in resourcesPlayback()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java543 final AssetFileDescriptor afd = in openFileForRead() local
/frameworks/av/media/libaudioclient/tests/
Daudio_aidl_legacy_conversion_tests.cpp244 auto afd = make_AFD_Encap(); in make_AFD_Encap_with_Enc() local