/cts/tests/tests/content/src/android/content/res/cts/ |
D | ColorStateListTest.java | 41 final ColorStateList c = new ColorStateList(state, colors); in testConstructor() local 51 final ColorStateList c = ColorStateList.createFromXml(res, res.getXml(xmlId)); in testCreateFromXml() local 66 final ColorStateList c = ColorStateList.createFromXml(res, res.getXml(xmlId), theme); in testCreateFromXmlThemed() local 77 ColorStateList c; in testGetChangingConfigurations() local 90 final ColorStateList c = new ColorStateList(state, colors); in testWithAlpha() local 100 final ColorStateList c = ColorStateList.valueOf(Color.GRAY); in testValueOf() local 106 final ColorStateList c = ColorStateList.valueOf(Color.GRAY); in testParcelable() local 120 ColorStateList c; in testIsOpaque() local
|
/cts/tests/tests/graphics/src/android/graphics/text/cts/ |
D | LineBreakerTest.java | 107 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/database/src/android/database/sqlite/cts/ |
D | DatabaseStatementTest.java | 86 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/util/src/android/util/cts/ |
D | TimeUtilsTest.java | 52 Calendar c = Calendar.getInstance(tz); in testUnitedStates() local 74 Calendar c = Calendar.getInstance(tz); in testWeirdUnitedStates() local 91 Calendar c = Calendar.getInstance(tz); in testOld() local 112 Calendar c = Calendar.getInstance(tz); in testWorldWeird() local 121 private static TimeZone guessTimeZone(Calendar c, String country) { in guessTimeZone()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_Audio_ArtistsTest.java | 70 Cursor c = null; in testGetContentUri() local 94 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); in testStoreAudioArtists() local 142 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); in testStoreAudioArtists() local
|
D | MediaStore_Audio_AlbumsTest.java | 80 Cursor c = null; in testGetContentUri() local 106 Cursor c = mContentResolver.query(audioAlbumsUri, null, selection, selectionArgs, in testStoreAudioAlbums() local 159 Cursor c = mContentResolver.query(audioAlbumsUri, null, selection, selectionArgs, null); in testStoreAudioAlbums() local 181 try (Cursor c = mContentResolver.query(mediaUri, null, null, null, null)) { in testAlbumArt()
|
D | MediaStore_Audio_MediaTest.java | 76 Cursor c = null; in testGetContentUri() local 85 Cursor c = null; in testGetContentUriForPath() local 111 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreAudioMedia() local 182 final Uri c = ProviderTestUtils.scanFileFromShell( in testCanonicalize() local
|
D | MediaStore_Images_ThumbnailsTest.java | 141 Cursor c = Thumbnails.queryMiniThumbnails(mContentResolver, in testQueryExternalThumbnails() local 203 Cursor c = mContentResolver.query(stringUri, in testQueryExternalMiniThumbnails() local 242 Cursor c = null; in testGetContentUri() local 272 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreImagesMediaExternal() local 341 Cursor c = mContentResolver.query(uri, in testThumbnailGenerationAndCleanup() local 396 Cursor c = mContentResolver.query( in testThumbnailOrderedQuery() local
|
D | MediaStore_Images_MediaTest.java | 106 Cursor c = Media.query(mContentResolver, mExternalImages, null, null, in testInsertImageWithImagePath() local 193 Cursor c = Media.query(mContentResolver, Uri.parse(stringUrl), new String[] { Media.DATA }, in testInsertImageWithBitmap() local 209 Cursor c = null; in testGetContentUri() local 258 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreImagesMediaExternal() local
|
D | MediaStore_Audio_Artists_AlbumsTest.java | 73 Cursor c = null; in testGetContentUri() local 84 Cursor c = mContentResolver.query(audioMediaUri, new String[] { Media.ARTIST_ID }, null, in testStoreAudioArtistsAlbums() local
|
D | MediaStore_Audio_PlaylistsTest.java | 71 Cursor c = null; in testGetContentUri() local 94 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreAudioPlaylistsExternal() local
|
D | MediaStore_Audio_GenresTest.java | 74 Cursor c = null; in testGetContentUri() local 91 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreAudioGenresExternal() local
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp22/src/com/android/cts/usepermission/ |
D | UsePermissionTest22.java | 55 try (Cursor c = mContext.getContentResolver().query(uri, null, null, null)) { in testCompatDefault() 78 try (Cursor c = mContext.getContentResolver().query(uri, null, null, null)) { in testCompatRevoked_part2() 160 try (Cursor c = mContext.getContentResolver().query(uri, null, null, null)) { in testAssertNoCalendarAccess() 168 try (Cursor c = mContext.getContentResolver().query(uri, null, null, null)) { in testAssertCalendarAccess()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/const_class/ |
D | Test_const_class.java | 32 Class c = t.run(); in testN1() local 41 Class c = t.run(); in testN2() local
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelTest.java | 834 …char[] c = {'a', Character.MAX_VALUE, Character.MIN_VALUE, Character.MAX_SURROGATE, Character.MIN_… in testReadCharArray() local 902 …char[] c = {'a', Character.MAX_VALUE, Character.MIN_VALUE, Character.MAX_SURROGATE, Character.MIN_… in testCreateCharArray() local 1008 int[] c = {Integer.MAX_VALUE, 111, 11, 1, 0, -1, -11, -111, Integer.MIN_VALUE}; in testReadIntArray() local 1074 int[] c = {Integer.MAX_VALUE, 111, 11, 1, 0, -1, -11, -111, Integer.MIN_VALUE}; in testCreateIntArray() local 1166 long[] c = {Long.MAX_VALUE, 111L, 11L, 1L, 0L, -1L, -11L, -111L, Long.MIN_VALUE}; in testReadLongArray() local 1232 long[] c = {Long.MAX_VALUE, 111L, 11L, 1L, 0L, -1L, -11L, -111L, Long.MIN_VALUE}; in testCreateLongArray() local 1336 … float[] c = {Float.MAX_VALUE, 11.1f, 1.1f, 0.1f, .0f, -0.1f, -1.1f, -11.1f, Float.MIN_VALUE}; in testReadFloatArray() local 1402 … float[] c = {Float.MAX_VALUE, 11.1f, 1.1f, 0.1f, .0f, -0.1f, -1.1f, -11.1f, Float.MIN_VALUE}; in testCreateFloatArray() local 1506 … double[] c = {Double.MAX_VALUE, 11.1d, 1.1d, 0.1d, .0d, -0.1d, -1.1d, -11.1d, Double.MIN_VALUE}; in testReadDoubleArray() local 1572 double[] c = { in testCreateDoubleArray() local [all …]
|
/cts/tests/app/src/android/app/cts/ |
D | KeyguardManagerTest.java | 39 final Context c = getInstrumentation().getContext(); in testNewKeyguardLock() local 47 Context c = getInstrumentation().getContext(); in testPrivateNotificationsAllowed() local
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_DirectoryTest.java | 65 private static String getString(Cursor c, String column) { in getString() 76 try (Cursor c = getContext().getContentResolver().query(Directory.CONTENT_URI, in waitForDirectorySetup() 117 try (Cursor c = getContext().getContentResolver().query( in testQueryParameters()
|
D | ContactsContract_AllUriTest.java | 272 try (Cursor c = mResolver.query(uri, in getColumns() 286 try (Cursor c = mResolver.query(uri, projection, selection, in checkQueryExecutable() 295 try (Cursor c = mResolver.query(uri, projection, selection, in checkQueryExecutable() 304 try (Cursor c = mResolver.query( in checkQueryExecutable() 316 try (Cursor c = mResolver.query( in checkQueryExecutable() 334 try (Cursor c = mResolver.query(uri, projection, selection, in checkQueryNotExecutable() 530 try (Cursor c = mResolver.query( in checkColumnAccessible() 554 try (Cursor c = mResolver.query(uri, projection, selection, in checkColumnNotAccessibleInner()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | RsUnpackColor8888Test.java | 61 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/ |
D | DateFormatTest.java | 136 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/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityNodeInfo_CollectionInfoTest.java | 32 CollectionInfo c; in testObtain() local
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_interface_range/d/ |
D | T_invoke_interface_range_1.java | 21 public int run(Comparable c, Object o) { in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_interface/d/ |
D | T_invoke_interface_1.java | 21 public int run(Comparable c, Object o) { in run()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | EmojiTest.java | 227 Bitmap capture(char c[]) { in capture() 250 Bitmap capture(char c[]) { in capture() 274 Bitmap capture(char c[]) { in capture() 305 Bitmap capture(char c[]) { in capture()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | Canvas_EdgeTypeTest.java | 48 Canvas c = new Canvas(); in testValues() local
|