Searched refs:APerformanceHintSession (Results 1 – 6 of 6) sorted by relevance
/aosp12/frameworks/base/native/android/ |
H A D | performance_hint.cpp | 33 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 D | performance_hint_private.h | 25 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 D | android_os_PerformanceHintManager.cpp | 34 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 D | DrawFrameTask.cpp | 39 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 D | DrawFrameTask.h | 102 APerformanceHintSession* mHintSession = nullptr;
|
/aosp12/frameworks/base/native/android/tests/performance_hint/ |
H A D | PerformanceHintNativeTest.cpp | 100 APerformanceHintSession* session = in TEST_F()
|