Searched refs:PARAM_PERSIST_SAVE_PATH (Results 1 – 3 of 3) sorted by relevance
53 CheckAndCreateDir(PARAM_PERSIST_SAVE_PATH); in LoadPersistParam()59 char *tmpPath = (updaterMode == 0) ? PARAM_PERSIST_SAVE_PATH : "/param/persist_parameters"; in LoadPersistParam()70 char *path = (InUpdaterMode() == 0) ? PARAM_PERSIST_SAVE_PATH : "/param/persist_parameters"; in SavePersistParam()115 unlink(PARAM_PERSIST_SAVE_PATH); in BatchSavePersistParamEnd()116 ret = rename(PARAM_PERSIST_SAVE_TMP_PATH, PARAM_PERSIST_SAVE_PATH); in BatchSavePersistParamEnd()
129 path = PARAM_PERSIST_SAVE_PATH; in LoadPersistParam()194 int fd = ParamFileOpen(PARAM_PERSIST_SAVE_PATH, MODE_APPEND, 0); in SavePersistParam()210 int fd = ParamFileOpen(PARAM_PERSIST_SAVE_PATH, MODE_CREATE, 0); in BatchSavePersistParamBegin()213 PARAM_LOGE("Open file %s fail error %d", PARAM_PERSIST_SAVE_PATH, errno); in BatchSavePersistParamBegin()
83 #define PARAM_PERSIST_SAVE_PATH DATA_PATH "persist_parameters" macro