/base/powermgr/power_manager/test/unittest/src/servicetest/ |
D | powermgr_service_native_test.cpp | 76 EXPECT_EQ(g_powerMgrServiceProxy->IsScreenOn(), true); 79 EXPECT_EQ(g_powerMgrServiceProxy->IsScreenOn(), true); 82 EXPECT_EQ(g_powerMgrServiceProxy->IsScreenOn(), true); 97 EXPECT_EQ(g_powerMgrServiceProxy->IsScreenOn(), true); 100 EXPECT_EQ(g_powerMgrServiceProxy->IsScreenOn(), true); 103 EXPECT_EQ(g_powerMgrServiceProxy->IsScreenOn(), true); 118 EXPECT_EQ(g_powerMgrServiceProxy->IsScreenOn(), true); 121 EXPECT_EQ(g_powerMgrServiceProxy->IsScreenOn(), true); 124 EXPECT_EQ(g_powerMgrServiceProxy->IsScreenOn(), true); 139 EXPECT_EQ(g_powerMgrServiceProxy->IsScreenOn(), true); [all …]
|
/base/powermgr/power_manager/test/unittest/src/ |
D | power_mgr_client_test.cpp | 53 … EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient001: Prepare Fail, Screen is OFF."; 56 … EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient001: Prepare Fail, Screen is OFF."; 61 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient001: RefreshActivity Device Fail, S… 79 … EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient002: Prepare Fail, Screen is OFF."; 82 … EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient002: Prepare Fail, Screen is OFF."; 87 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient002: RefreshActivity Device Fail, S… 105 … EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient003: Prepare Fail, Screen is OFF."; 108 … EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient003: Prepare Fail, Screen is OFF."; 113 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient003: RefreshActivity Device Fail, S… 131 … EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient004: Prepare Fail, Screen is OFF."; [all …]
|
D | power_state_machine_test.cpp | 73 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerStateMachine003: Prepare Fail, Screen is OFF… 79 …EXPECT_EQ(powerMgrClient.IsScreenOn(), false) << "PowerStateMachine003: Suspend Device Fail, Scree… 101 …EXPECT_EQ(powerMgrClient.IsScreenOn(), false) << "PowerStateMachine004: Prepare Fail, Screen is On… 107 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerStateMachine004: Wakeup Device Fail, Screen … 125 if (powerMgrClient.IsScreenOn()) { 128 EXPECT_EQ(powerMgrClient.IsScreenOn(), false) << "PowerStateMachine005_" << i 133 EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerStateMachine005_" << i 156 …EXPECT_EQ(powerMgrClient.IsScreenOn(), false) << "PowerStateMachine006: Prepare Fail, Screen is On… 163 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerStateMachine006: Check details test Fail, Sc… 169 …EXPECT_EQ(powerMgrClient.IsScreenOn(), false) << "PowerStateMachine006: Real test tprepare Fail, S… [all …]
|
D | power_mgr_service_test.cpp | 115 …EXPECT_EQ(powerMgrClient.IsScreenOn(), false) << "PowerMgrService005: Prepare Fail, Screen is ON."; 130 … EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrService006: Prepare Fail, Screen is ON."; 145 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrService007: Prepare Fail, Screen is OFF."; 162 …EXPECT_EQ(powerMgrClient.IsScreenOn(), false) << "PowerMgrService008: Prepare Fail, Screen is ON."; 177 … EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrService009: Prepare Fail, Screen is ON."; 193 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrService010: Prepare Fail, Screen is OFF."; 210 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrService011: Prepare Fail, Screen is OFF."; 226 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrService012: Prepare Fail, Screen is OFF."; 242 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrService013: Prepare Fail, Screen is OFF."; 260 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrService014: Prepare Fail, Screen is OFF."; [all …]
|
D | power_mgr_notify_test.cpp | 150 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrNotifyTest001: Prepare Fail, Screen is OF… 181 …EXPECT_EQ(powerMgrClient.IsScreenOn(), false) << "PowerMgrNotifyTest002: Prepare Fail, Screen is O…
|
D | power_screenon_mock_test.cpp | 55 bool PowerMgrService::IsScreenOn() in IsScreenOn() function in PowerMgrService
|
/base/powermgr/battery_manager/test/unittest/src/ |
D | battery_plugged_wakeup_test.cpp | 70 bool isScreenOnNow = powerMgrClient.IsScreenOn(); 75 isScreenOnNow = powerMgrClient.IsScreenOn(); 95 bool isScreenOnNow = powerMgrClient.IsScreenOn(); 99 isScreenOnNow = powerMgrClient.IsScreenOn(); 118 bool isScreenOnNow = powerMgrClient.IsScreenOn(); 123 isScreenOnNow = powerMgrClient.IsScreenOn(); 143 bool isScreenOnNow = powerMgrClient.IsScreenOn(); 147 isScreenOnNow = powerMgrClient.IsScreenOn(); 166 bool isScreenOnNow = powerMgrClient.IsScreenOn(); 171 isScreenOnNow = powerMgrClient.IsScreenOn(); [all …]
|
/base/telephony/call_manager/services/call/call_state_observer/src/ |
D | incoming_call_wake_up.cpp | 37 if (IsScreenOn()) { in WakeupDevice() 45 bool IncomingCallWakeup::IsScreenOn() in IsScreenOn() function in OHOS::Telephony::IncomingCallWakeup 47 return PowerMgr::PowerMgrClient::GetInstance().IsScreenOn(); in IsScreenOn()
|
/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/ |
D | screen_state_collection.cpp | 101 if ((value == ToString(SCREEN_ON) && powerMgrClient.IsScreenOn()) || in DecideState() 102 (value == ToString(SCREEN_OFF) && !powerMgrClient.IsScreenOn())) { in DecideState()
|
/base/powermgr/display_manager/service/native/src/ |
D | screen_controller.cpp | 146 bool ScreenController::IsScreenOn() in IsScreenOn() function in OHOS::DisplayPowerMgr::ScreenController 283 bool isScreenOn = IsScreenOn(); in CanSetBrightness() 293 return IsScreenOn(); in CanDiscountBrightness() 298 return IsScreenOn() && !IsBrightnessBoosted(); in CanOverrideBrightness() 303 return IsScreenOn() && !IsBrightnessOverridden(); in CanBoostBrightness()
|
/base/telephony/call_manager/services/call/call_state_observer/include/ |
D | incoming_call_wake_up.h | 45 bool IsScreenOn();
|
/base/powermgr/power_manager/frameworks/napi/power/ |
D | power.h | 40 static napi_value IsScreenOn(napi_env env, napi_callback_info info);
|
D | power.cpp | 84 asyncCallbackInfo->screenOn = g_powerMgrClient.IsScreenOn(); in IsScreenOnCallBack() 110 napi_value Power::IsScreenOn(napi_env env, napi_callback_info info) in IsScreenOn() function in OHOS::PowerMgr::Power
|
D | power_module.cpp | 78 DECLARE_NAPI_FUNCTION("isScreenOn", Power::IsScreenOn), in PowerInit()
|
/base/powermgr/thermal_manager/test/unittest/src/ |
D | thermal_mock_action_test.cpp | 158 if (PowerMgrClient::GetInstance().IsScreenOn()) { 192 if (PowerMgrClient::GetInstance().IsScreenOn()) { 226 if (PowerMgrClient::GetInstance().IsScreenOn()) {
|
/base/powermgr/power_manager/test/fuzztest/power_fuzzer/ |
D | power_fuzzer.cpp | 121 static void IsScreenOn([[maybe_unused]] const uint8_t* data, [[maybe_unused]] size_t size) in IsScreenOn() function 123 g_powerMgrClient.IsScreenOn(); in IsScreenOn() 301 &IsScreenOn,
|
/base/powermgr/power_manager/test/unittest/src/mock/ |
D | power_mock_parcel_test.cpp | 59 EXPECT_FALSE(powerMgrClient.IsScreenOn()); 183 EXPECT_FALSE(sptrProxy->IsScreenOn());
|
/base/powermgr/power_manager/test/unittest/include/servicetest/ |
D | powermgr_service_test_proxy.h | 61 bool IsScreenOn();
|
/base/powermgr/power_manager/interfaces/inner_api/native/include/ |
D | power_mgr_client.h | 88 bool IsScreenOn();
|
D | ipower_mgr.h | 57 virtual bool IsScreenOn() = 0;
|
/base/powermgr/display_manager/service/native/include/ |
D | screen_controller.h | 55 bool IsScreenOn();
|
/base/useriam/fingerprint_auth/services_ex/src/ |
D | screen_state_monitor.cpp | 136 isOn_ = PowerMgrClient::GetInstance().IsScreenOn(); in Subscribe()
|
/base/powermgr/power_manager/frameworks/native/ |
D | power_mgr_client.cpp | 181 bool PowerMgrClient::IsScreenOn() in IsScreenOn() function in OHOS::PowerMgr::PowerMgrClient 185 ret = proxy_->IsScreenOn(); in IsScreenOn()
|
/base/powermgr/power_manager/services/native/src/ |
D | power_mgr_service.cpp | 301 if (IsScreenOn()) { in HandleKeyEvent() 322 if (this->IsScreenOn()) { in HandlePointEvent() 525 bool PowerMgrService::IsScreenOn() in IsScreenOn() function in OHOS::PowerMgr::PowerMgrService 528 auto isScreenOn = powerStateMachine_->IsScreenOn(); in IsScreenOn() 649 if (!runningLockMgr_->ExistValidRunningLock() && !powerStateMachine_->IsScreenOn()) { in NotifyRunningLockChanged()
|
/base/powermgr/power_manager/services/zidl/include/ |
D | power_mgr_proxy.h | 63 virtual bool IsScreenOn() override;
|