Searched refs:openFd (Results 1 – 13 of 13) sorted by relevance
65 try (AssetFileDescriptor assetFileDescriptor = context.getAssets().openFd(filePath)) { in createHandleFromFdAndOptions()140 try (AssetFileDescriptor fileDescriptor = context.getAssets().openFd(filePath);
18 return assetManager.openFd(path).getParcelFileDescriptor(); in loadResource()
89 val assetFD = assetMgr.openFd(assetName) in loadWavAsset()
85 .openFd("robolectric.png") in getImageFd()
53 assetManager.openFd("deflatedAsset.xml"); in openFd_shouldProvideFileDescriptorForDeflatedAsset()
159 try (AssetFileDescriptor fileDescriptor = context.getAssets().openFd(filePath); in loadMappedFile()
153 return getContext().getAssets().openFd(fileName); in openAssetFile()
132 try (AssetFileDescriptor assetFileDescriptor = context.getAssets().openFd(modelPath)) { in createFromFileAndOptions()
461 try (AssetFileDescriptor assetFileDescriptor = assetManager.openFd(absolutePath)) { in createFromAsset()535 return assetManager.openFd(absolutePath); in open()
102 AssetFileDescriptor fileDescriptor = am.openFd(modelPath); in initializeTest()
229 AssetFileDescriptor fileDescriptor = activity.getAssets().openFd(getModelPath()); in loadModelFile()
191 AssetFileDescriptor descriptor = context.getAssets().openFd(assetName); in initialiseDecoder()
393 protected final AssetFileDescriptor openFd(String fileName) throws IOException { in openFd() method in ShadowLegacyAssetManager