Home
last modified time | relevance | path

Searched refs:isActive (Results 1 – 23 of 23) sorted by relevance

/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_uevents.cpp91 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive = false; in handle_uevent()
94 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = true; in handle_uevent()
150 ctx->dpyAttr[dpy].isActive = true; in handle_uevent()
163 ctx->dpyAttr[dpy].isActive = true; in handle_uevent()
Dhwc.cpp157 ctx->dpyAttr[dpy].isActive) { in hwc_prepare_primary()
181 ctx->dpyAttr[dpy].isActive && in hwc_prepare_external()
298 if(!ctx->dpyAttr[dpy].isActive) { in hwc_eventControl()
328 !ctx->dpyAttr[dpy].isActive )) { in hwc_blank()
363 ctx->dpyAttr[dpy].isActive = !blank; in hwc_blank()
407 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive) { in hwc_set_primary()
453 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive && in hwc_set_external()
Dhwc_utils.h82 bool isActive; member
Dhwc_utils.cpp120 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive = true; in openFramebufferDevice()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_uevents.cpp99 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive = false; in handle_uevent()
102 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = true; in handle_uevent()
160 ctx->dpyAttr[dpy].isActive = true; in handle_uevent()
167 ctx->dpyAttr[dpy].isActive = true; in handle_uevent()
Dhwc.cpp143 ctx->dpyAttr[dpy].isActive) { in hwc_prepare_primary()
170 ctx->dpyAttr[dpy].isActive && in hwc_prepare_external()
247 if(!ctx->dpyAttr[dpy].isActive) { in hwc_eventControl()
315 ctx->dpyAttr[dpy].isActive = !blank; in hwc_blank()
356 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive) { in hwc_set_primary()
402 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive && in hwc_set_external()
Dhwc_utils.h82 bool isActive; member
Dhwc_utils.cpp104 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive = true; in openFramebufferDevice()
633 return ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive; in isExternalActive()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_virtual.cpp221 ctx->dpyAttr[dpy].isActive = true; in pause()
234 ctx->dpyAttr[dpy].isActive = true; in resume()
258 ctx->dpyAttr[dpy].isActive && in prepare()
293 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive && in set()
356 ctx->dpyAttr[dpy].isActive = true; in pause()
392 ctx->dpyAttr[dpy].isActive = true; in resume()
Dhwc_uevents.cpp124 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = false; in teardownWfd()
183 ctx->dpyAttr[dpy].isActive = false; in handle_uevent()
285 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = true; in handle_uevent()
Dhwc.cpp274 ctx->dpyAttr[dpy].isActive) { in hwc_prepare_primary()
308 ctx->dpyAttr[dpy].isActive && in hwc_prepare_external()
481 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
494 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
504 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
520 if (!ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive) { in reset_panel()
583 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive) { in hwc_set_primary()
649 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive && in hwc_set_external()
Dhwc_vsync.cpp78 ctx->dpyAttr[dpy].isActive = poweron ? true: false; in handle_blank_event()
Dhwc_utils.h88 bool isActive; member
Dhwc_utils.cpp178 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive = true; in openFramebufferDevice()
217 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive = false; in initContext()
219 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = false; in initContext()
1257 return ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive; in isExternalActive()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_virtual.cpp250 ctx->dpyAttr[dpy].isActive = true; in pause()
274 ctx->dpyAttr[dpy].isActive = true; in resume()
298 ctx->dpyAttr[dpy].isActive && in prepare()
332 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive && in set()
394 ctx->dpyAttr[dpy].isActive = true; in pause()
430 ctx->dpyAttr[dpy].isActive = true; in resume()
Dhwc_uevents.cpp124 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = false; in teardownWfd()
192 ctx->dpyAttr[dpy].isActive = false; in handle_uevent()
292 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = true; in handle_uevent()
Dhwc.cpp262 ctx->dpyAttr[dpy].isActive) { in hwc_prepare_primary()
297 ctx->dpyAttr[dpy].isActive && in hwc_prepare_external()
453 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
466 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
476 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
492 if (!ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive) { in reset_panel()
556 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive) { in hwc_set_primary()
634 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive && in hwc_set_external()
Dhwc_vsync.cpp75 ctx->dpyAttr[dpy].isActive = poweron ? true: false; in handle_blank_event()
Dhwc_utils.h89 bool isActive; member
142 bool isActive() { return (count>0); } in isActive() function
Dhwc_utils.cpp185 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive = true; in openFramebufferDevice()
224 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive = false; in initContext()
226 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = false; in initContext()
1250 return ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive; in isExternalActive()
1372 if ((fd >= 0) && !dpy && ctx->mPtorInfo.isActive()) { in hwc_sync()
1439 if (ctx->mPtorInfo.isActive()) in hwc_sync()
Dhwc_mdpcomp.cpp1728 if (ctx->mPtorInfo.isActive()) { in drawOverlap()
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioPolicyManagerBase.h265 bool isActive(uint32_t inPastMs = 0) const;
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp779 if (shouldWait && desc->isActive(latency * 2) && (waitMs < latency)) { in startOutput()
846 desc->isActive() && in stopOutput()
878 if (outputDesc->isActive()) { in releaseOutput()
2766 bool shouldMute = outputDesc->isActive() && (AudioSystem::popCount(device) >= 2); in checkDeviceMuteStrategies()
2769 bool tempMute = outputDesc->isActive() && (device != prevDevice); in checkDeviceMuteStrategies()
3553 bool AudioPolicyManagerBase::AudioOutputDescriptor::isActive(uint32_t inPastMs) const in isActive() function in android_audio_legacy::AudioPolicyManagerBase::AudioOutputDescriptor