Home
last modified time | relevance | path

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

12

/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/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.java71 cal.setTimeZone(tz); in ObexTime()
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/
DTimeFormatTogglePreferenceController.java82 mTimeFormatDemoDate.setTimeZone(now.getTimeZone()); in updateState()
DTimeZonePickerScreenPreferenceController.java93 mAlarmManager.setTimeZone(timeZone.get(ZoneGetter.KEY_ID).toString()); in createTimeZonePreference()
/packages/apps/Settings/src/com/android/settings/datetime/
DTimeFormatPreferenceController.java71 mDummyDate.setTimeZone(now.getTimeZone()); in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/
DTimeZoneFragment.java98 alarm.setTimeZone(preference.getKey()); in onPreferenceTreeClick()
DDateTimeFragment.java144 mDummyDate.setTimeZone(now.getTimeZone()); in updateTimeAndDateDisplay()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datetime/
DTimeZonePickerScreenPreferenceControllerTest.java96 verify(mAlarmManager).setTimeZone("testKey"); in testOnPreferenceClick_setTimeZoneCalled()
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DUtilityTest.java63 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in testParseEmailDateTimeHelper()
/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/Settings/src/com/android/settings/datetime/timezone/
DTimeZoneSettings.java273 getActivity().getSystemService(AlarmManager.class).setTimeZone(tzId); in saveTimeZone()

12