Home
last modified time | relevance | path

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

12345678910>>...12

/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.java203 ParagraphConstraints c = new ParagraphConstraints(); in testSetGetWidth() local
213 ParagraphConstraints c = new ParagraphConstraints(); in testSetGetIndent() local
226 ParagraphConstraints c = new ParagraphConstraints(); in testSetGetTabStops() local
241 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple() local
264 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple2() local
296 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple3() local
340 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple_NotRectangle() local
374 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple_Hyphenation() local
419 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple_Styled() local
460 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple_Styled2() local
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCarrierPrivilegeUtils.java86 Context c, in CarrierPrivilegeChangeMonitor()
180 private static TelephonyManager getTelephonyManager(Context c, int subId) { in getTelephonyManager()
184 private static boolean hasCarrierPrivileges(Context c, int subId) { in hasCarrierPrivileges()
190 private static boolean isCarrierServicePackage(Context c, int subId, boolean isShell) { in isCarrierServicePackage()
209 private static String getCertHashForThisPackage(final Context c) throws Exception { in getCertHashForThisPackage()
218 Context c, in changeCarrierPrivileges()
302 public static void withCarrierPrivileges(Context c, int subId, ThrowingRunnable action) in withCarrierPrivileges()
328 public static void withCarrierPrivilegesForShell(Context c, int subId, ThrowingRunnable action) in withCarrierPrivilegesForShell()
349 public static <R> R withCarrierPrivileges(Context c, int subId, ThrowingSupplier<R> action) in withCarrierPrivileges()
375 public static void asCarrierService(Context c, int subId, ThrowingRunnable action) in asCarrierService()
[all …]
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DStorageOtherAndOwnedFilesTest.java102 try (Cursor c = getResultForFilesQuery(sContentResolver, queryArgs)) { in test_latestSelectionOnly_noGrantsPresent()
115 try (Cursor c = getResultForFilesQuery(sContentResolver, null)) { in test_latestSelectionOnly_withOwnedAndGrantedItems()
131 try (Cursor c = getResultForFilesQuery(sContentResolver, null)) { in test_latestSelectionOnly_withOwnedAndGrantedItems()
141 try (Cursor c = getResultForFilesQuery(sContentResolver, null)) { in test_latestSelectionOnly_withOwnedAndGrantedItems()
152 try (Cursor c = getResultForFilesQuery(sContentResolver, queryArgs)) { in test_latestSelectionOnly_withOwnedAndGrantedItems()
/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/src/android/provider/cts/media/
DMediaStore_Audio_MediaTest.java90 Cursor c = null; in testGetContentUri() local
102 Cursor c = null; in testGetContentUriForPath() local
134 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreAudioMedia() local
207 try (Cursor c = mContentResolver.query(uri, null, null, null, null)) { in testStoreNotAudioRecordingMedia()
240 final Uri c = MediaProviderTestUtils.scanFileFromShell( in testCanonicalize() local
275 try (Cursor c = mContentResolver.query(mExternalAudio, null, queryArgs, null)) { in testSortLocale()
285 try (Cursor c = mContentResolver.query(uri, null, null, null)) { in testTrack()
325 try (Cursor c = mContentResolver.query(mediaUri, projection, null, null)) { in testMediaWithSubtitles()
331 try (Cursor c = mContentResolver.query(subUri, projection, null, null)) { in testMediaWithSubtitles()
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_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
641 try (Cursor c = mContentResolver.query(mExternalImages, in testLimit()
655 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
DMediaStore_Video_MediaTest.java103 Cursor c = null; in testGetContentUri() local
156 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreVideoMediaExternal() local
330 try (Cursor c = mContentResolver.query(publishUri, in testLocationDeprecated()
343 try (Cursor c = mContentResolver.query(publishUri, in testLocationDeprecated()
366 final Uri c = MediaProviderTestUtils.scanFileFromShell( in testCanonicalize() local
394 try (Cursor c = mContentResolver.query(uri, null, null, null)) { in testMetadata()
473 try (Cursor c = mContentResolver.query(mediaUri, projection, null, null)) { in testMediaWithSubtitles()
479 try (Cursor c = mContentResolver.query(subUri, projection, null, null)) { in testMediaWithSubtitles()
/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
DAccessibilityNodeInfo_CollectionItemInfoTest.java51 CollectionItemInfo c; in testObtain() local
65 CollectionItemInfo c; in testConstructor() 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
/cts/tests/tests/telephony/current/src/android/telephony/cts/util/
DSubscriptionGroupUtils.java43 Context c, int subId, ThrowingConsumer<ParcelUuid> action) throws Exception { in withEphemeralSubscriptionGroup()
57 Context c, int subId, ThrowingFunction<ParcelUuid, R> action) throws Exception { in withEphemeralSubscriptionGroup()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DRsUnpackColor8888Test.java61 Float4 c = rs_UnpackColor8888(inValues); in testRsUnpackColor8888RGB() local
75 private static Float4 rs_UnpackColor8888(byte[] c) { in rs_UnpackColor8888()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_DirectoryTest.java73 private static String getString(Cursor c, String column) { in getString()
84 try (Cursor c = getContext().getContentResolver().query(Directory.CONTENT_URI, in waitForDirectorySetup()
136 try (Cursor c = getContext().getContentResolver().query( in testQueryParameters()
/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java241 CameraCharacteristics c = mCharacteristics.get(i); in testAvailableStreamConfigs() local
514 CameraCharacteristics c = mCameraManager.getCameraCharacteristics(cameraId); in testSPerfClassJpegSizesByCamera() local
615 private void verifyCommonRecommendedConfiguration(String id, CameraCharacteristics c, in verifyCommonRecommendedConfiguration()
724 private void verifyRecommendedPreviewConfiguration(String cameraId, CameraCharacteristics c, in verifyRecommendedPreviewConfiguration()
737 private void verifyRecommendedVideoConfiguration(String cameraId, CameraCharacteristics c, in verifyRecommendedVideoConfiguration()
814 private void verifyRecommendedSnapshotConfiguration(String cameraId, CameraCharacteristics c, in verifyRecommendedSnapshotConfiguration()
841 CameraCharacteristics c, in verifyRecommendedVideoSnapshotConfiguration()
866 CameraCharacteristics c, RecommendedStreamConfigurationMap rawConfig) { in verifyRecommendedRawConfiguration()
888 private void verifyRecommendedZSLConfiguration(String cameraId, CameraCharacteristics c, in verifyRecommendedZSLConfiguration()
987 private void verifyRecommendedLowLatencyConfiguration(String cameraId, CameraCharacteristics c, in verifyRecommendedLowLatencyConfiguration()
[all …]
/cts/tests/tests/text/src/android/text/format/cts/
DDateFormatTest.java137 Calendar c = new GregorianCalendar(2008, Calendar.DECEMBER, 18); in test_format_M() local
148 Calendar c = new GregorianCalendar(2008, Calendar.DECEMBER, 18); in test_format_L() local
158 Calendar c = new GregorianCalendar(2008, Calendar.DECEMBER, 18); in test_format_E() local
169 Calendar c = new GregorianCalendar(2008, Calendar.DECEMBER, 18); in test_format_c() local
247 Calendar c = new GregorianCalendar(utc); in checkFormat() local

12345678910>>...12