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.cpp2144 const nsecs_t timeNow = systemTime(); in processAudioBuffer() local
2145 ns = max((nsecs_t)0, ns - (timeNow - timeAfterCallbacks)); in processAudioBuffer()
2233 const nsecs_t timeNow = systemTime(); in processAudioBuffer() local
2234 ns = max((nsecs_t)0, ns - (timeNow - timeAfterCallbacks)); in processAudioBuffer()
2708 const int64_t timeNow = getNowUs(); in getTimestamp_l() local
2710 if (timeNow < mStartFromZeroUs + k1SecUs) { // within first second of starting in getTimestamp_l()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java2371 final long timeNow = SystemClock.elapsedRealtime(); in addPowerSaveTempWhitelistAppDirectInternal() local
2390 entry.first.value = timeNow + duration; in addPowerSaveTempWhitelistAppDirectInternal()
2452 final long timeNow = SystemClock.elapsedRealtime(); in checkTempAppWhitelistTimeout() local
2454 Slog.d(TAG, "checkTempAppWhitelistTimeout: appId=" + appId + ", timeNow=" + timeNow); in checkTempAppWhitelistTimeout()
2462 if (timeNow >= entry.first.value) { in checkTempAppWhitelistTimeout()
2470 postTempActiveTimeoutMessage(appId, entry.first.value - timeNow); in checkTempAppWhitelistTimeout()
4393 final long timeNow = SystemClock.elapsedRealtime(); in dumpTempWhitelistSchedule() local
4400 TimeUtils.formatDuration(entry.first.value, timeNow, pw); in dumpTempWhitelistSchedule()
/frameworks/base/core/java/android/os/
DParcel.java1901 final long timeNow = sParcelExceptionStackTrace ? SystemClock.elapsedRealtime() : 0; in writeException() local
1902 if (sParcelExceptionStackTrace && (timeNow - sLastWriteExceptionStackTrace in writeException()
1904 sLastWriteExceptionStackTrace = timeNow; in writeException()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java2361 long timeNow = timeStart; in requestCopyPreoptedFiles() local
2368 timeNow = SystemClock.uptimeMillis(); in requestCopyPreoptedFiles()
2369 if (timeNow > timeEnd) { in requestCopyPreoptedFiles()
2376 Slog.i(TAG, "cppreopts took " + (timeNow - timeStart) + " ms"); in requestCopyPreoptedFiles()