Home
last modified time | relevance | path

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

12345678910

/base/update/updater/utils/
Dupdater_reboot.cpp24 if (argc > Updater::Utils::ARGC_TWO_NUMS) { in main()
25 Updater::LOG(Updater::ERROR) << "param must be nullptr or updater."; in main()
29 Updater::LOG(Updater::INFO) << "Updater::Utils::DoReboot nullptr"; in main()
30 Updater::Utils::DoReboot(""); in main()
34 Updater::Utils::DoReboot(argv[1]); in main()
36 Updater::Utils::DoReboot(argv[1]); in main()
38 Updater::Utils::DoReboot("flashd", argv[1] + strlen("flashd:")); in main()
40 Updater::LOG(Updater::INFO) << "param must be updater/flashd!"; in main()
/base/update/updater/services/flashd/daemon/
Dupdate_commander.cpp51 if (auto ret = Updater::MountForPath(GetPathRoot(FLASHD_FILE_PATH)); ret != 0) { in DoCommand()
98 if (!Updater::Utils::WriteFully(fd_, payload, writeSize)) { in DoUpdate()
134 { Updater::TMP_LOG, Updater::UPDATER_LOG }, in SaveLog()
135 { Updater::TMP_ERROR_CODE_PATH, Updater::ERROR_CODE_PATH }, in SaveLog()
136 { FLASHD_HDC_LOG_PATH, Updater::UPDATER_HDC_LOG }, in SaveLog()
137 { Updater::TMP_STAGE_LOG, Updater::UPDATER_STAGE_LOG }, in SaveLog()
142 if (!Updater::Utils::CopyUpdaterLogs(iter.first, iter.second)) { in SaveLog()
/base/update/updater/services/flashd/common/
Dflashd_define.h24 #define FLASHD_LOGE(format, ...) Logger(Updater::ERROR, (__FILE_NAME__), (__LINE__), format, ##__VA…
25 #define FLASHD_LOGD(format, ...) Logger(Updater::DEBUG, (__FILE_NAME__), (__LINE__), format, ##__VA…
26 #define FLASHD_LOGI(format, ...) Logger(Updater::INFO, (__FILE_NAME__), (__LINE__), format, ##__VA_…
27 #define FLASHD_LOGW(format, ...) Logger(Updater::WARNING, (__FILE_NAME__), (__LINE__), format, ##__…
/base/update/updater/services/script/script_manager/
Dscript_utils.h28 #define USCRIPT_LOGE(format, ...) Logger(Updater::ERROR, (__FILE_NAME__), (__LINE__), format, ##__V…
29 #define USCRIPT_LOGI(format, ...) Logger(Updater::INFO, (__FILE_NAME__), (__LINE__), format, ##__VA…
30 #define USCRIPT_LOGW(format, ...) Logger(Updater::WARNING, (__FILE_NAME__), (__LINE__), format, ##_…
/base/update/updater/test/unittest/updater_ui_test/strategy/
Dui_strategy_unittest.cpp21 using namespace Updater;
23 namespace Updater { namespace
77 std::unordered_map<Updater::UpdaterMode, Updater::UiStrategyCfg> expected {};
100 …EXPECT_EQ(UiStrategy::GetStrategy(), (std::unordered_map<Updater::UpdaterMode, Updater::UiStrategy…
/base/update/updater/test/unittest/updater_ui_test/view/
Dui_view_proxy_unittest.cpp21 using Updater::ViewProxy;
22 using Updater::TextLabelAdapter;
23 using Updater::LabelBtnAdapter;
53 viewproxy.As<Updater::TextLabelAdapter>(err);
Dui_view_api_unittest.cpp24 using namespace Updater;
49 isValid = Updater::CheckColor(colorData.first);
52 EXPECT_EQ(Updater::StrToColor(colorData.first).full, colorData.second.first.full);
/base/update/updater/services/flashd/
Dpartition.cpp65 if (!Updater::Utils::WriteFully(fd, buffer.data(), buffer.size())) { in DoErase()
78 if (auto ret = Updater::FormatPartition(name); ret != 0) { in DoFormat()
83 if (auto ret = Updater::MountForPath(name); ret != 0) { in DoFormat()
/base/update/updater/services/diffpatch/
Ddiffpatch.h35 #define PATCH_LOGE(format, ...) Logger(Updater::ERROR, (__FILE_NAME__), (__LINE__), format, ##__VA_…
36 #define PATCH_DEBUG(format, ...) Logger(Updater::DEBUG, (__FILE_NAME__), (__LINE__), format, ##__VA…
37 #define PATCH_LOGI(format, ...) Logger(Updater::INFO, (__FILE_NAME__), (__LINE__), format, ##__VA_A…
38 #define PATCH_LOGW(format, ...) Logger(Updater::WARNING, (__FILE_NAME__), (__LINE__), format, ##__V…
/base/update/updater/services/
Dmain.cpp23 using namespace Updater;
46 return Updater::UpdaterMain(argc, argv); in main()
/base/powermgr/power_manager/services/native/src/actions/default/
Ddevice_power_action.cpp33 std::string rebootReason = Updater(reason); in Reboot()
44 std::string DevicePowerAction::Updater(const std::string& reason) in Updater() function in OHOS::PowerMgr::DevicePowerAction
/base/update/updater/services/package/pkg_manager/
Dpkg_utils.h51 #define PKG_LOGE(format, ...) Logger(Updater::ERROR, (__FILE_NAME__), (__LINE__), format, ##__VA_AR…
52 #define PKG_LOGI(format, ...) Logger(Updater::INFO, (__FILE_NAME__), (__LINE__), format, ##__VA_ARG…
53 #define PKG_LOGW(format, ...) Logger(Updater::WARNING, (__FILE_NAME__), (__LINE__), format, ##__VA_…
/base/update/updater/services/applypatch/
Dblock_writer.cpp22 namespace Updater { namespace
75 if (Updater::Utils::WriteFully(fd_, addr, written) == false) { in Write()
/base/update/updater/interfaces/kits/include/slot_info/
Dslot_info.h23 namespace Updater {
/base/update/updater/services/include/log/
Ddump.h30 #define UPDATER_LAST_WORD Updater::Dump::GetInstance().DumpInfo
33 namespace Updater {
/base/update/updater/services/ui/include/
Dupdater_ui_const.h19 namespace Updater {
/base/update/updater/services/ui/
Dupdater_ui_stub.h26 namespace Updater {
Dupdater_ui_env.h25 namespace Updater {
/base/update/updater/services/include/fs_manager/
Dcmp_partition.h21 namespace Updater {
/base/update/updater/interfaces/kits/include/hdi/
Diupdate_interface.h21 namespace Updater {
/base/update/updater/services/hdi/server/
Dupdate_hdi_impl.h20 namespace Updater {
Dupdate_hdi_impl.cpp18 namespace Updater { namespace
/base/update/updater/utils/include/
Derror_code.h18 namespace Updater {
/base/update/updater/interfaces/kits/diff_patch/
Ddiff_patch_interface.cpp19 namespace Updater { namespace
/base/update/updater/interfaces/kits/include/diff_patch/
Ddiff_patch_interface.h20 namespace Updater {

12345678910