Home
last modified time | relevance | path

Searched refs:APerformanceHintSession (Results 1 – 6 of 6) sorted by relevance

/aosp12/frameworks/base/native/android/
H A Dperformance_hint.cpp33 struct APerformanceHintSession;
42 APerformanceHintSession* createSession(const int32_t* threadIds, size_t size,
53 struct APerformanceHintSession { struct
55 APerformanceHintSession(sp<IHintSession> session, int64_t preferredRateNanos,
57 APerformanceHintSession() = delete;
58 ~APerformanceHintSession();
119 APerformanceHintSession* APerformanceHintManager::createSession( in createSession()
129 return new APerformanceHintSession(std::move(session), mPreferredRateNanos, in createSession()
139 APerformanceHintSession::APerformanceHintSession(sp<IHintSession> session, in APerformanceHintSession() function in APerformanceHintSession
147 APerformanceHintSession::~APerformanceHintSession() { in ~APerformanceHintSession()
[all …]
/aosp12/frameworks/native/include/private/
H A Dperformance_hint_private.h25 struct APerformanceHintSession;
69 typedef struct APerformanceHintSession APerformanceHintSession; typedef
89 APerformanceHintSession* APerformanceHint_createSession(APerformanceHintManager* manager,
110 int APerformanceHint_updateTargetWorkDuration(APerformanceHintSession* session,
127 int APerformanceHint_reportActualWorkDuration(APerformanceHintSession* session,
136 void APerformanceHint_closeSession(APerformanceHintSession* session);
/aosp12/frameworks/base/core/jni/
H A Dandroid_os_PerformanceHintManager.cpp34 struct APerformanceHintSession;
37 typedef APerformanceHintSession* (*APH_createSession)(APerformanceHintManager*, const int32_t*,
40 typedef void (*APH_updateTargetWorkDuration)(APerformanceHintSession*, int64_t);
41 typedef void (*APH_reportActualWorkDuration)(APerformanceHintSession*, int64_t);
42 typedef void (*APH_closeSession)(APerformanceHintSession* session);
125 gAPH_updateTargetWorkDurationFn(reinterpret_cast<APerformanceHintSession*>(nativeSessionPtr), in nativeUpdateTargetWorkDuration()
132 gAPH_reportActualWorkDurationFn(reinterpret_cast<APerformanceHintSession*>(nativeSessionPtr), in nativeReportActualWorkDuration()
138 gAPH_closeSessionFn(reinterpret_cast<APerformanceHintSession*>(nativeSessionPtr)); in nativeCloseSession()
/aosp12/frameworks/base/libs/hwui/renderthread/
H A DDrawFrameTask.cpp39 typedef APerformanceHintSession* (*APH_createSession)(APerformanceHintManager*, const int32_t*,
41 typedef void (*APH_updateTargetWorkDuration)(APerformanceHintSession*, int64_t);
42 typedef void (*APH_reportActualWorkDuration)(APerformanceHintSession*, int64_t);
43 typedef void (*APH_closeSession)(APerformanceHintSession* session);
H A DDrawFrameTask.h102 APerformanceHintSession* mHintSession = nullptr;
/aosp12/frameworks/base/native/android/tests/performance_hint/
H A DPerformanceHintNativeTest.cpp100 APerformanceHintSession* session = in TEST_F()