Home
last modified time | relevance | path

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

/aosp12/frameworks/base/native/android/
H A Dsurface_control.cpp144 int64_t acquireTime; member
160 aSurfaceControlStats.acquireTime = surfaceStats.acquireTime; in ASurfaceControl_registerSurfaceStatsListener()
178 return stats->acquireTime; in ASurfaceControlStats_getAcquireTime()
257 return aSurfaceControlStats->second.acquireTime; in ASurfaceTransactionStats_getAcquireTime()
301 …for (const auto& [surfaceControl, latchTime, acquireTime, presentFence, previousReleaseFence, tran… in ASurfaceTransaction_setOnComplete()
303 aSurfaceControlStats[aSurfaceControl].acquireTime = acquireTime; in ASurfaceTransaction_setOnComplete()
651 [surfaceControl, latchTime, acquireTime, presentFence, in ASurfaceTransaction_setOnCommit()
656 aSurfaceControlStats[aSurfaceControl].acquireTime = acquireTime; in ASurfaceTransaction_setOnCommit()
/aosp12/frameworks/native/libs/gui/include/gui/test/
H A DCallbackUtils.h137 const auto& [surfaceControl, latch, acquireTime, presentFence, previousReleaseFence, in verifySurfaceControlStats()
140 ASSERT_EQ(acquireTime > 0, mBufferResult == ExpectedResult::Buffer::ACQUIRED) in verifySurfaceControlStats()
142 ASSERT_LE(acquireTime, latchTime) << "acquire time should be <= latch time"; in verifySurfaceControlStats()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageDexOptimizer.java196 final long acquireTime = acquireWakeLockLI(pkg.getUid()); in performDexOpt() local
201 releaseWakeLockLI(acquireTime); in performDexOpt()
469 final long acquireTime = acquireWakeLockLI(info.uid); in dexOptSecondaryDexPath() local
473 releaseWakeLockLI(acquireTime); in dexOptSecondaryDexPath()
492 private void releaseWakeLockLI(final long acquireTime) { in releaseWakeLockLI() argument
493 if (acquireTime < 0) { in releaseWakeLockLI()
500 final long duration = SystemClock.elapsedRealtime() - acquireTime; in releaseWakeLockLI()
/aosp12/frameworks/native/services/surfaceflinger/TimeStats/
H A DTimeStats.h97 virtual void setAcquireTime(int32_t layerId, uint64_t frameNumber, nsecs_t acquireTime) = 0;
180 nsecs_t acquireTime = 0; member
253 void setAcquireTime(int32_t layerId, uint64_t frameNumber, nsecs_t acquireTime) override;
H A DTimeStats.cpp426 timeRecord->frameTime.acquireTime = timeRecord->acquireFence->getSignalTime(); in recordReadyLocked()
506 timeRecords[0].frameTime.acquireTime); in flushAvailableRecordsToStatsLocked()
517 const int32_t acquireToPresentMs = msBetween(timeRecords[0].frameTime.acquireTime, in flushAvailableRecordsToStatsLocked()
605 .acquireTime = postTime, in setPostTime()
681 void TimeStats::setAcquireTime(int32_t layerId, uint64_t frameNumber, nsecs_t acquireTime) { in setAcquireTime() argument
685 ALOGV("[%d]-[%" PRIu64 "]-AcquireTime[%" PRId64 "]", layerId, frameNumber, acquireTime); in setAcquireTime()
695 timeRecord.frameTime.acquireTime = acquireTime; in setAcquireTime()
/aosp12/frameworks/native/libs/gui/include/gui/
H A DSurfaceComposerClient.h58 SurfaceControlStats(const sp<SurfaceControl>& sc, nsecs_t latchTime, nsecs_t acquireTime, in SurfaceControlStats()
63 acquireTime(acquireTime), in SurfaceControlStats()
72 nsecs_t acquireTime = -1; member
H A DITransactionCompletedListener.h138 acquireTime(time), in SurfaceStats()
147 nsecs_t acquireTime = -1; variable
/aosp12/frameworks/native/libs/gui/
H A DITransactionCompletedListener.cpp114 SAFE_PARCEL(output->writeInt64, acquireTime); in writeToParcel()
134 SAFE_PARCEL(input->readInt64, &acquireTime); in readFromParcel()
H A DSurfaceComposerClient.cpp296 transactionStats.latchTime, surfaceStats.acquireTime, in onTransactionCompleted()
321 transactionStats.latchTime, surfaceStats.acquireTime, in onTransactionCompleted()
/aosp12/frameworks/native/services/surfaceflinger/
H A DTransactionCallbackInvoker.h45 nsecs_t acquireTime = -1; variable
H A DTransactionCallbackInvoker.cpp236 transactionStats->surfaceStats.emplace_back(surfaceControl, handle->acquireTime, in addCallbackHandle()
H A DBufferStateLayer.cpp569 handle->acquireTime = mCallbackHandleAcquireTime; in setTransactionCompletedListeners()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiLockManagerTest.java1323 long acquireTime = 1000; in testHighPerfLockMetrics() local
1334 when(mClock.getElapsedSinceBootMillis()).thenReturn(acquireTime); in testHighPerfLockMetrics()
1356 eq(releaseTime - acquireTime)); in testHighPerfLockMetrics()
1365 long acquireTime = 1000; in testLowLatencyLockMetrics() local
1383 when(mClock.getElapsedSinceBootMillis()).thenReturn(acquireTime); in testLowLatencyLockMetrics()
1405 eq(releaseTime - acquireTime)); in testLowLatencyLockMetrics()
/aosp12/frameworks/native/opengl/libs/EGL/
H A Degl_platform_entries.cpp2302 nsecs_t* acquireTime = nullptr; in eglGetFrameTimestampsANDROIDImpl() local
2317 acquireTime = &values[i]; in eglGetFrameTimestampsANDROIDImpl()
2347 acquireTime, latchTime, firstRefreshStartTime, in eglGetFrameTimestampsANDROIDImpl()