Home
last modified time | relevance | path

Searched refs:minTime (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/utils/
DRollingBuffer.java107 public void truncate(long minTime) { in truncate() argument
108 if (isEmpty() || getTime(0) >= minTime) { in truncate()
111 final int index = getLatestIndexBefore(minTime); in truncate()
121 mTimes[mStart] = minTime; in truncate()
DAmbientFilter.java147 final long minTime = time - mHorizon; in truncateOldValues() local
148 mBuffer.truncate(minTime); in truncateOldValues()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStatsInternal.java30 public abstract SparseArray<long[]> getUidProcStateStatsOverTime(long minTime); in getUidProcStateStatsOverTime() argument
DIProcessStats.aidl27 ParcelFileDescriptor getStatsOverTime(long minTime); in getStatsOverTime() argument
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryUsageStatsProvider.java366 long minTime = Long.MAX_VALUE; in getAggregatedBatteryUsageStats() local
370 minTime = Math.min(minTime, spanEndTime); in getAggregatedBatteryUsageStats()
377 (query.getFromTimestamp() == 0 || minTime > query.getFromTimestamp()) in getAggregatedBatteryUsageStats()
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBlasBenchmark.java107 private Result runBenchmarkLoop(float minTime) { in runBenchmarkLoop() argument
120 } while (r.totalTime < minTime); in runBenchmarkLoop()
/frameworks/native/services/surfaceflinger/FrameTimeline/
DFrameTimeline.cpp299 nsecs_t minTime = std::numeric_limits<nsecs_t>::max(); in getMinTime() local
303 minTime = std::min(minTime, predictions.startTime); in getMinTime()
309 minTime = std::min(minTime, actuals.startTime); in getMinTime()
312 minTime = std::min(minTime, actuals.endTime); in getMinTime()
315 minTime = std::min(minTime, actuals.presentTime); in getMinTime()
317 return minTime; in getMinTime()
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java726 public ParcelFileDescriptor getStatsOverTime(long minTime) {
741 if (curTime < minTime) {
750 - stats.mTimePeriodStartRealtime) < minTime) {
805 private SparseArray<long[]> getUidProcStateStatsOverTime(long minTime) {
815 if (curTime < minTime) {
823 - stats.mTimePeriodStartRealtime) < minTime) {
857 public SparseArray<long[]> getUidProcStateStatsOverTime(long minTime) {
858 return ProcessStatsService.this.getUidProcStateStatsOverTime(minTime);
DActiveServices.java1883 final long minTime = aa.mStartVisibleTime in foregroundAppShownEnoughLocked() local
1887 if (nowElapsed >= minTime) { in foregroundAppShownEnoughLocked()
1895 aa.mHideTime = reportTime > minTime ? reportTime : minTime; in foregroundAppShownEnoughLocked()
1900 final long minTime = aa.mEndTime in foregroundAppShownEnoughLocked() local
1902 if (nowElapsed >= minTime) { in foregroundAppShownEnoughLocked()
1911 aa.mHideTime = minTime; in foregroundAppShownEnoughLocked()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java247 private Result runBenchmarkLoop(float minTime, int minIter) { in runBenchmarkLoop() argument
296 } while (r.getTotalTime() < minTime || r.getIterations() < minIter); in runBenchmarkLoop()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DImageProcessingActivity2.java284 private Result runBenchmarkLoop(float minTime) { in runBenchmarkLoop() argument
339 } while (r.totalTime < minTime); in runBenchmarkLoop()
/frameworks/native/libs/input/
DVelocityTracker.cpp860 nsecs_t minTime = newestMovement.eventTime - HORIZON; in getVelocity() local
864 if (nextOldestMovement.eventTime < minTime) { in getVelocity()