/aosp14/system/core/libutils/ |
H A D | Timers_test.cpp | 22 EXPECT_EXIT(systemTime(-1), testing::KilledBySignal(SIGABRT), ""); in TEST() 23 systemTime(SYSTEM_TIME_REALTIME); in TEST() 24 systemTime(SYSTEM_TIME_MONOTONIC); in TEST() 25 systemTime(SYSTEM_TIME_PROCESS); in TEST() 26 systemTime(SYSTEM_TIME_THREAD); in TEST() 27 systemTime(SYSTEM_TIME_BOOTTIME); in TEST() 28 EXPECT_EXIT(systemTime(SYSTEM_TIME_BOOTTIME + 1), testing::KilledBySignal(SIGABRT), ""); in TEST()
|
H A D | StopWatch.cpp | 44 return systemTime(mClock) - mStartTime; in elapsedTime() 48 mStartTime = systemTime(mClock); in reset()
|
H A D | SystemClock.cpp | 50 return systemTime(SYSTEM_TIME_MONOTONIC); in uptimeNanos() 77 return systemTime(SYSTEM_TIME_MONOTONIC); in elapsedRealtimeNano()
|
H A D | Timers.cpp | 33 nsecs_t systemTime(int clock) { in systemTime() function 44 nsecs_t systemTime(int clock) { in systemTime() function
|
H A D | Looper.cpp | 228 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in pollInner() 319 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in pollInner() 390 nsecs_t endTime = systemTime(SYSTEM_TIME_MONOTONIC) in pollAll() 399 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in pollAll() 584 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in sendMessage() 590 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in sendMessageDelayed()
|
/aosp14/frameworks/base/libs/hwui/ |
H A D | FrameInfo.h | 128 void markSyncStart() { set(FrameInfoIndex::SyncStart) = systemTime(SYSTEM_TIME_MONOTONIC); } in markSyncStart() 131 set(FrameInfoIndex::IssueDrawCommandsStart) = systemTime(SYSTEM_TIME_MONOTONIC); in markIssueDrawCommandsStart() 134 void markSwapBuffers() { set(FrameInfoIndex::SwapBuffers) = systemTime(SYSTEM_TIME_MONOTONIC); } in markSwapBuffers() 137 set(FrameInfoIndex::SwapBuffersCompleted) = systemTime(SYSTEM_TIME_MONOTONIC); in markSwapBuffersCompleted() 140 …void markFrameCompleted() { set(FrameInfoIndex::FrameCompleted) = systemTime(SYSTEM_TIME_MONOTONIC… in markFrameCompleted()
|
H A D | HardwareBitmapUploader.cpp | 101 nsecs_t durationSince = systemTime() - mLastUpload; in shouldTimeOutLocked() 131 mLastUpload = systemTime(); in endUpload()
|
/aosp14/frameworks/base/media/jni/soundpool/tests/ |
H A D | soundpool_stress.cpp | 118 const int64_t startTimeNs = systemTime(); in testStreams() 143 const int64_t requestLoadTimeNs = systemTime(); in testStreams() 178 const int64_t loadTimeNs = systemTime(); in testStreams() 197 const int64_t playTimeNs = systemTime(); in testStreams() 282 const int64_t startTimeNs = systemTime(); in main() 298 const int64_t endTimeNs = systemTime(); in main()
|
/aosp14/system/core/trusty/keymaster/ipc/ |
H A D | trusty_keymaster_ipc.cpp | 92 nsecs_t start_time_ns = systemTime(SYSTEM_TIME_MONOTONIC); in trusty_keymaster_call_2() 104 (long long)(systemTime(SYSTEM_TIME_MONOTONIC) - start_time_ns)); in trusty_keymaster_call_2() 122 (long long)(systemTime(SYSTEM_TIME_MONOTONIC) - start_time_ns)); in trusty_keymaster_call_2() 161 start_time_ns = systemTime(SYSTEM_TIME_MONOTONIC); in trusty_keymaster_call_2() 173 (long long)(systemTime(SYSTEM_TIME_MONOTONIC) - start_time_ns)); in trusty_keymaster_call_2() 190 (long long)(systemTime(SYSTEM_TIME_MONOTONIC) - start_time_ns)); in trusty_keymaster_call_2()
|
/aosp14/frameworks/base/libs/hwui/tests/macrobench/ |
H A D | TestSceneRunner.cpp | 141 nsecs_t vsync = systemTime(SYSTEM_TIME_MONOTONIC); in doRun() 155 nsecs_t start = systemTime(SYSTEM_TIME_MONOTONIC); in doRun() 158 nsecs_t vsync = systemTime(SYSTEM_TIME_MONOTONIC); in doRun() 171 nsecs_t done = systemTime(SYSTEM_TIME_MONOTONIC); in doRun() 179 nsecs_t end = systemTime(SYSTEM_TIME_MONOTONIC); in doRun()
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_os_SystemClock.cpp | 52 return nanoseconds_to_milliseconds(systemTime(SYSTEM_TIME_THREAD)); in android_os_SystemClock_currentThreadTimeMillis() 60 return nanoseconds_to_microseconds(systemTime(SYSTEM_TIME_THREAD)); in android_os_SystemClock_currentThreadTimeMicro()
|
/aosp14/system/core/libutils/include/utils/ |
H A D | Timers.h | 85 nsecs_t systemTime(int clock = SYSTEM_TIME_MONOTONIC); 87 nsecs_t systemTime(int clock);
|
H A D | Mutex.h | 193 timeoutNs += systemTime(SYSTEM_TIME_REALTIME); in timedLock()
|
/aosp14/frameworks/base/libs/hwui/renderthread/ |
H A D | HintSessionWrapper.cpp | 129 mLastFrameNotification = systemTime(); in updateTargetWorkDuration() 144 nsecs_t now = systemTime(); in sendLoadResetHint()
|
H A D | CacheManager.cpp | 86 mLastDeferredCleanup = systemTime(CLOCK_MONOTONIC); in reset() 263 mFrameCompletions.next() = systemTime(CLOCK_MONOTONIC); in onFrameCompleted() 278 const nsecs_t now = systemTime(CLOCK_MONOTONIC); in onThreadIdle()
|
H A D | DrawFrameTask.cpp | 76 mSyncQueued = systemTime(SYSTEM_TIME_MONOTONIC); in drawFrame() 93 mContext->setSyncDelayDuration(systemTime(SYSTEM_TIME_MONOTONIC) - mSyncQueued); in run()
|
H A D | TimeLord.cpp | 55 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in computeFrameTimeNanos()
|
H A D | RenderThread.cpp | 188 systemTime(SYSTEM_TIME_MONOTONIC), 16_ms); in requestNextVsync() 195 systemTime(SYSTEM_TIME_MONOTONIC), 16_ms); in drainPendingEvents()
|
H A D | CanvasContext.cpp | 666 swap.swapCompletedTime = systemTime(SYSTEM_TIME_MONOTONIC); in draw() 746 int64_t frameDuration = systemTime(SYSTEM_TIME_MONOTONIC) - frameStartTime; in draw() 870 systemTime(SYSTEM_TIME_MONOTONIC) - mRenderThread.timeLord().computeFrameTimeNanos(); in doFrame() 905 prepareTree(info, frameInfo, systemTime(SYSTEM_TIME_MONOTONIC), node); in prepareAndDraw()
|
/aosp14/frameworks/base/media/jni/soundpool/ |
H A D | Stream.cpp | 188 mStopTimeNs = systemTime() + kStopWaitTimeNs; in requestStop() 190 mStopTimeNs = systemTime(); in requestStop() 458 mStopTimeNs = systemTime(); in onBufferEnd()
|
H A D | StreamManager.cpp | 188 newStream->setStopTimeNs(systemTime()); in queueForPlay() 387 const nsecs_t nowNs = systemTime(); in run()
|
/aosp14/frameworks/base/libs/hwui/hwui/ |
H A D | AnimatedImageDrawable.cpp | 72 const nsecs_t currentTime = systemTime(SYSTEM_TIME_MONOTONIC); in isDirty() 290 const nsecs_t currentTime = systemTime(SYSTEM_TIME_MONOTONIC); in drawStaging()
|
/aosp14/frameworks/base/libs/input/ |
H A D | PointerControllerContext.h | 150 nsecs_t animationTime{systemTime(SYSTEM_TIME_MONOTONIC)};
|
/aosp14/frameworks/base/libs/hwui/jni/ |
H A D | android_graphics_HardwareBufferRenderer.cpp | 114 nsecs_t vsync = systemTime(SYSTEM_TIME_MONOTONIC); in android_graphics_HardwareBufferRenderer_render()
|
/aosp14/frameworks/base/libs/hwui/thread/ |
H A D | WorkQueue.h | 34 static nsecs_t now() { return systemTime(SYSTEM_TIME_MONOTONIC); } in now()
|