Home
last modified time | relevance | path

Searched refs:updateTargetWorkDuration (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceHintManagerTest.java84 s.updateTargetWorkDuration(100); in testUpdateTargetWorkDuration()
92 s.updateTargetWorkDuration(-1); in testUpdateTargetWorkDurationWithNegativeDuration()
100 s.updateTargetWorkDuration(100); in testReportActualWorkDuration()
110 s.updateTargetWorkDuration(100); in testReportActualWorkDurationWithIllegalArgument()
/frameworks/base/native/android/
Dperformance_hint.cpp62 int updateTargetWorkDuration(int64_t targetDurationNanos);
155 int APerformanceHintSession::updateTargetWorkDuration(int64_t targetDurationNanos) { in updateTargetWorkDuration() function in APerformanceHintSession
160 binder::Status ret = mHintSession->updateTargetWorkDuration(targetDurationNanos); in updateTargetWorkDuration()
225 return session->updateTargetWorkDuration(targetDurationNanos); in APerformanceHint_updateTargetWorkDuration()
/frameworks/base/services/core/jni/
Dcom_android_server_hint_HintManagerService.cpp73 static void updateTargetWorkDuration(int64_t session_ptr, int64_t targetDurationNanos) { in updateTargetWorkDuration() function
75 appSession->updateTargetWorkDuration(targetDurationNanos); in updateTargetWorkDuration()
126 updateTargetWorkDuration(session_ptr, targetDurationNanos); in nativeUpdateTargetWorkDuration()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/
DHintManagerServiceTest.java198 a.updateTargetWorkDuration(-1L); in testUpdateTargetWorkDuration()
202 a.updateTargetWorkDuration(0L); in testUpdateTargetWorkDuration()
205 a.updateTargetWorkDuration(100L); in testUpdateTargetWorkDuration()
217 a.updateTargetWorkDuration(100L); in testReportActualWorkDuration()
/frameworks/base/core/java/android/os/
DIHintSession.aidl22 void updateTargetWorkDuration(long targetDurationNanos); in updateTargetWorkDuration() method
DPerformanceHintManager.java122 public void updateTargetWorkDuration(long targetDurationNanos) { in updateTargetWorkDuration() method in PerformanceHintManager.Session
/frameworks/base/native/android/tests/performance_hint/
DPerformanceHintNativeTest.cpp49 MOCK_METHOD(Status, updateTargetWorkDuration, (int64_t targetDurationNanos), (override));
107 EXPECT_CALL(*iSession, updateTargetWorkDuration(Eq(targetDurationNanos))).Times(Exactly(1)); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockIPowerHintSession.h41 MOCK_METHOD(Status, updateTargetWorkDuration, (int64_t), (override));
/frameworks/base/libs/hwui/renderthread/
DDrawFrameTask.cpp220 mHintSessionWrapper->updateTargetWorkDuration(targetWorkDuration); in run()
312 void DrawFrameTask::HintSessionWrapper::updateTargetWorkDuration(long targetDurationNanos) { in updateTargetWorkDuration() function in android::uirenderer::renderthread::DrawFrameTask::HintSessionWrapper
DDrawFrameTask.h101 void updateTargetWorkDuration(long targetDurationNanos);
/frameworks/native/services/surfaceflinger/tests/unittests/
DAidlPowerHalWrapperTest.cpp171 EXPECT_CALL(*mMockSession.get(), updateTargetWorkDuration(target.count())) in TEST_F()
188 EXPECT_CALL(*mMockSession.get(), updateTargetWorkDuration(1)) in TEST_F()
/frameworks/native/services/powermanager/benchmarks/
DPowerHalAidlBenchmarks.cpp188 runSessionBenchmark(state, &IPowerHintSession::updateTargetWorkDuration, duration); in BM_PowerHalAidlBenchmarks_updateTargetWorkDuration()
/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java466 public void updateTargetWorkDuration(long targetDurationNanos) { in updateTargetWorkDuration() method in HintManagerService.AppHintSession
/frameworks/native/services/surfaceflinger/DisplayHardware/
DPowerAdvisor.cpp752 auto ret = mPowerHintSession->updateTargetWorkDuration(targetDuration); in setTargetWorkDuration()
/frameworks/base/core/api/
Dcurrent.txt31832 method public void updateTargetWorkDuration(long);
/frameworks/base/services/
Dart-profile42267 HPLcom/android/server/power/hint/HintManagerService$AppHintSession;->updateTargetWorkDuration(J)V