Lines Matching refs:APerformanceHintSession
33 APerformanceHintSession* sessionPtr = reinterpret_cast<APerformanceHintSession*>(456);
55 MOCK_METHOD(APerformanceHintSession*, fakeCreateSessionInternal,
57 MOCK_METHOD(void, fakeCloseSession, (APerformanceHintSession*));
58 MOCK_METHOD(void, fakeUpdateTargetWorkDuration, (APerformanceHintSession*, int64_t));
59 MOCK_METHOD(void, fakeReportActualWorkDuration, (APerformanceHintSession*, int64_t));
60 MOCK_METHOD(void, fakeSendHint, (APerformanceHintSession*, int32_t));
61 MOCK_METHOD(int, fakeSetThreads, (APerformanceHintSession*, const std::vector<pid_t>&));
75 static APerformanceHintSession* stubCreateSessionInternal(APerformanceHintManager* manager, in stubCreateSessionInternal()
82 static APerformanceHintSession* stubManagedCreateSessionInternal( in stubManagedCreateSessionInternal()
89 static APerformanceHintSession* stubSlowCreateSessionInternal(APerformanceHintManager* manager, in stubSlowCreateSessionInternal()
98 static void stubCloseSession(APerformanceHintSession* session) { in stubCloseSession()
101 static void stubUpdateTargetWorkDuration(APerformanceHintSession* session, in stubUpdateTargetWorkDuration()
105 static void stubReportActualWorkDuration(APerformanceHintSession* session, in stubReportActualWorkDuration()
109 static void stubSendHint(APerformanceHintSession* session, int32_t hintId) { in stubSendHint()
112 static int stubSetThreads(APerformanceHintSession* session, const pid_t* ids, size_t size) { in stubSetThreads()