Home
last modified time | relevance | path

Searched refs:curTime (Results 1 – 20 of 20) sorted by relevance

/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Drstime.rscript6 rs_time_t curTime = rsTime(0);
8 rsDebug("curTime", curTime);
10 rsLocaltime(&tm, &curTime);
23 curTime = 1294438893;
24 rsLocaltime(&tm, &curTime);
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Drstime.rscript6 rs_time_t curTime = rsTime(0);
8 rsDebug("curTime", curTime);
10 rsLocaltime(&tm, &curTime);
23 curTime = 1294438893;
24 rsLocaltime(&tm, &curTime);
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Drstime.rscript6 rs_time_t curTime = rsTime(0);
8 rsDebug("curTime", curTime);
10 rsLocaltime(&tm, &curTime);
23 curTime = 1294438893;
24 rsLocaltime(&tm, &curTime);
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Drstime.rscript6 rs_time_t curTime = rsTime(0);
8 rsDebug("curTime", curTime);
10 rsLocaltime(&tm, &curTime);
23 curTime = 1294438893;
24 rsLocaltime(&tm, &curTime);
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Drstime.rscript22 rs_time_t curTime = rsTime(0);
24 rsDebug("curTime", curTime);
26 rsLocaltime(&tm, &curTime);
39 curTime = 1294438893;
40 rsLocaltime(&tm, &curTime);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Drstime.rscript24 rs_time_t curTime = rsTime(0);
26 rsDebug("curTime", curTime);
28 rsLocaltime(&tm, &curTime);
41 curTime = 1294438893;
42 rsLocaltime(&tm, &curTime);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DThroughputFilter.java76 long curTime = SystemClock.elapsedRealtime(); in onProcess() local
79 if ((curTime - mLastTime) >= (mPeriod * 1000)) { in onProcess()
84 curTime - mLastTime, in onProcess()
89 mLastTime = curTime; in onProcess()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiLogger.java113 long curTime = SystemClock.uptimeMillis(); in updateLog() local
115 if (shouldLogNow(timing, curTime)) { in updateLog()
117 cache.put(logMessage, new Pair<>(curTime, 1)); in updateLog()
139 private static boolean shouldLogNow(@Nullable Pair<Long, Integer> timing, long curTime) { in shouldLogNow() argument
140 return timing == null || curTime - timing.first > ERROR_LOG_DURATION_MILLIS; in shouldLogNow()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/
DThroughputFilter.java84 long curTime = SystemClock.elapsedRealtime(); in process() local
87 if ((curTime - mLastTime) >= (mPeriod * 1000)) { in process()
97 mLastTime = curTime; in process()
/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp612 HLSTime curTime(buffer->meta()); in trimBuffersAfterMeta() local
613 if (!(curTime < stopTime)) { in trimBuffersAfterMeta()
615 (long long)curTime.mTimeUs); in trimBuffersAfterMeta()
619 newLastQueuedTimeUs = curTime.mTimeUs; in trimBuffersAfterMeta()
683 HLSTime curTime(buffer->meta()); in trimBuffersBeforeMeta() local
684 if (startTime < curTime) { in trimBuffersBeforeMeta()
686 (long long)curTime.mTimeUs); in trimBuffersBeforeMeta()
688 firstTimeUs = curTime.mTimeUs; in trimBuffersBeforeMeta()
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp452 nsecs_t curTime = systemTime(); in flushPowerTimeLocked() local
454 int64_t elapsedTime = (curTime - mPowerTime.prevTime) / 1000000; in flushPowerTimeLocked()
467 mPowerTime.prevTime = curTime; in flushPowerTimeLocked()
/frameworks/native/services/sensorservice/
DSensorService.cpp412 timespec curTime; in dump() local
413 clock_gettime(CLOCK_REALTIME, &curTime); in dump()
414 struct tm* timeinfo = localtime(&(curTime.tv_sec)); in dump()
416 timeinfo->tm_min, timeinfo->tm_sec, (int)ns2ms(curTime.tv_nsec)); in dump()
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java630 long curTime;
636 curTime = mProcessStats.mTimePeriodEndRealtime
641 if (curTime < minTime) {
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1226 public long computeUptime(long curTime, int which) { in computeUptime() argument
1227 return mUptime + getUptime(curTime); in computeUptime()
1230 public long computeRealtime(long curTime, int which) { in computeRealtime() argument
1231 return mRealtime + getRealtime(curTime); in computeRealtime()
1234 public long getUptime(long curTime) { in getUptime() argument
1237 time += curTime - mUptimeStart; in getUptime()
1242 public long getRealtime(long curTime) { in getRealtime() argument
1245 time += curTime - mRealtimeStart; in getRealtime()
2050 private long computeOverage(long curTime) { in computeOverage() argument
2052 return mLastAddedDuration - curTime; in computeOverage()
[all …]
/frameworks/base/core/java/android/view/
DViewRootImpl.java5857 long curTime = SystemClock.uptimeMillis(); in process() local
5858 if ((mLastTime + MAX_TRACKBALL_DELAY) < curTime) { in process()
5863 mLastTime = curTime; in process()
5872 enqueueInputEvent(new KeyEvent(curTime, curTime, in process()
5880 enqueueInputEvent(new KeyEvent(curTime, curTime, in process()
5934 enqueueInputEvent(new KeyEvent(curTime, curTime, in process()
5943 curTime = SystemClock.uptimeMillis(); in process()
5944 enqueueInputEvent(new KeyEvent(curTime, curTime, in process()
5948 enqueueInputEvent(new KeyEvent(curTime, curTime, in process()
5953 mLastTime = curTime; in process()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp1186 String8 curTime = getFormattedCurrentTime(); in handleEvictionsLocked() local
1191 "(PID %d, score %d state %d) due to eviction policy", curTime.string(), in handleEvictionsLocked()
2120 String8 curTime = getFormattedCurrentTime(); in doUserSwitch() local
2153 String8 curTime = getFormattedCurrentTime(); in logEvent() local
2155 mEventLog.add(String8::format("%s : %s", curTime.string(), event)); in logEvent()
2213 String8 curTime = getFormattedCurrentTime(); in logServiceError() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java1211 final long curTime = SystemClock.elapsedRealtime(); in handleMessage() local
1212 if ((curTime - mLastCellInfoReqTime) < CELL_INFO_LIST_QUERY_TIMEOUT) { in handleMessage()
5022 final long curTime = SystemClock.elapsedRealtime(); in requestAllCellInfo() local
5023 if ((curTime - mLastCellInfoReqTime) < mCellInfoMinIntervalMs) { in requestAllCellInfo()
5035 mLastCellInfoReqTime = curTime; in requestAllCellInfo()
5060 long curTime = System.currentTimeMillis(); in shouldRefreshSignalStrength() local
5064 boolean isStale = (mSignalStrengthUpdatedTime > curTime) in shouldRefreshSignalStrength()
5065 || (curTime - mSignalStrengthUpdatedTime > SIGNAL_STRENGTH_REFRESH_THRESHOLD_IN_MS); in shouldRefreshSignalStrength()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerService.java163 long curTime = SystemClock.elapsedRealtime(); in dump() local
170 totalTimeMsec += curTime - stat.mLastStartTimestampMsec; in dump()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1117 nsecs_t curTime = systemTime(); in threadLoop() local
1119 if (mAudioCommands[0]->mTime <= curTime) { in threadLoop()
1310 waitTime = mAudioCommands[0]->mTime - curTime; in threadLoop()
/frameworks/base/core/java/android/os/
DBatteryStats.java2831 public abstract long getBatteryUptime(long curTime); in getBatteryUptime() argument
2838 public abstract long getBatteryRealtime(long curTime); in getBatteryRealtime() argument
2912 public abstract long computeBatteryUptime(long curTime, int which); in computeBatteryUptime() argument
2921 public abstract long computeBatteryRealtime(long curTime, int which); in computeBatteryRealtime() argument
2929 public abstract long computeBatteryScreenOffUptime(long curTime, int which); in computeBatteryScreenOffUptime() argument
2937 public abstract long computeBatteryScreenOffRealtime(long curTime, int which); in computeBatteryScreenOffRealtime() argument
2945 public abstract long computeUptime(long curTime, int which); in computeUptime() argument
2953 public abstract long computeRealtime(long curTime, int which); in computeRealtime() argument
2964 public abstract long computeBatteryTimeRemaining(long curTime); in computeBatteryTimeRemaining() argument
3099 public abstract long computeChargeTimeRemaining(long curTime); in computeChargeTimeRemaining() argument