Home
last modified time | relevance | path

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

/frameworks/base/native/android/
Dperformance_hint.cpp34 struct APerformanceHintSession;
43 APerformanceHintSession* createSession(const int32_t* threadIds, size_t size,
55 struct APerformanceHintSession { struct
57 APerformanceHintSession(sp<IHintSession> session, int64_t preferredRateNanos,
59 APerformanceHintSession() = delete;
60 ~APerformanceHintSession();
121 APerformanceHintSession* APerformanceHintManager::createSession( in createSession()
130 return new APerformanceHintSession(std::move(session), mPreferredRateNanos, in createSession()
140 APerformanceHintSession::APerformanceHintSession(sp<IHintSession> session, in APerformanceHintSession() function in APerformanceHintSession
148 APerformanceHintSession::~APerformanceHintSession() { in ~APerformanceHintSession()
[all …]
/frameworks/native/include/android/
Dperformance_hint.h44 struct APerformanceHintSession;
88 typedef struct APerformanceHintSession APerformanceHintSession; typedef
108 APerformanceHintSession* APerformanceHint_createSession(
132 APerformanceHintSession* session,
150 APerformanceHintSession* session,
160 APerformanceHintSession* session) __INTRODUCED_IN(__ANDROID_API_T__);
/frameworks/base/core/jni/
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()
/frameworks/base/libs/hwui/renderthread/
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);
DDrawFrameTask.h105 APerformanceHintSession* mHintSession = nullptr;
/frameworks/base/native/android/tests/performance_hint/
DPerformanceHintNativeTest.cpp102 APerformanceHintSession* session = in TEST_F()