/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | SystemZenRulesTest.java | 55 SCHEDULE_INFO.days = new int[] { Calendar.WEDNESDAY }; 137 scheduleInfo.days = new int[]{}; in getTriggerDescriptionForScheduleTime_noOrSingleDays() 141 scheduleInfo.days = new int[]{Calendar.SUNDAY}; in getTriggerDescriptionForScheduleTime_noOrSingleDays() 146 scheduleInfo.days = new int[]{Calendar.THURSDAY}; in getTriggerDescriptionForScheduleTime_noOrSingleDays() 151 scheduleInfo.days = new int[]{Calendar.SATURDAY}; in getTriggerDescriptionForScheduleTime_noOrSingleDays() 163 scheduleInfo.days = new int[] {Calendar.SUNDAY, Calendar.MONDAY, Calendar.TUESDAY, in getTriggerDescriptionForScheduleTime_oneGroup() 170 scheduleInfo.days = new int[] {Calendar.SUNDAY, Calendar.MONDAY, Calendar.TUESDAY, in getTriggerDescriptionForScheduleTime_oneGroup() 176 scheduleInfo.days = new int[] {Calendar.WEDNESDAY, Calendar.THURSDAY, in getTriggerDescriptionForScheduleTime_oneGroup() 182 scheduleInfo.days = new int[] {Calendar.MONDAY, Calendar.TUESDAY, in getTriggerDescriptionForScheduleTime_oneGroup() 195 scheduleInfo.days = new int[] {Calendar.SUNDAY, Calendar.TUESDAY, in getTriggerDescriptionForScheduleTime_mixedDays() [all …]
|
D | ScheduleCalendarTest.java | 52 mScheduleInfo.days = new int[] {1, 2, 3, 4, 5}; in setUp() 72 mScheduleInfo.days = new int[] {getTodayDay()}; in testGetNextChangeTime_startToday() 98 mScheduleInfo.days = new int[] {getTodayDay()}; in testGetNextChangeTime_endToday() 125 mScheduleInfo.days = new int[] {getTodayDay(), getTodayDay(1)}; in testGetNextChangeTime_startTomorrow() 153 mScheduleInfo.days = new int[] {getTodayDay(), getTodayDay(1)}; in testGetNextChangeTime_endTomorrow() 187 mScheduleInfo.days = new int[] {today.get(Calendar.DAY_OF_WEEK), in testGetNextChangeTime_startTomorrowInDaylight() 225 mScheduleInfo.days = new int[] {today.get(Calendar.DAY_OF_WEEK), in testGetNextChangeTime_startTomorrowWhenTodayIsDaylight() 263 mScheduleInfo.days = new int[] {today.get(Calendar.DAY_OF_WEEK), in testGetNextChangeTime_startTomorrowWhenTodayIsDaylightBackward() 333 mScheduleInfo.days = new int[] {getTodayDay()}; in testShouldExitForAlarm_oldAlarm() 367 mScheduleInfo.days = new int[] {getTodayDay(), getTodayDay(1)}; in testShouldExitForAlarm_oldAlarmInSchedule() [all …]
|
D | ScheduleConditionProviderTest.java | 71 info.days = new int[] {1, 2, 4}; in testIsValidConditionId() 88 info.days = new int[] {Calendar.FRIDAY}; in testEvaluateSubscription_noAlarmExit_InSchedule() 112 info.days = new int[] {Calendar.FRIDAY}; in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed() 143 info.days = new int[] {Calendar.FRIDAY}; in testEvaluateSubscription_noAlarmExit_beforeSchedule() 166 info.days = new int[] {Calendar.FRIDAY}; in testEvaluateSubscription_noAlarmExit_endSchedule() 349 info.days = new int[] {Calendar.FRIDAY}; in getScheduleEndsInHour()
|
D | ZenModeHelperTest.java | 2214 scheduleInfo.days = new int[] { Calendar.SUNDAY }; in testUpdateDefaultAutoRule() 2550 scheduleInfo.days = new int[]{1, 2}; in testRulesWithSameUri()
|
/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 | 494 int days = 0; in generateDaysList() local 536 days |= 1 << j; in generateDaysList() 547 days |= 1 << j; in generateDaysList() 563 days |= 1 << j; in generateDaysList() 581 days |= 1 << v; in generateDaysList() 585 days |= 1 << j; in generateDaysList() 594 if ((days&(1<<j)) != 0) { in generateDaysList() 600 days &= ~(1<<j); in generateDaysList() 607 return days; in generateDaysList() 760 DaySet days = mDays; in expand() local [all …]
|
/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/core/java/android/text/format/ |
D | Formatter.java | 327 int days = 0, hours = 0, minutes = 0; in formatShortElapsedTime() local 329 days = (int)(secondsLong / SECONDS_PER_DAY); in formatShortElapsedTime() 330 secondsLong -= days * SECONDS_PER_DAY; in formatShortElapsedTime() 345 if (days >= 2 || (days > 0 && hours == 0)) { in formatShortElapsedTime() 346 days += (hours+12)/24; in formatShortElapsedTime() 347 return measureFormat.format(new Measure(days, MeasureUnit.DAY)); in formatShortElapsedTime() 348 } else if (days > 0) { in formatShortElapsedTime() 350 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/core/java/android/service/notification/ |
D | SystemZenRules.java | 148 final int[] days = schedule.days; in getShortDaysSummary() local 149 if (days != null && days.length > 0) { in getShortDaysSummary() 167 for (int j = 0; j < days.length; j++) { in getShortDaysSummary() 168 if (day == days[j]) { in getShortDaysSummary()
|
D | ScheduleCalendar.java | 185 if (mSchedule != null && mSchedule.days != null) { in updateDays() 186 for (int i = 0; i < mSchedule.days.length; i++) { in updateDays() 187 mDays.add(mSchedule.days[i]); in updateDays() 192 private long addDays(long time, int days) { in addDays() argument 194 mCalendar.add(Calendar.DATE, days); in addDays()
|
D | ZenModeConfig.java | 415 scheduleInfo.days = new int[] {1, 2, 3, 4, 5, 6, 7}; in getDefaultConfig() 878 private static String toDayList(int[] days) { in toDayList() argument 879 if (days == null || days.length == 0) return ""; in toDayList() 881 for (int i = 0; i < days.length; i++) { in toDayList() 883 sb.append(days[i]); in toDayList() 1953 if (schedule == null || schedule.days == null || schedule.days.length == 0) return null; in toScheduleCalendar() 2189 .appendQueryParameter("days", toDayList(schedule.days)) in toScheduleConditionId() 2204 if (info == null || info.days == null || info.days.length == 0) { in isValidScheduleConditionId() 2222 if (info == null || (!allowNever && (info.days == null || info.days.length == 0))) { in isValidScheduleConditionId() 2245 rt.days = tryParseDayList(conditionId.getQueryParameter("days"), "\\."); in tryParseScheduleConditionId() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | StringUtil.java | 68 int days = 0, hours = 0, minutes = 0; in formatElapsedTime() local 70 days = seconds / SECONDS_PER_DAY; in formatElapsedTime() 71 seconds -= days * SECONDS_PER_DAY; in formatElapsedTime() 83 if (days > 0) { in formatElapsedTime() 84 measureList.add(new Measure(days, MeasureUnit.DAY)); in formatElapsedTime()
|
/frameworks/base/core/java/android/util/ |
D | TimeUtils.java | 277 int days = 0, hours = 0, minutes = 0; in formatDurationLocked() local 280 days = seconds / SECONDS_PER_DAY; in formatDurationLocked() 281 seconds -= days * SECONDS_PER_DAY; in formatDurationLocked() 295 int myLen = accumField(days, 1, false, 0); in formatDurationLocked() 312 pos = printFieldLocked(formatStr, days, 'd', pos, false, 0); in formatDurationLocked()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateStats.h | 147 auto [days, dayRemainderMs] = std::div(static_cast<int64_t>(time.count()), MS_PER_DAY); in getDateFormatFromMs() 153 days, hours, mins, sec, secRemainderMs); in getDateFormatFromMs()
|
/frameworks/native/libs/binder/tests/rpc_fuzzer/ |
D | create_certs.sh | 14 openssl x509 -req -sha256 -days 99999 -in server.csr -signkey server.key -out server.crt
|
/frameworks/proto_logging/stats/atoms/healthfitness/api/ |
D | api_extension_atoms.proto | 74 // Set true is the user has one app reading or writing in past 30 days
|
/frameworks/proto_logging/stats/atoms/input/ |
D | input_extension_atoms.proto | 131 // (The int32_t will overflow at ~25 days)
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | README.md | 29 For a limited time defaulting to 14 days after FooV2.apk is installed, a 278 available for 14 days after the update. This lifetime can be adjusted using the
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 2722 private List<Configuration> getRecentConfigurations(int days) { 2726 final long nDaysAgo = now - (days * 24 * 60 * 60 * 1000); 3012 int days = -1; 3020 days = Integer.parseInt(getNextArgRequired()); 3021 if (days <= 0) { 3067 if (days >= 0) { 3068 final List<Configuration> recentConfigs = getRecentConfigurations(days);
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 2310 final long days = duration; in formatDurationHMS() local 2313 if (days > 0) { in formatDurationHMS() 2314 sb.append(days); in formatDurationHMS()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 3681 long days = seconds / (60 * 60 * 24); in formatTimeRaw() local 3682 if (days != 0) { in formatTimeRaw() 3683 out.append(days); in formatTimeRaw() 3686 long used = days * 60 * 60 * 24; in formatTimeRaw()
|
/frameworks/proto_logging/stats/atoms/adservices/ |
D | adservices_extension_atoms.proto | 1884 …// Number of days since the last time the device attempted to log file group download status for a…
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/proto_logging/stats/ |
D | atoms.proto | 6157 // Locally probably-unique, but expect collisions across users and/or days. 18898 // Daily I/O usage summary for the period. Logs summary entries only for days with I/O usage.
|