/cts/tests/tests/content/src/android/content/cts/ |
D | ContentProviderClientTest.java | 68 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 …]
|
D | MockSRSProvider.java | 22 final static int MODE = DATABASE_MODE_QUERIES + DATABASE_MODE_2LINES; field in MockSRSProvider 29 setupSuggestions(AUTHORITY, MODE); in MockSRSProvider()
|
D | ContentResolverWrapTest.java | 70 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/ |
D | TestSearchRecentSuggestionsProvider.java | 23 final static int MODE = DATABASE_MODE_QUERIES + DATABASE_MODE_2LINES; field in TestSearchRecentSuggestionsProvider 27 setupSuggestions(AUTHORITY, MODE); in TestSearchRecentSuggestionsProvider()
|
D | SearchRecentSuggestionsTest.java | 53 TestSearchRecentSuggestionsProvider.MODE); in testConstructor() 59 TestSearchRecentSuggestionsProvider.MODE); in testSearchRecentSuggestions()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | SearchSuggestionProvider.java | 23 public static final int MODE = DATABASE_MODE_QUERIES; field in SearchSuggestionProvider 26 setupSuggestions(AUTHORITY, MODE); in SearchSuggestionProvider()
|
D | EphemeralActivity.java | 43 SearchSuggestionProvider.AUTHORITY, SearchSuggestionProvider.MODE); in onCreate()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp2/src/com/android/cts/ephemeralapp2/ |
D | SearchSuggestionProvider.java | 23 public static final int MODE = DATABASE_MODE_QUERIES; field in SearchSuggestionProvider 26 setupSuggestions(AUTHORITY, MODE); in SearchSuggestionProvider()
|
D | EphemeralActivity.java | 42 SearchSuggestionProvider.AUTHORITY, SearchSuggestionProvider.MODE); in onCreate()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/ |
D | SearchSuggestionProvider.java | 23 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/ |
D | MotionIndicatorView.java | 327 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/ |
D | CodecTestBase.java | 1051 assertTrue(metrics.getString(MediaCodec.MetricsConstants.MODE) in validateMetrics() 1054 assertTrue(metrics.getString(MediaCodec.MetricsConstants.MODE) in validateMetrics()
|