Searched refs:gpuDurationNanos (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | PowerAdvisorTest.cpp | 294 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/ |
D | com_android_server_hint_HintManagerService.cpp | 48 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/ |
D | PowerAdvisor.cpp | 340 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/ |
D | performance_hint.cpp | 270 .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/ |
D | PerformanceHintNativeTest.cpp | 143 lhs.gpuDurationNanos == rhs.gpuDurationNanos && lhs.durationNanos == rhs.durationNanos; in equalsWithoutTimestamp()
|
/frameworks/base/services/core/java/com/android/server/power/hint/ |
D | HintManagerService.java | 1263 + 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/ |
D | HintManagerServiceTest.java | 108 out.gpuDurationNanos = gpuDuration; in makeWorkDuration()
|