Home
last modified time | relevance | path

Searched refs:acquireTime (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/libs/gui/include/gui/test/
DCallbackUtils.h142 nsecs_t acquireTime = -1; in verifySurfaceControlStats() local
144 acquireTime = std::get<nsecs_t>(acquireTimeOrFence); in verifySurfaceControlStats()
149 acquireTime = fence->getSignalTime(); in verifySurfaceControlStats()
154 ASSERT_GT(acquireTime, 0) << "acquire time should be valid"; in verifySurfaceControlStats()
156 ASSERT_LE(acquireTime, 0) << "acquire time should not be valid"; in verifySurfaceControlStats()
158 ASSERT_EQ(acquireTime > 0, mBufferResult == ExpectedResult::Buffer::ACQUIRED); in verifySurfaceControlStats()
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.h91 virtual void setAcquireTime(int32_t layerId, uint64_t frameNumber, nsecs_t acquireTime) = 0;
195 nsecs_t acquireTime = 0; member
265 void setAcquireTime(int32_t layerId, uint64_t frameNumber, nsecs_t acquireTime) override;
DTimeStats.cpp416 timeRecord->frameTime.acquireTime = timeRecord->acquireFence->getSignalTime(); in recordReadyLocked()
497 timeRecords[0].frameTime.acquireTime); in flushAvailableRecordsToStatsLocked()
508 const int32_t acquireToPresentMs = msBetween(timeRecords[0].frameTime.acquireTime, in flushAvailableRecordsToStatsLocked()
602 .acquireTime = postTime, in setPostTime()
678 void TimeStats::setAcquireTime(int32_t layerId, uint64_t frameNumber, nsecs_t acquireTime) { in setAcquireTime() argument
682 ALOGV("[%d]-[%" PRIu64 "]-AcquireTime[%" PRId64 "]", layerId, frameNumber, acquireTime); in setAcquireTime()
692 timeRecord.frameTime.acquireTime = acquireTime; in setAcquireTime()
/frameworks/native/libs/gui/
DITransactionCompletedListener.cpp180 nsecs_t acquireTime; in readFromParcel() local
181 SAFE_PARCEL(input->readInt64, &acquireTime); in readFromParcel()
182 acquireTimeOrFence = acquireTime; in readFromParcel()
DSurface.cpp355 nsecs_t acquireTime = NATIVE_WINDOW_TIMESTAMP_INVALID; in getFrameTimestamps() local
356 getFrameTimestampFence(&acquireTime, events->acquireFence, in getFrameTimestamps()
359 *outAcquireTime = acquireTime; in getFrameTimestamps()
375 && *outGpuCompositionDoneTime > 0 && (acquireTime > 0 || firstRefreshStartTime > 0) in getFrameTimestamps()
376 && *outGpuCompositionDoneTime <= std::max(acquireTime, firstRefreshStartTime)) { in getFrameTimestamps()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java235 final long acquireTime = acquireWakeLockLI(pkg.getUid()); in performDexOpt() local
240 releaseWakeLockLI(acquireTime); in performDexOpt()
538 private void releaseWakeLockLI(final long acquireTime) { in releaseWakeLockLI() argument
539 if (acquireTime < 0) { in releaseWakeLockLI()
546 final long duration = SystemClock.elapsedRealtime() - acquireTime; in releaseWakeLockLI()
/frameworks/native/opengl/libs/EGL/
Degl_platform_entries.cpp2325 nsecs_t* acquireTime = nullptr; in eglGetFrameTimestampsANDROIDImpl() local
2340 acquireTime = &values[i]; in eglGetFrameTimestampsANDROIDImpl()
2370 acquireTime, latchTime, firstRefreshStartTime, in eglGetFrameTimestampsANDROIDImpl()