Searched refs:cpuDurationNanos (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | PowerAdvisorTest.cpp | 293 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/ |
D | com_android_server_hint_HintManagerService.cpp | 47 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/ |
D | PowerAdvisor.cpp | 339 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/ |
D | performance_hint.cpp | 269 .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/ |
D | PerformanceHintNativeTest.cpp | 142 lhs.cpuDurationNanos == rhs.cpuDurationNanos && in equalsWithoutTimestamp()
|
/frameworks/base/services/core/java/com/android/server/power/hint/ |
D | HintManagerService.java | 1262 + 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/ |
D | HintManagerServiceTest.java | 107 out.cpuDurationNanos = cpuDuration; in makeWorkDuration()
|