Home
last modified time | relevance | path

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

12

/hardware/google/pixel/power-libperfmgr/aidl/tests/
DPowerHintSessionTest.cpp133 bool ReadThreadADPFTag(pid_t pid, bool *isActive) { in ReadThreadADPFTag() argument
136 *isActive = false; in ReadThreadADPFTag()
169 *isActive = true; in ReadThreadADPFTag()
293 bool isActive; in TEST_F() local
302 ASSERT_TRUE(ReadThreadADPFTag(threadOnePid, &isActive)); in TEST_F()
303 ASSERT_TRUE(isActive); in TEST_F()
304 ASSERT_TRUE(ReadThreadADPFTag(threadTwoPid, &isActive)); in TEST_F()
305 ASSERT_TRUE(isActive); in TEST_F()
311 ASSERT_TRUE(ReadThreadADPFTag(threadOnePid, &isActive)); in TEST_F()
312 ASSERT_TRUE(!isActive); in TEST_F()
[all …]
DSessionTaskMapTest.cpp36 sv.isActive = true; in makeSession()
216 sv.isActive = true; in TEST()
299 sv.isActive = true; in TEST()
309 sv.isActive = true; in TEST()
324 sessItr->isActive = false; in TEST()
340 SessionValueEntry sv{.isActive = true, in TEST()
373 SessionValueEntry sv{.isActive = true, in TEST()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_uevents.cpp97 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive = false; in handle_uevent()
100 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = true; in handle_uevent()
158 ctx->dpyAttr[dpy].isActive = true; in handle_uevent()
165 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()
/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.cpp77 ctx->dpyAttr[dpy].isActive = poweron ? true: false; in handle_blank_event()
/hardware/google/pixel/power-libperfmgr/aidl/
DPowerSessionManager.cpp125 sve.isActive = sessionDescriptor->is_active; in addPowerSession()
260 if (!sessValPtr->isActive) { in pause()
264 sessValPtr->isActive = false; in pause()
280 if (sessValPtr->isActive) { in resume()
284 sessValPtr->isActive = true; in resume()
542 void PowerSessionManager<HintManagerT>::forceSessionActive(int64_t sessionId, bool isActive) { in forceSessionActive() argument
549 sessValPtr->isActive = isActive; in forceSessionActive()
DSessionValueEntry.cpp39 os << ", " << isActive; in dump()
DSessionValueEntry.h41 bool isActive{true};
DSessionTaskMap.cpp92 if (!sessInTask->isActive) { in getTaskVoteRange()
143 if (!sessionVal.second.val->isActive) { in isAnyAppSessionActive()
DPowerSessionManager.h126 void forceSessionActive(int64_t sessionId, bool isActive);
/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.cpp272 ctx->dpyAttr[dpy].isActive) { in hwc_prepare_primary()
307 ctx->dpyAttr[dpy].isActive && in hwc_prepare_external()
465 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
478 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
488 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
504 if (!ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive) { in reset_panel()
585 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive) { in hwc_set_primary()
679 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive && in hwc_set_external()
Dhwc_vsync.cpp74 ctx->dpyAttr[dpy].isActive = poweron ? true: false; in handle_blank_event()
/hardware/libhardware_legacy/
Dpower_test.cpp133 ASSERT_TRUE(info.isActive); in TEST_F()
144 ASSERT_FALSE(info.isActive); in TEST_F()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc.cpp289 (ctx->dpyAttr[dpy].isActive || in hwc_prepare_primary()
295 if (!ctx->dpyAttr[dpy].isActive) { in hwc_prepare_primary()
305 ctx->dpyAttr[dpy].isActive = true; in hwc_prepare_primary()
341 ctx->dpyAttr[dpy].isActive && in hwc_prepare_external()
516 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
530 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
540 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
559 if (!ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive) { in reset_panel()
623 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive in hwc_set_primary()
706 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive && in hwc_set_external()
Dhwc_vsync.cpp77 ctx->dpyAttr[dpy].isActive = poweron ? true: false; in handle_blank_event()
/hardware/interfaces/media/bufferpool/aidl/default/
DBufferPoolClient.h62 bool isActive(int64_t *lastTransactionMs, bool clearCache);
DBufferPoolClient.cpp65 bool isActive(int64_t *lastTransactionMs, bool clearCache);
317 bool BufferPoolClient::Impl::isActive(int64_t *lastTransactionMs, bool clearCache) { in isActive() function in aidl::android::hardware::media::bufferpool2::implementation::BufferPoolClient::Impl
795 bool BufferPoolClient::isActive(int64_t *lastTransactionMs, bool clearCache) { in isActive() function in aidl::android::hardware::media::bufferpool2::implementation::BufferPoolClient
800 return mImpl->isActive(lastTransactionMs, clearCache); in isActive()
/hardware/google/aemu/base/include/aemu/base/async/
DLooper.h124 virtual bool isActive() const = 0;
DDefaultLooper.h120 bool isActive() const override;
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraChannel.h77 bool isActive() { return m_bIsActive; } in isActive() function

12