Home
last modified time | relevance | path

Searched refs:DeleteUpdaterPath (Results 1 - 4 of 4) sorted by relevance

/base/update/sys_installer/services/ab_update/src/
H A Dab_update.cpp58 if (!DeleteUpdaterPath(GetWorkPath()) || !DeleteUpdaterPath(std::string(UPDATER_PATH))) { in StartABUpdate()
71 if (!DeleteUpdaterPath(GetWorkPath()) || !DeleteUpdaterPath(std::string(UPDATER_PATH))) { in StartABUpdate()
/base/update/updater/services/
H A Dupdater_utils.cpp86 bool DeleteUpdaterPath(const std::string &path) in DeleteUpdaterPath() function
113 DeleteUpdaterPath(tmpName); in DeleteUpdaterPath()
198 if (access(UPDATER_PATH, 0) == 0 && access(SDCARD_CARD_PATH, 0) != 0 && !DeleteUpdaterPath(UPDATER_PATH)) { in PostUpdater()
199 LOG(ERROR) << "DeleteUpdaterPath failed"; in PostUpdater()
201 if (access(SDCARD_CARD_PATH, 0) == 0 && !DeleteUpdaterPath(SDCARD_CARD_PATH)) { in PostUpdater()
204 if (access(Flashd::FLASHD_FILE_PATH, 0) == 0 && !DeleteUpdaterPath(Flashd::FLASHD_FILE_PATH)) { in PostUpdater()
205 LOG(ERROR) << "DeleteUpdaterPath failed"; in PostUpdater()
/base/update/updater/services/include/updater/
H A Dupdater.h103 bool DeleteUpdaterPath(const std::string &path);
/base/update/updater/test/unittest/service_test/
H A Dupdater_service_unittest.cpp52 HWTEST_F(UpdaterUtilUnitTest, DeleteUpdaterPath, TestSize.Level1) in HWTEST_F()
55 bool ret = DeleteUpdaterPath(path); in HWTEST_F()
59 ret = DeleteUpdaterPath(path); in HWTEST_F()

Completed in 3 milliseconds