/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | Duration.java | 33 public int days; field in Duration 51 days = 0; in parse() 116 days = n; in parse() 135 cal.add(Calendar.DAY_OF_MONTH, sign*days); in addTo() 148 + (24*60*60*days) in getMillis()
|
D | RecurrenceProcessor.java | 496 int days = 0; in generateDaysList() local 538 days |= 1 << j; in generateDaysList() 549 days |= 1 << j; in generateDaysList() 565 days |= 1 << j; in generateDaysList() 583 days |= 1 << v; in generateDaysList() 587 days |= 1 << j; in generateDaysList() 596 if ((days&(1<<j)) != 0) { in generateDaysList() 602 days &= ~(1<<j); in generateDaysList() 609 return days; in generateDaysList() 762 DaySet days = mDays; in expand() local [all …]
|
/frameworks/base/core/java/android/text/format/ |
D | Formatter.java | 230 int days = 0, hours = 0, minutes = 0; in formatShortElapsedTime() local 232 days = (int)(secondsLong / SECONDS_PER_DAY); in formatShortElapsedTime() 233 secondsLong -= days * SECONDS_PER_DAY; in formatShortElapsedTime() 248 if (days >= 2 || (days > 0 && hours == 0)) { in formatShortElapsedTime() 249 days += (hours+12)/24; in formatShortElapsedTime() 250 return measureFormat.format(new Measure(days, MeasureUnit.DAY)); in formatShortElapsedTime() 251 } else if (days > 0) { in formatShortElapsedTime() 253 new Measure(days, MeasureUnit.DAY), in formatShortElapsedTime()
|
D | RelativeDateTimeFormatter.java | 287 int days = Math.abs(DateUtilsBridge.dayDistance(timeCalendar, nowCalendar)); in getRelativeDateTimeString() local 295 if (days > 0 && minResolution < DAY_IN_MILLIS) { in getRelativeDateTimeString()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ScheduleCalendarTest.java | 51 mScheduleInfo.days = new int[] {1, 2, 3, 4, 5}; in setUp() 71 mScheduleInfo.days = new int[] {getTodayDay()}; in testGetNextChangeTime_startToday() 97 mScheduleInfo.days = new int[] {getTodayDay()}; in testGetNextChangeTime_endToday() 124 mScheduleInfo.days = new int[] {getTodayDay(), getTodayDay(1)}; in testGetNextChangeTime_startTomorrow() 152 mScheduleInfo.days = new int[] {getTodayDay(), getTodayDay(1)}; in testGetNextChangeTime_endTomorrow() 219 mScheduleInfo.days = new int[] {getTodayDay()}; in testShouldExitForAlarm_oldAlarm() 253 mScheduleInfo.days = new int[] {getTodayDay(), getTodayDay(1)}; in testShouldExitForAlarm_oldAlarmInSchedule() 354 mScheduleInfo.days = new int[] {getTodayDay()}; in testIsInSchedule_inScheduleOvernight() 372 mScheduleInfo.days = new int[] {getTodayDay()}; in testIsInSchedule_inScheduleSingleDay() 390 mScheduleInfo.days = new int[] {Calendar.FRIDAY, Calendar.SUNDAY}; in testIsInSchedule_notToday() [all …]
|
D | ScheduleConditionProviderTest.java | 67 info.days = new int[] {1, 2, 4}; in testIsValidConditionId() 84 info.days = new int[] {Calendar.FRIDAY}; in testEvaluateSubscription_noAlarmExit_InSchedule() 108 info.days = new int[] {Calendar.FRIDAY}; in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed() 139 info.days = new int[] {Calendar.FRIDAY}; in testEvaluateSubscription_noAlarmExit_beforeSchedule() 162 info.days = new int[] {Calendar.FRIDAY}; in testEvaluateSubscription_noAlarmExit_endSchedule() 339 info.days = new int[] {Calendar.FRIDAY}; in getScheduleEndsInHour()
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
D | DurationTest.java | 27 int sign, int weeks, int days, int hours, in verifyDuration() argument 35 assertEquals("Duration days is not equal for " + str, days, duration.days); in verifyDuration()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | StringUtil.java | 61 int days = 0, hours = 0, minutes = 0; in formatElapsedTime() local 63 days = seconds / SECONDS_PER_DAY; in formatElapsedTime() 64 seconds -= days * SECONDS_PER_DAY; in formatElapsedTime() 76 if (days > 0) { in formatElapsedTime() 77 measureList.add(new Measure(days, MeasureUnit.DAY)); in formatElapsedTime()
|
/frameworks/base/core/java/android/service/notification/ |
D | ScheduleCalendar.java | 184 if (mSchedule != null && mSchedule.days != null) { in updateDays() 185 for (int i = 0; i < mSchedule.days.length; i++) { in updateDays() 186 mDays.add(mSchedule.days[i]); in updateDays() 191 private long addDays(long time, int days) { in addDays() argument 193 mCalendar.add(Calendar.DATE, days); in addDays()
|
D | ZenModeConfig.java | 446 private static String toDayList(int[] days) { in toDayList() argument 447 if (days == null || days.length == 0) return ""; in toDayList() 449 for (int i = 0; i < days.length; i++) { in toDayList() 451 sb.append(days[i]); in toDayList() 1135 if (schedule == null || schedule.days == null || schedule.days.length == 0) return null; in toScheduleCalendar() 1338 .appendQueryParameter("days", toDayList(schedule.days)) in toScheduleConditionId() 1353 if (info == null || info.days == null || info.days.length == 0) { in isValidScheduleConditionId() 1371 if (info == null || (!allowNever && (info.days == null || info.days.length == 0))) { in isValidScheduleConditionId() 1389 rt.days = tryParseDayList(conditionId.getQueryParameter("days"), "\\."); in tryParseScheduleConditionId() 1404 public int[] days; field in ZenModeConfig.ScheduleInfo [all …]
|
/frameworks/base/core/java/android/util/ |
D | TimeUtils.java | 242 int days = 0, hours = 0, minutes = 0; in formatDurationLocked() local 245 days = seconds / SECONDS_PER_DAY; in formatDurationLocked() 246 seconds -= days * SECONDS_PER_DAY; in formatDurationLocked() 260 int myLen = accumField(days, 1, false, 0); in formatDurationLocked() 277 pos = printFieldLocked(formatStr, days, 'd', pos, false, 0); in formatDurationLocked()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateStats.h | 127 auto [days, dayRemainderMs] = std::div(timeMs, MS_PER_DAY); in getDateFormatFromMs() 133 days, hours, mins, sec, secRemainderMs); in getDateFormatFromMs()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 1962 private List<Configuration> getRecentConfigurations(int days) { 1966 final long nDaysAgo = now - (days * 24 * 60 * 60 * 1000); 2244 int days = -1; 2252 days = Integer.parseInt(getNextArgRequired()); 2253 if (days <= 0) { 2302 if (days >= 0) { 2303 final List<Configuration> recentConfigs = getRecentConfigurations(days);
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 2091 final long days = duration; in formatDurationHMS() local 2094 if (days > 0) { in formatDurationHMS() 2095 sb.append(days); in formatDurationHMS()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 3132 long days = seconds / (60 * 60 * 24); in formatTimeRaw() local 3133 if (days != 0) { in formatTimeRaw() 3134 out.append(days); in formatTimeRaw() 3137 long used = days * 60 * 60 * 24; in formatTimeRaw()
|
/frameworks/ml/nn/runtime/ |
D | NOTICE | 641 non-compliance by some reasonable means prior to 60 days after You have 646 from such Contributor, and You become compliant prior to 30 days after
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 32443 Landroid/icu/util/UniversalTimeScale;->days:J 107216 Ljava/time/Period;->days:I
|