Home
last modified time | relevance | path

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

/base/security/device_auth/services/data_manager/src/
H A Ddata_manager.c184 static bool GetOsAccountInfoPathCe(int32_t osAccountId, char *infoPath, uint32_t pathBufferLen) in GetOsAccountInfoPathCe() argument
191 if (sprintf_s(infoPath, pathBufferLen, "%s/%d/deviceauth/hcgroup.dat", beginPath, osAccountId) <= 0) { in GetOsAccountInfoPathCe()
198 static bool GetOsAccountInfoPathDe(int32_t osAccountId, char *infoPath, uint32_t pathBufferLen) in GetOsAccountInfoPathDe() argument
207 writeByteNum = sprintf_s(infoPath, pathBufferLen, "%s/hcgroup.dat", beginPath); in GetOsAccountInfoPathDe()
209 writeByteNum = sprintf_s(infoPath, pathBufferLen, "%s/hcgroup%d.dat", beginPath, osAccountId); in GetOsAccountInfoPathDe()
218 static bool GetOsAccountInfoPath(int32_t osAccountId, char *infoPath, uint32_t pathBufferLen) in GetOsAccountInfoPath() argument
221 return GetOsAccountInfoPathCe(osAccountId, infoPath, pathBufferLen); in GetOsAccountInfoPath()
223 return GetOsAccountInfoPathDe(osAccountId, infoPath, pathBufferLen); in GetOsAccountInfoPath()
/base/accesscontrol/sandbox_manager/interfaces/innerkits/sandbox_manager/test/unittest/src/
H A Dsandbox_manager_kit_test.cpp103 string infoPath = path; in SetDeny() local
104 info.path = const_cast<char *>(infoPath.c_str()); in SetDeny()
105 info.pathLen = infoPath.length(); in SetDeny()

Completed in 6 milliseconds