Home
last modified time | relevance | path

Searched refs:openAssetFile (Results 1 – 8 of 8) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DArchiveHandleTest.java55 .openAssetFile(archivePath, suffix); in prepareArchiveHandle()
164 .openAssetFile("archives/7z/hello.7z", ".7z"); in buildArchiveHandle_withWrongMimeType_shouldBeIllegal()
354 .openAssetFile("archives/zip/hello.zip", ".zip"); in close_zipFile_shouldNotOpen()
369 .openAssetFile("archives/zip/hello.zip", ".zip"); in getInputStream_zipFile_shouldHaveTheSameContent()
455 .openAssetFile("archives/7z/hello.7z", ".7z"); in getInputStream_sevenZFile_shouldHaveTheSameContent()
474 .openAssetFile("archives/tar_gz/hello.tgz", ".tar.gz"); in getInputStream_tarGzFile_shouldHaveTheSameContent()
493 .openAssetFile("archives/tar_gz/hello.tgz", ".tar.gz"); in getInputStream_tarGzFileNullEntry_getNullInputStream()
513 .openAssetFile("archives/tar_gz/hello.tgz", ".tar.gz"); in getInputStream_tarGzFileInvalidEntry_getNullInputStream()
534 .openAssetFile("archives/brotli/hello.tar.br", ".tar.br"); in getInputStream_tarBrotliFile_shouldHaveTheSameContent()
DArchiveFileTestRule.java139 public ParcelFileDescriptor openAssetFile(String assetPath, String suffix) throws IOException { in openAssetFile() method in ArchiveFileTestRule
156 ParcelFileDescriptor parcelFileDescriptor = openAssetFile(assetPath, ".text"); in getAssetText()
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DForwardingContentProvider.java150 public synchronized AssetFileDescriptor openAssetFile(Uri url, String mode) { in openAssetFile() method in ForwardingContentProvider
152 return mClient.openAssetFile(url, mode); in openAssetFile()
160 public synchronized AssetFileDescriptor openAssetFile(Uri url, String mode, in openAssetFile() method in ForwardingContentProvider
163 return mClient.openAssetFile(url, mode, signal); in openAssetFile()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaPublicProvider.java82 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { in openAssetFile() method in TmaPublicProvider
87 return super.openAssetFile(uri, mode); in openAssetFile()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DProfileProvider.java104 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { in openAssetFile() method in ProfileProvider
DContactsProvider2.java8522 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { in openAssetFile() method in ContactsProvider2
8537 ret = mProfileProvider.openAssetFile(uri, mode); in openAssetFile()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionaryProvider.java291 public AssetFileDescriptor openAssetFile(final Uri uri, final String mode) { in openAssetFile() method in DictionaryProvider
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionaryFileDumper.java211 return providerClient.openAssetFile(uri, "r"); in openAssetFileDescriptor()