/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/ |
D | TimeUtilsTest.java | 41 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/ |
D | com_android_server_AlarmManagerService.cpp | 50 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/ |
D | TimeUtils.java | 92 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/ |
D | SetTimeZonePermissionsTest.java | 55 String tz = mZones[i]; in testSetTimeZonePermissions() local 57 mAlarm.setTimeZone(tz); in testSetTimeZonePermissions()
|
/frameworks/base/core/java/android/pim/ |
D | RecurrenceSet.java | 136 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/ |
D | MccTable.java | 501 String tz = TZ_STRINGS[tzInd]; in defaultTimeZoneForMcc() local 502 if (tz == "") { in defaultTimeZoneForMcc() 505 return tz; in defaultTimeZoneForMcc()
|
/frameworks/base/opengl/libagl/ |
D | dxt.cpp | 139 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()
|
D | matrix.cpp | 844 const GLfloat tz = -(zFar + zNear) * r_depth; in orthof() local 851 f[14] = tz; in orthof()
|
/frameworks/base/libs/rs/ |
D | rsType.cpp | 88 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/ |
D | Metadata.java | 368 TimeZone tz = TimeZone.getTimeZone(timeZone); in getDate() local 369 Calendar cal = Calendar.getInstance(tz); in getDate()
|
/frameworks/base/core/java/android/widget/ |
D | AnalogClock.java | 237 String tz = intent.getStringExtra("time-zone"); 238 mCalendar = new Time(TimeZone.getTimeZone(tz).getID());
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaPlayerMetadataParserTest.java | 410 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/ |
D | DateFormat.java | 544 TimeZone tz = inDate.getTimeZone(); in getTimeZoneString() local 552 return tz.getDisplayName(dst, TimeZone.SHORT); in getTimeZoneString()
|
D | DateUtils.java | 918 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/ |
D | AlarmManagerService.java | 243 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/ |
D | CdmaServiceStateTracker.java | 1125 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/ |
D | GsmServiceStateTracker.java | 1016 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/ |
D | Matrix.java | 254 final float tz = -(far + near) * r_depth; in orthoM() local 260 m[mOffset +14] = tz; in orthoM()
|
/frameworks/base/tools/localize/ |
D | XLIFFFile.cpp | 481 struct timezone tz; in ToXMLNode() local 482 gettimeofday(&tv, &tz); in ToXMLNode()
|
/frameworks/base/services/java/com/android/server/status/ |
D | StatusBarPolicy.java | 347 String tz = intent.getStringExtra("time-zone"); 348 mCalendar = Calendar.getInstance(TimeZone.getTimeZone(tz));
|