Home
last modified time | relevance | path

Searched defs:c (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/cts/tests/tests/content/src/android/content/res/cts/
DColorStateListTest.java54 final ColorStateList c = new ColorStateList(state, colors); in testConstructor() local
65 final ColorStateList c = ColorStateList.createFromXml(res, res.getXml(xmlId)); in testCreateFromXml() local
81 final ColorStateList c = ColorStateList.createFromXml(res, res.getXml(xmlId), theme); in testCreateFromXmlThemed() local
93 ColorStateList c; in testGetChangingConfigurations() local
107 final ColorStateList c = new ColorStateList(state, colors); in testWithAlpha() local
120 final ColorStateList c = new ColorStateList(state, colors); in testWithLStar() local
140 final ColorStateList c = ColorStateList.createFromXml(res, res.getXml(xmlId)); in testCreateFromXmlWithLStar() local
154 final ColorStateList c = ColorStateList.valueOf(Color.GRAY); in testValueOf() local
161 final ColorStateList c = ColorStateList.valueOf(Color.GRAY); in testParcelable() local
176 ColorStateList c; in testIsOpaque() local
/cts/tests/tests/graphics/src/android/graphics/text/cts/
DLineBreakerTest.java202 ParagraphConstraints c = new ParagraphConstraints(); in testSetGetWidth() local
212 ParagraphConstraints c = new ParagraphConstraints(); in testSetGetIndent() local
225 ParagraphConstraints c = new ParagraphConstraints(); in testSetGetTabStops() local
240 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple() local
263 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple2() local
295 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple3() local
339 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple_NotRectangle() local
373 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple_Hyphenation() local
418 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple_Styled() local
459 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple_Styled2() local
[all …]
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DStorageOtherAndOwnedFilesTest.java123 try (Cursor c = getResultForFilesQuery(sContentResolver, queryArgs)) { in test_latestSelectionOnly_noGrantsPresent()
136 try (Cursor c = getResultForFilesQuery(sContentResolver, getQueryArgsForMediaFiles())) { in test_latestSelectionOnly_withOwnedAndGrantedItems()
151 try (Cursor c = getResultForFilesQuery(sContentResolver, getQueryArgsForMediaFiles())) { in test_latestSelectionOnly_withOwnedAndGrantedItems()
161 try (Cursor c = getResultForFilesQuery(sContentResolver, getQueryArgsForMediaFiles())) { in test_latestSelectionOnly_withOwnedAndGrantedItems()
172 try (Cursor c = getResultForFilesQuery(sContentResolver, queryArgs)) { in test_latestSelectionOnly_withOwnedAndGrantedItems()
196 try (Cursor c = getResultForFilesQuery(sContentResolver, getQueryArgsForMediaFiles())) { in testRevokeOwnershipWhenOwnedPhotosEnabled()
206 try (Cursor c = getResultForFilesQuery(sContentResolver, getQueryArgsForMediaFiles())) { in testRevokeOwnershipWhenOwnedPhotosEnabled()
216 try (Cursor c = getResultForFilesQuery(sContentResolver, getQueryArgsForMediaFiles())) { in testRevokeOwnershipWhenOwnedPhotosEnabled()
235 try (Cursor c = getResultForFilesQuery(sContentResolver, getQueryArgsForMediaFiles())) { in testRevokeOwnershipWhenOwnedPhotosDisabled()
246 try (Cursor c = getResultForFilesQuery(sContentResolver, getQueryArgsForMediaFiles())) { in testRevokeOwnershipWhenOwnedPhotosDisabled()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCarrierPrivilegeUtils.java86 Context c, in CarrierPrivilegeChangeMonitor()
181 private static TelephonyManager getTelephonyManager(Context c, int subId) { in getTelephonyManager()
185 private static boolean hasCarrierPrivileges(Context c, int subId) { in hasCarrierPrivileges()
191 private static boolean isCarrierServicePackage(Context c, int subId, boolean isShell) { in isCarrierServicePackage()
210 private static String getCertHashForThisPackage(final Context c) throws Exception { in getCertHashForThisPackage()
219 Context c, in changeCarrierPrivileges()
303 public static void withCarrierPrivileges(Context c, int subId, ThrowingRunnable action) in withCarrierPrivileges()
329 public static void withCarrierPrivilegesForShell(Context c, int subId, ThrowingRunnable action) in withCarrierPrivilegesForShell()
350 public static <R> R withCarrierPrivileges(Context c, int subId, ThrowingSupplier<R> action) in withCarrierPrivileges()
376 public static void asCarrierService(Context c, int subId, ThrowingRunnable action) in asCarrierService()
[all …]
/cts/tests/tests/database/src/android/database/sqlite/cts/
DDatabaseStatementTest.java87 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testExecuteStatement() local
100 try (Cursor c = mDatabase.rawQuery("PRAGMA busy_timeout;", null)) { in testExecutePragmaStatement()
154 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testStatementLongBinding() local
176 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testStatementStringBinding() local
199 Cursor c = mDatabase.query("test", null, null, null, null, null, "ROWID"); in testStatementClearBindings() local
221 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testSimpleStringBinding() local
246 Cursor c = mDatabase.query("test", null, null, null, null, null, "ROWID"); in testStatementMultipleBindings() local
281 Cursor c = mDatabase.query("test", null, null, null, null, null, "ROWID"); in run() local
330 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testStatementConstraint() local
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/collections/
DQueryableHashSet.java82 public boolean containsAll(Collection<?> c) { in containsAll()
87 public boolean addAll(Collection<? extends E> c) { in addAll()
92 public boolean retainAll(Collection<?> c) { in retainAll()
97 public boolean removeAll(Collection<?> c) { in removeAll()
/cts/tests/mediaprovider/modern/src/android/provider/cts/media/modern/
DMediaStore_Audio_ArtistsTest.java72 Cursor c = null; in testGetContentUri() local
97 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); in testStoreAudioArtists() local
145 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); in testStoreAudioArtists() local
DMediaStore_Audio_MediaTest.java92 Cursor c = null; in testGetContentUri() local
104 Cursor c = null; in testGetContentUriForPath() local
137 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreAudioMedia() local
211 try (Cursor c = mContentResolver.query(uri, null, null, null, null)) { in testStoreNotAudioRecordingMedia()
241 try (Cursor c = mContentResolver.query(uri, null, null, null, null)) { in testStoreAudioSampling()
272 final Uri c = MediaProviderTestUtils.scanFileFromShell( in testCanonicalize() local
307 try (Cursor c = mContentResolver.query(mExternalAudio, null, queryArgs, null)) { in testSortLocale()
317 try (Cursor c = mContentResolver.query(uri, null, null, null)) { in testTrack()
357 try (Cursor c = mContentResolver.query(mediaUri, projection, null, null)) { in testMediaWithSubtitles()
363 try (Cursor c = mContentResolver.query(subUri, projection, null, null)) { in testMediaWithSubtitles()
DMediaStore_Audio_PlaylistsTest.java71 Cursor c = null; in testGetContentUri() local
91 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreAudioPlaylistsExternal() local
128 try (Cursor c = mContentResolver.query(playlist, in testName()
139 try (Cursor c = mContentResolver.query(playlist, in testName()
DMediaStore_Images_MediaTest.java130 Cursor c = Media.query(mContentResolver, mExternalImages, null, null, in testInsertImageWithImagePath() local
209 Cursor c = Media.query(mContentResolver, Uri.parse(stringUrl), new String[]{Media.DATA}, in testInsertImageWithBitmap() local
224 Cursor c = null; in testGetContentUri() local
277 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreImagesMediaExternal() local
653 try (Cursor c = mContentResolver.query(mExternalImages, in testLimit()
667 try (Cursor c = mContentResolver.query(mExternalImages, in testLimit()
DMediaStore_Audio_AlbumsTest.java82 Cursor c = null; in testGetContentUri() local
109 Cursor c = mContentResolver.query(audioAlbumsUri, null, selection, selectionArgs, in testStoreAudioAlbums() local
162 Cursor c = mContentResolver.query(audioAlbumsUri, null, selection, selectionArgs, null); in testStoreAudioAlbums() local
185 try (Cursor c = mContentResolver.query(mediaUri, null, null, null, null)) { in testAlbumArt()
DMediaStore_Audio_Artists_AlbumsTest.java79 Cursor c = null; in testGetContentUri() local
91 Cursor c = mContentResolver.query(audioMediaUri, new String[] { Media.ARTIST_ID }, null, in testStoreAudioArtistsAlbums() local
167 Cursor c = mContentResolver.query(audioMediaUri, new String[] { Media.ARTIST_ID }, null, in testDifferentArtistInSameAlbum() local
DMediaStore_Images_ThumbnailsTest.java144 Cursor c = Thumbnails.queryMiniThumbnails(mContentResolver, in testQueryExternalThumbnails() local
206 Cursor c = mContentResolver.query(stringUri, in testQueryExternalMiniThumbnails() local
245 Cursor c = null; in testGetContentUri() local
276 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreImagesMediaExternal() local
345 Cursor c = mContentResolver.query(uri, in testThumbnailGenerationAndCleanup() local
400 Cursor c = mContentResolver.query( in testThumbnailOrderedQuery() local
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityNodeInfo_CollectionInfoTest.java60 CollectionInfo c; in testObtain() local
74 CollectionInfo c; in testConstructor() local
108 CollectionInfo c = new CollectionInfo.Builder() in testBuilder() local
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_Audio_ArtistsTest.java71 Cursor c = null; in testGetContentUri() local
95 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); in testStoreAudioArtists() local
143 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); in testStoreAudioArtists() local
DMediaStore_Audio_MediaTest.java91 Cursor c = null; in testGetContentUri() local
103 Cursor c = null; in testGetContentUriForPath() local
135 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreAudioMedia() local
208 try (Cursor c = mContentResolver.query(uri, null, null, null, null)) { in testStoreNotAudioRecordingMedia()
237 try (Cursor c = mContentResolver.query(uri, null, null, null, null)) { in testStoreAudioSampling()
267 final Uri c = MediaProviderTestUtils.scanFileFromShell( in testCanonicalize() local
302 try (Cursor c = mContentResolver.query(mExternalAudio, null, queryArgs, null)) { in testSortLocale()
312 try (Cursor c = mContentResolver.query(uri, null, null, null)) { in testTrack()
352 try (Cursor c = mContentResolver.query(mediaUri, projection, null, null)) { in testMediaWithSubtitles()
358 try (Cursor c = mContentResolver.query(subUri, projection, null, null)) { in testMediaWithSubtitles()
DMediaStore_Audio_PlaylistsTest.java71 Cursor c = null; in testGetContentUri() local
91 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreAudioPlaylistsExternal() local
128 try (Cursor c = mContentResolver.query(playlist, in testName()
139 try (Cursor c = mContentResolver.query(playlist, in testName()
DMediaStore_Images_MediaTest.java128 Cursor c = Media.query(mContentResolver, mExternalImages, null, null, in testInsertImageWithImagePath() local
207 Cursor c = Media.query(mContentResolver, Uri.parse(stringUrl), new String[]{Media.DATA}, in testInsertImageWithBitmap() local
222 Cursor c = null; in testGetContentUri() local
274 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreImagesMediaExternal() local
646 try (Cursor c = mContentResolver.query(mExternalImages, in testLimit()
660 try (Cursor c = mContentResolver.query(mExternalImages, in testLimit()
DMediaStore_Audio_AlbumsTest.java81 Cursor c = null; in testGetContentUri() local
107 Cursor c = mContentResolver.query(audioAlbumsUri, null, selection, selectionArgs, in testStoreAudioAlbums() local
160 Cursor c = mContentResolver.query(audioAlbumsUri, null, selection, selectionArgs, null); in testStoreAudioAlbums() local
182 try (Cursor c = mContentResolver.query(mediaUri, null, null, null, null)) { in testAlbumArt()
DMediaStore_Audio_Artists_AlbumsTest.java78 Cursor c = null; in testGetContentUri() local
89 Cursor c = mContentResolver.query(audioMediaUri, new String[] { Media.ARTIST_ID }, null, in testStoreAudioArtistsAlbums() local
164 Cursor c = mContentResolver.query(audioMediaUri, new String[] { Media.ARTIST_ID }, null, in testDifferentArtistInSameAlbum() local
DMediaStore_Images_ThumbnailsTest.java142 Cursor c = Thumbnails.queryMiniThumbnails(mContentResolver, in testQueryExternalThumbnails() local
204 Cursor c = mContentResolver.query(stringUri, in testQueryExternalMiniThumbnails() local
243 Cursor c = null; in testGetContentUri() local
273 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreImagesMediaExternal() local
342 Cursor c = mContentResolver.query(uri, in testThumbnailGenerationAndCleanup() local
397 Cursor c = mContentResolver.query( in testThumbnailOrderedQuery() local
/cts/libs/webkit-shared/src/android/webkit/cts/
DExceptionWrapper.java41 public static <T> T wrap(WrappedTypedCall<T> c) { in wrap()
56 public static <T> T unwrap(UnwrappedTypedCall<T> c) { in unwrap()
73 public static void unwrap(UnwrappedVoidCall c) { in unwrap()
/cts/tests/tests/util/src/android/util/cts/
DTimeUtilsTest.java66 Calendar c = Calendar.getInstance(tz); in testUnitedStates() local
88 Calendar c = Calendar.getInstance(tz); in testWeirdUnitedStates() local
105 Calendar c = Calendar.getInstance(tz); in testOld() local
126 Calendar c = Calendar.getInstance(tz); in testWorldWeird() local
135 private static TimeZone guessTimeZone(Calendar c, String country) { in guessTimeZone()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/const_class/
DTest_const_class.java32 Class c = t.run(); in testN1() local
41 Class c = t.run(); in testN2() local
/cts/tests/app/src/android/app/cts/
DKeyguardManagerTest.java39 final Context c = getInstrumentation().getContext(); in testNewKeyguardLock() local
47 Context c = getInstrumentation().getContext(); in testPrivateNotificationsAllowed() local

12345678910>>...13