Home
last modified time | relevance | path

Searched refs:APerformanceHintManager (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/include/android/
Dperformance_hint.h61 struct APerformanceHintManager;
97 typedef struct APerformanceHintManager APerformanceHintManager; typedef
129 APerformanceHintManager* _Nullable APerformanceHint_getManager()
145 APerformanceHintManager* _Nonnull manager,
156 APerformanceHintManager* _Nonnull manager) __INTRODUCED_IN(__ANDROID_API_T__);
/frameworks/base/native/android/
Dperformance_hint.cpp57 struct APerformanceHintManager { struct
59 static APerformanceHintManager* getInstance();
60 APerformanceHintManager(std::shared_ptr<IHintManager> service, int64_t preferredRateNanos);
61 APerformanceHintManager() = delete;
62 ~APerformanceHintManager() = default;
80 static APerformanceHintManager* create(std::shared_ptr<IHintManager> iHintManager); argument
105 friend struct APerformanceHintManager; argument
137 static APerformanceHintManager* gHintManagerForTesting = nullptr;
142 APerformanceHintManager::APerformanceHintManager(std::shared_ptr<IHintManager> manager, in APerformanceHintManager() function in APerformanceHintManager
151 APerformanceHintManager* APerformanceHintManager::getInstance() { in getInstance()
[all …]
/frameworks/base/native/android/tests/performance_hint/
DPerformanceHintNativeTest.cpp94 APerformanceHintManager* createManager() { in createManager()
99 APerformanceHintSession* createSession(APerformanceHintManager* manager, in createSession()
147 APerformanceHintManager* manager = createManager(); in TEST_F()
153 APerformanceHintManager* manager = createManager(); in TEST_F()
197 APerformanceHintManager* manager = createManager(); in TEST_F()
207 APerformanceHintManager* manager = createManager(); in TEST_F()
214 APerformanceHintManager* manager = createManager(); in TEST_F()
242 APerformanceHintManager* manager = createManager(); in TEST_F()
256 APerformanceHintManager* manager = createManager(); in TEST_F()
281 APerformanceHintManager* manager = createManager(); in TEST_F()
/frameworks/base/libs/hwui/tests/unit/
DHintSessionWrapperTests.cpp32 APerformanceHintManager* managerPtr = reinterpret_cast<APerformanceHintManager*>(123);
54 MOCK_METHOD(APerformanceHintManager*, fakeGetManager, ());
56 (APerformanceHintManager*, const int32_t*, size_t, int64_t, SessionTag));
74 static APerformanceHintManager* stubGetManager() { return sMockBinding->fakeGetManager(); }; in stubGetManager()
75 static APerformanceHintSession* stubCreateSessionInternal(APerformanceHintManager* manager, in stubCreateSessionInternal()
83 APerformanceHintManager* manager, const int32_t* ids, size_t idsSize, in stubManagedCreateSessionInternal()
89 static APerformanceHintSession* stubSlowCreateSessionInternal(APerformanceHintManager* manager, in stubSlowCreateSessionInternal()
/frameworks/base/core/jni/
Dandroid_os_PerformanceHintManager.cpp34 struct APerformanceHintManager;
37 typedef APerformanceHintManager* (*APH_getManager)();
38 typedef int64_t (*APH_getPreferredUpdateRateNanos)(APerformanceHintManager* manager);
39 typedef APerformanceHintSession* (*APH_createSession)(APerformanceHintManager*, const int32_t*,
196 reinterpret_cast<APerformanceHintManager*>(nativeManagerPtr)); in nativeGetPreferredUpdateRateNanos()
209 gAPH_createSessionFn(reinterpret_cast<APerformanceHintManager*>(nativeManagerPtr), in nativeCreateSession()
/frameworks/base/libs/hwui/renderthread/
DHintSessionWrapper.h83 APerformanceHintManager* (*getManager)();
84 APerformanceHintSession* (*createSessionInternal)(APerformanceHintManager* manager,
DHintSessionWrapper.cpp112 APerformanceHintManager* manager = mBinding->getManager(); in init()
/frameworks/native/include/private/
Dperformance_hint_private.h107 APerformanceHintSession* APerformanceHint_createSessionInternal(APerformanceHintManager* manager,