Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DPowerAdvisorTest.cpp294 ret.gpuDurationNanos = actual.gpuDurationNanos; in testGpuScenario()
594 EXPECT_EQ(res.gpuDurationNanos, 0L); in TEST_F()
613 EXPECT_EQ(res.gpuDurationNanos, toNanos(30ms)); in TEST_F()
632 EXPECT_EQ(res.gpuDurationNanos, 0L); in TEST_F()
650 EXPECT_EQ(res.gpuDurationNanos, 0L); in TEST_F()
670 EXPECT_EQ(res.gpuDurationNanos, 0L); in TEST_F()
689 EXPECT_EQ(res.gpuDurationNanos, toNanos(50ms)); in TEST_F()
707 EXPECT_EQ(res.gpuDurationNanos, 0L); in TEST_F()
726 EXPECT_EQ(res.gpuDurationNanos, toNanos(30ms)); in TEST_F()
746 EXPECT_EQ(res.gpuDurationNanos, toNanos(30ms)); in TEST_F()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_hint_HintManagerService.cpp48 jfieldID gpuDurationNanos{}; member
260 workDurations[i].gpuDurationNanos = in nativeReportActualWorkDuration2()
261 env->GetLongField(workDuration, gWorkDurationInfo.gpuDurationNanos); in nativeReportActualWorkDuration2()
296 gWorkDurationInfo.gpuDurationNanos = in register_android_server_HintManagerService()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DPowerAdvisor.cpp340 ATRACE_INT64("Reported gpu duration", actualDuration->gpuDurationNanos); in reportActualWorkDuration()
350 actualDuration->gpuDurationNanos, mLastTargetDurationSent.ns(), in reportActualWorkDuration()
407 .gpuDurationNanos = duration.gpuDurationNanos, in writeHintSessionMessage()
664 .gpuDurationNanos = supportsGpuReporting() ? estimatedGpuDuration.ns() : 0, in estimateWorkDuration()
/frameworks/base/native/android/
Dperformance_hint.cpp270 .gpuDurationNanos = 0}; in reportActualWorkDuration()
538 VALIDATE_INT(workDurationPtr->gpuDurationNanos, >= 0) in APerformanceHint_reportActualWorkDuration2()
539 VALIDATE_INT(workDurationPtr->gpuDurationNanos + workDurationPtr->cpuDurationNanos, > 0) in APerformanceHint_reportActualWorkDuration2()
577 aWorkDuration->gpuDurationNanos = actualGpuDurationNanos; in AWorkDuration_setActualGpuDurationNanos()
/frameworks/base/native/android/tests/performance_hint/
DPerformanceHintNativeTest.cpp143 lhs.gpuDurationNanos == rhs.gpuDurationNanos && lhs.durationNanos == rhs.durationNanos; in equalsWithoutTimestamp()
/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java1263 + workDuration.gpuDurationNanos + ")"); in validateWorkDuration()
1286 if (workDuration.gpuDurationNanos < 0) { in validateWorkDuration()
1290 workDuration.gpuDurationNanos)); in validateWorkDuration()
1293 + workDuration.gpuDurationNanos <= 0) { in validateWorkDuration()
1298 workDuration.gpuDurationNanos)); in validateWorkDuration()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/
DHintManagerServiceTest.java108 out.gpuDurationNanos = gpuDuration; in makeWorkDuration()