/base/powermgr/power_manager/services/native/test/unittest/src/ |
D | power_mgr_client_test.cpp | 52 … 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 …]
|
D | power_state_machine_test.cpp | 69 …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 …]
|
D | power_mgr_service_test.cpp | 130 …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 …]
|
D | power_mgr_notify_test.cpp | 153 …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/ |
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 | 131 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/ |
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/power_manager/test/fuzztest/power_fuzzer/ |
D | power_fuzzer.cpp | 71 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/ |
D | power_mgr_service.cpp | 209 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()
|
D | power_state_machine.cpp | 91 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/ |
D | power_mgr_client.h | 88 bool IsScreenOn();
|
D | ipower_mgr.h | 89 virtual bool IsScreenOn() = 0;
|
/base/powermgr/display_manager/service/native/include/ |
D | screen_controller.h | 53 bool IsScreenOn();
|
/base/powermgr/power_manager/services/native/test/unittest/src/mock/ |
D | power_mock_parcel_test.cpp | 67 EXPECT_FALSE(powerMgrClient.IsScreenOn()); 209 EXPECT_FALSE(sptrProxy->IsScreenOn());
|
D | power_mock_proxy_test.cpp | 102 EXPECT_FALSE(sptrProxy->IsScreenOn());
|
D | power_mock_peer_test.cpp | 146 EXPECT_FALSE(sptrProxy->IsScreenOn());
|
/base/powermgr/power_manager/frameworks/native/ |
D | power_mgr_client.cpp | 190 bool PowerMgrClient::IsScreenOn() in IsScreenOn() function in OHOS::PowerMgr::PowerMgrClient 194 ret = proxy_->IsScreenOn(); in IsScreenOn()
|
/base/powermgr/power_manager/services/zidl/include/ |
D | power_mgr_proxy.h | 64 virtual bool IsScreenOn() override;
|
/base/powermgr/power_manager/services/native/include/ |
D | power_state_machine.h | 85 bool IsScreenOn();
|
D | power_mgr_service.h | 57 virtual bool IsScreenOn() override;
|