Home
last modified time | relevance | path

Searched refs:openTypedAssetFile (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DContentProviderClientTest.java312 mContentProviderClient.openTypedAssetFile(URI, MODE, ARGS, mCancellationSignal); in testOpenTypedAssetFile()
314 verify(mIContentProvider).openTypedAssetFile(PACKAGE_NAME, URI, MODE, ARGS, in testOpenTypedAssetFile()
320 when(mIContentProvider.openTypedAssetFile(PACKAGE_NAME, URI, MODE, ARGS, in testOpenTypedAssetFileTimeout()
324 testTimeout(() -> mContentProviderClient.openTypedAssetFile(URI, MODE, ARGS, in testOpenTypedAssetFileTimeout()
327 verify(mIContentProvider).openTypedAssetFile(PACKAGE_NAME, URI, MODE, ARGS, in testOpenTypedAssetFileTimeout()
333 () -> mContentProviderClient.openTypedAssetFile(URI, MODE, ARGS, in testOpenTypedAssetFileAlreadyCancelled()
336 verify(mIContentProvider, never()).openTypedAssetFile(PACKAGE_NAME, URI, MODE, ARGS, in testOpenTypedAssetFileAlreadyCancelled()
DContentResolverWrapTest.java195 doReturn(ASSET_FD).when(mProvider).openTypedAssetFile(URI, TYPE, EXTRAS, null); in testOpenTypedAssetFile()
196 assertEquals(ASSET_FD, mResolver.openTypedAssetFile(URI, TYPE, EXTRAS, null)); in testOpenTypedAssetFile()
211 doReturn(ASSET_FD).when(mProvider).openTypedAssetFile(eq(URI), any(), any(), eq(SIGNAL)); in testLoadThumbnail()
DMockContentProvider.java376 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) in openTypedAssetFile() method in MockContentProvider
387 return super.openTypedAssetFile(uri, mimeTypeFilter, opts); in openTypedAssetFile()
/cts/tests/tests/provider/src/android/provider/cts/
DDocumentsContractTest.java366 assertEquals(res, mResolver.openTypedAssetFile(URI_RED, MIME_TYPE, opts, null)); in testOpenDocumentThumbnail()
378 assertEquals(res, mResolver.openTypedAssetFile(URI_RED, "audio/*", null, null)); in testOpenTypedDocument()