Home
last modified time | relevance | path

Searched refs:targetDurationNanos (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/native/android/
Dperformance_hint.cpp56 int64_t targetDurationNanos);
60 int updateTargetWorkDuration(int64_t targetDurationNanos);
141 int64_t targetDurationNanos) in APerformanceHintSession() argument
144 mTargetDurationNanos(targetDurationNanos), in APerformanceHintSession()
154 int APerformanceHintSession::updateTargetWorkDuration(int64_t targetDurationNanos) { in updateTargetWorkDuration() argument
155 if (targetDurationNanos <= 0) { in updateTargetWorkDuration()
159 binder::Status ret = mHintSession->updateTargetWorkDuration(targetDurationNanos); in updateTargetWorkDuration()
165 mTargetDurationNanos = targetDurationNanos; in updateTargetWorkDuration()
223 int64_t targetDurationNanos) { in APerformanceHint_updateTargetWorkDuration() argument
224 return session->updateTargetWorkDuration(targetDurationNanos); in APerformanceHint_updateTargetWorkDuration()
/frameworks/base/core/java/android/os/
DPerformanceHintManager.java122 public void updateTargetWorkDuration(long targetDurationNanos) { in updateTargetWorkDuration() argument
123 Preconditions.checkArgumentPositive(targetDurationNanos, "the hint target duration" in updateTargetWorkDuration()
125 nativeUpdateTargetWorkDuration(mNativeSessionPtr, targetDurationNanos); in updateTargetWorkDuration()
162 long targetDurationNanos); in nativeUpdateTargetWorkDuration() argument
DIHintSession.aidl22 void updateTargetWorkDuration(long targetDurationNanos); in updateTargetWorkDuration() argument
/frameworks/base/native/android/tests/performance_hint/
DPerformanceHintNativeTest.cpp47 MOCK_METHOD(Status, updateTargetWorkDuration, (int64_t targetDurationNanos), (override));
104 int64_t targetDurationNanos = 10; in TEST_F() local
105 EXPECT_CALL(*iSession, updateTargetWorkDuration(Eq(targetDurationNanos))).Times(Exactly(1)); in TEST_F()
106 int result = APerformanceHint_updateTargetWorkDuration(session, targetDurationNanos); in TEST_F()
/frameworks/base/services/core/jni/
Dcom_android_server_hint_HintManagerService.cpp73 static void updateTargetWorkDuration(int64_t session_ptr, int64_t targetDurationNanos) { in updateTargetWorkDuration() argument
75 appSession->updateTargetWorkDuration(targetDurationNanos); in updateTargetWorkDuration()
125 jlong targetDurationNanos) { in nativeUpdateTargetWorkDuration() argument
126 updateTargetWorkDuration(session_ptr, targetDurationNanos); in nativeUpdateTargetWorkDuration()
/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java139 long halPtr, long targetDurationNanos); in nativeUpdateTargetWorkDuration() argument
172 public void halUpdateTargetWorkDuration(long halPtr, long targetDurationNanos) { in halUpdateTargetWorkDuration() argument
173 nativeUpdateTargetWorkDuration(halPtr, targetDurationNanos); in halUpdateTargetWorkDuration()
393 public void updateTargetWorkDuration(long targetDurationNanos) { in updateTargetWorkDuration() argument
398 Preconditions.checkArgument(targetDurationNanos > 0, "Expected" in updateTargetWorkDuration()
400 mNativeWrapper.halUpdateTargetWorkDuration(mHalSessionPtr, targetDurationNanos); in updateTargetWorkDuration()
401 mTargetDurationNanos = targetDurationNanos; in updateTargetWorkDuration()
/frameworks/base/core/jni/
Dandroid_os_PerformanceHintManager.cpp123 jlong targetDurationNanos) { in nativeUpdateTargetWorkDuration() argument
126 targetDurationNanos); in nativeUpdateTargetWorkDuration()
/frameworks/native/include/private/
Dperformance_hint_private.h111 int64_t targetDurationNanos);
/frameworks/base/libs/hwui/renderthread/
DDrawFrameTask.h94 void updateTargetWorkDuration(long targetDurationNanos);
DDrawFrameTask.cpp292 void DrawFrameTask::HintSessionWrapper::updateTargetWorkDuration(long targetDurationNanos) { in updateTargetWorkDuration() argument
294 gAPH_updateTargetWorkDurationFn(mHintSession, targetDurationNanos); in updateTargetWorkDuration()