Home
last modified time | relevance | path

Searched refs:endTimeMillis (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
DHighBrightnessModeController.java283 if (lastStartTime > event.endTimeMillis) { in dumpLocal()
285 + TimeUtils.formatDuration(lastStartTime - event.endTimeMillis)); in dumpLocal()
294 final long duration = event.endTimeMillis - event.startTimeMillis; in dumpHbmEvent()
297 + TimeUtils.formatUptime(event.endTimeMillis) + "] (" in dumpHbmEvent()
348 if (event.endTimeMillis < windowstartTimeMillis) { in calculateRemainingTime()
354 timeAlreadyUsed += event.endTimeMillis - startTimeMillis; in calculateRemainingTime()
469 public long endTimeMillis; field in HighBrightnessModeController.HbmEvent
471 HbmEvent(long startTimeMillis, long endTimeMillis) { in HbmEvent() argument
473 this.endTimeMillis = endTimeMillis; in HbmEvent()
478 return "[Event: {" + startTimeMillis + ", " + endTimeMillis + "}, total: " in toString()
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DDiscreteRegistry.java275 long beginTimeMillis, long endTimeMillis, in addFilteredDiscreteOpsToHistoricalOps() argument
288 discreteOps.filter(beginTimeMillis, endTimeMillis, filter, uidFilter, packageNameFilter, in addFilteredDiscreteOpsToHistoricalOps()
650 private void filter(long beginTimeMillis, long endTimeMillis, in filter() argument
662 mUids.valueAt(i).filter(beginTimeMillis, endTimeMillis, filter, packageNameFilter, in filter()
855 private void filter(long beginTimeMillis, long endTimeMillis, in filter() argument
867 mPackages.valueAt(i).filter(beginTimeMillis, endTimeMillis, filter, opNamesFilter, in filter()
974 private void filter(long beginTimeMillis, long endTimeMillis, in filter() argument
987 mPackageOps.valueAt(i).filter(beginTimeMillis, endTimeMillis, filter, in filter()
1075 private void filter(long beginTimeMillis, long endTimeMillis, in filter() argument
1091 list = filterEventsList(list, beginTimeMillis, endTimeMillis, flagsFilter, in filter()
[all …]
DHistoricalRegistry.java372 long beginTimeMillis, long endTimeMillis, @OpFlags int flags, in getHistoricalOpsFromDiskRaw() argument
379 final HistoricalOps result = new HistoricalOps(beginTimeMillis, endTimeMillis); in getHistoricalOpsFromDiskRaw()
392 opNames, filter, beginTimeMillis, endTimeMillis, flags); in getHistoricalOpsFromDiskRaw()
398 endTimeMillis, filter, uid, packageName, opNames, attributionTag, in getHistoricalOpsFromDiskRaw()
409 @HistoricalOpsRequestFilter int filter, long beginTimeMillis, long endTimeMillis, in getHistoricalOps() argument
418 if (endTimeMillis == Long.MAX_VALUE) { in getHistoricalOps()
419 endTimeMillis = currentTimeMillis; in getHistoricalOps()
426 final long inMemoryAdjBeginTimeMillis = Math.max(currentTimeMillis - endTimeMillis, 0); in getHistoricalOps()
433 endTimeMillis, filter, uid, packageName, opNames, attributionTag, flags, in getHistoricalOps()
484 result.setBeginAndEndTime(beginTimeMillis, endTimeMillis); in getHistoricalOps()
[all …]
DAppOpsService.java2323 long endTimeMillis, int flags) { in ensureHistoricalOpRequestIsValid() argument
2350 Preconditions.checkArgument(endTimeMillis > beginTimeMillis); in ensureHistoricalOpRequestIsValid()
2357 long endTimeMillis, int flags, RemoteCallback callback) { in getHistoricalOps() argument
2361 beginTimeMillis, endTimeMillis, flags); in getHistoricalOps()
2403 filter, beginTimeMillis, endTimeMillis, flags, chainExemptPkgArray, in getHistoricalOps()
2410 long endTimeMillis, int flags, RemoteCallback callback) { in getHistoricalOpsFromDiskRaw() argument
2412 beginTimeMillis, endTimeMillis, flags); in getHistoricalOpsFromDiskRaw()
2434 filter, beginTimeMillis, endTimeMillis, flags, chainExemptPkgArray, in getHistoricalOpsFromDiskRaw()
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl78 int historyFlags, int filter, long beginTimeMillis, long endTimeMillis, int flags, in getHistoricalOps() argument
82 long endTimeMillis, int flags, in RemoteCallback callback); in getHistoricalOpsFromDiskRaw() argument
/frameworks/base/core/java/android/app/
DAppOpsManager.java4910 long beginTimeMillis, long endTimeMillis, @OpFlags int flags) { in HistoricalOpsRequest() argument
4918 mEndTimeMillis = endTimeMillis; in HistoricalOpsRequest()
4950 public Builder(long beginTimeMillis, long endTimeMillis) { in Builder() argument
4951 Preconditions.checkArgument(beginTimeMillis >= 0 && beginTimeMillis < endTimeMillis, in Builder()
4954 mEndTimeMillis = endTimeMillis; in Builder()
5089 public HistoricalOps(long beginTimeMillis, long endTimeMillis) { in HistoricalOps() argument
5090 Preconditions.checkState(beginTimeMillis <= endTimeMillis); in HistoricalOps()
5092 mEndTimeMillis = endTimeMillis; in HistoricalOps()
5240 long beginTimeMillis, long endTimeMillis) { in filter() argument
5243 mEndTimeMillis = Math.min(mEndTimeMillis, endTimeMillis); in filter()
[all …]
/frameworks/base/core/java/android/widget/
DCalendarViewLegacyDelegate.java950 long endTimeMillis = date.getTimeInMillis() in getWeeksSinceMinDate() local
956 return (int) ((endTimeMillis - startTimeMillis + dayOffsetMillis) / MILLIS_IN_WEEK); in getWeeksSinceMinDate()