/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | TimeTest.java | 191 || local.monthDay != test.day2 || local.hour != test.hour2 in testNormalize1() 196 local.year, local.month, local.monthDay, local.hour, local.minute); in testNormalize1() 209 || local.monthDay != test.day2 || local.hour != test.hour2 in testNormalize1() 214 local.year, local.month, local.monthDay, local.hour, local.minute); in testNormalize1() 232 || local.monthDay != test.day2 || local.hour != test.hour2 in testNormalize1() 238 local.year, local.month, local.monthDay, local.hour, local.minute, in testNormalize1() 254 || local.monthDay != test.day2 || local.hour != test.hour2 in testNormalize1() 260 local.year, local.month, local.monthDay, local.hour, local.minute, in testNormalize1() 368 t.hour != 9 || t.minute != 50 || t.second != 50 || in testParse33390() 375 t.hour != 9 || t.minute != 50 || t.second != 50 || in testParse33390() [all …]
|
/frameworks/base/core/java/com/android/internal/http/ |
D | HttpDateTime.java | 75 this.hour = h; in TimeOfDay() 80 int hour; field in HttpDateTime.TimeOfDay 119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date, in parse() 209 int hour = timeString.charAt(i++) - '0'; in getTime() local 211 hour = hour * 10 + (timeString.charAt(i++) - '0'); in getTime() 223 return new TimeOfDay(hour, minute, second); in getTime()
|
/frameworks/av/media/mtp/ |
D | MtpUtils.cpp | 37 int year, month, day, hour, minute, second; in parseDateTime() local 41 &year, &month, &day, &hour, &minute, &second) != 6) in parseDateTime() 56 tm.tm_hour = hour; in parseDateTime()
|
/frameworks/opt/calendar/src/com/android/calendarcommon/ |
D | RecurrenceProcessor.java | 258 iterator.hour, in filter() 880 int iteratorHour = iterator.hour; in expand() 954 int hour = usebyhour in expand() local 957 … if (SPEW) Log.i(TAG, " hour=" + hour + " usebyhour=" + usebyhour); in expand() 978 … generated.set(second, minute, hour, day, month, iteratorYear); in expand() 1079 iterator.hour += value; in expand() 1139 int hour = date.hour; in unsafeNormalize() local 1149 hour += addHours; in unsafeNormalize() 1150 int addDays = ((hour < 0) ? (hour - 23) : hour) / 24; in unsafeNormalize() 1151 hour -= addDays * 24; in unsafeNormalize() [all …]
|
D | RecurrenceSet.java | 296 dtstartTime.hour = 0; in populateComponent() 355 dtstartTime.hour = 0; in populateComponent()
|
/frameworks/base/media/libdrm/mobile1/include/parser/ |
D | parser_rel.h | 43 #define YMD_HMS_2_INT(year, mon, day, date, hour, min, sec, time) do{\ argument 45 time = hour * 10000 + min * 100 + sec;\ 103 int32_t drm_checkDate(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t …
|
/frameworks/base/media/libdrm/mobile1/src/parser/ |
D | parser_rel.c | 52 int32_t hour, int32_t min, int32_t sec) in drm_checkDate() argument 56 hour >= 0 && hour <= 23 && in drm_checkDate() 66 int32_t year, mon, day, hour, min, sec; in drm_getStartEndTime() local 111 hour = atoi((char *)pHead); in drm_getStartEndTime() 128 if (0 != drm_checkDate(year, mon, day, hour, min, sec)) in drm_getStartEndTime() 131 YMD_HMS_2_INT(year, mon, day, dateTime->date, hour, min, sec, in drm_getStartEndTime() 238 int32_t year, mon, day, hour, min, sec; in drm_getRightValue() local 380 hour = atoi((char *)pHead); in drm_getRightValue() 405 if (year < 0 || mon < 0 || day < 0 || hour < 0 in drm_getRightValue() 408 YMD_HMS_2_INT(year, mon, day, pConstraint->Interval.date, hour, in drm_getRightValue()
|
/frameworks/base/core/java/android/text/format/ |
D | Time.java | 69 public int hour; field in Time 273 this.hour = 0; in clear() 583 this.hour = that.hour; in set() 597 public void set(int second, int minute, int hour, int monthDay, int month, int year) { in set() argument 601 this.hour = hour; in set() 624 this.hour = 0; in set() 795 hour = 0; in setJulianDay()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsCbEtwsInfo.java | 139 int hour = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[3]); in getPrimaryNotificationTimestamp() local 161 time.hour = hour; in getPrimaryNotificationTimestamp()
|
/frameworks/base/core/java/android/net/ |
D | NetworkPolicyManager.java | 165 cycle.hour = cycle.minute = cycle.second = 0; in computeLastCycleBoundary() 172 lastMonth.hour = lastMonth.minute = lastMonth.second = 0; in computeLastCycleBoundary() 195 cycle.hour = cycle.minute = cycle.second = 0; in computeNextCycleBoundary() 202 nextMonth.hour = nextMonth.minute = nextMonth.second = 0; in computeNextCycleBoundary()
|
/frameworks/base/media/libdrm/mobile1/src/jni/ |
D | drm1_jni.c | 316 uint32_t hour, uint32_t minute, uint32_t second) in mkgmtime() argument 327 && hour < 24 && minute < 60 in mkgmtime() 338 SECONDS_PER_HOUR * hour + SECONDS_PER_MINUTE * minute + second)); in mkgmtime() 356 int32_t year, month, day, hour, minute, second; in computeTime() local 361 hour = time / 10000; in computeTime() 371 if (hour < 0) hour = 0; in computeTime() 372 if (hour > 23) hour = 23; in computeTime() 378 return mkgmtime(year, month, day, hour, minute, second) * 1000; in computeTime() 399 int32_t year, month, day, hour, minute, second; in computeInterval() local 405 hour = time / 10000; in computeInterval() [all …]
|
/frameworks/base/core/jni/ |
D | TimeUtils.h | 69 inline void set(int sec, int min, int hour, int mday, int mon, int year, in set() argument 74 this->t.tm_hour = hour; in set()
|
D | android_text_format_Time.cpp | 528 int hour = n; in android_text_format_Time_parse3339() local 599 hour += n; in android_text_format_Time_parse3339() 612 env->SetIntField(This, g_hourField, hour); in android_text_format_Time_parse3339()
|
/frameworks/base/core/java/android/widget/ |
D | DateTimeView.java | 99 mTime = new Date(t.year-1900, t.month, t.monthDay, t.hour, t.minute, 0); in setTime() 117 t.hour -= 12; in update() 119 t.hour += 12; in update() 121 t.hour = 0; in update()
|
D | AnalogClock.java | 225 int hour = mCalendar.hour; in onTimeChanged() local 230 mHour = hour + mMinutes / 60.0f; in onTimeChanged()
|
D | TimePicker.java | 147 mHourSpinner = (NumberPicker) findViewById(R.id.hour); in TimePicker() 313 private SavedState(Parcelable superState, int hour, int minute) { in SavedState() argument 315 mHour = hour; in SavedState()
|
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
D | drm_inner.h | 26 #define INT_2_YMD_HMS(year, mon, day, date, hour, min, sec, time) do{\ argument 30 hour = time / 10000;\
|
D | drm_time.h | 48 uint16_t hour; member
|
/frameworks/base/core/java/android/app/ |
D | TimePickerDialog.java | 153 int hour = savedInstanceState.getInt(HOUR); in onRestoreInstanceState() local 156 mTimePicker.setCurrentHour(hour); in onRestoreInstanceState()
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
D | drm_time.c | 49 time_ptr->hour = tm_t->tm_hour; in DRM_time_getSysTime()
|
D | drm_api.c | 348 curDateTime.hour, curDateTime.min, curDateTime.sec)) in drm_startConsumeRights() 352 CurrentTime.date, curDateTime.hour, curDateTime.min, in drm_startConsumeRights() 390 int32_t year, mon, day, hour, min, sec, date, time; in drm_startConsumeRights() local 403 INT_2_YMD_HMS(year, mon, day, date, hour, min, sec, time); in drm_startConsumeRights() 410 hour += min / 60; in drm_startConsumeRights() 413 if (hour > 23) { in drm_startConsumeRights() 414 day += hour / 24; in drm_startConsumeRights() 415 hour %= 24; in drm_startConsumeRights() 433 YMD_HMS_2_INT(year, mon, day, XXConstraint->EndTime.date, hour, in drm_startConsumeRights() 462 curDateTime.hour, curDateTime.min, curDateTime.sec)) in drm_startCheckRights() [all …]
|
/frameworks/base/docs/html/design/building-blocks/ |
D | pickers.jd | 27 entering the parts of the date (month, day, year) or time (hour, minute, AM/PM). Using these in your
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | SmsMessage.java | 577 int hour = IccUtils.gsmBcdByteToInt(pdu[cur++]); in getSCTimestampMillis() local 599 time.hour = hour; in getSCTimestampMillis()
|
/frameworks/base/docs/html/guide/topics/ui/controls/ |
D | pickers.jd | 37 Each picker provides controls for selecting each part of the time (hour, minute, AM/PM) or date 97 int hour = c.get(Calendar.HOUR_OF_DAY); 101 return new TimePickerDialog(getActivity(), this, hour, minute,
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
D | BearerData.java | 251 int hour = IccUtils.cdmaBcdByteToInt(data[3]); in fromByteArray() local 252 if (hour < 0 || hour > 23) return null; in fromByteArray() 253 ts.hour = hour; in fromByteArray() 270 builder.append(", hour=" + hour); in toString()
|