Home
last modified time | relevance | path

Searched refs:date (Results 1 – 25 of 222) 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/base/core/java/android/widget/
DCalendarView.java528 public void setDate(long date) { in setDate() argument
529 mDelegate.setDate(date); in setDate()
546 public void setDate(long date, boolean animate, boolean center) { in setDate() argument
547 mDelegate.setDate(date, animate, center); in setDate()
559 public boolean getBoundsForDate(long date, Rect outBounds) { in getBoundsForDate() argument
560 return mDelegate.getBoundsForDate(date, outBounds); in getBoundsForDate()
620 void setDate(long date); in setDate() argument
621 void setDate(long date, boolean animate, boolean center); in setDate() argument
624 boolean getBoundsForDate(long date, Rect outBounds); in getBoundsForDate() argument
773 public static boolean parseDate(String date, Calendar outDate) { in parseDate() argument
[all …]
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()
114 public boolean getBoundsForDate(long date, Rect outBounds) { in getBoundsForDate() argument
115 boolean result = mDayPickerView.getBoundsForDate(date, outBounds); in getBoundsForDate()
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/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/base/libs/androidfw/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.java66 public B date(long date) { in date() argument
67 mDate = date; in date()
157 public void setDate(long date) { in setDate() argument
158 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()
DSimpleMonthAdapter.java17 package com.android.datetimepicker.date;
/frameworks/base/telephony/java/android/telephony/
DTelephony.java344 Long date, boolean read, boolean deliveryReport) { in addMessageToUri() argument
346 resolver, uri, address, body, subject, date, read, deliveryReport, -1L); in addMessageToUri()
366 Long date, boolean read, boolean deliveryReport) { in addMessageToUri() argument
368 date, read, deliveryReport, -1L); in addMessageToUri()
388 Long date, boolean read, boolean deliveryReport, long threadId) { in addMessageToUri() argument
391 date, read, deliveryReport, threadId); in addMessageToUri()
412 Long date, boolean read, boolean deliveryReport, long threadId) { in addMessageToUri() argument
418 if (date != null) { in addMessageToUri()
419 values.put(DATE, date); in addMessageToUri()
527 String address, String body, String subject, Long date, in addMessage() argument
[all …]
/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/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/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/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()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DREADME.txt3 commit date: 2013-12-18 to 2014-01-07
9 commit date: 2013-12-19
15 commit date: 2013-12-11
20 commit date: 2008-10-21
/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/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DTwoWayBindingAdapterTest.java146 assertTrue(mBindingObject.date.get() != 0); in testCalendarViewDate()
147 assertDatesMatch(mBindingObject.date.get(), mBinder.calendarView.getDate()); in testCalendarViewDate()
150 final long[] date = new long[2]; in testCalendarViewDate() local
160 date[0] = mBinder.calendarView.getDate(); in testCalendarViewDate()
161 if (date[1] == 0) { in testCalendarViewDate()
162 date[1] = date[0]; in testCalendarViewDate()
166 } while (date[0] == date[1] && SystemClock.uptimeMillis() < timeout); in testCalendarViewDate()
169 while (mBindingObject.date.get() == 0 && SystemClock.uptimeMillis() < timeout) { in testCalendarViewDate()
173 assertDatesMatch(date[0], mBindingObject.date.get()); in testCalendarViewDate()
/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/support/v17/leanback/tests/java/android/support/v17/leanback/app/wizard/
DGuidedDatePickerTest.java262 .date(initialDate.getTime()) in testJanuaryToFebruaryTransitionForLeapYear()
308 .date(initialDate.getTime()) in testFebruaryToMarchTransitionForLeapYear()
354 .date(initialDate.getTime()) in testJanuaryToFebruaryTransitionForNonLeapYear()
400 .date(initialDate.getTime()) in testFebruaryToMarchTransitionForNonLeapYear()
446 .date(initialDate.getTime()) in testDecemberToNovemberTransition()
492 .date(initialDate.getTime()) in testNovemberToOctoberTransition()
538 .date(initialDate.getTime()) in testLeapToNonLeapYearTransition()
584 .date(initialDate.getTime()) in testNonLeapToLeapYearTransition()
778 .date(currCal.getTimeInMillis()) in setupDateActionsForMinAndMaxRangeTests()
791 .date(currCal.getTimeInMillis()) in setupDateActionsForMinAndMaxRangeTests()
[all …]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
DObexTime.java78 public ObexTime(Date date) { in ObexTime() argument
79 mDate = date; in ObexTime()

123456789