Home
last modified time | relevance | path

Searched refs:appSession (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_hint_HintManagerService.cpp119 auto appSession = reinterpret_cast<PowerHintSessionWrapper*>(session_ptr); in pauseHintSession() local
120 appSession->pause(); in pauseHintSession()
124 auto appSession = reinterpret_cast<PowerHintSessionWrapper*>(session_ptr); in resumeHintSession() local
125 appSession->resume(); in resumeHintSession()
129 auto appSession = reinterpret_cast<PowerHintSessionWrapper*>(session_ptr); in closeHintSession() local
130 appSession->close(); in closeHintSession()
136 auto appSession = reinterpret_cast<PowerHintSessionWrapper*>(session_ptr); in updateTargetWorkDuration() local
137 appSession->updateTargetWorkDuration(targetDurationNanos); in updateTargetWorkDuration()
142 auto appSession = reinterpret_cast<PowerHintSessionWrapper*>(session_ptr); in reportActualWorkDuration() local
143 appSession->reportActualWorkDuration(actualDurations); in reportActualWorkDuration()
[all …]
/frameworks/native/services/powermanager/
DPowerHalWrapper.cpp251 std::shared_ptr<Aidl::IPowerHintSession> appSession; in createHintSession() local
253 fromStatus(mHandle->createHintSession(tgid, uid, threadIds, durationNanos, &appSession), in createHintSession()
254 std::make_shared<PowerHintSessionWrapper>(std::move(appSession))); in createHintSession()
260 std::shared_ptr<Aidl::IPowerHintSession> appSession; in createHintSessionWithConfig() local
263 tag, config, &appSession), in createHintSessionWithConfig()
264 std::make_shared<PowerHintSessionWrapper>(std::move(appSession))); in createHintSessionWithConfig()
/frameworks/native/services/powermanager/benchmarks/
DPowerHalAidlBenchmarks.cpp166 std::shared_ptr<IPowerHintSession> appSession; in BM_PowerHalAidlBenchmarks_createHintSession() local
176 hal->createHintSession(tgid, uid, threadIds, durationNanos, &appSession); in BM_PowerHalAidlBenchmarks_createHintSession()
184 ret = hal->createHintSession(tgid, uid, threadIds, durationNanos, &appSession); in BM_PowerHalAidlBenchmarks_createHintSession()
187 appSession->close(); in BM_PowerHalAidlBenchmarks_createHintSession()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDragDropControllerTests.java700 final SurfaceSession appSession = new SurfaceSession(); in startDrag() local
702 final SurfaceControl surface = new SurfaceControl.Builder(appSession) in startDrag()
716 appSession.kill(); in startDrag()