/cts/tests/app/NotificationProvider/src/com/android/test/notificationprovider/ |
D | AssetFileProvider.kt | 29 override fun openAssetFile(uri: Uri, mode: String): AssetFileDescriptor? { in openAssetFile() method in com.android.test.notificationprovider.AssetFileProvider 35 return super.openAssetFile(uri, mode) in openAssetFile()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | AssetFileProvider.kt | 27 override fun openAssetFile(uri: Uri, mode: String): AssetFileDescriptor? { in onCreate() method in android.app.stubs.AssetFileProvider 33 return super.openAssetFile(uri, mode) in onCreate()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentProviderClientTest.java | 296 mContentProviderClient.openAssetFile(URI, MODE, mCancellationSignal); in testOpenAssetFile() 298 … verify(mIContentProvider).openAssetFile(mAttributionSource, URI, MODE, mICancellationSignal); in testOpenAssetFile() 303 doAnswer(ANSWER_SLEEP).when(mIContentProvider).openAssetFile(mAttributionSource, in testOpenAssetFileTimeout() 306 testTimeout(() -> mContentProviderClient.openAssetFile(URI, MODE, mCancellationSignal)); in testOpenAssetFileTimeout() 308 verify(mIContentProvider).openAssetFile(mAttributionSource, URI, MODE, in testOpenAssetFileTimeout() 314 () -> mContentProviderClient.openAssetFile(URI, MODE, mCancellationSignal)); in testOpenAssetFileAlreadyCancelled() 316 verify(mIContentProvider, never()).openAssetFile(mAttributionSource, URI, MODE, in testOpenAssetFileAlreadyCancelled()
|
D | ContentResolverWrapTest.java | 189 doReturn(ASSET_FD).when(mProvider).openAssetFile(URI, MODE, null); in testOpenAssetFile() 190 assertEquals(ASSET_FD, mResolver.openAssetFile(URI, MODE, null)); in testOpenAssetFile() 205 doReturn(ASSET_FD).when(mProvider).openAssetFile(URI, "r", null); in testOpenStream() 206 doReturn(ASSET_FD).when(mProvider).openAssetFile(URI, "w", null); in testOpenStream()
|
D | MockContentProvider.java | 391 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { in openAssetFile() method in MockContentProvider 401 return super.openAssetFile(uri, mode); in openAssetFile()
|
D | ContentProviderTest.java | 92 mockContentProvider.openAssetFile(uri, "r"); in testOpenAssetFile()
|
/cts/tests/app/NotificationListener/src/com/android/test/notificationlistener/ |
D | NotificationUriAccessService.kt | 48 contentResolver.openAssetFile(uri!!, "r", null).use { return true } in isFileUriAccessible()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | EmptyProvider.java | 41 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { in openAssetFile() method in EmptyProvider
|
/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
|
/cts/tests/app/src/android/app/cts/ |
D | NotificationManagerTest.java | 3089 try (AssetFileDescriptor fd = contentResolver.openAssetFile(uri, "r", null)) { in assertAccessible() 3099 try (AssetFileDescriptor fd = contentResolver.openAssetFile(uri, "r", null)) { in assertInaccessible()
|