Home
last modified time | relevance | path

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

/base/security/device_auth/services/data_manager/src/
Ddata_manager.c201 static bool GetOsAccountInfoPath(int32_t osAccountId, char *infoPath, uint32_t pathBufferLen) in GetOsAccountInfoPath() argument
210 writeByteNum = sprintf_s(infoPath, pathBufferLen, "%s/hcgroup.dat", beginPath); in GetOsAccountInfoPath()
212 … writeByteNum = sprintf_s(infoPath, pathBufferLen, "%s/hcgroup%d.dat", beginPath, osAccountId); in GetOsAccountInfoPath()
434 char infoPath[MAX_DB_PATH_LEN] = { 0 }; in ReadParcelFromFile() local
435 if (!GetOsAccountInfoPath(osAccountId, infoPath, MAX_DB_PATH_LEN)) { in ReadParcelFromFile()
439 int ret = HcFileOpen(infoPath, MODE_FILE_READ, &file); in ReadParcelFromFile()
647 char infoPath[MAX_DB_PATH_LEN] = { 0 }; in SaveParcelToFile() local
648 if (!GetOsAccountInfoPath(info->osAccountId, infoPath, MAX_DB_PATH_LEN)) { in SaveParcelToFile()
652 int ret = HcFileOpen(infoPath, MODE_FILE_WRITE, &file); in SaveParcelToFile()