Home
last modified time | relevance | path

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

/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_session_services.cpp141 hwc2_display_t active_builtin_disp_id = GetActiveBuiltinDisplay(); in SetSecondaryDisplayStatus() local
142 if (active_builtin_disp_id < HWCCallbacks::kNumDisplays) { in SetSecondaryDisplayStatus()
144 SEQUENCE_WAIT_SCOPE_LOCK(locker_[active_builtin_disp_id]); in SetSecondaryDisplayStatus()
145 hwc_display_[active_builtin_disp_id]->ResetValidation(); in SetSecondaryDisplayStatus()
147 callbacks_.Refresh(active_builtin_disp_id); in SetSecondaryDisplayStatus()
505 hwc2_display_t active_builtin_disp_id = GetActiveBuiltinDisplay(); in setCameraLaunchStatus() local
506 if (active_builtin_disp_id >= HWCCallbacks::kNumDisplays) { in setCameraLaunchStatus()
510 SEQUENCE_WAIT_SCOPE_LOCK(locker_[active_builtin_disp_id]); in setCameraLaunchStatus()
521 if (!hwc_display_[active_builtin_disp_id]) { in setCameraLaunchStatus()
522 DLOGW("Display = %d is not connected.", active_builtin_disp_id); in setCameraLaunchStatus()
[all …]
Dhwc_session.cpp528 hwc2_display_t active_builtin_disp_id = hwc_session->GetActiveBuiltinDisplay(); in DestroyVirtualDisplay() local
530 if (active_builtin_disp_id < HWCCallbacks::kNumDisplays) { in DestroyVirtualDisplay()
531 Locker::ScopeLock lock_a(locker_[active_builtin_disp_id]); in DestroyVirtualDisplay()
533 hwc_session->hwc_display_[active_builtin_disp_id]->GetActiveSecureSession(&secure_sessions); in DestroyVirtualDisplay()
1573 hwc2_display_t active_builtin_disp_id = GetActiveBuiltinDisplay(); in CreateVirtualDisplayObj() local
1574 if (active_builtin_disp_id < HWCCallbacks::kNumDisplays) { in CreateVirtualDisplayObj()
1575 SEQUENCE_WAIT_SCOPE_LOCK(locker_[active_builtin_disp_id]); in CreateVirtualDisplayObj()
1577 if (hwc_display_[active_builtin_disp_id]) { in CreateVirtualDisplayObj()
1578 hwc_display_[active_builtin_disp_id]->GetActiveSecureSession(&secure_sessions); in CreateVirtualDisplayObj()
1639 if (active_builtin_disp_id < HWCCallbacks::kNumDisplays) { in CreateVirtualDisplayObj()
[all …]
/hardware/qcom/sm7250/display/composer/
Dhwc_session_services.cpp165 hwc2_display_t active_builtin_disp_id = GetActiveBuiltinDisplay(); in SetDisplayStatus() local
166 if (active_builtin_disp_id < HWCCallbacks::kNumRealDisplays) { in SetDisplayStatus()
168 SEQUENCE_WAIT_SCOPE_LOCK(locker_[active_builtin_disp_id]); in SetDisplayStatus()
169 hwc_display_[active_builtin_disp_id]->ResetValidation(); in SetDisplayStatus()
171 callbacks_.Refresh(active_builtin_disp_id); in SetDisplayStatus()
562 hwc2_display_t active_builtin_disp_id = GetActiveBuiltinDisplay(); in ControlIdlePowerCollapse() local
563 if (active_builtin_disp_id >= HWCCallbacks::kNumDisplays) { in ControlIdlePowerCollapse()
567 SEQUENCE_WAIT_SCOPE_LOCK(locker_[active_builtin_disp_id]); in ControlIdlePowerCollapse()
569 if (hwc_display_[active_builtin_disp_id]) { in ControlIdlePowerCollapse()
572 auto err = hwc_display_[active_builtin_disp_id]->ControlIdlePowerCollapse(enable, in ControlIdlePowerCollapse()
[all …]
Dhwc_session.cpp534 hwc2_display_t active_builtin_disp_id = GetActiveBuiltinDisplay(); in DestroyVirtualDisplay() local
536 if (active_builtin_disp_id < HWCCallbacks::kNumDisplays) { in DestroyVirtualDisplay()
537 Locker::ScopeLock lock_a(locker_[active_builtin_disp_id]); in DestroyVirtualDisplay()
539 hwc_display_[active_builtin_disp_id]->GetActiveSecureSession(&secure_sessions); in DestroyVirtualDisplay()
1309 hwc2_display_t active_builtin_disp_id = GetActiveBuiltinDisplay(); in CreateVirtualDisplayObj() local
1311 if (active_builtin_disp_id < HWCCallbacks::kNumDisplays) { in CreateVirtualDisplayObj()
1312 SEQUENCE_WAIT_SCOPE_LOCK(locker_[active_builtin_disp_id]); in CreateVirtualDisplayObj()
1314 if (hwc_display_[active_builtin_disp_id]) { in CreateVirtualDisplayObj()
1315 hwc_display_[active_builtin_disp_id]->GetActiveSecureSession(&secure_sessions); in CreateVirtualDisplayObj()
1368 if (!async_vds_creation_ && active_builtin_disp_id < HWCCallbacks::kNumRealDisplays) { in CreateVirtualDisplayObj()
[all …]