Searched refs:timezone (Results 1 - 10 of 10) sorted by relevance
/frameworks/base/core/jni/ |
H A D | Time.cpp | 46 if (0 == strcmp(a.timezone, b.timezone)) { 81 Time::switchTimezone(const char* timezone) argument 83 time_t seconds = mktime_tz(&(this->t), this->timezone); 84 localtime_tz(&seconds, &(this->t), timezone); 146 bool inUtc = strcmp("UTC", timezone) == 0; 165 t.tm_sec, timezone, t.tm_wday, t.tm_yday, tm_gmtoff, t.tm_isdst, 176 localtime_tz(&seconds, &(this->t), this->timezone); 185 int64_t r = mktime_tz(&(this->t), this->timezone); 195 localtime_tz(&seconds, &(this->t), this->timezone); [all...] |
H A D | TimeUtils.h | 44 const char *timezone; member in class:android::Time 61 void switchTimezone(const char *timezone);
|
H A D | android_text_format_Time.cpp | 100 t.timezone = env->GetStringUTFChars(timezoneString_##This, NULL); 103 env->ReleaseStringUTFChars(timezoneString_##This, t.timezone); 130 const char* timezone = env->GetStringUTFChars(timezoneObject, NULL); local 132 t.switchTimezone(timezone); 135 env->ReleaseStringUTFChars(timezoneObject, timezone); 169 bool inUtc = strcmp("UTC", t.timezone) == 0; 618 // The timezone is set to UTC in the calling Java code. 672 g_timezoneField = env->GetFieldID(timeClass, "timezone", "Ljava/lang/String;");
|
/frameworks/base/core/java/android/text/format/ |
H A D | Time.java | 106 * The timezone for this Time. Should not be null. 108 public String timezone; field in class:Time 149 * Construct a Time object in the timezone named by the string 150 * argument "timezone". The time is initialized to Jan 1, 1970. 151 * @param timezone string containing the timezone to use. 154 public Time(String timezone) { argument 155 if (timezone == null) { 156 throw new NullPointerException("timezone is null!"); 158 this.timezone 207 switchTimezone(String timezone) argument 259 clear(String timezone) argument [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_AlarmManagerService.cpp | 46 struct timezone tz; 53 LOGE("Unable to set kernel timezone to %d: %s\n", minswest, strerror(errno)); 56 LOGD("Kernel timezone updated to %d minutes west of GMT\n", minswest);
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
H A D | TimeTest.java | 280 assertEquals(Time.TIMEZONE_UTC, t.timezone); 370 fail("Did not parse timezone-offset-less date correctly"); 406 fail("Did not parse timezone-offset date correctly"); 414 fail("Did not parse timezone-offset date correctly"); 426 fail("Did not throw error on truncated timezone offset"); 433 fail("Did not throw error on truncated timezone offset"); 527 // For each day of the year, and for each timezone, get the Julian 536 time.timezone = mTimeZones[zoneIndex]; 556 + " timezone: " + time.timezone); [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | MccTable.java | 340 ' default timezone 5 bits', 447 * default timezone 5 bits 613 * If the timezone is not already set, set it based on the MCC of the SIM. 618 String timezone = SystemProperties.get(ServiceStateTracker.TIMEZONE_PROPERTY); 619 if (timezone == null || timezone.length() == 0) { 627 Log.d(LOG_TAG, "timezone set to "+zoneId);
|
/frameworks/base/core/java/android/pim/ |
H A D | RecurrenceSet.java | 152 // The timezone is updated to UTC if the time string specified 'Z'. 155 time.timezone = tz; 178 // NOTE: the timezone may be null, if this is a floating time. 210 // that would not reflect the original timezone value back to the 212 start.timezone = Time.TIMEZONE_UTC; 275 // use the "floating" timezone 334 // use the "floating" timezone 463 ? start.timezone : endTzidParameter.value;
|
/frameworks/base/opengl/libagl/ |
H A D | dxt.cpp | 139 struct timezone tz; 604 struct timezone tz;
|
/frameworks/base/tools/localize/ |
H A D | XLIFFFile.cpp | 481 struct timezone tz;
|
Completed in 137 milliseconds