/base/powermgr/thermal_manager/services/native/src/thermal_action/action/ |
H A D | action_popup.cpp | 97 g_powerMgrClient.RefreshActivity(UserActivityType::USER_ACTIVITY_TYPE_ATTENTION); in HandlePopupEvent() 101 g_powerMgrClient.RefreshActivity(UserActivityType::USER_ACTIVITY_TYPE_ATTENTION); in HandlePopupEvent()
|
/base/powermgr/power_manager/services/native/src/actions/default/display/ |
H A D | default_device_state_action.h | 31 void RefreshActivity(const int64_t callTimeMs, UserActivityType type,
|
H A D | device_state_action.h | 35 void RefreshActivity(const int64_t callTimeMs, UserActivityType type,
|
/base/powermgr/power_manager/test/mock/action/ |
H A D | mock_state_action.h | 35 MOCK_METHOD3(RefreshActivity, void(int64_t callTimeMs, UserActivityType type, uint32_t flags));
|
/base/powermgr/power_manager/test/systemtest/mock/ |
H A D | mock_state_action.h | 35 MOCK_METHOD3(RefreshActivity, void(int64_t callTimeMs, UserActivityType type, uint32_t flags));
|
/base/powermgr/power_manager/test/unittest/src/mock/ |
H A D | power_mock_parcel_test.cpp | 69 powerMgrClient.RefreshActivity(); in HWTEST_F() 70 powerMgrClient.RefreshActivity(UserActivityType::USER_ACTIVITY_TYPE_ATTENTION); in HWTEST_F() 193 sptrProxy->RefreshActivity(GetTickCount(), UserActivityType::USER_ACTIVITY_TYPE_ATTENTION, true); in HWTEST_F()
|
H A D | power_mock_proxy_test.cpp | 92 EXPECT_FALSE(sptrProxy->RefreshActivity(GetTickCount(), UserActivityType::USER_ACTIVITY_TYPE_ATTENTION, true)); in HWTEST_F()
|
H A D | power_mock_peer_test.cpp | 135 EXPECT_FALSE(sptrProxy->RefreshActivity(GetTickCount(), UserActivityType::USER_ACTIVITY_TYPE_ATTENTION, true)); in HWTEST_F()
|
H A D | power_mock_object_test.cpp | 101 EXPECT_FALSE(sptrProxy->RefreshActivity(GetTickCount(), UserActivityType::USER_ACTIVITY_TYPE_ATTENTION, true)); in HWTEST_F()
|
/base/powermgr/power_manager/services/native/include/actions/ |
H A D | idevice_state_action.h | 44 virtual void RefreshActivity(int64_t callTimeMs, UserActivityType type, uint32_t flags) = 0;
|
/base/powermgr/power_manager/test/unittest/src/servicetest/ |
H A D | powermgr_service_native_test.cpp | 84 * @tc.desc: test RefreshActivity 96 g_powerMgrServiceProxy->RefreshActivity(GetTickCount()); in HWTEST_F() 105 * @tc.desc: test RefreshActivity 117 g_powerMgrServiceProxy->RefreshActivity(GetTickCount(), UserActivityType::USER_ACTIVITY_TYPE_BUTTON); in HWTEST_F() 126 * @tc.desc: test RefreshActivity 138 g_powerMgrServiceProxy->RefreshActivity(GetTickCount(), UserActivityType::USER_ACTIVITY_TYPE_TOUCH); in HWTEST_F() 147 * @tc.desc: test RefreshActivity 159 g_powerMgrServiceProxy->RefreshActivity(GetTickCount(), UserActivityType::USER_ACTIVITY_TYPE_ACCESSIBILITY); in HWTEST_F() 168 * @tc.desc: test RefreshActivity 180 g_powerMgrServiceProxy->RefreshActivity(GetTickCoun in HWTEST_F() [all...] |
/base/powermgr/power_manager/test/fuzztest/power_utils/ |
H A D | power_fuzzer.cpp | 61 virtual void RefreshActivity([[maybe_unused]] int64_t callTimeMs, [[maybe_unused]] UserActivityType type, in RefreshActivity() function in OHOS::PowerMgr::FuzzStateAction
|
/base/powermgr/power_manager/test/unittest/include/servicetest/ |
H A D | powermgr_service_test_proxy.h | 58 bool RefreshActivity(int64_t callTimeMs, UserActivityType type = UserActivityType::USER_ACTIVITY_TYPE_OTHER,
|
/base/powermgr/power_manager/test/unittest/src/interface_test/ |
H A D | power_mgr_client_test.cpp | 44 * @tc.desc: test RefreshActivity 60 powerMgrClient.RefreshActivity(); in HWTEST_F() 64 EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient001: RefreshActivity Device Fail, Screen is OFF"; in HWTEST_F() 71 * @tc.desc: test RefreshActivity 87 powerMgrClient.RefreshActivity(UserActivityType::USER_ACTIVITY_TYPE_BUTTON); in HWTEST_F() 91 EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient002: RefreshActivity Device Fail, Screen is OFF"; in HWTEST_F() 98 * @tc.desc: test RefreshActivity 114 powerMgrClient.RefreshActivity(UserActivityType::USER_ACTIVITY_TYPE_TOUCH); in HWTEST_F() 118 EXPECT_EQ(powerMgrClient.IsScreenOn(), true) << "PowerMgrClient003: RefreshActivity Device Fail, Screen is OFF"; in HWTEST_F() 125 * @tc.desc: test RefreshActivity [all...] |
H A D | power_mgr_service_test.cpp | 493 EXPECT_TRUE(powerMgrClient.RefreshActivity()); in HWTEST_F() 528 powerMgrClient.RefreshActivity(); in HWTEST_F()
|
/base/powermgr/power_manager/interfaces/inner_api/native/include/ |
H A D | power_mgr_client.h | 88 * Refresh the screentimeout time, and keep the screen on. RefreshActivity works only when the screen is on. 90 * @param type The RefreshActivity type, such as touch/button/accessibility and so on. 94 bool RefreshActivity(UserActivityType type = UserActivityType::USER_ACTIVITY_TYPE_OTHER);
|
H A D | ipower_mgr.h | 63 virtual bool RefreshActivity(int64_t callTimeMs, UserActivityType type, bool needChangeBacklight) = 0;
|
/base/powermgr/power_manager/test/unittest/src/servicetest/mock/ |
H A D | powermgr_service_mock_parcel_test.cpp | 112 EXPECT_FALSE(g_powerMgrServiceProxy->RefreshActivity(GetTickCount(), in HWTEST_F()
|
/base/powermgr/power_manager/services/zidl/include/ |
H A D | power_mgr_proxy.h | 65 virtual bool RefreshActivity(int64_t callTimeMs, UserActivityType type, bool needChangeBacklight) override;
|
/base/powermgr/power_manager/frameworks/native/ |
H A D | power_mgr_client.cpp | 212 bool PowerMgrClient::RefreshActivity(UserActivityType type) in RefreshActivity() function in OHOS::PowerMgr::PowerMgrClient 215 bool ret = proxy_->RefreshActivity(GetTickCount(), type, true); in RefreshActivity() 216 POWER_HILOGD(FEATURE_ACTIVITY, "Calling RefreshActivity Success"); in RefreshActivity()
|
/base/powermgr/power_manager/services/native/src/ |
H A D | power_mgr_service.cpp | 902 bool PowerMgrService::RefreshActivity(int64_t callTimeMs, UserActivityType type, bool needChangeBacklight) in RefreshActivity() function in OHOS::PowerMgr::PowerMgrService 1806 pms->RefreshActivity(GetTickCount(), UserActivityType::USER_ACTIVITY_TYPE_CABLE, false); in OnConnect() 1842 pms->RefreshActivity(GetTickCount(), UserActivityType::USER_ACTIVITY_TYPE_CABLE, false); in OnDisconnect() 1852 pms->RefreshActivity(GetTickCount(), UserActivityType::USER_ACTIVITY_TYPE_CABLE, false); in OnDisconnect()
|
/base/powermgr/power_manager/services/native/include/ |
H A D | power_mgr_service.h | 83 virtual bool RefreshActivity(int64_t callTimeMs, UserActivityType type, bool needChangeBacklight) override;
|
/base/powermgr/power_manager/services/native/src/suspend/ |
H A D | suspend_controller.cpp | 513 pms->RefreshActivity(GetTickCount(), UserActivityType::USER_ACTIVITY_TYPE_SWITCH, false); in RegisterSettingsObserver()
|
/base/powermgr/power_manager/services/native/src/wakeup/ |
H A D | wakeup_controller.cpp | 714 pms->RefreshActivity(GetTickCount(), UserActivityType::USER_ACTIVITY_TYPE_SWITCH, false); in ProcessPowerOnInternalScreenOnly()
|
/base/powermgr/power_manager/services/zidl/src/ |
H A D | power_mgr_stub.cpp | 422 RefreshActivity(time, static_cast<UserActivityType>(type), needChangeBacklight); in RefreshActivityStub()
|