Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/cts/
DContentProviderClientTest.java70 private static final String MODE = "mode"; field in ContentProviderClientTest
276 mContentProviderClient.openFile(URI, MODE, mCancellationSignal); in testOpenFile()
278 verify(mIContentProvider).openFile(mAttributionSource, URI, MODE, mICancellationSignal); in testOpenFile()
284 URI, MODE, mICancellationSignal); in testOpenFileTimeout()
286 testTimeout(() -> mContentProviderClient.openFile(URI, MODE, mCancellationSignal)); in testOpenFileTimeout()
288 verify(mIContentProvider, after(150)).openFile(mAttributionSource, URI, MODE, in testOpenFileTimeout()
293 testAlreadyCancelled(() -> mContentProviderClient.openFile(URI, MODE, mCancellationSignal)); in testOpenFileAlreadyCancelled()
295 verify(mIContentProvider, never()).openFile(mAttributionSource, URI, MODE, in testOpenFileAlreadyCancelled()
300 mContentProviderClient.openAssetFile(URI, MODE, mCancellationSignal); in testOpenAssetFile()
302 … 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.java72 private static final String MODE = "rw"; field in ContentResolverWrapTest
191 doReturn(ASSET_FD).when(mProvider).openAssetFile(URI, MODE, null); in testOpenAssetFile()
192 assertEquals(ASSET_FD, mResolver.openAssetFile(URI, MODE, null)); in testOpenAssetFile()
193 assertEquals(ASSET_FD, mResolver.openAssetFileDescriptor(URI, MODE)); in testOpenAssetFile()
194 assertEquals(ASSET_FD, mResolver.openAssetFileDescriptor(URI, MODE, null)); in testOpenAssetFile()
199 doReturn(FD).when(mProvider).openFile(URI, MODE, null); in testOpenFile()
200 assertEquals(FD, mResolver.openFile(URI, MODE, null)); in testOpenFile()
201 assertEquals(FD, mResolver.openFileDescriptor(URI, MODE)); in testOpenFile()
202 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.java56 TestSearchRecentSuggestionsProvider.MODE); in testConstructor()
64 TestSearchRecentSuggestionsProvider.MODE); in testSearchRecentSuggestions()
/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/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/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()
DNormalActivity.java45 SearchSuggestionProvider.AUTHORITY, SearchSuggestionProvider.MODE); in onCreate()
/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/common/src/android/mediav2/common/cts/
DCodecTestBase.java1447 metrics.getString(MediaCodec.MetricsConstants.MODE)); in validateMetrics()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt22724 field public static final String MODE = "android.media.mediacodec.mode";
36832 field public static final String EXTRA_MODE = "android.provider.extra.MODE";