Home
last modified time | relevance | path

Searched refs:FactoryReset (Results 1 – 17 of 17) sorted by relevance

/base/update/updateservice/frameworks/js/napi/client/
Drestorer.cpp21 napi_value Restorer::Napi::FactoryReset(napi_env env, napi_callback_info info) in FactoryReset() function in OHOS::UpdateEngine::Restorer::Napi
26 return restorer->FactoryReset(env, info); in FactoryReset()
37 napi_value Restorer::FactoryReset(napi_env env, napi_callback_info info) in FactoryReset() function in OHOS::UpdateEngine::Restorer
43 return UpdateServiceKits::GetInstance().FactoryReset(*businessError); in FactoryReset()
Drestorer.h29 static napi_value FactoryReset(napi_env env, napi_callback_info info);
34 napi_value FactoryReset(napi_env env, napi_callback_info info);
Dupdate_module.cpp312 DECLARE_NAPI_FUNCTION(Restorer::Napi::FUNCTION_FACTORY_RESET, Restorer::Napi::FactoryReset) in DefineRestorer()
/base/update/updater/test/fuzztest/updaterfactoryreset_fuzzer/
Dupdaterfactoryreset_fuzzer.cpp37 FactoryReset(mode, reinterpret_cast<const char*>(data)); in FuzzFactoryReset()
/base/update/updater/services/
Dupdater_main.h81 int FactoryReset(FactoryResetMode mode, const std::string &path);
Dupdater_main.cpp118 int FactoryReset(FactoryResetMode mode, const std::string &path) in FactoryReset() function
482 if (FactoryReset(FACTORY_WIPE_DATA, "/data") != 0) { in StartUpdaterEntry()
495 if (FactoryReset(USER_WIPE_DATA, "/data") != 0) { in StartUpdaterEntry()
/base/update/updater/services/ui/
Dupdater_ui.cpp196 if (FactoryReset(USER_WIPE_DATA, "/data") == 0) { in OnLabelOkEvt()
219 if (FactoryReset(USER_WIPE_DATA, "/data") != 0) { in OnConfirmRstEvt()
/base/update/updateservice/services/engine/include/
Dupdate_service_proxy.h73 int32_t FactoryReset(BusinessError &businessError) override;
Dupdate_service.h86 int32_t FactoryReset(BusinessError &businessError) override;
/base/update/updateservice/interfaces/inner_api/include/
Dupdate_service_kits.h83 virtual int32_t FactoryReset(BusinessError &businessError) = 0;
Diupdate_service.h99 virtual int32_t FactoryReset(BusinessError &businessError) = 0;
Dupdate_service_kits_impl.h77 int32_t FactoryReset(BusinessError &businessError) final;
/base/update/updateservice/interfaces/inner_api/engine/
Dupdate_service_kits_impl.cpp284 int32_t UpdateServiceKitsImpl::FactoryReset(BusinessError &businessError) in FactoryReset() function in OHOS::UpdateEngine::UpdateServiceKitsImpl
290 return updateService->FactoryReset(businessError); in FactoryReset()
Dupdate_service_proxy.cpp394 int32_t UpdateServiceProxy::FactoryReset(BusinessError &businessError) in FactoryReset() function in OHOS::UpdateEngine::UpdateServiceProxy
/base/update/updater/test/unittest/updater_main_test/
Dupdater_main_unittest.cpp107 int fRet = FactoryReset(USER_WIPE_DATA, "/misc/factory_test");
/base/update/updateservice/services/engine/src/
Dupdate_service_stub.cpp300 int32_t ret = service->FactoryReset(businessError); in FactoryResetStub()
Dupdate_service.cpp817 int32_t UpdateService::FactoryReset(BusinessError &businessError) in FactoryReset() function in OHOS::UpdateEngine::UpdateService