Home
last modified time | relevance | path

Searched refs:utc (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipDatetimeTest.java118 TimeZone utc = TimeZone.getTimeZone("UTC"); in testParseFromValidStringWithUtc() local
119 utc.setRawOffset(0); in testParseFromValidStringWithUtc()
120 testParse("20000101T000000Z", makeDate(1, 1, 2000, 0, 0, 0, utc), true, "20000101T000000Z"); in testParseFromValidStringWithUtc()
122 "20000101T060115Z", makeDate(1, 1, 2000, 6, 1, 15, utc), true, "20000101T060115Z"); in testParseFromValidStringWithUtc()
123 testParse("20000101T060000Z", makeDate(1, 1, 2000, 6, 0, 0, utc), true, "20000101T060000Z"); in testParseFromValidStringWithUtc()
125 "20000101T071500Z", makeDate(1, 1, 2000, 7, 15, 0, utc), true, "20000101T071500Z"); in testParseFromValidStringWithUtc()
127 "20000101T151700Z", makeDate(1, 1, 2000, 15, 17, 0, utc), true, "20000101T151700Z"); in testParseFromValidStringWithUtc()
130 makeDate(1, 1, 2000, 23, 59, 59, utc), in testParseFromValidStringWithUtc()
135 makeDate(11, 27, 2050, 23, 59, 59, utc), in testParseFromValidStringWithUtc()
197 TimeZone utc = TimeZone.getTimeZone("UTC"); in testCreateFromDateTime() local
[all …]
DBipAttachmentFormatTest.java112 TimeZone utc = TimeZone.getTimeZone("UTC"); in testParseAttachment() local
113 utc.setRawOffset(0); in testParseAttachment()
115 Date dateUtc = makeDate(1, 1, 1990, 12, 34, 56, utc); in testParseAttachment()
257 TimeZone utc = TimeZone.getTimeZone("UTC"); in testCreateAttachment() local
258 utc.setRawOffset(0); in testCreateAttachment()
286 TimeZone utc = TimeZone.getTimeZone("UTC"); in testParsedAttachmentToString() local
287 utc.setRawOffset(0); in testParsedAttachmentToString()
363 TimeZone utc = TimeZone.getTimeZone("UTC"); in testCreatedAttachmentToString() local
364 utc.setRawOffset(0); in testCreatedAttachmentToString()
365 Date date = makeDate(1, 1, 1990, 12, 34, 56, utc); in testCreatedAttachmentToString()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DFixedOffsetPickerTest.java68 AdapterItem utc = adapter.getDataItem(0); in createAdapter_verifyTitleAndOffset() local
69 assertThat(utc.getTitle().toString()).isEqualTo("Coordinated Universal Time"); in createAdapter_verifyTitleAndOffset()
70 assertThat(utc.getSummary().toString()).isEqualTo("GMT+00:00"); in createAdapter_verifyTitleAndOffset()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/
DBipDateTime.java134 TimeZone utc = TimeZone.getTimeZone("UTC"); in toString() local
135 utc.setRawOffset(0); in toString()
136 cal.setTimeZone(utc); in toString()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java2549 final String utc = Time.TIMEZONE_UTC; in upgradeToVersion69() local
2572 if (!TextUtils.equals(timezone, utc)) { in upgradeToVersion69()
2574 timezone = utc; in upgradeToVersion69()
2633 if (!TextUtils.equals(timezone, utc)) { in upgradeToVersion69()
2635 timezone = utc; in upgradeToVersion69()
/packages/modules/common/build/
Dmainline_modules_sdks.py315 datetime.timezone.utc)