Searched refs:PARAM_PERSIST_SAVE_PATH (Results 1 - 4 of 4) sorted by relevance
/base/startup/init/services/param/liteos/ |
H A D | param_persistadp.c | 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()
|
H A D | param_hal.c | 130 path = PARAM_PERSIST_SAVE_PATH;
in LoadPersistParam() 195 int fd = ParamFileOpen(PARAM_PERSIST_SAVE_PATH, MODE_APPEND, 0);
in SavePersistParam() 211 int fd = ParamFileOpen(PARAM_PERSIST_SAVE_PATH, MODE_CREATE, 0);
in BatchSavePersistParamBegin() 214 PARAM_LOGE("Open file %s fail error %d", PARAM_PERSIST_SAVE_PATH, errno);
in BatchSavePersistParamBegin()
|
/base/startup/init/services/param/adapter/ |
H A D | param_persistadp.c | 147 if (access(PARAM_PERSIST_SAVE_PATH, F_OK) == 0 && access(PARAM_PUBLIC_PERSIST_SAVE_PATH, F_OK) != 0) {
in GetPersistFilePath() 148 int ret = rename(PARAM_PERSIST_SAVE_PATH, PARAM_PUBLIC_PERSIST_SAVE_PATH);
in GetPersistFilePath() 150 PARAM_LOGE("rename failed %s", PARAM_PERSIST_SAVE_PATH);
in GetPersistFilePath()
|
/base/startup/init/services/param/include/ |
H A D | param_utils.h | 82 #define PARAM_PERSIST_SAVE_PATH DATA_PATH "persist_parameters"
macro
|
Completed in 3 milliseconds