Lines Matching refs:dacInfo

383 …AppSpawnMsgDacInfo *dacInfo = reinterpret_cast<AppSpawnMsgDacInfo *>(GetAppProperty(appProperty, T…  in MakeAtomicServiceDir()  local
384 APPSPAWN_CHECK(dacInfo != NULL, return, "No dac info in msg app property"); in MakeAtomicServiceDir()
386 …path = "/data/service/el2/" + std::to_string(dacInfo->uid / UID_BASE) + "/share/" + variablePackag… in MakeAtomicServiceDir()
423 ret = chown(path.c_str(), dacInfo->uid, dacInfo->gid); in MakeAtomicServiceDir()
425 ret = chown(path.c_str(), dacInfo->uid, DecodeGid("ddms")); in MakeAtomicServiceDir()
427 ret = chown(path.c_str(), dacInfo->uid, DecodeGid("log")); in MakeAtomicServiceDir()
489 …AppSpawnMsgDacInfo *dacInfo = reinterpret_cast<AppSpawnMsgDacInfo *>(GetAppProperty(appProperty, T… in ConvertToRealPath() local
490 if (info == nullptr || dacInfo == nullptr) { in ConvertToRealPath()
506 path = replace_all(path, g_userId, std::to_string(dacInfo->uid / UID_BASE)); in ConvertToRealPath()
570 …AppSpawnMsgDacInfo *dacInfo = reinterpret_cast<AppSpawnMsgDacInfo *>(GetAppProperty(appProperty, T… in GetSbxPathByConfig() local
571 if (dacInfo == nullptr) { in GetSbxPathByConfig()
578 const std::string defaultSandboxRoot = g_sandBoxDir + to_string(dacInfo->uid / UID_BASE) + in GetSbxPathByConfig()
650 …AppSpawnMsgDacInfo *dacInfo = reinterpret_cast<AppSpawnMsgDacInfo *>(GetAppProperty(appProperty, T… in DoDlpAppMountStrategy() local
651 if (dacInfo == nullptr) { in DoDlpAppMountStrategy()
666 fd, dacInfo->uid, dacInfo->gid); in DoDlpAppMountStrategy()
747 …AppSpawnMsgDacInfo *dacInfo = reinterpret_cast<AppSpawnMsgDacInfo *>(GetAppProperty(appProperty, T… in GetSandboxOptions() local
748 if (dacInfo == nullptr) { in GetSandboxOptions()
756 options += std::to_string(dacInfo->uid / userIdBase); in GetSandboxOptions()
857 …AppSpawnMsgDacInfo *dacInfo = reinterpret_cast<AppSpawnMsgDacInfo *>(GetAppProperty(appProperty, T… in DoAddGid() local
858 if (dacInfo == nullptr) { in DoAddGid()
865 if (dacInfo->gidCount < APP_MAX_GIDS) { in DoAddGid()
868 dacInfo->gidTable[dacInfo->gidCount++] = gids[i].get<uint32_t>(); in DoAddGid()
1620 …AppSpawnMsgDacInfo *dacInfo = reinterpret_cast<AppSpawnMsgDacInfo *>(GetAppProperty(appProperty, T… in SetAppSandboxProperty() local
1621 if (dacInfo == nullptr) { in SetAppSandboxProperty()
1625 std::string sandboxPackagePath = g_sandBoxRootDir + to_string(dacInfo->uid / UID_BASE) + "/"; in SetAppSandboxProperty()