Searched refs:targetDurationNanos (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/native/android/ |
D | performance_hint.cpp | 56 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/ |
D | PerformanceHintManager.java | 122 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
|
D | IHintSession.aidl | 22 void updateTargetWorkDuration(long targetDurationNanos); in updateTargetWorkDuration() argument
|
/frameworks/base/native/android/tests/performance_hint/ |
D | PerformanceHintNativeTest.cpp | 47 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/ |
D | com_android_server_hint_HintManagerService.cpp | 73 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/ |
D | HintManagerService.java | 139 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/ |
D | android_os_PerformanceHintManager.cpp | 123 jlong targetDurationNanos) { in nativeUpdateTargetWorkDuration() argument 126 targetDurationNanos); in nativeUpdateTargetWorkDuration()
|
/frameworks/native/include/private/ |
D | performance_hint_private.h | 111 int64_t targetDurationNanos);
|
/frameworks/base/libs/hwui/renderthread/ |
D | DrawFrameTask.h | 94 void updateTargetWorkDuration(long targetDurationNanos);
|
D | DrawFrameTask.cpp | 292 void DrawFrameTask::HintSessionWrapper::updateTargetWorkDuration(long targetDurationNanos) { in updateTargetWorkDuration() argument 294 gAPH_updateTargetWorkDurationFn(mHintSession, targetDurationNanos); in updateTargetWorkDuration()
|