Home
last modified time | relevance | path

Searched refs:date (Results 1 – 25 of 219) sorted by relevance

123456789

/frameworks/base/core/java/android/security/keymaster/
DKeymasterDateArgument.java26 public final Date date; field in KeymasterDateArgument
28 public KeymasterDateArgument(int tag, Date date) { in KeymasterDateArgument() argument
36 this.date = date; in KeymasterDateArgument()
41 date = new Date(in.readLong()); in KeymasterDateArgument()
46 out.writeLong(date.getTime()); in writeValue()
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DRecurrenceProcessorTest.java40 for (long date : dates) { in getFormattedDates()
41 time.set(date); in getFormattedDates()
2480 for (long date : dates) { in performanceTextExpand()
2482 if (date == -1) { in performanceTextExpand()
2501 Time date = new Time(tz); in performanceTestNormalize() local
2502 date.parse("20090404T100000"); in performanceTestNormalize()
2507 date.month += 1; in performanceTestNormalize()
2508 date.monthDay += 100; in performanceTestNormalize()
2509 date.normalize(true); in performanceTestNormalize()
2510 date.month -= 1; in performanceTestNormalize()
[all …]
/frameworks/base/include/androidfw/
DZipUtils.h68 const uint32_t date = when >> 16; in zipTimeToTimespec() local
69 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980 in zipTimeToTimespec()
70 timespec->tm_mon = (date >> 5) & 0x0F; in zipTimeToTimespec()
71 timespec->tm_mday = date & 0x1F; in zipTimeToTimespec()
/frameworks/base/core/java/android/widget/
DCalendarView.java512 public void setDate(long date) { in setDate() argument
513 mDelegate.setDate(date); in setDate()
530 public void setDate(long date, boolean animate, boolean center) { in setDate() argument
531 mDelegate.setDate(date, animate, center); in setDate()
598 void setDate(long date); in setDate() argument
599 void setDate(long date, boolean animate, boolean center); in setDate() argument
749 public static boolean parseDate(String date, Calendar outDate) { in parseDate() argument
750 if (date == null || date.isEmpty()) { in parseDate()
755 final Date parsedDate = DATE_FORMATTER.parse(date); in parseDate()
759 Log.w(LOG_TAG, "Date: " + date + " not in format: " + DATE_FORMAT); in parseDate()
DCalendarViewMaterialDelegate.java94 public void setDate(long date) { in setDate() argument
95 mDayPickerView.setDate(date, true); in setDate()
99 public void setDate(long date, boolean animate, boolean center) { in setDate() argument
100 mDayPickerView.setDate(date, animate); in setDate()
DCalendarViewLegacyDelegate.java501 Calendar date = mAdapter.mSelectedDate; in setMinDate() local
502 if (date.before(mMinDate)) { in setMinDate()
507 if (date.before(mMinDate)) { in setMinDate()
514 goTo(date, false, true, false); in setMinDate()
532 Calendar date = mAdapter.mSelectedDate; in setMaxDate() local
533 if (date.after(mMaxDate)) { in setMaxDate()
540 goTo(date, false, true, false); in setMaxDate()
581 public void setDate(long date) { in setDate() argument
582 setDate(date, false, false); in setDate()
586 public void setDate(long date, boolean animate, boolean center) { in setDate() argument
[all …]
/frameworks/opt/telephony/src/java/android/provider/
DTelephony.java340 Long date, boolean read, boolean deliveryReport) { in addMessageToUri() argument
342 resolver, uri, address, body, subject, date, read, deliveryReport, -1L); in addMessageToUri()
362 Long date, boolean read, boolean deliveryReport) { in addMessageToUri() argument
364 date, read, deliveryReport, -1L); in addMessageToUri()
384 Long date, boolean read, boolean deliveryReport, long threadId) { in addMessageToUri() argument
387 date, read, deliveryReport, threadId); in addMessageToUri()
408 Long date, boolean read, boolean deliveryReport, long threadId) { in addMessageToUri() argument
414 if (date != null) { in addMessageToUri()
415 values.put(DATE, date); in addMessageToUri()
523 String address, String body, String subject, Long date, in addMessage() argument
[all …]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceProcessor.java1138 static void unsafeNormalize(Time date) { in unsafeNormalize() argument
1139 int second = date.second; in unsafeNormalize()
1140 int minute = date.minute; in unsafeNormalize()
1141 int hour = date.hour; in unsafeNormalize()
1142 int monthDay = date.monthDay; in unsafeNormalize()
1143 int month = date.month; in unsafeNormalize()
1144 int year = date.year; in unsafeNormalize()
1205 date.second = second; in unsafeNormalize()
1206 date.minute = minute; in unsafeNormalize()
1207 date.hour = hour; in unsafeNormalize()
[all …]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DDatePickerController.java17 package com.android.datetimepicker.date;
19 import com.android.datetimepicker.date.DatePickerDialog.OnDateChangedListener;
20 import com.android.datetimepicker.date.MonthAdapter.CalendarDay;
DMonthAdapter.java17 package com.android.datetimepicker.date;
27 import com.android.datetimepicker.date.MonthView.OnDayClickListener;
75 public void set(CalendarDay date) { in set() argument
76 year = date.year; in set()
77 month = date.month; in set()
78 day = date.day; in set()
DDayPickerView.java17 package com.android.datetimepicker.date;
35 import com.android.datetimepicker.date.DatePickerDialog.OnDateChangedListener;
36 import com.android.datetimepicker.date.MonthAdapter.CalendarDay;
271 protected void setMonthDisplayed(CalendarDay date) { in setMonthDisplayed() argument
272 mCurrentMonthDisplayed = date.month; in setMonthDisplayed()
DSimpleMonthAdapter.java17 package com.android.datetimepicker.date;
DSimpleDayPickerView.java17 package com.android.datetimepicker.date;
/frameworks/base/core/java/com/android/internal/http/
DHttpDateTime.java88 int date = 1; in parse() local
95 date = getDate(rfcMatcher.group(1)); in parse()
103 date = getDate(ansicMatcher.group(2)); in parse()
115 date = 1; in parse()
119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date, in parse()
/frameworks/ex/common/java/com/android/common/
DLegacyHttpDateTime.java88 int date = 1; in parse() local
95 date = getDate(rfcMatcher.group(1)); in parse()
103 date = getDate(ansicMatcher.group(2)); in parse()
115 date = 1; in parse()
119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date, in parse()
/frameworks/base/docs/html/guide/topics/ui/controls/
Dpickers.jd17 <li><a href="#DatePickerFragment">Extending DialogFragment for a date picker</a></li>
18 <li><a href="#ShowingTheDatePicker">Showing the date picker</a></li>
35 <p>Android provides controls for the user to pick a time or pick a date as ready-to-use dialogs.
36 Each picker provides controls for selecting each part of the time (hour, minute, AM/PM) or date
37 (month, day, year). Using these pickers helps ensure that your users can pick a time or date that
42 <p>We recommend that you use {@link android.support.v4.app.DialogFragment} to host each time or date
54 picker and date picker using the <a href="{@docRoot}tools/support-library/index.html">support
178 <h3 id="DatePickerFragment">Extending DialogFragment for a date picker</h3>
188 sets the date.</li>
199 // Use the current date as the default date in the picker
[all …]
/frameworks/base/keystore/java/android/security/keystore/
DKeyGenParameterSpec.java647 public Builder setCertificateNotBefore(@NonNull Date date) { in setCertificateNotBefore() argument
648 if (date == null) { in setCertificateNotBefore()
651 mCertificateNotBefore = Utils.cloneIfNotNull(date); in setCertificateNotBefore()
662 public Builder setCertificateNotAfter(@NonNull Date date) { in setCertificateNotAfter() argument
663 if (date == null) { in setCertificateNotAfter()
666 mCertificateNotAfter = Utils.cloneIfNotNull(date); in setCertificateNotAfter()
DDelegatingX509Certificate.java73 public void checkValidity(Date date) throws CertificateExpiredException, in checkValidity() argument
75 mDelegate.checkValidity(date); in checkValidity()
/frameworks/native/cmds/dumpstate/
Ddumpstate.c270 char network[PROPERTY_VALUE_MAX], date[80]; in dumpstate() local
279 strftime(date, sizeof(date), "%Y-%m-%d %H:%M:%S", localtime(&now)); in dumpstate()
282 printf("== dumpstate: %s\n", date); in dumpstate()
716 char date[80]; in main() local
718 strftime(date, sizeof(date), "-%Y-%m-%d-%H-%M-%S", localtime(&now)); in main()
719 strlcat(path, date, sizeof(path)); in main()
/frameworks/base/core/java/android/net/http/
DSslCertificate.java318 private static String formatDate(Date date) { in formatDate() argument
319 if (date == null) { in formatDate()
322 return new SimpleDateFormat(ISO_8601_DATE_FORMAT).format(date); in formatDate()
328 private static Date cloneDate(Date date) { in cloneDate() argument
329 if (date == null) { in cloneDate()
332 return (Date) date.clone(); in cloneDate()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DObjectViewer.java142 Date date = new Date(info.getDateCreated() * 1000); in onResume() local
143 view.setText(date.toString()); in onResume()
145 date = new Date(info.getDateModified() * 1000); in onResume()
146 view.setText(date.toString()); in onResume()
/frameworks/base/docs/html/training/articles/
Dsecurity-gms-provider.jd63 class. You can verify that the security provider is up-to-date (and update it,
75 updated (or is already up-to-date), the method returns normally.</li>
76 <li>If the device's Google Play services library is out of date, the method
98 devices). If the security provider is already up-to-date, the method takes a
145 knows the security provider is up-to-date. If the method throws an exception,
157 // overhead is negligible if the security provider is up-to-date.
165 // Indicates that Google Play services is out of date, disabled, etc.
177 // to install an up-to-date Provider.
184 // If this is reached, you know that the provider was already up-to-date,
203 or failure notifications. If the security provider is up-to-date or is
[all …]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
DObexTime.java78 public ObexTime(Date date) { in ObexTime() argument
79 mDate = date; in ObexTime()
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/
DObexTime.java78 public ObexTime(Date date) { in ObexTime() argument
79 mDate = date; in ObexTime()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp390 char date[20]; in getObjectPropertyValue() local
391 formatDateTime(longValue, date, sizeof(date)); in getObjectPropertyValue()
392 packet.putString(date); in getObjectPropertyValue()
397 char date[20]; in getObjectPropertyValue() local
398 snprintf(date, sizeof(date), "%04" PRId64 "0101T000000", longValue); in getObjectPropertyValue()
399 packet.putString(date); in getObjectPropertyValue()
1169 char date[20]; in android_mtp_MtpPropertyGroup_format_date_time() local
1170 formatDateTime(seconds, date, sizeof(date)); in android_mtp_MtpPropertyGroup_format_date_time()
1171 return env->NewStringUTF(date); in android_mtp_MtpPropertyGroup_format_date_time()

123456789