Searched refs:mHintSession (Results 1 – 6 of 6) sorted by relevance
69 mHintSession = mHintSessionFuture->get(); in destroy()76 if (mHintSession) { in destroy()77 mBinding->closeSession(mHintSession); in destroy()79 mHintSession = nullptr; in destroy()85 if (mHintSession != nullptr) return true; in init()90 mHintSession = mHintSessionFuture->get(); in init()92 if (mHintSession != nullptr) { in init()138 mBinding->updateTargetWorkDuration(mHintSession, targetWorkDurationNanos); in updateTargetWorkDuration()148 mBinding->reportActualWorkDuration(mHintSession, actualDurationNanos); in reportActualWorkDuration()155 if (!mBinding || !mHintSession) return; in setActiveFunctorThreads()[all …]
56 APerformanceHintSession* mHintSession = nullptr;
223 auto ret = mHintSession->sendHint(hint); in sendHintSessionHint()226 mHintSession = nullptr; in sendHintSessionHint()233 if (mHintSession == nullptr && !mHintSessionThreadIds.empty() && usePowerHintSession()) { in ensurePowerHintSessionRunning()242 mHintSession = ret.value(); in ensurePowerHintSessionRunning()255 if (mHintSession == nullptr && !shouldCreateSessionWithConfig()) { in ensurePowerHintSessionRunning()259 mHintSession = ret.value(); in ensurePowerHintSessionRunning()263 return mHintSession != nullptr; in ensurePowerHintSessionRunning()312 auto ret = mHintSession->updateTargetWorkDuration(targetDuration.ns()); in updateTargetWorkDuration()316 mHintSession = nullptr; in updateTargetWorkDuration()368 auto ret = mHintSession->reportActualWorkDuration(mHintSessionQueue); in reportActualWorkDuration()[all …]
269 std::shared_ptr<power::PowerHintSessionWrapper> mHintSession GUARDED_BY(mHintSessionMutex) =
110 std::shared_ptr<IHintSession> mHintSession; member217 mHintSession(std::move(session)), in APerformanceHintSession()235 ndk::ScopedAStatus ret = mHintSession->close(); in ~APerformanceHintSession()246 ndk::ScopedAStatus ret = mHintSession->updateTargetWorkDuration(targetDurationNanos); in updateTargetWorkDuration()288 ndk::ScopedAStatus ret = mHintSession->sendHint(hint); in sendHint()304 ndk::ScopedAStatus ret = mHintManager->setHintSessionThreads(mHintSession, tids); in setThreads()323 ndk::ScopedAStatus ret = mHintManager->getHintSessionThreadIds(mHintSession, &tids); in getThreadIds()346 mHintSession->setMode(static_cast<int32_t>(hal::SessionMode::POWER_EFFICIENCY), in setPreferPowerEfficiency()392 ndk::ScopedAStatus ret = mHintSession->reportActualWorkDuration2(mActualWorkDurations); in reportActualWorkDurationInternal()
92 return mPowerAdvisor->mHintSession != nullptr; in sessionExists()