Home
last modified time | relevance | path

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

12

/base/powermgr/power_manager/services/native/test/unittest/src/
Dpower_mgr_client_test.cpp52 … EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient001: Prepare Fail, Screen is OFF.";
55 … EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient001: Prepare Fail, Screen is OFF.";
60 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient001: RefreshActivity Device Fail, S…
78 … EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient002: Prepare Fail, Screen is OFF.";
81 … EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient002: Prepare Fail, Screen is OFF.";
86 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient002: RefreshActivity Device Fail, S…
104 … EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient003: Prepare Fail, Screen is OFF.";
107 … EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient003: Prepare Fail, Screen is OFF.";
112 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient003: RefreshActivity Device Fail, S…
130 … EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient004: Prepare Fail, Screen is OFF.";
[all …]
Dpower_state_machine_test.cpp69 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerStateMachine003: Prepare Fail, Screen is OFF…
75 …EXPECT_EQ(powerMgrClient.IsScreenOn(), false) << "PowerStateMachine003: Suspend Device Fail, Scree…
97 …EXPECT_EQ(powerMgrClient.IsScreenOn(), false) << "PowerStateMachine004: Prepare Fail, Screen is On…
103 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerStateMachine004: Wakeup Device Fail, Screen …
121 if (powerMgrClient.IsScreenOn()) {
124 EXPECT_EQ(powerMgrClient.IsScreenOn(), false) << "PowerStateMachine005_" << i
129 EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerStateMachine005_" << i
152 …EXPECT_EQ(powerMgrClient.IsScreenOn(), false) << "PowerStateMachine006: Prepare Fail, Screen is On…
159 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerStateMachine006: Check details test Fail, Sc…
165 …EXPECT_EQ(powerMgrClient.IsScreenOn(), false) << "PowerStateMachine006: Real test tprepare Fail, S…
[all …]
Dpower_mgr_service_test.cpp130 …EXPECT_EQ(powerMgrClient.IsScreenOn(), false) << "PowerMgrService005: Prepare Fail, Screen is ON.";
146 … EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrService006: Prepare Fail, Screen is ON.";
161 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrService007: Prepare Fail, Screen is OFF.";
179 …EXPECT_EQ(powerMgrClient.IsScreenOn(), false) << "PowerMgrService008: Prepare Fail, Screen is ON.";
196 … EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrService009: Prepare Fail, Screen is ON.";
212 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrService010: Prepare Fail, Screen is OFF.";
229 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrService011: Prepare Fail, Screen is OFF.";
245 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrService012: Prepare Fail, Screen is OFF.";
261 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrService013: Prepare Fail, Screen is OFF.";
279 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrService014: Prepare Fail, Screen is OFF.";
[all …]
Dpower_mgr_notify_test.cpp153 …EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrNotifyTest001: Prepare Fail, Screen is OF…
184 …EXPECT_EQ(powerMgrClient.IsScreenOn(), false) << "PowerMgrNotifyTest002: Prepare Fail, Screen is O…
/base/powermgr/battery_manager/services/native/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.cpp131 bool ScreenController::IsScreenOn() in IsScreenOn() function in OHOS::DisplayPowerMgr::ScreenController
262 bool isScreenOn = IsScreenOn(); in CanSetBrightness()
272 return IsScreenOn(); in CanDiscountBrightness()
277 return IsScreenOn() && !IsBrightnessBoosted(); in CanOverrideBrightness()
282 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/power_manager/test/fuzztest/power_fuzzer/
Dpower_fuzzer.cpp71 static void IsScreenOn(const uint8_t* data) in IsScreenOn() function
79 g_powerMgrClient.IsScreenOn(); in IsScreenOn()
267 IsScreenOn(data); in DoSomethingInterestingWithMyAPI()
/base/powermgr/power_manager/services/native/src/
Dpower_mgr_service.cpp209 if (!IsScreenOn()) { in KeyMonitorInit()
364 if (!IsScreenOn()) { in HandleShutdownRequest()
380 if (this->IsScreenOn()) { in HandlePowerKeyUp()
391 if (IsScreenOn()) { in HandleKeyEvent()
413 if (this->IsScreenOn()) { in HandlePointEvent()
621 bool PowerMgrService::IsScreenOn() in IsScreenOn() function in OHOS::PowerMgr::PowerMgrService
624 auto isScreenOn = powerStateMachine_->IsScreenOn(); in IsScreenOn()
740 && !powerStateMachine_->IsScreenOn()) { in NotifyRunningLockChanged()
Dpower_state_machine.cpp91 if (IsScreenOn()) { in InitState()
259 if (IsScreenOn()) { in RefreshActivityInner()
324 bool PowerStateMachine::IsScreenOn() in IsScreenOn() function in OHOS::PowerMgr::PowerStateMachine
689 if (IsScreenOn()) { in HandleSystemWakeup()
/base/powermgr/power_manager/interfaces/innerkits/native/include/
Dpower_mgr_client.h88 bool IsScreenOn();
Dipower_mgr.h89 virtual bool IsScreenOn() = 0;
/base/powermgr/display_manager/service/native/include/
Dscreen_controller.h53 bool IsScreenOn();
/base/powermgr/power_manager/services/native/test/unittest/src/mock/
Dpower_mock_parcel_test.cpp67 EXPECT_FALSE(powerMgrClient.IsScreenOn());
209 EXPECT_FALSE(sptrProxy->IsScreenOn());
Dpower_mock_proxy_test.cpp102 EXPECT_FALSE(sptrProxy->IsScreenOn());
Dpower_mock_peer_test.cpp146 EXPECT_FALSE(sptrProxy->IsScreenOn());
/base/powermgr/power_manager/frameworks/native/
Dpower_mgr_client.cpp190 bool PowerMgrClient::IsScreenOn() in IsScreenOn() function in OHOS::PowerMgr::PowerMgrClient
194 ret = proxy_->IsScreenOn(); in IsScreenOn()
/base/powermgr/power_manager/services/zidl/include/
Dpower_mgr_proxy.h64 virtual bool IsScreenOn() override;
/base/powermgr/power_manager/services/native/include/
Dpower_state_machine.h85 bool IsScreenOn();
Dpower_mgr_service.h57 virtual bool IsScreenOn() override;

12