Home
last modified time | relevance | path

Searched refs:timeZone (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DCalendarTest.java453 String timeZone = values.getAsString(Events.EVENT_TIMEZONE); in getNewRecurringEventValues() local
454 Time time = new Time(timeZone); in getNewRecurringEventValues()
2071 String timeZone = TIME_ZONES[0]; in testInstanceSearch() local
2072 Time startTime = new Time(timeZone); in testInstanceSearch()
2083 eventValues.put(Events.EVENT_TIMEZONE, timeZone); in testInstanceSearch()
2091 eventValues.put(Events.EVENT_TIMEZONE, timeZone); in testInstanceSearch()
2099 eventValues.put(Events.EVENT_TIMEZONE, timeZone); in testInstanceSearch()
2107 eventValues.put(Events.EVENT_TIMEZONE, timeZone); in testInstanceSearch()
2116 Cursor instances = getInstances(timeZone, rangeStart, rangeEnd, projection, in testInstanceSearch()
2118 dumpInstances(instances, timeZone, "all"); in testInstanceSearch()
[all …]
/cts/tests/tests/permission/src/android/permission/cts/
DNoSystemFunctionPermissionTest.java70 String timeZone = timeZones[0]; in testSetTimeZone() local
73 alarmManager.setTimeZone(timeZone); in testSetTimeZone()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCrossProfileCalendarTest.java112 private static long parseTimeStringToMillis(String timeStr, String timeZone) { in parseTimeStringToMillis() argument
113 Time time = new Time(timeZone); in parseTimeStringToMillis()
118 private static int parseTimeStringToJulianDay(String timeStr, String timeZone) { in parseTimeStringToJulianDay() argument
119 Time time = new Time(timeZone); in parseTimeStringToJulianDay()
/cts/tests/tests/widget/src/android/widget/cts/
DTextClockTest.java96 final TimeZone timeZone = TimeZone.getTimeZone(id); in testUpdate12_24() local
97 mNow.setTimeZone(timeZone); in testUpdate12_24()
/cts/tests/tests/text/src/android/text/format/cts/
DTimeTest.java114 String timeZone = "US/Pacific"; in testSwitchTimezone() local
116 Time time = new Time(timeZone); in testSwitchTimezone()
117 assertEquals(timeZone, time.timezone); in testSwitchTimezone()
1765 private static void verifyParse3339Succeeds(String timeZone, String toParse, Time expected) { in verifyParse3339Succeeds() argument
1766 Time t = new Time(timeZone); in verifyParse3339Succeeds()
2954 TimeZone timeZone = TimeZone.getTimeZone(tzId); in test_toMillisAndNormalizeGenerallyWork() local
2955 Calendar calendar = new GregorianCalendar(timeZone); in test_toMillisAndNormalizeGenerallyWork()
2973 + time, timeZone.inDaylightTime(new Date(timeInMillis)), (time.isDst != 0)); in test_toMillisAndNormalizeGenerallyWork()
2974 assertEquals(timeZone.getOffset(timeInMillis), in test_toMillisAndNormalizeGenerallyWork()