Home
last modified time | relevance | path

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

1234567891011

/cts/tests/tests/graphics/src/android/graphics/text/cts/
DLineBreakerTest.java107 ParagraphConstraints c = new ParagraphConstraints(); in testSetGetWidth() local
117 ParagraphConstraints c = new ParagraphConstraints(); in testSetGetIndent() local
130 ParagraphConstraints c = new ParagraphConstraints(); in testSetGetTabStops() local
145 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple() local
168 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple2() local
200 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple3() local
244 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple_NotRectangle() local
278 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple_Hyphenation() local
323 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple_Styled() local
364 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple_Styled2() local
[all …]
/cts/tests/tests/content/src/android/content/res/cts/
DColorStateListTest.java36 final ColorStateList c = new ColorStateList(state, colors); in testConstructor() local
46 final ColorStateList c = ColorStateList.createFromXml(res, res.getXml(xmlId)); in testCreateFromXml() local
61 final ColorStateList c = ColorStateList.createFromXml(res, res.getXml(xmlId), theme); in testCreateFromXmlThemed() local
72 ColorStateList c; in testGetChangingConfigurations() local
85 final ColorStateList c = new ColorStateList(state, colors); in testWithAlpha() local
97 final ColorStateList c = new ColorStateList(state, colors); in testWithLStar() local
116 final ColorStateList c = ColorStateList.createFromXml(res, res.getXml(xmlId)); in testCreateFromXmlWithLStar() local
129 final ColorStateList c = ColorStateList.valueOf(Color.GRAY); in testValueOf() local
135 final ColorStateList c = ColorStateList.valueOf(Color.GRAY); in testParcelable() local
149 ColorStateList c; in testIsOpaque() local
/cts/tests/tests/telephony/current/src/android/telephony/cts/util/
DCarrierPrivilegeUtils.java72 CarrierPrivilegeReceiver(Context c, int subId, String hash, boolean gain) { in CarrierPrivilegeReceiver()
87 public void onReceive(Context c, Intent intent) { in onReceive()
120 private static boolean hasCarrierPrivileges(Context c, int subId) { in hasCarrierPrivileges()
128 private static String getCertHashForThisPackage(final Context c) throws Exception { in getCertHashForThisPackage()
136 private static void changeCarrierPrivileges(Context c, int subId, boolean gain, boolean isShell) in changeCarrierPrivileges()
175 public static void withCarrierPrivileges(Context c, int subId, ThrowingRunnable action) in withCarrierPrivileges()
186 public static void withCarrierPrivilegesForShell(Context c, int subId, ThrowingRunnable action) in withCarrierPrivilegesForShell()
196 public static <R> R withCarrierPrivileges(Context c, int subId, ThrowingSupplier<R> action) in withCarrierPrivileges()
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/database/src/android/database/sqlite/cts/
DDatabaseStatementTest.java86 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testExecuteStatement() local
140 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testStatementLongBinding() local
162 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testStatementStringBinding() local
185 Cursor c = mDatabase.query("test", null, null, null, null, null, "ROWID"); in testStatementClearBindings() local
207 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testSimpleStringBinding() local
232 Cursor c = mDatabase.query("test", null, null, null, null, null, "ROWID"); in testStatementMultipleBindings() local
267 Cursor c = mDatabase.query("test", null, null, null, null, null, "ROWID"); in run() local
316 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testStatementConstraint() local
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStore_Audio_ArtistsTest.java72 Cursor c = null; in testGetContentUri() local
96 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); in testStoreAudioArtists() local
144 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); in testStoreAudioArtists() local
DMediaStore_Audio_MediaTest.java89 Cursor c = null; in testGetContentUri() local
101 Cursor c = null; in testGetContentUriForPath() local
131 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreAudioMedia() local
203 final Uri c = ProviderTestUtils.scanFileFromShell( in testCanonicalize() local
238 try (Cursor c = mContentResolver.query(mExternalAudio, null, queryArgs, null)) { in testSortLocale()
247 try (Cursor c = mContentResolver.query(uri, null, null, null)) { in testTrack()
287 try (Cursor c = mContentResolver.query(mediaUri, projection, null, null)) { in testMediaWithSubtitles()
293 try (Cursor c = mContentResolver.query(subUri, projection, null, null)) { in testMediaWithSubtitles()
DMediaStore_Audio_PlaylistsTest.java72 Cursor c = null; in testGetContentUri() local
92 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreAudioPlaylistsExternal() local
125 try (Cursor c = mContentResolver.query(playlist, in testName()
136 try (Cursor c = mContentResolver.query(playlist, in testName()
DMediaStore_Audio_AlbumsTest.java83 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
184 try (Cursor c = mContentResolver.query(mediaUri, null, null, null, null)) { in testAlbumArt()
DMediaStore_Audio_Artists_AlbumsTest.java79 Cursor c = null; in testGetContentUri() local
90 Cursor c = mContentResolver.query(audioMediaUri, new String[] { Media.ARTIST_ID }, null, in testStoreAudioArtistsAlbums() local
165 Cursor c = mContentResolver.query(audioMediaUri, new String[] { Media.ARTIST_ID }, null, in testDifferentArtistInSameAlbum() local
DMediaStore_Images_ThumbnailsTest.java147 Cursor c = Thumbnails.queryMiniThumbnails(mContentResolver, in testQueryExternalThumbnails() local
209 Cursor c = mContentResolver.query(stringUri, in testQueryExternalMiniThumbnails() local
248 Cursor c = null; in testGetContentUri() local
278 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreImagesMediaExternal() local
347 Cursor c = mContentResolver.query(uri, in testThumbnailGenerationAndCleanup() local
402 Cursor c = mContentResolver.query( in testThumbnailOrderedQuery() local
DMediaStore_Images_MediaTest.java124 Cursor c = Media.query(mContentResolver, mExternalImages, null, null, in testInsertImageWithImagePath() local
203 Cursor c = Media.query(mContentResolver, Uri.parse(stringUrl), new String[] { Media.DATA }, in testInsertImageWithBitmap() local
218 Cursor c = null; in testGetContentUri() local
270 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreImagesMediaExternal() local
DMediaStore_Video_MediaTest.java101 Cursor c = null; in testGetContentUri() local
154 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreVideoMediaExternal() local
323 try (Cursor c = mContentResolver.query(publishUri, in testLocationDeprecated()
336 try (Cursor c = mContentResolver.query(publishUri, in testLocationDeprecated()
358 final Uri c = ProviderTestUtils.scanFileFromShell( in testCanonicalize() local
385 try (Cursor c = mContentResolver.query(uri, null, null, null)) { in testMetadata()
462 try (Cursor c = mContentResolver.query(mediaUri, projection, null, null)) { in testMediaWithSubtitles()
468 try (Cursor c = mContentResolver.query(subUri, projection, null, null)) { in testMediaWithSubtitles()
DMediaStore_Audio_GenresTest.java74 Cursor c = null; in testGetContentUri() local
92 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreAudioGenresExternal() local
DMediaStorePendingTest.java122 try (Cursor c = mResolver.query(pendingUri, in verifySuccessfulImageInsertion()
141 try (Cursor c = mResolver.query(publishUri, in verifySuccessfulImageInsertion()
185 try (Cursor c = mResolver.query(pendingUri, in testSimple_Abandoned()
410 try (Cursor c = mResolver.query(uri, null, null, null)) { in testMutableColumns()
419 try (Cursor c = mResolver.query(uri, null, null, null)) { in testMutableColumns()
428 try (Cursor c = mResolver.query(uri, null, null, null)) { in testMutableColumns()
437 try (Cursor c = mResolver.query(uri, null, null, null)) { in testMutableColumns()
463 try (Cursor c = mResolver.query(uri, null, null, null)) { in testMatchingColumns()
471 try (Cursor c = mResolver.query(uri, null, null, null)) { in testMatchingColumns()
/cts/tests/tests/util/src/android/util/cts/
DTimeUtilsTest.java60 Calendar c = Calendar.getInstance(tz); in testUnitedStates() local
82 Calendar c = Calendar.getInstance(tz); in testWeirdUnitedStates() local
99 Calendar c = Calendar.getInstance(tz); in testOld() local
120 Calendar c = Calendar.getInstance(tz); in testWorldWeird() local
129 private static TimeZone guessTimeZone(Calendar c, String country) { in guessTimeZone()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityNodeInfo_CollectionInfoTest.java48 CollectionInfo c; in testObtain() local
62 CollectionInfo c; in testConstructor() local
DAccessibilityNodeInfo_CollectionItemInfoTest.java49 CollectionItemInfo c; in testObtain() local
63 CollectionItemInfo c; in testConstructor() local
/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/tests/os/src/android/os/cts/
DParcelTest.java835 …char[] c = {'a', Character.MAX_VALUE, Character.MIN_VALUE, Character.MAX_SURROGATE, Character.MIN_… in testReadCharArray() local
903 …char[] c = {'a', Character.MAX_VALUE, Character.MIN_VALUE, Character.MAX_SURROGATE, Character.MIN_… in testCreateCharArray() local
1009 int[] c = {Integer.MAX_VALUE, 111, 11, 1, 0, -1, -11, -111, Integer.MIN_VALUE}; in testReadIntArray() local
1075 int[] c = {Integer.MAX_VALUE, 111, 11, 1, 0, -1, -11, -111, Integer.MIN_VALUE}; in testCreateIntArray() local
1167 long[] c = {Long.MAX_VALUE, 111L, 11L, 1L, 0L, -1L, -11L, -111L, Long.MIN_VALUE}; in testReadLongArray() local
1233 long[] c = {Long.MAX_VALUE, 111L, 11L, 1L, 0L, -1L, -11L, -111L, Long.MIN_VALUE}; in testCreateLongArray() local
1337 … float[] c = {Float.MAX_VALUE, 11.1f, 1.1f, 0.1f, .0f, -0.1f, -1.1f, -11.1f, Float.MIN_VALUE}; in testReadFloatArray() local
1403 … float[] c = {Float.MAX_VALUE, 11.1f, 1.1f, 0.1f, .0f, -0.1f, -1.1f, -11.1f, Float.MIN_VALUE}; in testCreateFloatArray() local
1507 … double[] c = {Double.MAX_VALUE, 11.1d, 1.1d, 0.1d, .0d, -0.1d, -1.1d, -11.1d, Double.MIN_VALUE}; in testReadDoubleArray() local
1573 double[] c = { in testCreateDoubleArray() local
[all …]
/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/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_DirectoryTest.java69 private static String getString(Cursor c, String column) { in getString()
80 try (Cursor c = getContext().getContentResolver().query(Directory.CONTENT_URI, in waitForDirectorySetup()
121 try (Cursor c = getContext().getContentResolver().query( in testQueryParameters()
/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/text/src/android/text/format/cts/
DDateFormatTest.java136 Calendar c = new GregorianCalendar(2008, Calendar.DECEMBER, 18); in test_format_M() local
147 Calendar c = new GregorianCalendar(2008, Calendar.DECEMBER, 18); in test_format_L() local
157 Calendar c = new GregorianCalendar(2008, Calendar.DECEMBER, 18); in test_format_E() local
168 Calendar c = new GregorianCalendar(2008, Calendar.DECEMBER, 18); in test_format_c() local
246 Calendar c = new GregorianCalendar(utc); in checkFormat() local
/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java170 CameraCharacteristics c = mCharacteristics.get(i); in testAvailableStreamConfigs() local
406 private void verifyCommonRecommendedConfiguration(String id, CameraCharacteristics c, in verifyCommonRecommendedConfiguration()
515 private void verifyRecommendedPreviewConfiguration(String cameraId, CameraCharacteristics c, in verifyRecommendedPreviewConfiguration()
528 private void verifyRecommendedVideoConfiguration(String cameraId, CameraCharacteristics c, in verifyRecommendedVideoConfiguration()
605 private void verifyRecommendedSnapshotConfiguration(String cameraId, CameraCharacteristics c, in verifyRecommendedSnapshotConfiguration()
632 CameraCharacteristics c, in verifyRecommendedVideoSnapshotConfiguration()
657 CameraCharacteristics c, RecommendedStreamConfigurationMap rawConfig) { in verifyRecommendedRawConfiguration()
679 private void verifyRecommendedZSLConfiguration(String cameraId, CameraCharacteristics c, in verifyRecommendedZSLConfiguration()
778 private void verifyRecommendedLowLatencyConfiguration(String cameraId, CameraCharacteristics c, in verifyRecommendedLowLatencyConfiguration()
800 CameraCharacteristics c = mCharacteristics.get(i); in testRecommendedStreamConfigurations() local
[all …]

1234567891011