Home
last modified time | relevance | path

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

/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_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/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_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/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/native/services/sensorservice/
DSensorRegistrationInfo.h54 timespec curTime; in SensorRegistrationInfo() local
55 clock_gettime(CLOCK_REALTIME_COARSE, &curTime); in SensorRegistrationInfo()
56 mRealtimeSec = curTime.tv_sec; in SensorRegistrationInfo()
DSensorService.cpp516 timespec curTime; in dump() local
517 clock_gettime(CLOCK_REALTIME, &curTime); in dump()
518 struct tm* timeinfo = localtime(&(curTime.tv_sec)); in dump()
520 timeinfo->tm_min, timeinfo->tm_sec, (int)ns2ms(curTime.tv_nsec)); in dump()
628 timespec curTime; in dumpProtoLocked() local
629 clock_gettime(CLOCK_REALTIME, &curTime); in dumpProtoLocked()
630 proto.write(CURRENT_TIME_MS, curTime.tv_sec * 1000 + ns2ms(curTime.tv_nsec)); in dumpProtoLocked()
/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp614 HLSTime curTime(buffer->meta()); in trimBuffersAfterMeta() local
615 if (!(curTime < stopTime)) { in trimBuffersAfterMeta()
617 (long long)curTime.mTimeUs); in trimBuffersAfterMeta()
621 newLastQueuedTimeUs = curTime.mTimeUs; in trimBuffersAfterMeta()
685 HLSTime curTime(buffer->meta()); in trimBuffersBeforeMeta() local
686 if (startTime < curTime) { in trimBuffersBeforeMeta()
688 (long long)curTime.mTimeUs); in trimBuffersBeforeMeta()
690 firstTimeUs = curTime.mTimeUs; in trimBuffersBeforeMeta()
/frameworks/base/services/core/java/com/android/server/power/
DFaceDownDetector.java258 final long curTime = event.timestamp;
262 mPrevAccelerationTime = curTime;
264 final boolean moving = curTime - mPrevAccelerationTime <= mTimeThreshold.toNanos();
274 && curTime - mZAccelerationFaceDownTime > mTimeThreshold.toNanos();
276 mZAccelerationFaceDownTime = curTime;
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java728 long curTime;
734 curTime = mProcessStats.mTimePeriodEndRealtime
739 if (curTime < minTime) {
805 long curTime;
811 curTime = mProcessStats.mTimePeriodEndRealtime - mProcessStats.mTimePeriodStartRealtime;
813 if (curTime < minTime) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSignalStrengthController.java352 long curTime = System.currentTimeMillis(); in shouldRefreshSignalStrength() local
356 boolean isStale = (mSignalStrengthUpdatedTime > curTime) in shouldRefreshSignalStrength()
357 || (curTime - mSignalStrengthUpdatedTime > SIGNAL_STRENGTH_REFRESH_THRESHOLD_IN_MS); in shouldRefreshSignalStrength()
DServiceStateTracker.java1269 final long curTime = SystemClock.elapsedRealtime(); in handleMessage() local
1270 if ((curTime - mLastCellInfoReqTime) < CELL_INFO_LIST_QUERY_TIMEOUT) { in handleMessage()
5257 final long curTime = SystemClock.elapsedRealtime(); in requestAllCellInfo() local
5258 if ((curTime - mLastCellInfoReqTime) < mCellInfoMinIntervalMs) { in requestAllCellInfo()
5270 mLastCellInfoReqTime = curTime; in requestAllCellInfo()
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp886 nsecs_t curTime = systemTime(); in flushPowerTimeLocked() local
888 int64_t elapsedTime = (curTime - mPowerTime.prevTime) / 1000000; in flushPowerTimeLocked()
902 mPowerTime.prevTime = curTime; in flushPowerTimeLocked()
/frameworks/base/core/java/android/view/
DViewRootImpl.java6988 long curTime = SystemClock.uptimeMillis(); in process() local
6989 if ((mLastTime + MAX_TRACKBALL_DELAY) < curTime) { in process()
6994 mLastTime = curTime; in process()
7003 enqueueInputEvent(new KeyEvent(curTime, curTime, in process()
7011 enqueueInputEvent(new KeyEvent(curTime, curTime, in process()
7065 enqueueInputEvent(new KeyEvent(curTime, curTime, in process()
7074 curTime = SystemClock.uptimeMillis(); in process()
7075 enqueueInputEvent(new KeyEvent(curTime, curTime, in process()
7079 enqueueInputEvent(new KeyEvent(curTime, curTime, in process()
7084 mLastTime = curTime; in process()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerService.java172 long curTime = SystemClock.elapsedRealtime(); in dump() local
179 totalTimeMsec += curTime - stat.mLastStartTimestampMsec; in dump()
/frameworks/base/core/java/android/os/
DBatteryStats.java3205 public abstract long getBatteryUptime(long curTime); in getBatteryUptime() argument
3212 public abstract long getBatteryRealtime(long curTime); in getBatteryRealtime() argument
3300 public abstract long computeBatteryUptime(long curTime, int which); in computeBatteryUptime() argument
3309 public abstract long computeBatteryRealtime(long curTime, int which); in computeBatteryRealtime() argument
3317 public abstract long computeBatteryScreenOffUptime(long curTime, int which); in computeBatteryScreenOffUptime() argument
3325 public abstract long computeBatteryScreenOffRealtime(long curTime, int which); in computeBatteryScreenOffRealtime() argument
3333 public abstract long computeUptime(long curTime, int which); in computeUptime() argument
3341 public abstract long computeRealtime(long curTime, int which); in computeRealtime() argument
3352 public abstract long computeBatteryTimeRemaining(long curTime); in computeBatteryTimeRemaining() argument
3492 public abstract long computeChargeTimeRemaining(long curTime); in computeChargeTimeRemaining() argument
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp1486 String8 curTime = getFormattedCurrentTime(); in handleEvictionsLocked() local
1491 "(PID %d, score %d state %d) due to eviction policy", curTime.string(), in handleEvictionsLocked()
3072 String8 curTime = getFormattedCurrentTime(); in doUserSwitch() local
3105 String8 curTime = getFormattedCurrentTime(); in logEvent() local
3107 String8 msg = String8::format("%s : %s", curTime.string(), event); in logEvent()
3187 String8 curTime = getFormattedCurrentTime(); in logServiceError() local
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1975 nsecs_t curTime = systemTime(); in threadLoop() local
1977 if (mAudioCommands[0]->mTime <= curTime) { in threadLoop()
2225 waitTime = mAudioCommands[0]->mTime - curTime; in threadLoop()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java16037 public long computeBatteryTimeRemaining(long curTime) {
16075 public long computeChargeTimeRemaining(long curTime) {