Home
last modified time | relevance | path

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

1234567891011

/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/tools/preload2/src/com/android/preload/
DDumpData.java43 Date date; field in DumpData
51 public DumpData(String packageName, Map<String, String> dumpData, Date date) { in DumpData() argument
54 this.date = date; in DumpData()
64 return date; in getDate()
DDumpDataIO.java62 DateFormat.getDateTimeInstance().format(d.date) +"\">\n"); in serialize()
108 Date date = DateFormat.getDateTimeInstance().parse(dateString); in startElement() local
109 openData = new DumpData(pkg, new HashMap<String, String>(), date); in startElement()
/frameworks/opt/telephony/src/java/android/provider/
DTelephony.java341 Long date, boolean read, boolean deliveryReport) { in addMessageToUri() argument
343 resolver, uri, address, body, subject, date, read, deliveryReport, -1L); in addMessageToUri()
363 Long date, boolean read, boolean deliveryReport) { in addMessageToUri() argument
365 date, read, deliveryReport, -1L); in addMessageToUri()
385 Long date, boolean read, boolean deliveryReport, long threadId) { in addMessageToUri() argument
388 date, read, deliveryReport, threadId); in addMessageToUri()
409 Long date, boolean read, boolean deliveryReport, long threadId) { in addMessageToUri() argument
415 if (date != null) { in addMessageToUri()
416 values.put(DATE, date); in addMessageToUri()
524 String address, String body, String subject, Long date, in addMessage() argument
[all …]
/frameworks/base/core/java/android/widget/
DCalendarView.java526 public void setDate(long date) { in setDate() argument
527 mDelegate.setDate(date); in setDate()
544 public void setDate(long date, boolean animate, boolean center) { in setDate() argument
545 mDelegate.setDate(date, animate, center); in setDate()
605 void setDate(long date); in setDate() argument
606 void setDate(long date, boolean animate, boolean center); in setDate() argument
756 public static boolean parseDate(String date, Calendar outDate) { in parseDate() argument
757 if (date == null || date.isEmpty()) { in parseDate()
762 final Date parsedDate = DATE_FORMATTER.parse(date); in parseDate()
766 Log.w(LOG_TAG, "Date: " + date + " not in format: " + DATE_FORMAT); in parseDate()
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 …]
DCalendarViewMaterialDelegate.java93 public void setDate(long date) { in setDate() argument
94 mDayPickerView.setDate(date, true); in setDate()
98 public void setDate(long date, boolean animate, boolean center) { in setDate() argument
99 mDayPickerView.setDate(date, animate); in setDate()
/frameworks/base/include/androidfw/
DZipUtils.h71 const uint32_t date = when >> 16; in zipTimeToTimespec() local
74 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980 in zipTimeToTimespec()
75 timespec->tm_mon = ((date >> 5) & 0x0F) - 1; in zipTimeToTimespec()
76 timespec->tm_mday = date & 0x1F; in zipTimeToTimespec()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGuidedDatePickerAction.java67 public B date(long date) { in date() argument
68 mDate = date; in date()
158 public void setDate(long date) { in setDate() argument
159 mDate = date; in setDate()
/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()
/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/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DCalendarViewBindingAdapter.java30 public static void setDate(CalendarView view, long date) { in setDate() argument
31 if (view.getDate() != date) { in setDate()
32 view.setDate(date); in setDate()
/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
174 <h3 id="DatePickerFragment">Extending DialogFragment for a date picker</h3>
184 sets the date.</li>
195 // Use the current date as the default date in the picker
[all …]
/frameworks/base/keystore/java/android/security/keystore/
DKeyGenParameterSpec.java765 public Builder setCertificateNotBefore(@NonNull Date date) { in setCertificateNotBefore() argument
766 if (date == null) { in setCertificateNotBefore()
769 mCertificateNotBefore = Utils.cloneIfNotNull(date); in setCertificateNotBefore()
780 public Builder setCertificateNotAfter(@NonNull Date date) { in setCertificateNotAfter() argument
781 if (date == null) { in setCertificateNotAfter()
784 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/base/core/java/android/net/http/
DSslCertificate.java320 private static String formatDate(Date date) { in formatDate() argument
321 if (date == null) { in formatDate()
324 return new SimpleDateFormat(ISO_8601_DATE_FORMAT).format(date); in formatDate()
330 private static Date cloneDate(Date date) { in cloneDate() argument
331 if (date == null) { in cloneDate()
334 return (Date) date.clone(); in cloneDate()
/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/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/opt/bluetooth/src/android/bluetooth/client/map/utils/
DObexTime.java78 public ObexTime(Date date) { in ObexTime() argument
79 mDate = date; in ObexTime()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/wizard/
DGuidedDatePickerTest.java227 .date(initialDate.getTime()) in testDifferentMonthLengths()
358 .date(currCal.getTimeInMillis()) in testDateRanges()
371 .date(currCal.getTimeInMillis()) in testDateRanges()
391 .date(currCal.getTimeInMillis()) in testDateRanges()
412 .date(currCal.getTimeInMillis()) in testDateRanges()
429 .date(currCal.getTimeInMillis()) in testDateRanges()

1234567891011