Home
last modified time | relevance | path

Searched refs:EnableMock (Results 1 - 25 of 50) sorted by relevance

12

/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_mock_action_test.cpp124 void EnableMock() in EnableMock() function
136 g_service->EnableMock(needMockBoost, mockActionCpuBoost); in EnableMock()
137 g_service->EnableMock(needMockBig, mockActionCpuBig); in EnableMock()
138 g_service->EnableMock(needMockMed, mockActionCpuMed); in EnableMock()
139 g_service->EnableMock(needMockLit, mockActionCpuLit); in EnableMock()
140 g_service->EnableMock(needMockGpu, mockActionGpu); in EnableMock()
150 EnableMock(); in SetUpTestCase()
/base/location/services/location_locator/locator/include/
H A Dpassive_ability_proxy.h39 LocationErrCode EnableMock() override;
H A Dnetwork_ability_proxy.h39 LocationErrCode EnableMock() override;
H A Dgnss_ability_proxy.h49 LocationErrCode EnableMock() override;
H A Dsubability_common.h35 virtual LocationErrCode EnableMock() = 0;
/base/location/test/location_passive/mock/include/
H A Dmock_passive_ability_stub.h41 MOCK_METHOD(LocationErrCode, EnableMock, ());
/base/location/test/location_network/mock/include/
H A Dmock_network_ability_stub.h41 MOCK_METHOD(LocationErrCode, EnableMock, ());
/base/powermgr/power_manager/test/systemtest/src/
H A Dpower_mgr_mock_system_test.cpp37 g_service->EnableMock(g_powerState, g_shutdownState, g_powerAction, g_lockAction); in ResetMockAction()
/base/powermgr/power_manager/test/unittest/src/
H A Dpower_mgr_mock_test.cpp38 g_service->EnableMock(g_stateAction, g_shutdownState, g_powerAction, g_lockAction); in ResetMockAction()
H A Dpower_mgr_fail_check_test.cpp36 service->EnableMock(g_powerState, g_stateAction, g_powerAction, g_lockAction); in ResetMockAction()
/base/powermgr/thermal_manager/services/native/include/thermal_action/
H A Dthermal_action_manager.h60 void EnableMock(const std::string& actionName, void* mockAction);
/base/location/test/location_passive/source/
H A Dpassive_ability_test.cpp175 EXPECT_EQ(ERRCODE_SUCCESS, proxy_->EnableMock()); in HWTEST_F()
250 EXPECT_EQ(ERRCODE_SUCCESS, ability_->EnableMock()); in HWTEST_F()
278 EXPECT_EQ(ERRCODE_SUCCESS, ability_->EnableMock()); in HWTEST_F()
/base/location/services/location_passive/passive/include/
H A Dpassive_ability.h61 LocationErrCode EnableMock() override;
/base/powermgr/power_manager/services/native/src/shutdown/
H A Dshutdown_controller.h40 void EnableMock(IDevicePowerAction* mockPowerAction, IDeviceStateAction* mockStateAction) in EnableMock() function in OHOS::PowerMgr::ShutdownController
/base/location/test/fuzztest/locator/passiveabilityproxy_fuzzer/
H A Dpassiveabilityproxy_fuzzer.cpp75 proxy->EnableMock(); in PassiveAbility001FuzzTest()
/base/location/test/fuzztest/locator/networkabilityproxy_fuzzer/
H A Dnetworkabilityproxy_fuzzer.cpp74 proxy->EnableMock(); in NetworkAbilityProxy001FuzzTest()
/base/location/test/location_gnss/mock/include/
H A Dmock_gnss_ability_stub.h59 MOCK_METHOD(LocationErrCode, EnableMock, ());
/base/powermgr/power_manager/services/native/include/
H A Dpower_mgr_service.h243 void EnableMock(IDeviceStateAction* powerState, IDeviceStateAction* shutdownState, IDevicePowerAction* powerAction, in EnableMock() function in OHOS::PowerMgr::final
246 POWER_HILOGI(LABEL_TEST, "Service EnableMock:%{public}d", mockCount_++); in EnableMock()
247 runningLockMgr_->EnableMock(lockAction); in EnableMock()
248 powerStateMachine_->EnableMock(powerState); in EnableMock()
249 shutdownController_->EnableMock(powerAction, shutdownState); in EnableMock()
/base/location/services/location_locator/locator/source/
H A Dnetwork_ability_proxy.cpp71 LocationErrCode NetworkAbilityProxy::EnableMock() in EnableMock() function in OHOS::Location::NetworkAbilityProxy
H A Dpassive_ability_proxy.cpp71 LocationErrCode PassiveAbilityProxy::EnableMock() in EnableMock() function in OHOS::Location::PassiveAbilityProxy
/base/location/services/location_network/network/include/
H A Dnetwork_ability.h70 LocationErrCode EnableMock() override;
/base/powermgr/power_manager/test/apitest/inner_api/shutdown/
H A Dsync_shutdown_callback_test.cpp62 shutdownController->EnableMock(g_mockPowerAction, g_mockStateAction); in SetUp()
/base/powermgr/power_manager/test/fuzztest/power_utils/
H A Dpower_fuzzer.cpp102 service_->EnableMock(powerState, shutdownState, powerAction, lockAction); in PowerFuzzerTest()
/base/location/services/location_network/network/source/
H A Dnetwork_ability_skeleton.cpp101 reply.WriteInt32(EnableMock()); in EnableMockInner()
/base/location/services/location_passive/passive/source/
H A Dpassive_ability_skeleton.cpp89 reply.WriteInt32(EnableMock()); in EnableMockInner()

Completed in 8 milliseconds

12