Home
last modified time | relevance | path

Searched refs:tz (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/
DTimeUtilsTest.java41 TimeZone tz = TimeZone.getTimeZone(name); in testMainstream() local
42 Calendar c = Calendar.getInstance(tz); in testMainstream()
62 TimeZone tz = TimeZone.getTimeZone(name); in testWeird() local
63 Calendar c = Calendar.getInstance(tz); in testWeird()
78 TimeZone tz = TimeZone.getTimeZone(name); in testOld() local
79 Calendar c = Calendar.getInstance(tz); in testOld()
392 TimeZone tz = TimeZone.getTimeZone(name); in testWorld() local
393 Calendar c = Calendar.getInstance(tz); in testWorld()
416 TimeZone tz = TimeZone.getTimeZone(name); in testWorldWeird() local
417 Calendar c = Calendar.getInstance(tz); in testWorldWeird()
/frameworks/base/services/jni/
Dcom_android_server_AlarmManagerService.cpp50 struct timezone tz; in android_server_AlarmManagerService_setKernelTimezone() local
52 tz.tz_minuteswest = minswest; in android_server_AlarmManagerService_setKernelTimezone()
53 tz.tz_dsttime = 0; in android_server_AlarmManagerService_setKernelTimezone()
55 int result = settimeofday(NULL, &tz); in android_server_AlarmManagerService_setKernelTimezone()
/frameworks/base/core/java/android/util/
DTimeUtils.java92 TimeZone tz = TimeZone.getTimeZone(maybe); in getTimeZone() local
94 if (tz.getOffset(when) == offset && in getTimeZone()
95 tz.inDaylightTime(d) == dst) { in getTimeZone()
96 best = tz; in getTimeZone()
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/activity/
DSetTimeZonePermissionsTest.java55 String tz = mZones[i]; in testSetTimeZonePermissions() local
57 mAlarm.setTimeZone(tz); in testSetTimeZonePermissions()
/frameworks/base/core/java/android/pim/
DRecurrenceSet.java136 String tz = Time.TIMEZONE_UTC; in parseRecurrenceDates() local
139 tz = recurrence.substring(0, tzidx); in parseRecurrenceDates()
142 Time time = new Time(tz); in parseRecurrenceDates()
150 time.timezone = tz; in parseRecurrenceDates()
376 String tz = null; in addPropertyForDateStr() local
379 tz = dateStr.substring(0, tzidx); in addPropertyForDateStr()
382 if (!TextUtils.isEmpty(tz)) { in addPropertyForDateStr()
383 prop.addParameter(new ICalendar.Parameter("TZID", tz)); in addPropertyForDateStr()
/frameworks/base/telephony/java/com/android/internal/telephony/
DMccTable.java501 String tz = TZ_STRINGS[tzInd]; in defaultTimeZoneForMcc() local
502 if (tz == "") { in defaultTimeZoneForMcc()
505 return tz; in defaultTimeZoneForMcc()
/frameworks/base/opengl/libagl/
Ddxt.cpp139 struct timezone tz; in DXT1HasAlpha() local
141 gettimeofday(&start_t, &tz); in DXT1HasAlpha()
183 gettimeofday(&end_t, &tz); in DXT1HasAlpha()
604 struct timezone tz; in decodeDXT() local
606 gettimeofday(&start_t, &tz); in decodeDXT()
628 gettimeofday(&end_t, &tz); in decodeDXT()
Dmatrix.cpp844 const GLfloat tz = -(zFar + zNear) * r_depth; in orthof() local
851 f[14] = tz; in orthof()
/frameworks/base/libs/rs/
DrsType.cpp88 uint32_t tz = mDimZ; in compute() local
93 mLODs[lod].mZ = tz; in compute()
95 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes(); in compute()
98 tz = (tz + 1) >> 1; in compute()
/frameworks/base/media/java/android/media/
DMetadata.java368 TimeZone tz = TimeZone.getTimeZone(timeZone); in getDate() local
369 Calendar cal = Calendar.getInstance(tz); in getDate()
/frameworks/base/core/java/android/widget/
DAnalogClock.java237 String tz = intent.getStringExtra("time-zone");
238 mCalendar = new Time(TimeZone.getTimeZone(tz).getID());
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerMetadataParserTest.java410 private void writeDateRecord(int metadataId, long time, String tz) { in writeDateRecord() argument
416 mParcel.writeString(tz); in writeDateRecord()
/frameworks/base/core/java/android/text/format/
DDateFormat.java544 TimeZone tz = inDate.getTimeZone(); in getTimeZoneString() local
552 return tz.getDisplayName(dst, TimeZone.SHORT); in getTimeZoneString()
DDateUtils.java918 public static void parseDateTime(String tz, String dateTime, Calendar out) in parseDateTime() argument
925 else if (tz == null) { in parseDateTime()
929 timezone = TimeZone.getTimeZone(tz); in parseDateTime()
950 TimeZone tz = TimeZone.getTimeZone("GMT"); in writeDateTime() local
951 GregorianCalendar c = new GregorianCalendar(tz); in writeDateTime()
/frameworks/base/services/java/com/android/server/
DAlarmManagerService.java243 public void setTimeZone(String tz) { in setTimeZone() argument
248 if (TextUtils.isEmpty(tz)) return; in setTimeZone()
249 TimeZone zone = TimeZone.getTimeZone(tz); in setTimeZone()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaServiceStateTracker.java1125 TimeZone tz = TimeZone.getTimeZone(zone); in findTimeZone() local
1126 if (tz.getOffset(when) == offset && in findTimeZone()
1127 tz.inDaylightTime(d) == dst) { in findTimeZone()
1128 guess = tz; in findTimeZone()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmServiceStateTracker.java1016 TimeZone tz = TimeZone.getTimeZone(zone); in findTimeZone() local
1017 if (tz.getOffset(when) == offset && in findTimeZone()
1018 tz.inDaylightTime(d) == dst) { in findTimeZone()
1019 guess = tz; in findTimeZone()
/frameworks/base/opengl/java/android/opengl/
DMatrix.java254 final float tz = -(far + near) * r_depth; in orthoM() local
260 m[mOffset +14] = tz; in orthoM()
/frameworks/base/tools/localize/
DXLIFFFile.cpp481 struct timezone tz; in ToXMLNode() local
482 gettimeofday(&tv, &tz); in ToXMLNode()
/frameworks/base/services/java/com/android/server/status/
DStatusBarPolicy.java347 String tz = intent.getStringExtra("time-zone");
348 mCalendar = Calendar.getInstance(TimeZone.getTimeZone(tz));