Home
last modified time | relevance | path

Searched refs:YEAR (Results 1 – 19 of 19) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DCalendarViewTest.java115 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()
DDatePickerTest.java211 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/
DMediaStoreAudioTestHelper.java95 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()
DMediaStore_Audio_Artists_AlbumsTest.java116 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()
DMediaStore_Audio_Playlists_MembersTest.java82 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()
DMediaStore_Audio_AlbumsTest.java119 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()
DMediaStore_Audio_Genres_MembersTest.java170 assertEquals(Audio1.YEAR, c.getInt(c.getColumnIndex(Members.YEAR))); in testStoreAudioGenresMembersExternal()
DMediaStore_Audio_MediaTest.java164 assertEquals(Audio1.YEAR, c.getInt(c.getColumnIndex(Media.YEAR))); in testStoreAudioMedia()
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DDateValueSanitizerTest.java65 inputCal.set(Calendar.YEAR, 2012); in testSanitize_ok()
74 expectedCal.set(Calendar.YEAR, 2012); in testSanitize_ok()
DDateTransformationTest.java87 cal.set(Calendar.YEAR, 2012); in testValidAutofillValue()
/cts/tests/tests/text/src/android/text/format/cts/
DDateFormatTest.java68 private static final int YEAR = 2008; field in DateFormatTest
209 Calendar calendar = new GregorianCalendar(YEAR, MONTH, DAY); in testFormatMethods()
DTimeTest.java102 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/
DCustomDescriptionDateTest.java126 cal.set(Calendar.YEAR, 2012);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DProtectedConfirmationTest.java175 calendar.add(Calendar.YEAR, 1); in createKey()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/suplClient/
DSuplRrlpMessagesGenerator.java217 utcTime.setYear(currentTime.get(Calendar.YEAR)); in generateSuplPositionInitLocalLocationMessage()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/systemupdate/
DSystemUpdatePolicyTest.java446 c.set(Calendar.YEAR, date.getYear()); in setSystemDate()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java205 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/
DHelper.java691 .that(cal.get(Calendar.YEAR)).isEqualTo(year); in assertDateValue()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt23832 field public static final String METADATA_KEY_YEAR = "android.media.metadata.YEAR";
48370 field @Deprecated public static final int YEAR = 6; // 0x6