Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DPowerAdvisorTest.cpp293 ret.cpuDurationNanos = actual.cpuDurationNanos; in testGpuScenario()
595 EXPECT_EQ(res.cpuDurationNanos, 0L); in TEST_F()
614 EXPECT_EQ(res.cpuDurationNanos, toNanos(10ms)); in TEST_F()
633 EXPECT_EQ(res.cpuDurationNanos, 0L); in TEST_F()
651 EXPECT_EQ(res.cpuDurationNanos, toNanos(10ms)); in TEST_F()
671 EXPECT_EQ(res.cpuDurationNanos, 0L); in TEST_F()
690 EXPECT_EQ(res.cpuDurationNanos, toNanos(10ms)); in TEST_F()
708 EXPECT_EQ(res.cpuDurationNanos, 0L); in TEST_F()
727 EXPECT_EQ(res.cpuDurationNanos, toNanos(110ms)); in TEST_F()
747 EXPECT_EQ(res.cpuDurationNanos, toNanos(110ms)); in TEST_F()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_hint_HintManagerService.cpp47 jfieldID cpuDurationNanos{}; member
258 workDurations[i].cpuDurationNanos = in nativeReportActualWorkDuration2()
259 env->GetLongField(workDuration, gWorkDurationInfo.cpuDurationNanos); in nativeReportActualWorkDuration2()
294 gWorkDurationInfo.cpuDurationNanos = in register_android_server_HintManagerService()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DPowerAdvisor.cpp339 ATRACE_INT64("Reported cpu duration", actualDuration->cpuDurationNanos); in reportActualWorkDuration()
349 actualDuration->durationNanos, actualDuration->cpuDurationNanos, in reportActualWorkDuration()
406 .cpuDurationNanos = duration.cpuDurationNanos, in writeHintSessionMessage()
663 .cpuDurationNanos = supportsGpuReporting() ? cpuDuration.ns() : 0, in estimateWorkDuration()
/frameworks/base/native/android/
Dperformance_hint.cpp269 .cpuDurationNanos = actualDurationNanos, in reportActualWorkDuration()
537 VALIDATE_INT(workDurationPtr->cpuDurationNanos, >= 0) in APerformanceHint_reportActualWorkDuration2()
539 VALIDATE_INT(workDurationPtr->gpuDurationNanos + workDurationPtr->cpuDurationNanos, > 0) in APerformanceHint_reportActualWorkDuration2()
570 aWorkDuration->cpuDurationNanos = actualCpuDurationNanos; in AWorkDuration_setActualCpuDurationNanos()
/frameworks/base/native/android/tests/performance_hint/
DPerformanceHintNativeTest.cpp142 lhs.cpuDurationNanos == rhs.cpuDurationNanos && in equalsWithoutTimestamp()
/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java1262 + workDuration.cpuDurationNanos + ", " in validateWorkDuration()
1280 if (workDuration.cpuDurationNanos < 0) { in validateWorkDuration()
1284 workDuration.cpuDurationNanos)); in validateWorkDuration()
1292 if (workDuration.cpuDurationNanos in validateWorkDuration()
1297 + " should not both be 0", workDuration.cpuDurationNanos, in validateWorkDuration()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/
DHintManagerServiceTest.java107 out.cpuDurationNanos = cpuDuration; in makeWorkDuration()