Searched refs:restorer (Results 1 – 4 of 4) sorted by relevance
25 Restorer* restorer = UnwrapJsObject<Restorer>(env, info); in FactoryReset() local26 PARAM_CHECK_NAPI_CALL(env, restorer != nullptr, return nullptr, "Error get restorer"); in FactoryReset()27 return restorer->FactoryReset(env, info); in FactoryReset()
25 "$updateengine_root_path/frameworks/js/napi/client/restorer.cpp",
167 Restorer* restorer = CreateJsObject<Restorer>(env, info, g_restorerConstructorRef, jsObject); in GetRestorer() local168 if (restorer == nullptr) { in GetRestorer()
312 sptr<UpdateServiceRestorer> restorer = new UpdateServiceRestorer(); in FactoryReset() local313 if (restorer == nullptr) { in FactoryReset()317 return restorer->FactoryReset(businessError); in FactoryReset()