Searched refs:openAssetFile (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentProviderClientTest.java | 288 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()
|
D | ContentResolverWrapTest.java | 171 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()
|
D | MockContentProvider.java | 361 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { in openAssetFile() method in MockContentProvider 371 return super.openAssetFile(uri, mode); in openAssetFile()
|
D | ContentProviderTest.java | 59 mockContentProvider.openAssetFile(uri, "r"); in testOpenAssetFile()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | MockContentProvider.java | 73 public AssetFileDescriptor openAssetFile(Uri uri, String mode) in openAssetFile() method in MockContentProvider
|
/cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/ |
D | DirectoryProvider.java | 223 public AssetFileDescriptor openAssetFile(final Uri uri, String mode) { in openAssetFile() method in DirectoryProvider
|