Searched refs:afd (Results 1 – 11 of 11) sorted by relevance
130 AssetFileDescriptor afd = getAssets().openFd("sounds/Timer_Expire.ogg"); in play() local132 afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in play()173 AssetFileDescriptor afd = resources.openRawResourceFd(res); in setDataSourceFromResource() local174 if (afd != null) { in setDataSourceFromResource()175 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), in setDataSourceFromResource()176 afd.getLength()); in setDataSourceFromResource()177 afd.close(); in setDataSourceFromResource()
344 AssetFileDescriptor afd; in testOpenFile() local346 afd = mMockResolver.openAssetFileDescriptor(file1Uri, "r"); in testOpenFile()360 afd = mMockResolver.openAssetFileDescriptor(file1Uri, "r"); in testOpenFile()379 afd = mMockResolver.openAssetFileDescriptor(file2Uri, "r"); in testOpenFile()380 assertNotNull(afd); in testOpenFile()382 afd.close(); in testOpenFile()411 AssetFileDescriptor afd = mMockResolver.openAssetFileDescriptor(thumb1Uri, "r"); in testOpenThumbnail() local412 assertNull(afd); in testOpenThumbnail()421 afd = mMockResolver.openAssetFileDescriptor(thumb1Uri, "r"); in testOpenThumbnail()422 assertNull(afd); in testOpenThumbnail()[all …]
148 AssetFileDescriptor afd = null; in createReadOnlyBinaryDictionary() local153 afd = context.getResources().openRawResourceFd(resId); in createReadOnlyBinaryDictionary()154 if (afd == null) { in createReadOnlyBinaryDictionary()165 return new ReadOnlyBinaryDictionary(sourceDir, afd.getStartOffset(), afd.getLength(), in createReadOnlyBinaryDictionary()171 if (null != afd) { in createReadOnlyBinaryDictionary()173 afd.close(); in createReadOnlyBinaryDictionary()
90 final AssetFileDescriptor afd = context.getResources().openRawResourceFd(fallbackResId); in loadFallbackResource() local91 if (afd == null) { in loadFallbackResource()98 context.getApplicationInfo().sourceDir, afd.getStartOffset(), afd.getLength()); in loadFallbackResource()101 afd.close(); in loadFallbackResource()
260 AssetFileDescriptor afd = null; in cacheWordList() local264 afd = openAssetFileDescriptor(providerClient, wordListUri); in cacheWordList()266 if (null == afd) return; in cacheWordList()267 originalSourceStream = afd.createInputStream(); in cacheWordList()339 closeAssetFileDescriptorAndReportAnyException(afd); in cacheWordList()
148 AssetFileDescriptor afd = context.getResources().openRawResourceFd(res); in setDataSourceFromResource() local149 if (afd != null) { in setDataSourceFromResource()150 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in setDataSourceFromResource()151 afd.close(); in setDataSourceFromResource()
365 AssetFileDescriptor afd = resources.openRawResourceFd(res); in setDataSourceFromResource() local366 if (afd != null) { in setDataSourceFromResource()367 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), in setDataSourceFromResource()368 afd.getLength()); in setDataSourceFromResource()369 afd.close(); in setDataSourceFromResource()
80 AssetFileDescriptor afd = new AssetFileDescriptor(write, 0, -1); in openFile() local81 new RequestHandler(getContext(), uri, afd.createOutputStream()).start(); in openFile()
884 AssetFileDescriptor afd = openVideoThumbnailCleared(id, signal); in openOrCreateVideoThumbnailCleared() local885 if (afd == null) { in openOrCreateVideoThumbnailCleared()892 afd = openVideoThumbnailCleared(id, signal); in openOrCreateVideoThumbnailCleared()895 return afd; in openOrCreateVideoThumbnailCleared()
319 final AssetFileDescriptor afd = getContext().getResources().openRawResourceFd( in openAssetFile() local321 return afd; in openAssetFile()
1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...