Searched refs:date (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/compile/libbcc/runtime/make/
H A Dconfig.mk16 DATE := date
H A Doptions.mk3 # This list of such variables should be kept up to date with AvailableOptions in
/frameworks/base/media/libdrm/mobile1/include/objmng/
H A Ddrm_inner.h26 #define INT_2_YMD_HMS(year, mon, day, date, hour, min, sec, time) do{\
27 year = date / 10000;\
28 mon = date % 10000 / 100;\
29 day = date %100;\
/frameworks/base/core/tests/coretests/src/android/webkit/
H A DWebkitTest.java39 Date date = new Date();
52 date.setTime(time);
53 c.setTime(date);
/frameworks/base/media/libdrm/mobile1/include/parser/
H A Dparser_rel.h43 #define YMD_HMS_2_INT(year, mon, day, date, hour, min, sec, time) do{\
44 date = year * 10000 + mon * 100 + day;\
54 int32_t date; /**< year * 10000 + mon *100 + day */ member in struct:_T_DRM_DATETIME
92 * Check whether the date and time is valid.
93 * \param year year of the date
94 * \param month month of the date
95 * \param day day of the date
/frameworks/native/include/utils/
H A DZipFileRO.h181 const long date = when >> 16; local
182 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980
183 timespec->tm_mon = (date >> 5) & 0x0F;
184 timespec->tm_mday = date & 0x1F;
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DRecurrenceProcessorTest.java40 for (long date : dates) {
41 time.set(date);
167 throw new RuntimeException("expected last occurrence date does not match."
578 // BUG 1658567: UNTIL=date
2480 for (long date : dates) {
2481 // Use the date so that this loop is not optimized away.
2482 if (date == -1) {
2483 Log.e(TAG, "unexpected date");
2501 Time date = new Time(tz);
2502 date
[all...]
H A DRRuleTest.java48 for (long date : dates) {
49 time.set(date);
62 // Use this date as end of recurrence unlessotherwise specified.
81 * so this is faked by expanding until the endAt date, and then taking limit results.
83 * @param advanceTo The starting date for expansion. dtstartStr is used if null is passed in.
84 * @param endAt The ending date. DEFAULT_END is used if null is passed in.
125 boolean truncate = dtstartStr.length() <= 8; // Just date, not date-time
248 // if UNTIL date does not match start date, the
[all...]
/frameworks/base/core/java/com/android/internal/http/
H A DHttpDateTime.java26 * Helper for parsing an HTTP date.
31 * Regular expression for parsing HTTP-date.
66 * The compiled version of the HTTP-date regular expressions.
88 int date = 1;
95 date = getDate(rfcMatcher.group(1));
103 date = getDate(ansicMatcher.group(2));
115 date = 1;
119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date,
/frameworks/base/core/java/android/widget/
H A DCalendarView.java58 * of dates supported by this calendar is configurable. A user can select a date
59 * by taping on it and can scroll and fling the calendar to a desired date.
130 * The default minimal date.
135 * The default maximal date.
293 * The start date of the range supported by this picker.
298 * The end date of the range supported by this picker.
313 * The callback used to indicate the user changes the date.
357 throw new IllegalArgumentException("Max date cannot be before min date.");
407 // go to today or whichever is close to today min or max date
913 setDate(long date) argument
931 setDate(long date, boolean animate, boolean center) argument
1101 goTo(Calendar date, boolean animate, boolean setSelected, boolean forceScroll) argument
1159 parseDate(String date, Calendar outDate) argument
1268 getWeeksSinceMinDate(Calendar date) argument
[all...]
H A DDatePicker.java49 * This class is a widget for selecting a date. The date can be selected by a
53 * displayed. Also the minimal and maximal date from which dates to be selected
124 * The callback used to indicate the user changes\d the date.
129 * Called upon a date change.
200 // now set the date to the adjusted one
252 // set the min date giving priority of the minDate over startYear
263 // set the max date giving priority of the maxDate over endYear
274 // initialize to current date
279 // re-order the number spinners to match the current date forma
595 parseDate(String date, Calendar outDate) argument
[all...]
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.c51 char network[PROPERTY_VALUE_MAX], date[80]; local
60 strftime(date, sizeof(date), "%Y-%m-%d %H:%M:%S", localtime(&now));
63 printf("== dumpstate: %s\n", date);
300 " -d: append date to filename (requires -o)\n"
422 char date[80]; local
424 strftime(date, sizeof(date), "-%Y-%m-%d-%H-%M-%S", localtime(&now));
425 strlcat(path, date, sizeof(path));
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DRecurrenceProcessor.java111 // last "until" date or "rdate".
621 * value. Returns an array of longs where each element is a date in UTC
632 * @return an array of dates, each date is in UTC milliseconds
645 // do so) because the "until" date string is specified in UTC and that
714 * strings containing the start date/times of the occurrences; the output
721 * @param dtstart the dtstart date as defined in RFC2445. This
724 * @param rangeStartDateValue the first date-time you care about, inclusive
725 * @param rangeEndDateValue the last date-time you care about, not inclusive (so
836 // Ensure that the "until" date string is specified in UTC.
838 // 15 is length of date
1136 unsafeNormalize(Time date) argument
1306 setTimeFromLongValue(Time date, long val) argument
[all...]
/frameworks/opt/telephony/src/java/android/provider/
H A DTelephony.java92 * The date the message was received
95 public static final String DATE = "date";
98 * The date the message was sent
204 public static final String DEFAULT_SORT_ORDER = "date DESC";
214 * @param date the timestamp for the message
221 Long date, boolean read, boolean deliveryReport) {
223 date, read, deliveryReport, -1L);
234 * @param date the timestamp for the message
242 Long date, boolean read, boolean deliveryReport, long threadId) {
246 if (date !
219 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
240 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
344 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
377 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument
409 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument
458 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument
[all...]
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_api.c228 pRights->DisplayConstraint.StartTime.date;
232 pRights->DisplayConstraint.EndTime.date;
236 pRights->DisplayConstraint.Interval.date;
244 pRights->PlayConstraint.StartTime.date;
248 pRights->PlayConstraint.EndTime.date;
252 pRights->PlayConstraint.Interval.date;
261 pRights->ExecuteConstraint.StartTime.date;
265 pRights->ExecuteConstraint.EndTime.date;
269 pRights->ExecuteConstraint.Interval.date;
278 pRights->PrintConstraint.StartTime.date;
390 int32_t year, mon, day, hour, min, sec, date, time; local
[all...]
/frameworks/base/core/java/android/net/http/
H A DSslCertificate.java48 * SimpleDateFormat pattern for an ISO 8601 date
63 * Not-before date from the validity period
68 * Not-after date from the validity period
147 * @param validNotBefore The not-before date from the certificate
149 * @param validNotAfter The not-after date from the certificate
163 * @param validNotBefore The not-before date from the certificate validity period
164 * @param validNotAfter The not-after date from the certificate validity period
197 * @return Not-before date from the certificate validity period or
205 * @return Not-before date from the certificate validity period in
216 * @return Not-after date fro
318 formatDate(Date date) argument
328 cloneDate(Date date) argument
[all...]
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DObjectViewer.java141 Date date = new Date(info.getDateCreated() * 1000);
142 view.setText(date.toString());
144 date = new Date(info.getDateModified() * 1000);
145 view.setText(date.toString());
/frameworks/base/media/java/android/media/
H A DExifInterface.java333 * Returns -1 if the date time information if not available.
352 * Returns -1 if the date time information if not available.
356 String date = mAttributes.get(TAG_GPS_DATESTAMP);
358 if (date == null || time == null) return -1;
360 String dateTimeString = date + ' ' + time;
/frameworks/base/core/java/android/provider/
H A DBrowser.java401 // Select non-bookmark history, ordered by date
493 * @param begin First date to remove. If -1, all dates before end.
495 * @param end Last date to remove. If -1, all dates after begin.
501 String date = BookmarkColumns.DATE;
507 whereClause = date + " < " + Long.toString(end);
509 whereClause = date + " >= " + Long.toString(begin);
511 whereClause = date + " >= " + Long.toString(begin) + " AND " + date
592 * The date the item was last visited, in milliseconds since the epoch.
593 * <p>Type: NUMBER (date i
[all...]
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp379 // special case date properties, which are strings to MTP
382 char date[20]; local
383 formatDateTime(longValue, date, sizeof(date));
384 packet.putString(date);
387 // release date is stored internally as just the year
389 char date[20]; local
390 snprintf(date, sizeof(date), "%04lld0101T000000", longValue);
391 packet.putString(date);
754 char date[20]; local
1093 char date[20]; local
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DDocumentaryFilter.java84 Date date = new Date();
/frameworks/base/media/libdrm/mobile1/src/jni/
H A Ddrm1_jni.c344 * Compute the milliseconds by the specified <code>date</code>
347 * @param date - the specified date,
348 * <code>date = year * 10000 + month * 100 + day</code>
354 static int64_t computeTime(int32_t date, int32_t time) argument
358 year = date / 10000;
359 month = (date / 100) % 100;
360 day = date % 100;
382 * Compute the milliseconds by the specified <code>date</code>
390 * @param date
397 computeInterval(int32_t date, int32_t time) argument
[all...]
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DPduComposer.java388 * Append date value into mMessage.
392 protected void appendDateValue(long date) { argument
397 appendLongInteger(date);
577 long date = mPduHeader.getLongInteger(field);
578 if (-1 == date) {
583 appendDateValue(date);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardStatusView.java85 mDateView = (TextView) findViewById(R.id.date);
145 && textView.getId() != R.id.owner_info) { // currently only required for date view
/frameworks/compile/mclinker/include/mcld/LD/
H A DArchive.h46 char date[12]; ///< File date, decimal seconds since Epoch member in struct:mcld::Archive::MemberHeader

Completed in 8780 milliseconds

12