Home
last modified time | relevance | path

Searched refs:hour (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/java/android/webkit/
DHttpDateTime.java72 this.hour = h; in TimeOfDay()
77 int hour; field in HttpDateTime.TimeOfDay
116 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date, in parse()
206 int hour = timeString.charAt(i++) - '0'; in getTime() local
208 hour = hour * 10 + (timeString.charAt(i++) - '0'); in getTime()
220 return new TimeOfDay(hour, minute, second); in getTime()
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/
DTimeTest.java190 || local.monthDay != test.day2 || local.hour != test.hour2 in testNormalize1()
195 local.year, local.month, local.monthDay, local.hour, local.minute); in testNormalize1()
208 || local.monthDay != test.day2 || local.hour != test.hour2 in testNormalize1()
213 local.year, local.month, local.monthDay, local.hour, local.minute); in testNormalize1()
231 || local.monthDay != test.day2 || local.hour != test.hour2 in testNormalize1()
237 local.year, local.month, local.monthDay, local.hour, local.minute, in testNormalize1()
253 || local.monthDay != test.day2 || local.hour != test.hour2 in testNormalize1()
259 local.year, local.month, local.monthDay, local.hour, local.minute, in testNormalize1()
464 for (int hour = 0; hour < 24; hour++) { in disableTestGetJulianDay()
466 time.set(0, minute, hour, monthDay, 0, 2008); in disableTestGetJulianDay()
[all …]
DCdmaSmsTest.java290 assertEquals(bearerData.msgCenterTimeStamp.hour, 11); in testMonolithicOne()
298 assertEquals(bearerData.deferredDeliveryTimeAbsolute.hour, 0); in testMonolithicOne()
337 assertEquals(bearerData.msgCenterTimeStamp.hour, 11); in testMonolithicTwo()
345 assertEquals(bearerData.deferredDeliveryTimeAbsolute.hour, 0); in testMonolithicTwo()
/frameworks/base/core/java/android/app/
DTimePickerDialog.java136 private void updateTitle(int hour, int minute) { in updateTitle() argument
137 mCalendar.set(Calendar.HOUR_OF_DAY, hour); in updateTitle()
154 int hour = savedInstanceState.getInt(HOUR); in onRestoreInstanceState() local
156 mTimePicker.setCurrentHour(hour); in onRestoreInstanceState()
160 updateTitle(hour, minute); in onRestoreInstanceState()
/frameworks/base/media/libdrm/mobile1/include/parser/
Dparser_rel.h43 #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/
Dparser_rel.c52 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/
DTime.java63 public int hour; field in Time
267 this.hour = 0; in clear()
555 this.hour = that.hour; in set()
569 public void set(int second, int minute, int hour, int monthDay, int month, int year) { in set() argument
573 this.hour = hour; in set()
596 this.hour = 0; in set()
767 hour = 0; in setJulianDay()
DDateUtils.java1269 && (endDate.hour | endDate.minute | endDate.second) == 0 in formatDateRange()
1357 if (endDate.hour == 12 && endOnTheHour && !noNoon) { in formatDateRange()
1363 } else if (endDate.hour == 0 && endOnTheHour && !noMidnight) { in formatDateRange()
1372 if (startDate.hour == 12 && startOnTheHour && !noNoon) { in formatDateRange()
/frameworks/base/core/jni/
DTimeUtils.h69 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()
Dandroid_text_format_Time.cpp522 int hour = n; in android_text_format_Time_parse3339() local
577 hour += n; in android_text_format_Time_parse3339()
590 env->SetIntField(This, g_hourField, hour); in android_text_format_Time_parse3339()
/frameworks/base/media/libdrm/mobile1/include/objmng/
Ddrm_inner.h26 #define INT_2_YMD_HMS(year, mon, day, date, hour, min, sec, time) do{\ argument
30 hour = time / 10000;\
Ddrm_time.h48 uint16_t hour; member
/frameworks/base/media/libdrm/mobile1/src/jni/
Ddrm1_jni.c315 uint32_t hour, uint32_t minute, uint32_t second) in mkgmtime() argument
326 && hour < 24 && minute < 60 in mkgmtime()
337 SECONDS_PER_HOUR * hour + SECONDS_PER_MINUTE * minute + second)); in mkgmtime()
355 int32_t year, month, day, hour, minute, second; in computeTime() local
360 hour = time / 10000; in computeTime()
370 if (hour < 0) hour = 0; in computeTime()
371 if (hour > 23) hour = 23; in computeTime()
377 return mkgmtime(year, month, day, hour, minute, second) * 1000; in computeTime()
398 int32_t year, month, day, hour, minute, second; in computeInterval() local
404 hour = time / 10000; in computeInterval()
[all …]
/frameworks/base/core/java/android/widget/
DTimePicker.java108 mHourPicker = (NumberPicker) findViewById(R.id.hour); in TimePicker()
205 private SavedState(Parcelable superState, int hour, int minute) { in SavedState() argument
207 mHour = hour; in SavedState()
DAnalogClock.java224 int hour = mCalendar.hour; in onTimeChanged() local
229 mHour = hour + mMinutes / 60.0f; in onTimeChanged()
/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_time.c49 time_ptr->hour = tm_t->tm_hour; in DRM_time_getSysTime()
Ddrm_api.c348 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/guide/tutorials/views/
Dhello-timepicker.jd7 user to select the time by hour, minute and AM or PM.</p>
82 instance of {@link java.util.Calendar} and get the current hour and minute. Finally, we call
115 on the hour and minute. (We'll create this method in the last step.)</p>
142 <p>This method returns the appropriate String representation of the hour or minute.
/frameworks/base/location/java/com/android/internal/location/
DNmeaParser.java81 int hour, minute; in updateTime() local
84 hour = Integer.parseInt(time.substring(0, 2)); in updateTime()
95 c.set(mYear, mMonth, mDay, hour, minute, isecond); in updateTime()
/frameworks/base/media/libdrm/mobile2/src/rights/
DRo.cpp468 int date, hour, min, sec; in convertISO8601PeriodToLong() local
469 sscanf(ts, "P%dDT%dH%dM%dS", &date, &hour, &min, &sec); in convertISO8601PeriodToLong()
470 LOGI("%d %d %d %d", date, hour, min, sec); in convertISO8601PeriodToLong()
471 return (date*24*60*60 + hour*60*60 + min*60 + sec); in convertISO8601PeriodToLong()
/frameworks/base/awt/javax/imageio/metadata/
DIIOStandardMetadataFormatResources.properties100 ImageCreationTime/hour=The hour from 0 to 23
107 ImageModificationTime/hour=The hour from 0 to 23
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java562 int hour = IccUtils.gsmBcdByteToInt(pdu[cur++]); in getSCTimestampMillis() local
584 time.hour = hour; in getSCTimestampMillis()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java249 int hour = IccUtils.cdmaBcdByteToInt(data[3]); in fromByteArray() local
250 if (hour < 0 || hour > 23) return null; in fromByteArray()
251 ts.hour = hour; in fromByteArray()
268 builder.append(", hour=" + hour); in toString()
/frameworks/base/core/java/android/pim/
DRecurrenceSet.java278 dtstartTime.hour = 0; in populateComponent()
336 dtstartTime.hour = 0; in populateComponent()
/frameworks/base/docs/html/guide/topics/appwidgets/
Dindex.jd157 and we suggest updating as infrequently as possible&mdash;perhaps no more than once an hour to
163 to perform the update. If you don't update more than once per hour, this probably won't
323 of the App Widget is added one hour after the first one, then they will both be updated
325 (they'll both be updated every two hours, not every hour).</p>

12