Home
last modified time | relevance | path

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

/ohos5.0/base/security/device_auth/services/data_manager/src/
H A Ddata_manager.c186 static bool GetOsAccountInfoPathCe(int32_t osAccountId, char *infoPath, uint32_t pathBufferLen) in GetOsAccountInfoPathCe() argument
193 …if (sprintf_s(infoPath, pathBufferLen, "%s/%d/deviceauth/hcgroup.dat", beginPath, osAccountId) <= … in GetOsAccountInfoPathCe()
200 static bool GetOsAccountInfoPathDe(int32_t osAccountId, char *infoPath, uint32_t pathBufferLen) in GetOsAccountInfoPathDe() argument
209 writeByteNum = sprintf_s(infoPath, pathBufferLen, "%s/hcgroup.dat", beginPath); in GetOsAccountInfoPathDe()
211 … writeByteNum = sprintf_s(infoPath, pathBufferLen, "%s/hcgroup%d.dat", beginPath, osAccountId); in GetOsAccountInfoPathDe()
220 static bool GetOsAccountInfoPath(int32_t osAccountId, char *infoPath, uint32_t pathBufferLen) in GetOsAccountInfoPath() argument
223 return GetOsAccountInfoPathCe(osAccountId, infoPath, pathBufferLen); in GetOsAccountInfoPath()
225 return GetOsAccountInfoPathDe(osAccountId, infoPath, pathBufferLen); in GetOsAccountInfoPath()
/ohos5.0/base/accesscontrol/sandbox_manager/interfaces/innerkits/sandbox_manager/test/unittest/src/
H A Dsandbox_manager_kit_test.cpp108 string infoPath = path; in SetDeny() local
109 info.path = const_cast<char *>(infoPath.c_str()); in SetDeny()
110 info.pathLen = infoPath.length(); in SetDeny()