/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | TimeUtilsTest.java | 39 TimeZone tz = TimeZone.getTimeZone(name); 40 Calendar c = Calendar.getInstance(tz); 60 TimeZone tz = TimeZone.getTimeZone(name); 61 Calendar c = Calendar.getInstance(tz); 76 TimeZone tz = TimeZone.getTimeZone(name); 77 Calendar c = Calendar.getInstance(tz); 356 "tz", "Africa/Dar_es_Salaam", 390 TimeZone tz = TimeZone.getTimeZone(name); 391 Calendar c = Calendar.getInstance(tz); 414 TimeZone tz [all...] |
/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4OSA_Clock.c | 59 struct timezone tz; local 76 if(gettimeofday(&tv, &tz) == 0)
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | SetTimeZonePermissionsTest.java | 55 String tz = mZones[i]; 57 mAlarm.setTimeZone(tz);
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | DateUtils.java | 39 TimeZone tz = TimeZone.getTimeZone("GMT"); 40 Calendar c = Calendar.getInstance(tz);
|
/frameworks/base/services/jni/ |
H A D | com_android_server_AlarmManagerService.cpp | 42 struct timezone tz; local 44 tz.tz_minuteswest = minswest; 45 tz.tz_dsttime = 0; 47 int result = settimeofday(NULL, &tz);
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | AllocationAdapter.java | 106 int tz = mAdaptedAllocation.mType.getZ(); 109 if ((tx==1) && (ty == 1) && (tz == 1)) { 115 if (tz > 1) tz >>= 1; 120 mCurrentDimZ = tz;
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | AllocationAdapter.java | 106 int tz = mAdaptedAllocation.mType.getZ(); 109 if ((tx==1) && (ty == 1) && (tz == 1)) { 115 if (tz > 1) tz >>= 1; 120 mCurrentDimZ = tz;
|
/frameworks/base/core/java/android/util/ |
H A D | TimeUtils.java | 75 for (TimeZone tz : getTimeZones(country)) { 80 if (tz.getID().equals(currentName)) { 92 if (tz.getOffset(when) == offset && 93 tz.inDaylightTime(d) == dst) { 94 best = tz; 192 TimeZone tz = TimeZone.getTimeZone(zoneIdString); 193 if (tz.getID().startsWith("GMT") == false) { 194 // tz.getID doesn't start not "GMT" so its valid 195 tzs.add(tz); 197 Log.d(TAG, "getTimeZone('" + country + "'): found tz [all...] |
/frameworks/rs/ |
H A D | rsScript.cpp | 149 char *tz = (char *) malloc(length + 1); local 150 if (!tz) { 154 strncpy(tz, timeZone, length); 155 tz[length] = '\0'; 156 if (setenv("TZ", tz, 1) == 0) { 161 free(tz);
|
H A D | rsType.cpp | 90 uint32_t tz = mHal.state.dimZ; local 95 mHal.state.lodDimZ[lod] = tz; 97 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes(); 100 if (tz > 1) tz >>= 1;
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsScript.cpp | 149 char *tz = (char *) malloc(length + 1); local 150 if (!tz) { 154 strncpy(tz, timeZone, length); 155 tz[length] = '\0'; 156 if (setenv("TZ", tz, 1) == 0) { 161 free(tz);
|
H A D | rsType.cpp | 90 uint32_t tz = mHal.state.dimZ; local 95 mHal.state.lodDimZ[lod] = tz; 97 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes(); 100 if (tz > 1) tz >>= 1;
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
H A D | RRuleTest.java | 71 String golden, String advanceTo, String tz) throws Exception { 72 runRecurrenceIteratorTest(rrule, dtstartStr, limit, golden, advanceTo, null, tz); 85 * @param tz The time zone. UTC is used if null is passed in. 89 String golden, String advanceTo, String endAt, String tz) throws Exception { 98 Time dtstart = new Time(tz); 99 Time rangeStart = new Time(tz); 100 Time rangeEnd = new Time(tz); 101 Time outCal = new Time(tz); 70 runRecurrenceIteratorTest(String rrule, String dtstartStr, int limit, String golden, String advanceTo, String tz) argument 88 runRecurrenceIteratorTest(String rrule, String dtstartStr, int limit, String golden, String advanceTo, String endAt, String tz) argument
|
H A D | RecurrenceProcessorTest.java | 88 String tz = "America/Los_Angeles"; 89 Time dtstart = new Time(tz); 90 Time rangeStart = new Time(tz); 91 Time rangeEnd = new Time(tz); 92 Time outCal = new Time(tz); 156 Time expectedLast = new Time(tz); 2454 String tz = "America/Los_Angeles"; 2455 Time dtstart = new Time(tz); 2456 Time rangeStart = new Time(tz); 2457 Time rangeEnd = new Time(tz); [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | RecurrenceSet.java | 142 String tz = Time.TIMEZONE_UTC; 145 tz = recurrence.substring(0, tzidx); 148 Time time = new Time(tz); 163 time.timezone = tz; 441 String tz = null; 444 tz = dateStr.substring(0, tzidx); 447 if (!TextUtils.isEmpty(tz)) { 448 prop.addParameter(new ICalendar.Parameter("TZID", tz));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | Clock.java | 115 String tz = intent.getStringExtra("time-zone"); 116 mCalendar = Calendar.getInstance(TimeZone.getTimeZone(tz));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | ResponseData.java | 243 String tz = SystemProperties.get("persist.sys.timezone", ""); 244 if (TextUtils.isEmpty(tz)) { 247 TimeZone zone = TimeZone.getTimeZone(tz);
|
/frameworks/native/opengl/libagl/ |
H A D | dxt.cpp | 139 struct timezone tz; local 141 gettimeofday(&start_t, &tz); 183 gettimeofday(&end_t, &tz); 604 struct timezone tz; local 606 gettimeofday(&start_t, &tz); 628 gettimeofday(&end_t, &tz);
|
/frameworks/base/core/java/android/widget/ |
H A D | AnalogClock.java | 244 String tz = intent.getStringExtra("time-zone"); 245 mCalendar = new Time(TimeZone.getTimeZone(tz).getID());
|
/frameworks/base/media/java/android/media/ |
H A D | Metadata.java | 492 TimeZone tz = TimeZone.getTimeZone(timeZone); 493 Calendar cal = Calendar.getInstance(tz);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaPlayerMetadataParserTest.java | 403 private void writeDateRecord(int metadataId, long time, String tz) { argument 409 mParcel.writeString(tz);
|
/frameworks/base/services/java/com/android/server/ |
H A D | AlarmManagerService.java | 125 String tz = SystemProperties.get(TIMEZONE_PROPERTY); 126 if (tz != null) { 127 setTimeZone(tz); 243 public void setTimeZone(String tz) { argument 250 if (TextUtils.isEmpty(tz)) return; 251 TimeZone zone = TimeZone.getTimeZone(tz);
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
H A D | rsdAllocation.cpp | 86 uint32_t tz = drv->lod[0].dimZ; local 90 drv->lod[lod].dimZ = tz; 93 o += drv->lod[lod].stride * rsMax(ty, 1u) * rsMax(tz, 1u); 96 if (tz > 1) tz >>= 1;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | MccTable.java | 108 String[] tz = TimeZones.forLocale(locale); 109 if (tz.length == 0) return null; 110 return tz[0]; 531 table.add(new MccEntry(640,"tz",2)); //Tanzania (United Republic of)
|
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 630 TimeZone tz = inDate.getTimeZone(); 638 return tz.getDisplayName(dst, TimeZone.SHORT);
|