Home
last modified time | relevance | path

Searched refs:setTimeZone (Results 1 – 25 of 40) 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/Settings/src/com/android/settings/display/darkmode/
DTimeFormatter.java33 mFormatter.setTimeZone(TimeZone.getTimeZone("UTC")); in TimeFormatter()
38 c.setTimeZone(mFormatter.getTimeZone()); in of()
/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/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/providers/MediaProvider/src/com/android/providers/media/util/
DExifUtils.java61 sFormatter.setTimeZone(TimeZone.getTimeZone("UTC"));
63 sFormatterTz.setTimeZone(TimeZone.getTimeZone("UTC"));
/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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DProvisioningParamsTest.java171 .setTimeZone(TEST_TIME_ZONE) in testNotEquals()
187 .setTimeZone(TEST_TIME_ZONE) in testNotEquals()
515 .setTimeZone(TEST_TIME_ZONE) in getCompleteProvisioningParams()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DConvertUtilsTest.java331 .setTimeZone(TimeZone.getTimeZone(expectedZoneId)); in testUtcToLocalTime_returnExpectedResult()
353 .setTimeZone(TimeZone.getTimeZone(expectedZoneId)); in testUtcToLocalTimeHour_12HourFormat_returnExpectedResult()
375 .setTimeZone(TimeZone.getTimeZone(expectedZoneId)); in testUtcToLocalTimeHour_24HourFormat_returnExpectedResult()
DBatteryChartViewTest.java246 .setTimeZone(TimeZone.getTimeZone("America/Los_Angeles")); in testSetLatestTimestamp_generateExpectedTimestamps()
/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.java50 alarmManager.setTimeZone(timeZone); in setTimeAndTimezone()
DProvisionFullyManagedDeviceTask.java119 .setTimeZone(mProvisioningParams.timeZone) in buildManagedDeviceProvisioningParams()
/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/datetime/
DTimeFormatPreferenceController.java71 mDummyDate.setTimeZone(now.getTimeZone()); in updateState()
/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/
DMainlineModuleVersionPreferenceController.java128 simpleDateFormat.setTimeZone(TimeZone.getDefault()); in parseDateFromVersionName()
/packages/apps/Car/Calendar/src/com/android/car/calendar/common/
DCalendarFormatter.java57 mDateFormat.setTimeZone(TimeZone.getTimeZone(mClock.getZone())); in CalendarFormatter()
/packages/apps/DeskClock/src/com/android/deskclock/
DAnalogClock.kt140 fun setTimeZone(id: String) { in setTimeZone() method
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DProvisioningParams.java454 builder.setTimeZone(bundle.getString(EXTRA_PROVISIONING_TIME_ZONE)); in createBuilderFromPersistableBundle()
636 public Builder setTimeZone(String timeZone) { in setTimeZone() method in ProvisioningParams.Builder
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DExifInterface.java83 mGPSDateStampFormat.setTimeZone(TimeZone.getTimeZone("UTC")); in ExifInterface()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DDateTimeFragment.java158 mDummyDate.setTimeZone(now.getTimeZone()); in updateTimeAndDateDisplay()

12