Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/tests/coretests/src/android/os/
H A 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()
/aosp12/frameworks/base/native/android/
H A Dperformance_hint.cpp60 int updateTargetWorkDuration(int64_t targetDurationNanos);
154 int APerformanceHintSession::updateTargetWorkDuration(int64_t targetDurationNanos) { in updateTargetWorkDuration() function in APerformanceHintSession
159 binder::Status ret = mHintSession->updateTargetWorkDuration(targetDurationNanos); in updateTargetWorkDuration()
224 return session->updateTargetWorkDuration(targetDurationNanos); in APerformanceHint_updateTargetWorkDuration()
/aosp12/frameworks/base/services/core/jni/
H A 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()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/
H A 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()
/aosp12/frameworks/base/native/android/tests/performance_hint/
H A DPerformanceHintNativeTest.cpp47 MOCK_METHOD(Status, updateTargetWorkDuration, (int64_t targetDurationNanos), (override));
105 EXPECT_CALL(*iSession, updateTargetWorkDuration(Eq(targetDurationNanos))).Times(Exactly(1)); in TEST_F()
/aosp12/frameworks/base/core/java/android/os/
H A DIHintSession.aidl22 void updateTargetWorkDuration(long targetDurationNanos); in updateTargetWorkDuration() method
H A DPerformanceHintManager.java122 public void updateTargetWorkDuration(long targetDurationNanos) { in updateTargetWorkDuration() method in PerformanceHintManager.Session
/aosp12/hardware/interfaces/power/aidl/android/hardware/power/
H A DIPowerHintSession.aidl31 void updateTargetWorkDuration(long targetDurationNanos); in updateTargetWorkDuration() method
/aosp12/hardware/interfaces/power/aidl/aidl_api/android.hardware.power/2/android/hardware/power/
H A DIPowerHintSession.aidl37 oneway void updateTargetWorkDuration(long targetDurationNanos); in updateTargetWorkDuration() method
/aosp12/hardware/interfaces/power/aidl/aidl_api/android.hardware.power/current/android/hardware/power/
H A DIPowerHintSession.aidl37 oneway void updateTargetWorkDuration(long targetDurationNanos); in updateTargetWorkDuration() method
/aosp12/frameworks/base/libs/hwui/renderthread/
H A DDrawFrameTask.cpp211 mHintSessionWrapper->updateTargetWorkDuration(targetWorkDuration); in run()
298 void DrawFrameTask::HintSessionWrapper::updateTargetWorkDuration(long targetDurationNanos) { in updateTargetWorkDuration() function in android::uirenderer::renderthread::DrawFrameTask::HintSessionWrapper
H A DDrawFrameTask.h98 void updateTargetWorkDuration(long targetDurationNanos);
/aosp12/hardware/google/pixel/power-libperfmgr/aidl/
H A DPowerHintSession.h78 ndk::ScopedAStatus updateTargetWorkDuration(int64_t targetDurationNanos) override;
H A DPowerHintSession.cpp255 ndk::ScopedAStatus PowerHintSession::updateTargetWorkDuration(int64_t targetDurationNanos) { in updateTargetWorkDuration() function in aidl::google::hardware::power::impl::pixel::PowerHintSession
/aosp12/frameworks/native/services/powermanager/benchmarks/
H A DPowerHalAidlBenchmarks.cpp188 runSessionBenchmark(state, &IPowerHintSession::updateTargetWorkDuration, duration); in BM_PowerHalAidlBenchmarks_updateTargetWorkDuration()
/aosp12/hardware/interfaces/power/aidl/vts/
H A DVtsHalPowerTargetTest.cpp197 ASSERT_TRUE(session->updateTargetWorkDuration(16666667LL).isOk()); in TEST_P()
/aosp12/frameworks/base/services/core/java/com/android/server/power/hint/
H A DHintManagerService.java393 public void updateTargetWorkDuration(long targetDurationNanos) { in updateTargetWorkDuration() method in HintManagerService.AppHintSession
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt31675 method public void updateTargetWorkDuration(long);