Home
last modified time | relevance | path

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

/base/powermgr/power_manager/interfaces/innerkits/native/include/
Dpower_mgr_client.h72 bool RefreshActivity(UserActivityType type = UserActivityType::USER_ACTIVITY_TYPE_OTHER);
Dpower_state_machine_info.h84 enum class UserActivityType : uint32_t { enum
Dipower_mgr.h85 …virtual bool RefreshActivity(int64_t callTimeMs, UserActivityType type, bool needChangeBacklight) …
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
Daction_popup.cpp106 g_powerMgrClient.RefreshActivity(UserActivityType::USER_ACTIVITY_TYPE_ATTENTION); in HandlePopupEvent()
110 g_powerMgrClient.RefreshActivity(UserActivityType::USER_ACTIVITY_TYPE_ATTENTION); in HandlePopupEvent()
/base/powermgr/power_manager/test/systemtest/mock/
Dmock_state_action.h32 MOCK_METHOD3(RefreshActivity, void(int64_t callTimeMs, UserActivityType type, uint32_t flags));
/base/powermgr/power_manager/services/native/test/unittest/mock/
Dmock_state_action.h32 MOCK_METHOD3(RefreshActivity, void(int64_t callTimeMs, UserActivityType type, uint32_t flags));
/base/powermgr/power_manager/services/native/src/actions/default/display/
Ddefault_device_state_action.h31 void RefreshActivity(const int64_t callTimeMs, UserActivityType type, in RefreshActivity()
Ddevice_state_action.h32 void RefreshActivity(const int64_t callTimeMs, UserActivityType type, in RefreshActivity()
/base/powermgr/power_manager/services/native/include/actions/
Didevice_state_action.h44 virtual void RefreshActivity(int64_t callTimeMs, UserActivityType type, uint32_t flags) = 0;
/base/powermgr/power_manager/services/native/src/
Dpower_state_machine.cpp251 UserActivityType type, in RefreshActivityInner()
254 if (type > UserActivityType::USER_ACTIVITY_TYPE_MAX) { in RefreshActivityInner()
832 StateChangeReason PowerStateMachine::GetReasonByUserActivity(UserActivityType type) in GetReasonByUserActivity()
837 case UserActivityType::USER_ACTIVITY_TYPE_BUTTON: in GetReasonByUserActivity()
840 case UserActivityType::USER_ACTIVITY_TYPE_TOUCH: in GetReasonByUserActivity()
843 case UserActivityType::USER_ACTIVITY_TYPE_ACCESSIBILITY: in GetReasonByUserActivity()
846 case UserActivityType::USER_ACTIVITY_TYPE_SOFTWARE: in GetReasonByUserActivity()
849 case UserActivityType::USER_ACTIVITY_TYPE_ATTENTION: // fail through in GetReasonByUserActivity()
850 case UserActivityType::USER_ACTIVITY_TYPE_OTHER: // fail through in GetReasonByUserActivity()
Dpower_mgr_service.cpp363 this->RefreshActivity(now, UserActivityType::USER_ACTIVITY_TYPE_ATTENTION, false); in HandleShutdownRequest()
392 this->RefreshActivity(now, UserActivityType::USER_ACTIVITY_TYPE_BUTTON, false); in HandleKeyEvent()
414 this->RefreshActivity(now, UserActivityType::USER_ACTIVITY_TYPE_ATTENTION, false); in HandlePointEvent()
575 UserActivityType type, in RefreshActivity()
/base/powermgr/power_manager/services/native/include/
Dpower_state_machine.h80 …void RefreshActivityInner(pid_t pid, int64_t callTimeMs, UserActivityType type, bool needChangeBac…
176 StateChangeReason GetReasonByUserActivity(UserActivityType type);
Dpower_mgr_service.h52 virtual bool RefreshActivity(int64_t callTimeMs, UserActivityType type,
/base/powermgr/power_manager/services/native/test/unittest/src/
Dpower_mgr_client_test.cpp82 powerMgrClient.RefreshActivity(UserActivityType::USER_ACTIVITY_TYPE_BUTTON);
108 powerMgrClient.RefreshActivity(UserActivityType::USER_ACTIVITY_TYPE_TOUCH);
134 powerMgrClient.RefreshActivity(UserActivityType::USER_ACTIVITY_TYPE_ACCESSIBILITY);
160 powerMgrClient.RefreshActivity(UserActivityType::USER_ACTIVITY_TYPE_ATTENTION);
186 powerMgrClient.RefreshActivity(UserActivityType::USER_ACTIVITY_TYPE_SOFTWARE);
205 UserActivityType abnormaltype = UserActivityType(9);
Dpower_mgr_mock_test.cpp768 RefreshActivity(0, UserActivityType::USER_ACTIVITY_TYPE_ATTENTION, _)).Times(1);
769 pms->RefreshActivity(0, UserActivityType::USER_ACTIVITY_TYPE_ATTENTION, true);
1067 RefreshActivity(0, UserActivityType::USER_ACTIVITY_TYPE_OTHER, _)).Times(1);
1068 pms->RefreshActivity(0, UserActivityType::USER_ACTIVITY_TYPE_OTHER, true);
1099 RefreshActivity(0, UserActivityType::USER_ACTIVITY_TYPE_BUTTON, _)).Times(1);
1100 pms->RefreshActivity(0, UserActivityType::USER_ACTIVITY_TYPE_BUTTON, true);
1131 RefreshActivity(0, UserActivityType::USER_ACTIVITY_TYPE_ACCESSIBILITY, _)).Times(1);
1132 pms->RefreshActivity(0, UserActivityType::USER_ACTIVITY_TYPE_ACCESSIBILITY, true);
1163 RefreshActivity(0, UserActivityType::USER_ACTIVITY_TYPE_ATTENTION, _)).Times(1);
1164 pms->RefreshActivity(0, UserActivityType::USER_ACTIVITY_TYPE_ATTENTION, true);
[all …]
/base/powermgr/power_manager/services/native/test/unittest/src/mock/
Dpower_mock_parcel_test.cpp71 powerMgrClient.RefreshActivity(UserActivityType::USER_ACTIVITY_TYPE_ATTENTION);
204 … sptrProxy->RefreshActivity(GetTickCount(), UserActivityType::USER_ACTIVITY_TYPE_ATTENTION, true);
Dpower_mock_proxy_test.cpp97 …EXPECT_FALSE(sptrProxy->RefreshActivity(GetTickCount(), UserActivityType::USER_ACTIVITY_TYPE_ATTEN…
Dpower_mock_object_test.cpp105 …EXPECT_FALSE(sptrProxy->RefreshActivity(GetTickCount(), UserActivityType::USER_ACTIVITY_TYPE_ATTEN…
Dpower_mock_peer_test.cpp141 …EXPECT_FALSE(sptrProxy->RefreshActivity(GetTickCount(), UserActivityType::USER_ACTIVITY_TYPE_ATTEN…
/base/powermgr/power_manager/services/zidl/include/
Dpower_mgr_proxy.h60 …virtual bool RefreshActivity(int64_t callTimeMs, UserActivityType type, bool needChangeBacklight) …
/base/powermgr/power_manager/test/fuzztest/power_fuzzer/
Dpower_fuzzer.cpp68 g_powerMgrClient.RefreshActivity(static_cast<UserActivityType>(type[0])); in RefreshActivity()
/base/powermgr/power_manager/frameworks/native/
Dpower_mgr_client.cpp143 bool PowerMgrClient::RefreshActivity(UserActivityType type) in RefreshActivity()
/base/powermgr/power_manager/services/zidl/src/
Dpower_mgr_stub.cpp289 RefreshActivity(time, static_cast<UserActivityType>(type), needChangeBacklight); in RefreshActivityStub()
Dpower_mgr_proxy.cpp374 bool PowerMgrProxy::RefreshActivity(int64_t callTimeMs, UserActivityType type, bool needChangeBackl… in RefreshActivity()
/base/powermgr/battery_manager/services/native/src/
Dbattery_service.cpp331 g_powerMgrClient.RefreshActivity(UserActivityType::USER_ACTIVITY_TYPE_ATTENTION); in HandlePopupEvent()