Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/cts/
DContentProviderClientTest.java68 private static final String MODE = "mode"; field in ContentProviderClientTest
273 mContentProviderClient.openFile(URI, MODE, mCancellationSignal); in testOpenFile()
275 verify(mIContentProvider).openFile(mAttributionSource, URI, MODE, mICancellationSignal); in testOpenFile()
281 URI, MODE, mICancellationSignal); in testOpenFileTimeout()
283 testTimeout(() -> mContentProviderClient.openFile(URI, MODE, mCancellationSignal)); in testOpenFileTimeout()
285 verify(mIContentProvider).openFile(mAttributionSource, URI, MODE, mICancellationSignal); in testOpenFileTimeout()
289 testAlreadyCancelled(() -> mContentProviderClient.openFile(URI, MODE, mCancellationSignal)); in testOpenFileAlreadyCancelled()
291 verify(mIContentProvider, never()).openFile(mAttributionSource, URI, MODE, in testOpenFileAlreadyCancelled()
296 mContentProviderClient.openAssetFile(URI, MODE, mCancellationSignal); in testOpenAssetFile()
298 … verify(mIContentProvider).openAssetFile(mAttributionSource, URI, MODE, mICancellationSignal); in testOpenAssetFile()
[all …]
DMockSRSProvider.java22 final static int MODE = DATABASE_MODE_QUERIES + DATABASE_MODE_2LINES; field in MockSRSProvider
29 setupSuggestions(AUTHORITY, MODE); in MockSRSProvider()
DContentResolverWrapTest.java70 private static final String MODE = "rw"; field in ContentResolverWrapTest
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()
197 doReturn(FD).when(mProvider).openFile(URI, MODE, null); in testOpenFile()
198 assertEquals(FD, mResolver.openFile(URI, MODE, null)); in testOpenFile()
199 assertEquals(FD, mResolver.openFileDescriptor(URI, MODE)); in testOpenFile()
200 assertEquals(FD, mResolver.openFileDescriptor(URI, MODE, null)); in testOpenFile()
/cts/tests/tests/provider/src/android/provider/cts/
DTestSearchRecentSuggestionsProvider.java23 final static int MODE = DATABASE_MODE_QUERIES + DATABASE_MODE_2LINES; field in TestSearchRecentSuggestionsProvider
27 setupSuggestions(AUTHORITY, MODE); in TestSearchRecentSuggestionsProvider()
DSearchRecentSuggestionsTest.java53 TestSearchRecentSuggestionsProvider.MODE); in testConstructor()
59 TestSearchRecentSuggestionsProvider.MODE); in testSearchRecentSuggestions()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DSearchSuggestionProvider.java23 public static final int MODE = DATABASE_MODE_QUERIES; field in SearchSuggestionProvider
26 setupSuggestions(AUTHORITY, MODE); in SearchSuggestionProvider()
DEphemeralActivity.java43 SearchSuggestionProvider.AUTHORITY, SearchSuggestionProvider.MODE); in onCreate()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp2/src/com/android/cts/ephemeralapp2/
DSearchSuggestionProvider.java23 public static final int MODE = DATABASE_MODE_QUERIES; field in SearchSuggestionProvider
26 setupSuggestions(AUTHORITY, MODE); in SearchSuggestionProvider()
DEphemeralActivity.java42 SearchSuggestionProvider.AUTHORITY, SearchSuggestionProvider.MODE); in onCreate()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
DSearchSuggestionProvider.java23 public static final int MODE = DATABASE_MODE_QUERIES; field in SearchSuggestionProvider
26 setupSuggestions(AUTHORITY, MODE); in SearchSuggestionProvider()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DMotionIndicatorView.java327 enum MODE { enum in RangeCoveredRegister
333 private MODE mMode;
340 mMode = MODE.LINEAR; in RangeCoveredRegister()
348 mMode = MODE.ROTATE2D; in RangeCoveredRegister()
356 if (mMode == MODE.LINEAR) { in init()
374 if (mMode == MODE.LINEAR) { in isRangeCovered()
421 if (mMode == MODE.ROTATE2D) { in update()
/cts/tests/media/src/android/mediav2/cts/
DCodecTestBase.java1051 assertTrue(metrics.getString(MediaCodec.MetricsConstants.MODE) in validateMetrics()
1054 assertTrue(metrics.getString(MediaCodec.MetricsConstants.MODE) in validateMetrics()