Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/cts/
DContentResolverWrapTest.java72 private static final AssetFileDescriptor ASSET_FD; field in ContentResolverWrapTest
79 ASSET_FD = new AssetFileDescriptor(FD, 0, AssetFileDescriptor.UNKNOWN_LENGTH);
189 doReturn(ASSET_FD).when(mProvider).openAssetFile(URI, MODE, null); in testOpenAssetFile()
190 assertEquals(ASSET_FD, mResolver.openAssetFile(URI, MODE, null)); in testOpenAssetFile()
191 assertEquals(ASSET_FD, mResolver.openAssetFileDescriptor(URI, MODE)); in testOpenAssetFile()
192 assertEquals(ASSET_FD, mResolver.openAssetFileDescriptor(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()
213 doReturn(ASSET_FD).when(mProvider).openTypedAssetFile(URI, TYPE, EXTRAS, null); in testOpenTypedAssetFile()
214 assertEquals(ASSET_FD, mResolver.openTypedAssetFile(URI, TYPE, EXTRAS, null)); in testOpenTypedAssetFile()
[all …]