Home
last modified time | relevance | path

Searched refs:IsScreenOn (Results 1 – 25 of 43) sorted by relevance

12

/base/powermgr/power_manager/test/unittest/src/servicetest/
Dpowermgr_service_native_test.cpp76 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/
Dpower_mgr_client_test.cpp53 … 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 …]
Dpower_state_machine_test.cpp73 …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 …]
Dpower_mgr_service_test.cpp115 …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 …]
Dpower_mgr_notify_test.cpp150 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrNotifyTest001: Prepare Fail, Screen is OF…
181 …EXPECT_EQ(powerMgrClient.IsScreenOn(), false) << "PowerMgrNotifyTest002: Prepare Fail, Screen is O…
Dpower_screenon_mock_test.cpp55 bool PowerMgrService::IsScreenOn() in IsScreenOn() function in PowerMgrService
/base/powermgr/battery_manager/test/unittest/src/
Dbattery_plugged_wakeup_test.cpp70 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/
Dincoming_call_wake_up.cpp37 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/
Dscreen_state_collection.cpp101 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/
Dscreen_controller.cpp146 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/
Dincoming_call_wake_up.h45 bool IsScreenOn();
/base/powermgr/power_manager/frameworks/napi/power/
Dpower.h40 static napi_value IsScreenOn(napi_env env, napi_callback_info info);
Dpower.cpp84 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
Dpower_module.cpp78 DECLARE_NAPI_FUNCTION("isScreenOn", Power::IsScreenOn), in PowerInit()
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_mock_action_test.cpp158 if (PowerMgrClient::GetInstance().IsScreenOn()) {
192 if (PowerMgrClient::GetInstance().IsScreenOn()) {
226 if (PowerMgrClient::GetInstance().IsScreenOn()) {
/base/powermgr/power_manager/test/fuzztest/power_fuzzer/
Dpower_fuzzer.cpp121 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/
Dpower_mock_parcel_test.cpp59 EXPECT_FALSE(powerMgrClient.IsScreenOn());
183 EXPECT_FALSE(sptrProxy->IsScreenOn());
/base/powermgr/power_manager/test/unittest/include/servicetest/
Dpowermgr_service_test_proxy.h61 bool IsScreenOn();
/base/powermgr/power_manager/interfaces/inner_api/native/include/
Dpower_mgr_client.h88 bool IsScreenOn();
Dipower_mgr.h57 virtual bool IsScreenOn() = 0;
/base/powermgr/display_manager/service/native/include/
Dscreen_controller.h55 bool IsScreenOn();
/base/useriam/fingerprint_auth/services_ex/src/
Dscreen_state_monitor.cpp136 isOn_ = PowerMgrClient::GetInstance().IsScreenOn(); in Subscribe()
/base/powermgr/power_manager/frameworks/native/
Dpower_mgr_client.cpp181 bool PowerMgrClient::IsScreenOn() in IsScreenOn() function in OHOS::PowerMgr::PowerMgrClient
185 ret = proxy_->IsScreenOn(); in IsScreenOn()
/base/powermgr/power_manager/services/native/src/
Dpower_mgr_service.cpp301 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/
Dpower_mgr_proxy.h63 virtual bool IsScreenOn() override;

12