/cts/tests/tests/widget/src/android/widget/cts/ |
D | CalendarViewTest.java | 115 newCalendar.set(Calendar.YEAR, newCalendar.get(Calendar.YEAR) - 1); in testAccessDate() 122 newCalendar.set(Calendar.YEAR, newCalendar.get(Calendar.YEAR) + 2); in testAccessDate() 134 minCalendar.set(Calendar.YEAR, minCalendar.get(Calendar.YEAR) - 1); in testAccessMinMaxDate() 136 maxCalendar.set(Calendar.YEAR, maxCalendar.get(Calendar.YEAR) + 1); in testAccessMinMaxDate() 153 minCalendar.set(Calendar.YEAR, minCalendar.get(Calendar.YEAR) - 1); in testMinMaxRangeRestrictionsHolo() 155 maxCalendar.set(Calendar.YEAR, maxCalendar.get(Calendar.YEAR) + 1); in testMinMaxRangeRestrictionsHolo() 180 minCalendar.set(Calendar.YEAR, minCalendar.get(Calendar.YEAR) - 1); in testMinMaxRangeClampingMaterial() 182 maxCalendar.set(Calendar.YEAR, maxCalendar.get(Calendar.YEAR) + 1); in testMinMaxRangeClampingMaterial() 229 calendar.set(Calendar.YEAR, 2008); in verifyOnDateChangeListener()
|
D | DatePickerTest.java | 211 minCalendar.set(Calendar.YEAR, minCalendar.get(Calendar.YEAR) - 1); in verifyMinMaxDate() 213 maxCalendar.set(Calendar.YEAR, maxCalendar.get(Calendar.YEAR) + 1); in verifyMinMaxDate() 254 calendar.set(Calendar.YEAR, 2008); in testCalendarViewInSpinnerMode() 258 calendar.get(Calendar.YEAR), in testCalendarViewInSpinnerMode() 266 assertEquals(calendar.get(Calendar.YEAR), calendarFromSpinner.get(Calendar.YEAR)); in testCalendarViewInSpinnerMode() 363 assertEquals(2000, calendar.get(Calendar.YEAR)); in verifyAutofill()
|
/cts/tests/mediaprovider/src/android/provider/cts/media/ |
D | MediaStoreAudioTestHelper.java | 95 public static final int YEAR = 1992; field in MediaStoreAudioTestHelper.Audio1 133 values.put(Media.YEAR, YEAR); in getContentValues() 156 public static final int YEAR = 1992; field in MediaStoreAudioTestHelper.Audio2 195 values.put(Media.YEAR, YEAR); in getContentValues()
|
D | MediaStore_Audio_Artists_AlbumsTest.java | 116 assertEquals(Audio1.YEAR, c.getInt(c.getColumnIndex(Albums.FIRST_YEAR))); in testStoreAudioArtistsAlbums() 117 assertEquals(Audio1.YEAR, c.getInt(c.getColumnIndex(Albums.LAST_YEAR))); in testStoreAudioArtistsAlbums() 200 assertThat(c.getInt(c.getColumnIndex(Albums.FIRST_YEAR))).isEqualTo(Audio1.YEAR); in testDifferentArtistInSameAlbum() 201 assertThat(c.getInt(c.getColumnIndex(Albums.LAST_YEAR))).isEqualTo(Audio1.YEAR); in testDifferentArtistInSameAlbum() 217 assertThat(c.getInt(c.getColumnIndex(Albums.FIRST_YEAR))).isEqualTo(Audio3.YEAR); in testDifferentArtistInSameAlbum() 218 assertThat(c.getInt(c.getColumnIndex(Albums.LAST_YEAR))).isEqualTo(Audio3.YEAR); in testDifferentArtistInSameAlbum() 234 assertThat(c.getInt(c.getColumnIndex(Albums.FIRST_YEAR))).isEqualTo(Audio6.YEAR); in testDifferentArtistInSameAlbum() 235 assertThat(c.getInt(c.getColumnIndex(Albums.LAST_YEAR))).isEqualTo(Audio6.YEAR); in testDifferentArtistInSameAlbum()
|
D | MediaStore_Audio_Playlists_MembersTest.java | 82 Members.YEAR, 111 Members.YEAR, 275 assertEquals(Audio1.YEAR, c.getInt(c.getColumnIndex(Members.YEAR))); in testStoreAudioPlaylistsMembersExternal() 320 assertEquals(Audio2.YEAR, c.getInt(c.getColumnIndex(Members.YEAR))); in testStoreAudioPlaylistsMembersExternal()
|
D | MediaStore_Audio_AlbumsTest.java | 119 assertEquals(Audio1.YEAR, c.getInt(c.getColumnIndex(Albums.FIRST_YEAR))); in testStoreAudioAlbums() 120 assertEquals(Audio1.YEAR, c.getInt(c.getColumnIndex(Albums.LAST_YEAR))); in testStoreAudioAlbums()
|
D | MediaStore_Audio_Genres_MembersTest.java | 170 assertEquals(Audio1.YEAR, c.getInt(c.getColumnIndex(Members.YEAR))); in testStoreAudioGenresMembersExternal()
|
D | MediaStore_Audio_MediaTest.java | 164 assertEquals(Audio1.YEAR, c.getInt(c.getColumnIndex(Media.YEAR))); in testStoreAudioMedia()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/ |
D | DateValueSanitizerTest.java | 65 inputCal.set(Calendar.YEAR, 2012); in testSanitize_ok() 74 expectedCal.set(Calendar.YEAR, 2012); in testSanitize_ok()
|
D | DateTransformationTest.java | 87 cal.set(Calendar.YEAR, 2012); in testValidAutofillValue()
|
/cts/tests/tests/text/src/android/text/format/cts/ |
D | DateFormatTest.java | 68 private static final int YEAR = 2008; field in DateFormatTest 209 Calendar calendar = new GregorianCalendar(YEAR, MONTH, DAY); in testFormatMethods()
|
D | TimeTest.java | 102 assertEquals(2008, cal.get(Calendar.YEAR)); in testNormalize() 629 assertEquals(2037, t.getActualMaximum(Time.YEAR)); in testGetActualMaximum() 3048 calendar.get(Calendar.YEAR), in createLocalDateTime() 3239 calendar.get(Calendar.YEAR), in setDateTime()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/ |
D | CustomDescriptionDateTest.java | 126 cal.set(Calendar.YEAR, 2012);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | ProtectedConfirmationTest.java | 175 calendar.add(Calendar.YEAR, 1); in createKey()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/suplClient/ |
D | SuplRrlpMessagesGenerator.java | 217 utcTime.setYear(currentTime.get(Calendar.YEAR)); in generateSuplPositionInitLocalLocationMessage()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/systemupdate/ |
D | SystemUpdatePolicyTest.java | 446 c.set(Calendar.YEAR, date.getYear()); in setSystemDate()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageStatsTest.java | 205 private static final long YEAR = 365 * DAY; field in UsageStatsTest 893 intervalLengths.put(UsageStatsManager.INTERVAL_YEARLY, YEAR); in testPackageUsageStatsIntervals() 1582 intervalLengths.put(UsageStatsManager.INTERVAL_YEARLY, YEAR); in getAggrEventData()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | Helper.java | 691 .that(cal.get(Calendar.YEAR)).isEqualTo(year); in assertDateValue()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 23832 field public static final String METADATA_KEY_YEAR = "android.media.metadata.YEAR"; 48370 field @Deprecated public static final int YEAR = 6; // 0x6
|