Home
last modified time | relevance | path

Searched refs:setTimeZone (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipDateTime.java83 builder.setTimeZone(tz); in BipDateTime()
139 cal.setTimeZone(utc); in toString()
145 cal.setTimeZone(TimeZone.getDefault()); in toString()
/packages/apps/Contacts/src/com/android/contacts/util/
DDateUtils.java57 format.setTimeZone(UTC_TIMEZONE);
59 CommonDateUtils.NO_YEAR_DATE_FORMAT.setTimeZone(UTC_TIMEZONE);
178 outFormat.setTimeZone(UTC_TIMEZONE); in formatDate()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DProvisioningParamsTest.java160 .setTimeZone(TEST_TIME_ZONE) in testNotEquals()
178 .setTimeZone(TEST_TIME_ZONE) in testNotEquals()
300 .setTimeZone(TEST_TIME_ZONE) in getCompleteProvisioningParams()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DActionMonitor.java279 df.setTimeZone(TimeZone.getTimeZone("UTC")); in setState()
351 df.setTimeZone(TimeZone.getTimeZone("UTC")); in setCompleteState()
412 df.setTimeZone(TimeZone.getTimeZone("UTC")); in setExecutedState()
/packages/apps/Settings/src/com/android/settings/display/
DNightDisplayTimeFormatter.java35 mTimeFormatter.setTimeZone(TimeZone.getTimeZone("UTC")); in NightDisplayTimeFormatter()
40 c.setTimeZone(mTimeFormatter.getTimeZone()); in getFormattedTimeString()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DNightDisplayTimeFormatter.java35 mTimeFormatter.setTimeZone(TimeZone.getTimeZone("UTC")); in NightDisplayTimeFormatter()
40 c.setTimeZone(mTimeFormatter.getTimeZone()); in getFormattedTimeString()
/packages/apps/DeskClock/src/com/android/deskclock/
DAnalogClock.java153 public void setTimeZone(String id) { in setTimeZone() method in AnalogClock
155 mTime.setTimeZone(mTimeZone); in setTimeZone()
DClockFragment.java456 mAnalogClock.setTimeZone(cityTimeZoneId); in bind()
461 mDigitalClock.setTimeZone(cityTimeZoneId); in bind()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipDatetimeTest.java42 if (tz != null) builder.setTimeZone(tz); in makeDate()
54 cal.setTimeZone(TimeZone.getDefault()); in makeTzAdjustedString()
DBipAttachmentFormatTest.java41 if (tz != null) builder.setTimeZone(tz); in makeDate()
/packages/apps/Calendar/src/com/android/calendar/
DGeneralPreferences.java300 Utils.setTimeZone(activity, tz); in onPreferenceChange()
398 Utils.setTimeZone(getActivity(), tzi.mTzId); in onTimeZoneSet()
DCalendarUtils.java199 public void setTimeZone(Context context, String timeZone) { in setTimeZone() method in CalendarUtils.TimeZoneUtils
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDeviceOwnerInitializeProvisioningTask.java56 alarmManager.setTimeZone(timeZone); in setTimeAndTimezone()
/packages/apps/Camera2/src/com/android/camera/one/
DAbstractOneCamera.java92 simpleDateFormat.setTimeZone(TimeZone.getDefault()); in makeDebugDir()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DObexTime.java86 builder.setTimeZone(tz); in ObexTime()
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/
DTimeFormatTogglePreferenceController.java82 mTimeFormatDemoDate.setTimeZone(now.getTimeZone()); in updateState()
/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/
DMainlineModuleVersionPreferenceController.java114 simpleDateFormat.setTimeZone(TimeZone.getDefault()); in parseDateFromVersionName()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/
DTimeFormatPreferenceController.java71 mDummyDate.setTimeZone(now.getTimeZone()); in updateState()
/packages/apps/Settings/src/com/android/settings/datetime/
DTimeFormatPreferenceController.java71 mDummyDate.setTimeZone(now.getTimeZone()); in updateState()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DTextTime.java168 calendar.setTimeZone(UTC); in updateTime()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DProvisioningParams.java383 builder.setTimeZone(bundle.getString(EXTRA_PROVISIONING_TIME_ZONE)); in createBuilderFromPersistableBundle()
548 public Builder setTimeZone(String timeZone) { in setTimeZone() method in ProvisioningParams.Builder
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DDateTimeFragment.java144 mDummyDate.setTimeZone(now.getTimeZone()); in updateTimeAndDateDisplay()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DExifInterface.java83 mGPSDateStampFormat.setTimeZone(TimeZone.getTimeZone("UTC")); in ExifInterface()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParser.java155 builder.setTimeZone(getPropertyFromLongName(props, EXTRA_PROVISIONING_TIME_ZONE)) in parse()
/packages/apps/Calendar/tests/src/com/android/calendar/
DUtilsTests.java155 timezoneUtils.setTimeZone(dbUtils.getContext(), tz); in setTimezone()

12