/frameworks/base/core/java/android/security/keymaster/ |
D | KeymasterDateArgument.java | 28 public final Date date; field in KeymasterDateArgument 30 public KeymasterDateArgument(int tag, Date date) { in KeymasterDateArgument() argument 38 this.date = date; in KeymasterDateArgument() 44 date = new Date(in.readLong()); in KeymasterDateArgument() 49 out.writeLong(date.getTime()); in writeValue()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | CallLogQueryHelper.java | 81 long date = cursor.getLong(dateIndex); in querySince() local 91 mLastCallTimestamp = Math.max(mLastCallTimestamp, date); in querySince() 92 if (addEvent(phoneNumber, date, durationSeconds, callType)) { in querySince() 104 private boolean addEvent(String phoneNumber, long date, long durationSeconds, int callType) { in addEvent() argument 105 if (!validateEvent(phoneNumber, date, callType)) { in addEvent() 109 Event event = new Event.Builder(date, eventType) in addEvent() 116 private boolean validateEvent(String phoneNumber, long date, int callType) { in validateEvent() argument 118 && date > 0L in validateEvent()
|
D | SmsQueryHelper.java | 84 long date = cursor.getLong(dateIndex); in querySince() local 95 mLastMessageTimestamp = Math.max(mLastMessageTimestamp, date); in querySince() 96 if (address != null && addEvent(address, date, type)) { in querySince() 111 private boolean addEvent(String phoneNumber, long date, int type) { in addEvent() argument 112 if (!validateEvent(phoneNumber, date, type)) { in addEvent() 116 mEventConsumer.accept(phoneNumber, new Event(date, eventType)); in addEvent() 120 private boolean validateEvent(String phoneNumber, long date, int type) { in validateEvent() argument 122 && date > 0L in validateEvent()
|
D | MmsQueryHelper.java | 90 long date = cursor.getLong(dateIndex) * MILLIS_PER_SECONDS; in querySince() local 96 mLastMessageTimestamp = Math.max(mLastMessageTimestamp, date); in querySince() 98 if (address != null && addEvent(address, date, msgBox)) { in querySince() 143 private boolean addEvent(String phoneNumber, long date, int msgBox) { in addEvent() argument 144 if (!validateEvent(phoneNumber, date, msgBox)) { in addEvent() 148 mEventConsumer.accept(phoneNumber, new Event(date, eventType)); in addEvent() 152 private boolean validateEvent(String phoneNumber, long date, int msgBox) { in validateEvent() argument 154 && date > 0L in validateEvent()
|
/frameworks/base/core/java/android/widget/ |
D | CalendarView.java | 546 public void setDate(long date) { in setDate() argument 547 mDelegate.setDate(date); in setDate() 564 public void setDate(long date, boolean animate, boolean center) { in setDate() argument 565 mDelegate.setDate(date, animate, center); in setDate() 577 public boolean getBoundsForDate(long date, Rect outBounds) { in getBoundsForDate() argument 578 return mDelegate.getBoundsForDate(date, outBounds); in getBoundsForDate() 638 void setDate(long date); in setDate() argument 639 void setDate(long date, boolean animate, boolean center); in setDate() argument 642 boolean getBoundsForDate(long date, Rect outBounds); in getBoundsForDate() argument 791 public static boolean parseDate(String date, Calendar outDate) { in parseDate() argument [all …]
|
D | CalendarViewMaterialDelegate.java | 94 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()
|
D | CalendarViewLegacyDelegate.java | 501 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/ |
D | RecurrenceProcessorTest.java | 40 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/libs/androidfw/include/androidfw/ |
D | ZipUtils.h | 71 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/opt/calendar/src/com/android/calendarcommon2/ |
D | RecurrenceProcessor.java | 1138 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/base/services/tests/servicestests/src/com/android/server/display/ |
D | AmbientBrightnessStatsTrackerTest.java | 199 LocalDate date = mTestInjector.getLocalDate(); in testReadAmbientBrightnessStats() local 206 + date.minusDays(AmbientBrightnessStatsTracker.MAX_DAYS_TO_TRACK) in testReadAmbientBrightnessStats() 212 + date.minusDays(1) in testReadAmbientBrightnessStats() 217 + "<ambient-brightness-day-stats user=\"10\" local-date=\"" + date in testReadAmbientBrightnessStats() 225 assertEquals(new AmbientBrightnessDayStats(date.minusDays(1), in testReadAmbientBrightnessStats() 228 assertEquals(new AmbientBrightnessDayStats(date, in testReadAmbientBrightnessStats() 236 LocalDate date = mTestInjector.getLocalDate(); in testFailedReadAmbientBrightnessStatsWithException() local 243 + "<ambient-brightness-day-stats user=\"10\" local-date=\"" + date in testFailedReadAmbientBrightnessStatsWithException() 260 + date.minusDays(1) in testFailedReadAmbientBrightnessStatsWithException() 265 + "<ambient-brightness-day-stats user=\"10\" local-date=\"" + date in testFailedReadAmbientBrightnessStatsWithException() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayIdentificationTest.cpp | 338 const auto& date = std::get<ManufactureWeekAndYear>(info.manufactureOrModelDate); in TEST() local 339 EXPECT_EQ(2012, date.year); in TEST() 340 EXPECT_EQ(2, date.week); in TEST() 352 const auto& date = std::get<ManufactureWeekAndYear>(info.manufactureOrModelDate); in TEST() local 353 EXPECT_EQ(2011, date.year); in TEST() 354 EXPECT_EQ(41, date.week); in TEST() 366 const auto& date = std::get<ManufactureYear>(info.manufactureOrModelDate); in TEST() local 367 EXPECT_EQ(2019, date.year); in TEST() 379 const auto& date = std::get<ManufactureWeekAndYear>(info.manufactureOrModelDate); in TEST() local 380 EXPECT_EQ(2019, date.year); in TEST() [all …]
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
D | loopback.sh | 32 date > /data/loopreport.txt 34 date >> /data/loopreport.txt
|
/frameworks/base/core/java/android/provider/ |
D | Telephony.java | 422 Long date, boolean read, boolean deliveryReport) { in addMessageToUri() argument 424 resolver, uri, address, body, subject, date, read, deliveryReport, -1L); in addMessageToUri() 445 Long date, boolean read, boolean deliveryReport) { in addMessageToUri() argument 447 date, read, deliveryReport, -1L); in addMessageToUri() 468 Long date, boolean read, boolean deliveryReport, long threadId) { in addMessageToUri() argument 471 date, read, deliveryReport, threadId); in addMessageToUri() 493 Long date, boolean read, boolean deliveryReport, long threadId) { in addMessageToUri() argument 499 if (date != null) { in addMessageToUri() 500 values.put(DATE, date); in addMessageToUri() 611 String address, String body, String subject, Long date, in addMessage() argument [all …]
|
/frameworks/av/services/audioflinger/ |
D | NBAIO_Tee.cpp | 151 const char *date = name + prefixLen; in isManagedFilename() local 152 return std::all_of(date, date + 8, isdigit) in isManagedFilename() 153 && date[8] == '_' in isManagedFilename() 154 && std::all_of(date + 9, date + 15, isdigit) in isManagedFilename() 155 && date[15] == '_' in isManagedFilename() 156 && std::all_of(date + 16, date + 19, isdigit); in isManagedFilename()
|
/frameworks/base/core/java/android/service/autofill/ |
D | DateValueSanitizer.java | 73 final Date date = new Date(value.getDateValue()); in sanitize() local 76 final String converted = mDateFormat.format(date); in sanitize() 77 if (sDebug) Log.d(TAG, "Transformed " + date + " to " + converted); in sanitize()
|
D | DateTransformation.java | 80 final Date date = new Date(value.getDateValue()); in apply() local 81 final String transformed = mDateFormat.format(date); in apply() 82 if (sDebug) Log.d(TAG, "Transformed " + date + " to " + transformed); in apply()
|
/frameworks/ex/common/java/com/android/common/ |
D | LegacyHttpDateTime.java | 88 int date = 1; in parse() local 95 date = getDate(rfcMatcher.group(1)); in parse() 103 date = getDate(ansicMatcher.group(2)); in parse() 115 calendar.set(Calendar.DAY_OF_MONTH, date); in parse()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | DisplayIdentification.cpp | 89 DeviceProductInfo::ManufactureYear date; in buildDeviceProductInfo() local 90 date.year = year; in buildDeviceProductInfo() 91 info.manufactureOrModelDate = date; in buildDeviceProductInfo() 93 DeviceProductInfo::ManufactureWeekAndYear date; in buildDeviceProductInfo() local 94 date.year = year; in buildDeviceProductInfo() 95 date.week = edid.manufactureWeek; in buildDeviceProductInfo() 96 info.manufactureOrModelDate = date; in buildDeviceProductInfo()
|
/frameworks/base/packages/SystemUI/plugin/ |
D | update_plugin_lib.sh | 13 mv SystemUIPluginLib.jar ./SystemUIPluginLib-`date +%m-%d-%Y`.jar 15 ln -s SystemUIPluginLib-`date +%m-%d-%Y`.jar SystemUIPluginLib-latest.jar
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandler.java | 440 java.util.Calendar date = new GregorianCalendar(); in getMidnightTimestamp() local 442 date.set(java.util.Calendar.HOUR_OF_DAY, 0); in getMidnightTimestamp() 443 date.set(java.util.Calendar.MINUTE, 0); in getMidnightTimestamp() 444 date.set(java.util.Calendar.SECOND, 0); in getMidnightTimestamp() 445 date.set(java.util.Calendar.MILLISECOND, 0); in getMidnightTimestamp() 446 date.add(java.util.Calendar.DAY_OF_MONTH, -daysBefore); in getMidnightTimestamp() 447 return date.getTimeInMillis(); in getMidnightTimestamp()
|
/frameworks/base/core/java/android/app/admin/ |
D | FreezePeriod.java | 185 LocalDate date = LocalDate.ofYearDay(DUMMY_YEAR, dayOfYear); in dayOfYearToMonthDay() local 186 return MonthDay.of(date.getMonth(), date.getDayOfMonth()); in dayOfYearToMonthDay() 193 private static int dayOfYearDisregardLeapYear(LocalDate date) { in dayOfYearDisregardLeapYear() argument 194 return date.withYear(DUMMY_YEAR).getDayOfYear(); in dayOfYearDisregardLeapYear()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | SystemUpdatePolicyTest.java | 446 for (String date : dates) { in setFreezePeriods() 447 MonthDay currentDate = parseMonthDay(date); in setFreezePeriods() 498 private MonthDay parseMonthDay(String date) { in parseMonthDay() argument 499 return MonthDay.of(Integer.parseInt(date.substring(0, 2)), in parseMonthDay() 500 Integer.parseInt(date.substring(3, 5))); in parseMonthDay() 504 private LocalDate parseLocalDate(String date) { in parseLocalDate() argument 505 return parseMonthDay(date.substring(5)).atYear(Integer.parseInt(date.substring(0, 4))); in parseLocalDate()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | README.txt | 3 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/ |
D | SslCertificate.java | 332 private static String formatDate(Date date) { in formatDate() argument 333 if (date == null) { in formatDate() 336 return new SimpleDateFormat(ISO_8601_DATE_FORMAT).format(date); in formatDate() 342 private static Date cloneDate(Date date) { in cloneDate() argument 343 if (date == null) { in cloneDate() 346 return (Date) date.clone(); in cloneDate()
|