/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/ |
D | ArchiveHandleTest.java | 56 .openAssetFile(archivePath, suffix); in prepareArchiveHandle() 160 .openAssetFile("archives/7z/hello.7z", ".7z"); in buildArchiveHandle_withWrongMimeType_shouldBeIllegal() 350 .openAssetFile("archives/zip/hello.zip", ".zip"); in close_zipFile_shouldNotOpen() 365 .openAssetFile("archives/zip/hello.zip", ".zip"); in getInputStream_zipFile_shouldHaveTheSameContent() 451 .openAssetFile("archives/7z/hello.7z", ".7z"); in getInputStream_sevenZFile_shouldHaveTheSameContent() 470 .openAssetFile("archives/tar_gz/hello.tgz", ".tar.gz"); in getInputStream_tarGzFile_shouldHaveTheSameContent() 489 .openAssetFile("archives/tar_gz/hello.tgz", ".tar.gz"); in getInputStream_tarGzFileNullEntry_getNullInputStream() 509 .openAssetFile("archives/tar_gz/hello.tgz", ".tar.gz"); in getInputStream_tarGzFileInvalidEntry_getNullInputStream() 530 .openAssetFile("archives/brotli/hello.tar.br", ".tar.br"); in getInputStream_tarBrotliFile_shouldHaveTheSameContent()
|
D | ArchiveFileTestRule.java | 139 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/ |
D | ForwardingContentProvider.java | 152 public synchronized AssetFileDescriptor openAssetFile(Uri url, String mode) { in openAssetFile() method in ForwardingContentProvider 154 return mClient.openAssetFile(url, mode); in openAssetFile() 162 public synchronized AssetFileDescriptor openAssetFile(Uri url, String mode, in openAssetFile() method in ForwardingContentProvider 165 return mClient.openAssetFile(url, mode, signal); in openAssetFile()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | CloneContactsProvider2Test.java | 102 AssetFileDescriptor fileDescriptor = mActor.provider.openAssetFile(uri, "r"); in getCloneContactsProviderWithMockedOpenAssetFileCall() 435 mCloneContactsProvider.openAssetFile(contacts.getCombinedUri(), "r"); in testOpenAssetFileMultiVCard() 457 mCloneContactsProvider.openAssetFile(contacts.getCombinedUri(), "r"); in testOpenAssetFileMultiVCard_callerNotInAllowlist() 462 .openAssetFile(eq(contacts.getCombinedUri()), any()); in testOpenAssetFileMultiVCard_callerNotInAllowlist()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ProfileProvider.java | 104 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { in openAssetFile() method in ProfileProvider
|
D | ContactsProvider2.java | 6090 return getContext().getContentResolver().openAssetFile(remoteUri, mode, null); in openAssetFileThroughParentProvider() 9034 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { in openAssetFile() method in ContactsProvider2 9059 ret = mProfileProvider.openAssetFile(uri, mode); in openAssetFile()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionaryProvider.java | 291 public AssetFileDescriptor openAssetFile(final Uri uri, final String mode) { in openAssetFile() method in DictionaryProvider
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryFileDumper.java | 211 return providerClient.openAssetFile(uri, "r"); in openAssetFileDescriptor()
|