Home
last modified time | relevance | path

Searched refs:timeNow (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/opengl/tests/angeles/
Dapp-linux.cpp208 struct timeval timeNow; in main() local
210 gettimeofday(&timeNow, NULL); in main()
211 appRender(timeNow.tv_sec * 1000 + timeNow.tv_usec / 1000, in main()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java471 final long timeNow = checkAndGetTimeLocked(); in reportEvent() local
568 getUserDataAndInitializeIfNeededLocked(userId, timeNow); in reportEvent()
624 final long timeNow = checkAndGetTimeLocked(); in queryUsageStats() local
625 if (!validRange(timeNow, beginTime, endTime)) { in queryUsageStats()
630 getUserDataAndInitializeIfNeededLocked(userId, timeNow); in queryUsageStats()
657 final long timeNow = checkAndGetTimeLocked(); in queryConfigurationStats() local
658 if (!validRange(timeNow, beginTime, endTime)) { in queryConfigurationStats()
663 getUserDataAndInitializeIfNeededLocked(userId, timeNow); in queryConfigurationStats()
674 final long timeNow = checkAndGetTimeLocked(); in queryEventStats() local
675 if (!validRange(timeNow, beginTime, endTime)) { in queryEventStats()
[all …]
/frameworks/base/core/java/com/android/internal/app/procstats/
DAssociationState.java669 final long timeNow = src.mActiveStartUptime != 0 ? (now-src.mActiveStartUptime) : 0; in dumpTimesCheckin() local
676 duration += timeNow; in dumpTimesCheckin()
685 duration = src.mActiveDuration + timeNow; in dumpTimesCheckin()
720 final long timeNow = src.mActiveStartUptime != 0 ? (now-src.mActiveStartUptime) : 0; in writeToProto() local
727 duration += timeNow; in writeToProto()
740 duration = src.mActiveDuration + timeNow; in writeToProto()
/frameworks/base/services/core/java/com/android/server/storage/
DCacheQuotaStrategy.java167 long timeNow = System.currentTimeMillis(); in getUnfulfilledRequests() local
168 long oneYearAgo = timeNow - DateUtils.YEAR_IN_MILLIS; in getUnfulfilledRequests()
179 oneYearAgo, timeNow, /*obfuscateInstantApps=*/ false); in getUnfulfilledRequests()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp2150 const nsecs_t timeNow = systemTime(); in processAudioBuffer() local
2151 ns = max((nsecs_t)0, ns - (timeNow - timeAfterCallbacks)); in processAudioBuffer()
2239 const nsecs_t timeNow = systemTime(); in processAudioBuffer() local
2240 ns = max((nsecs_t)0, ns - (timeNow - timeAfterCallbacks)); in processAudioBuffer()
2714 const int64_t timeNow = getNowUs(); in getTimestamp_l() local
2716 if (timeNow < mStartFromZeroUs + k1SecUs) { // within first second of starting in getTimestamp_l()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java2531 final long timeNow = SystemClock.elapsedRealtime(); in addPowerSaveTempWhitelistAppDirectInternal() local
2550 entry.first.value = timeNow + duration; in addPowerSaveTempWhitelistAppDirectInternal()
2612 final long timeNow = SystemClock.elapsedRealtime(); in checkTempAppWhitelistTimeout() local
2614 Slog.d(TAG, "checkTempAppWhitelistTimeout: appId=" + appId + ", timeNow=" + timeNow); in checkTempAppWhitelistTimeout()
2622 if (timeNow >= entry.first.value) { in checkTempAppWhitelistTimeout()
2630 postTempActiveTimeoutMessage(appId, entry.first.value - timeNow); in checkTempAppWhitelistTimeout()
4618 final long timeNow = SystemClock.elapsedRealtime(); in dumpTempWhitelistSchedule() local
4625 TimeUtils.formatDuration(entry.first.value, timeNow, pw); in dumpTempWhitelistSchedule()
/frameworks/base/core/java/android/os/
DParcel.java1906 final long timeNow = sParcelExceptionStackTrace ? SystemClock.elapsedRealtime() : 0; in writeException() local
1907 if (sParcelExceptionStackTrace && (timeNow - sLastWriteExceptionStackTrace in writeException()
1909 sLastWriteExceptionStackTrace = timeNow; in writeException()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java2455 long timeNow = timeStart; in requestCopyPreoptedFiles() local
2462 timeNow = SystemClock.uptimeMillis(); in requestCopyPreoptedFiles()
2463 if (timeNow > timeEnd) { in requestCopyPreoptedFiles()
2470 Slog.i(TAG, "cppreopts took " + (timeNow - timeStart) + " ms"); in requestCopyPreoptedFiles()