Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DPerformanceHintManager.java212 public void updateTargetWorkDuration(long targetDurationNanos) { in updateTargetWorkDuration() argument
213 Preconditions.checkArgumentPositive(targetDurationNanos, "the hint target duration" in updateTargetWorkDuration()
215 nativeUpdateTargetWorkDuration(mNativeSessionPtr, targetDurationNanos); in updateTargetWorkDuration()
357 long targetDurationNanos); in nativeUpdateTargetWorkDuration() argument
DIHintSession.aidl24 void updateTargetWorkDuration(long targetDurationNanos); in updateTargetWorkDuration() argument
/frameworks/base/native/android/
Dperformance_hint.cpp91 int64_t targetDurationNanos,
96 int updateTargetWorkDuration(int64_t targetDurationNanos);
214 int64_t targetDurationNanos, in APerformanceHintSession() argument
219 mTargetDurationNanos(targetDurationNanos), in APerformanceHintSession()
241 int APerformanceHintSession::updateTargetWorkDuration(int64_t targetDurationNanos) { in updateTargetWorkDuration() argument
242 if (targetDurationNanos <= 0) { in updateTargetWorkDuration()
246 ndk::ScopedAStatus ret = mHintSession->updateTargetWorkDuration(targetDurationNanos); in updateTargetWorkDuration()
253 mTargetDurationNanos = targetDurationNanos; in updateTargetWorkDuration()
260 traceTargetDuration(targetDurationNanos); in updateTargetWorkDuration()
491 int64_t targetDurationNanos) { in APerformanceHint_updateTargetWorkDuration() argument
[all …]
/frameworks/base/native/android/tests/performance_hint/
DPerformanceHintNativeTest.cpp67 MOCK_METHOD(ScopedAStatus, updateTargetWorkDuration, (int64_t targetDurationNanos), (override));
157 int64_t targetDurationNanos = 10; in TEST_F() local
158 EXPECT_CALL(*mMockSession, updateTargetWorkDuration(Eq(targetDurationNanos))).Times(Exactly(1)); in TEST_F()
159 int result = APerformanceHint_updateTargetWorkDuration(session, targetDurationNanos); in TEST_F()
285 int64_t targetDurationNanos = 10; in TEST_F() local
286 EXPECT_CALL(*mMockSession, updateTargetWorkDuration(Eq(targetDurationNanos))).Times(Exactly(1)); in TEST_F()
287 int result = APerformanceHint_updateTargetWorkDuration(session, targetDurationNanos); in TEST_F()
/frameworks/base/services/core/jni/
Dcom_android_server_hint_HintManagerService.cpp135 static void updateTargetWorkDuration(int64_t session_ptr, int64_t targetDurationNanos) { in updateTargetWorkDuration() argument
137 appSession->updateTargetWorkDuration(targetDurationNanos); in updateTargetWorkDuration()
215 jlong targetDurationNanos) { in nativeUpdateTargetWorkDuration() argument
216 updateTargetWorkDuration(session_ptr, targetDurationNanos); in nativeUpdateTargetWorkDuration()
/frameworks/base/libs/hwui/renderthread/
DHintSessionWrapper.cpp122 int64_t targetDurationNanos = in init() local
126 targetDurationNanos, SessionTag::HWUI); in init()
DHintSessionWrapper.h42 void updateTargetWorkDuration(long targetDurationNanos);
/frameworks/native/include/android/
Dperformance_hint.h169 int64_t targetDurationNanos) __INTRODUCED_IN(__ANDROID_API_T__);
/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java280 long halPtr, long targetDurationNanos); in nativeUpdateTargetWorkDuration() argument
331 public void halUpdateTargetWorkDuration(long halPtr, long targetDurationNanos) { in halUpdateTargetWorkDuration() argument
332 nativeUpdateTargetWorkDuration(halPtr, targetDurationNanos); in halUpdateTargetWorkDuration()
1049 public void updateTargetWorkDuration(long targetDurationNanos) { in updateTargetWorkDuration() argument
1054 Preconditions.checkArgument(targetDurationNanos > 0, "Expected" in updateTargetWorkDuration()
1056 mNativeWrapper.halUpdateTargetWorkDuration(mHalSessionPtr, targetDurationNanos); in updateTargetWorkDuration()
1057 mTargetDurationNanos = targetDurationNanos; in updateTargetWorkDuration()
/frameworks/base/core/jni/
Dandroid_os_PerformanceHintManager.cpp215 jlong targetDurationNanos) { in nativeUpdateTargetWorkDuration() argument
218 targetDurationNanos); in nativeUpdateTargetWorkDuration()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/
DHintManagerServiceTest.java256 public void halUpdateTargetWorkDuration(long halPtr, long targetDurationNanos) {
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...