Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DFrameMetricsReporterTests.cpp50 int32_t surfaceControlId = 0; in TEST() local
51 reporter->reportFrameMetrics(stats, hasPresentTime, frameNumber, surfaceControlId); in TEST()
54 surfaceControlId = 0; in TEST()
55 reporter->reportFrameMetrics(stats, hasPresentTime, frameNumber, surfaceControlId); in TEST()
58 surfaceControlId = 2; in TEST()
59 reporter->reportFrameMetrics(stats, hasPresentTime, frameNumber, surfaceControlId); in TEST()
62 surfaceControlId = 2; in TEST()
63 reporter->reportFrameMetrics(stats, hasPresentTime, frameNumber, surfaceControlId); in TEST()
70 int32_t surfaceControlId = 0; in TEST() local
75 observer->reportMetricsFrom(frameNumber, surfaceControlId); in TEST()
[all …]
/frameworks/base/libs/hwui/
DFrameMetricsReporter.cpp23 uint64_t frameNumber, int32_t surfaceControlId) { in reportFrameMetrics() argument
31 if (CC_UNLIKELY(surfaceControlId < observer->attachedSurfaceControlId())) { in reportFrameMetrics()
34 ALOGV("skipped reporting metrics from old surface %d", surfaceControlId); in reportFrameMetrics()
36 } else if (CC_UNLIKELY(surfaceControlId == observer->attachedSurfaceControlId() && in reportFrameMetrics()
DFrameMetricsObserver.h29 void reportMetricsFrom(uint64_t frameNumber, int32_t surfaceControlId) { in reportMetricsFrom() argument
31 mSurfaceControlId = surfaceControlId; in reportMetricsFrom()
DFrameMetricsReporter.h73 int32_t surfaceControlId);
DJankTracker.cpp171 int64_t frameNumber, int32_t surfaceControlId) { in finishFrame() argument
265 surfaceControlId); in finishFrame()
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp816 int32_t surfaceControlId; in reportMetricsWithPresentTime() local
827 surfaceControlId = frameMetricsInfo.surfaceId; in reportMetricsWithPresentTime()
843 frameNumber, surfaceControlId); in reportMetricsWithPresentTime()
872 FrameInfo* CanvasContext::getFrameInfoFromLast4(uint64_t frameNumber, uint32_t surfaceControlId) { in getFrameInfoFromLast4() argument
876 mLast4FrameMetricsInfos[i].surfaceId == surfaceControlId) { in getFrameInfoFromLast4()
884 void CanvasContext::onSurfaceStatsAvailable(void* context, int32_t surfaceControlId, in onSurfaceStatsAvailable() argument
897 FrameInfo* frameInfo = instance->getFrameInfoFromLast4(frameNumber, surfaceControlId); in onSurfaceStatsAvailable()
906 surfaceControlId); in onSurfaceStatsAvailable()
DCanvasContext.h209 static void onSurfaceStatsAvailable(void* context, int32_t surfaceControlId,
274 FrameInfo* getFrameInfoFromLast4(uint64_t frameNumber, uint32_t surfaceControlId);