Home
last modified time | relevance | path

Searched refs:PARAM_PERSIST_SAVE_PATH (Results 1 – 3 of 3) sorted by relevance

/base/startup/init/services/param/adapter/
Dparam_persistadp.c38 CheckAndCreateDir(PARAM_PERSIST_SAVE_PATH); in LoadPersistParam()
43 tmpPath = (updaterMode == 0) ? PARAM_PERSIST_SAVE_PATH : "/param/persist_parameters"; in LoadPersistParam()
47 … PARAM_CHECK(fp != NULL, return -1, "No valid persist parameter file %s", PARAM_PERSIST_SAVE_PATH); in LoadPersistParam()
71 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()
/base/startup/init/services/param/liteos/
Dparam_hal.c129 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()
/base/startup/init/services/param/include/
Dparam_utils.h91 #define PARAM_PERSIST_SAVE_PATH DATA_PATH "persist_parameters" macro