Home
last modified time | relevance | path

Searched refs:lastTime (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsAggregator.java78 long lastTime = 0; in aggregatePowerStats() local
96 lastTime = item.time; in aggregatePowerStats()
139 if (lastTime > baseTime) { in aggregatePowerStats()
140 mStats.setDuration(lastTime - baseTime); in aggregatePowerStats()
141 finish(mStats, lastTime); in aggregatePowerStats()
146 baseTime = lastTime = item.time; in aggregatePowerStats()
152 if (lastTime > baseTime) { in aggregatePowerStats()
153 mStats.setDuration(lastTime - baseTime); in aggregatePowerStats()
154 finish(mStats, lastTime); in aggregatePowerStats()
/frameworks/av/media/libstagefright/
DVideoFrameSchedulerBase.cpp141 nsecs_t lastTime; in fit() local
146 x += divRound(time - lastTime, period); in fit()
158 lastTime = time; in fit()
189 nsecs_t lastTime, firstTime; in prime() local
194 if (time - lastTime > kMinPeriod) { in prime()
196 deltas.push(time - lastTime); in prime()
201 lastTime = time; in prime()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DUceRequestDispatcher.java203 Instant lastTime = Instant.MIN; in getLastRequestTime() local
207 if (executingTime.isAfter(lastTime)) { in getLastRequestTime()
208 lastTime = executingTime; in getLastRequestTime()
211 return lastTime; in getLastRequestTime()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceProcessor.java83 long lastTime = -1; in getLastOccurence() local
96 if (untilTime > lastTime) { in getLastOccurence()
97 lastTime = untilTime; in getLastOccurence()
101 if (lastTime != -1 && recur.rdates != null) { in getLastOccurence()
103 if (dt > lastTime) { in getLastOccurence()
104 lastTime = dt; in getLastOccurence()
111 if (lastTime != -1 && !hasCount) { in getLastOccurence()
112 return lastTime; in getLastOccurence()
118 if (dt > lastTime) { in getLastOccurence()
119 lastTime = dt; in getLastOccurence()
[all …]
/frameworks/base/services/core/java/com/android/server/display/utils/
DAmbientFilter.java237 final float lastTime = (time + PREDICTION_TIME - startTime) / 1000.0f; in getWeights() local
238 final float lastWeight = calculateIntegral(previousTime, lastTime); in getWeights()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DStats.java101 long lastTime = mOutputTimer.get(mOutputTimer.size() - 1); in getTotalTime() local
102 return lastTime - mStartTimeNs; in getTotalTime()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp2871 mBatteryAudio.lastTime[i] = 0; in BatteryTracker()
2912 mBatteryAudio.lastTime[i] += time; in addBatteryData()
2913 mBatteryAudio.totalTime[i] += mBatteryAudio.lastTime[i]; in addBatteryData()
2914 mBatteryAudio.lastTime[i] = 0; in addBatteryData()
2916 mBatteryAudio.lastTime[i] = 0 - time; in addBatteryData()
2933 mBatteryAudio.lastTime[i] -= time; in addBatteryData()
2952 mBatteryAudio.lastTime[i] += time; in addBatteryData()
2953 mBatteryAudio.totalTime[i] += mBatteryAudio.lastTime[i]; in addBatteryData()
2954 mBatteryAudio.lastTime[i] = 0; in addBatteryData()
3034 && (mBatteryAudio.lastTime[i] != 0)) { in pullBatteryData()
[all …]
DMediaPlayerService.h314 int32_t lastTime[NUM_AUDIO_DEVICES]; // in ms member
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java2114 Long lastTime = mCurrentRequestAddTilePackages.get(packageName); in requestAddTile() local
2116 if (lastTime != null && currentTime - lastTime < REQUEST_TIME_OUT) { in requestAddTile()
2125 if (lastTime != null) { in requestAddTile()
/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp596 HLSTime lastTime(lastEnqueueMeta), startTime(firstNewMeta[i]); in checkSwitchProgress() local
600 *needResumeUntil |= (startTime.mSeq == lastTime.mSeq in checkSwitchProgress()
601 && startTime.mTimeUs - lastTime.mTimeUs > kResumeThresholdUs); in checkSwitchProgress()
/frameworks/base/core/java/android/os/
DBatteryStats.java6918 long lastTime = -1; field in HistoryPrinter
6960 if (lastTime < 0) { in printNextItem()
6963 item.append(rec.time - lastTime); in printNextItem()
6965 lastTime = rec.time; in printNextItem()
7515 long lastTime = -1; in dumpHistory() local
7524 lastTime = rec.time; in dumpHistory()
7526 baseTime = lastTime; in dumpHistory()
7602 pw.print(checkin ? "NEXT: " : " NEXT: "); pw.println(lastTime+1); in dumpHistory()
8441 long lastTime = -1; in dumpProtoHistoryLocked() local
8449 lastTime = rec.time; in dumpProtoHistoryLocked()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java1622 fs.lastTime = nowELAPSED; in InFlight()
1690 long lastTime; field in AlarmManagerService.FilterStats
1706 + ", lastTime=" + lastTime in toString()
1719 proto.write(FilterStatsProto.LAST_FLIGHT_TIME_REALTIME, lastTime); in dumpDebug()
3464 TimeUtils.formatDuration(fs.lastTime, nowELAPSED, pw); in dumpImpl()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt34285 Landroid/os/BatteryStats$HistoryPrinter;->lastTime:J