Searched refs:infoPath (Results 1 – 1 of 1) sorted by relevance
/base/security/device_auth/services/data_manager/src/ |
D | data_manager.c | 199 static bool GetOsAccountInfoPath(int32_t osAccountId, char *infoPath, uint32_t pathBufferLen) in GetOsAccountInfoPath() argument 208 writeByteNum = sprintf_s(infoPath, pathBufferLen, "%s/hcgroup.dat", beginPath); in GetOsAccountInfoPath() 210 … writeByteNum = sprintf_s(infoPath, pathBufferLen, "%s/hcgroup%d.dat", beginPath, osAccountId); in GetOsAccountInfoPath() 432 char infoPath[MAX_DB_PATH_LEN] = { 0 }; in ReadParcelFromFile() local 433 if (!GetOsAccountInfoPath(osAccountId, infoPath, MAX_DB_PATH_LEN)) { in ReadParcelFromFile() 437 int ret = HcFileOpen(infoPath, MODE_FILE_READ, &file); in ReadParcelFromFile() 645 char infoPath[MAX_DB_PATH_LEN] = { 0 }; in SaveParcelToFile() local 646 if (!GetOsAccountInfoPath(info->osAccountId, infoPath, MAX_DB_PATH_LEN)) { in SaveParcelToFile() 650 int ret = HcFileOpen(infoPath, MODE_FILE_WRITE, &file); in SaveParcelToFile()
|