/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/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 | 499 Calendar date = mAdapter.mSelectedDate; in setMinDate() local 500 if (date.before(mMinDate)) { in setMinDate() 505 if (date.before(mMinDate)) { in setMinDate() 512 goTo(date, false, true, false); in setMinDate() 530 Calendar date = mAdapter.mSelectedDate; in setMaxDate() local 531 if (date.after(mMaxDate)) { in setMaxDate() 538 goTo(date, false, true, false); in setMaxDate() 579 public void setDate(long date) { in setDate() argument 580 setDate(date, false, false); in setDate() 584 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/base/core/java/android/provider/ |
D | Telephony.java | 421 Long date, boolean read, boolean deliveryReport) { in addMessageToUri() argument 423 resolver, uri, address, body, subject, date, read, deliveryReport, -1L); in addMessageToUri() 444 Long date, boolean read, boolean deliveryReport) { in addMessageToUri() argument 446 date, read, deliveryReport, -1L); in addMessageToUri() 467 Long date, boolean read, boolean deliveryReport, long threadId) { in addMessageToUri() argument 470 date, read, deliveryReport, threadId); in addMessageToUri() 492 Long date, boolean read, boolean deliveryReport, long threadId) { in addMessageToUri() argument 498 if (date != null) { in addMessageToUri() 499 values.put(DATE, date); in addMessageToUri() 610 String address, String body, String subject, Long date, in addMessage() argument [all …]
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
D | loopback.sh | 32 date > /data/loopreport.txt 34 date >> /data/loopreport.txt
|
/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/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/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/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandler.java | 434 java.util.Calendar date = new GregorianCalendar(); in getMidnightTimestamp() local 436 date.set(java.util.Calendar.HOUR_OF_DAY, 0); in getMidnightTimestamp() 437 date.set(java.util.Calendar.MINUTE, 0); in getMidnightTimestamp() 438 date.set(java.util.Calendar.SECOND, 0); in getMidnightTimestamp() 439 date.set(java.util.Calendar.MILLISECOND, 0); in getMidnightTimestamp() 440 date.add(java.util.Calendar.DAY_OF_MONTH, -daysBefore); in getMidnightTimestamp() 441 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()
|
D | SystemUpdatePolicy.java | 661 private static LocalDate roundUpLeapDay(LocalDate date) { in roundUpLeapDay() argument 662 if (date.isLeapYear() && date.getMonthValue() == 2 && date.getDayOfMonth() == 28) { in roundUpLeapDay() 663 return date.plusDays(1); in roundUpLeapDay() 665 return date; in roundUpLeapDay()
|
/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/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/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()
|
/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/cmds/statsd/tools/loadtest/ |
D | run_loadtest.sh | 52 start_time=$(date +%s) 90 end_time=$(date +%s)
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | PowerUtil.java | 221 Date date = Date.from(Instant.ofEpochMilli(roundedTimeOfDayMs)); in getDateTimeStringFromMs() local 222 return fmt.format(date); in getDateTimeStringFromMs() 235 Date date = Date.from(Instant.ofEpochMilli(roundedTimeOfDayMs)); in getRegularTimeRemainingShortString() local 236 CharSequence timeString = fmt.format(date); in getRegularTimeRemainingShortString()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyGenParameterSpec.java | 913 public Builder setCertificateNotBefore(@NonNull Date date) { in setCertificateNotBefore() argument 914 if (date == null) { in setCertificateNotBefore() 917 mCertificateNotBefore = Utils.cloneIfNotNull(date); in setCertificateNotBefore() 928 public Builder setCertificateNotAfter(@NonNull Date date) { in setCertificateNotAfter() argument 929 if (date == null) { in setCertificateNotAfter() 932 mCertificateNotAfter = Utils.cloneIfNotNull(date); in setCertificateNotAfter()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | ObjectViewer.java | 142 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()
|