Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/cts/
DContentProviderClientTest.java288 mContentProviderClient.openAssetFile(URI, MODE, mCancellationSignal); in testOpenAssetFile()
290 verify(mIContentProvider).openAssetFile(PACKAGE_NAME, URI, MODE, mICancellationSignal); in testOpenAssetFile()
295 when(mIContentProvider.openAssetFile(PACKAGE_NAME, URI, MODE, mICancellationSignal)) in testOpenAssetFileTimeout()
298 testTimeout(() -> mContentProviderClient.openAssetFile(URI, MODE, mCancellationSignal)); in testOpenAssetFileTimeout()
300 verify(mIContentProvider).openAssetFile(PACKAGE_NAME, URI, MODE, mICancellationSignal); in testOpenAssetFileTimeout()
305 () -> mContentProviderClient.openAssetFile(URI, MODE, mCancellationSignal)); in testOpenAssetFileAlreadyCancelled()
307 verify(mIContentProvider, never()).openAssetFile(PACKAGE_NAME, URI, MODE, in testOpenAssetFileAlreadyCancelled()
DContentResolverWrapTest.java171 doReturn(ASSET_FD).when(mProvider).openAssetFile(URI, MODE, null); in testOpenAssetFile()
172 assertEquals(ASSET_FD, mResolver.openAssetFile(URI, MODE, null)); in testOpenAssetFile()
187 doReturn(ASSET_FD).when(mProvider).openAssetFile(URI, "r", null); in testOpenStream()
188 doReturn(ASSET_FD).when(mProvider).openAssetFile(URI, "w", null); in testOpenStream()
DMockContentProvider.java361 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { in openAssetFile() method in MockContentProvider
371 return super.openAssetFile(uri, mode); in openAssetFile()
DContentProviderTest.java59 mockContentProvider.openAssetFile(uri, "r"); in testOpenAssetFile()
/cts/tests/tests/webkit/src/android/webkit/cts/
DMockContentProvider.java73 public AssetFileDescriptor openAssetFile(Uri uri, String mode) in openAssetFile() method in MockContentProvider
/cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/
DDirectoryProvider.java223 public AssetFileDescriptor openAssetFile(final Uri uri, String mode) { in openAssetFile() method in DirectoryProvider