Lines Matching defs:info
397 APPSPAWN_CHECK(msgDomainInfo != NULL, return, "No domain info for %{public}s", GetProcessName(appProperty));
414 APPSPAWN_CHECK(dacInfo != NULL, return, "No dac info in msg app property");
431 APPSPAWN_CHECK(bundleInfo != NULL, return "", "No bundle info in msg %{public}s", GetBundleName(appProperty));
480 AppSpawnMsgBundleInfo *info =
483 if (info == nullptr || dacInfo == nullptr) {
487 std::string bundleNameWithIndex = info->bundleName;
488 if (info->bundleIndex != 0) {
489 bundleNameWithIndex = std::to_string(info->bundleIndex) + "_" + bundleNameWithIndex;
495 path = replace_all(path, g_packageName, info->bundleName);
519 AppSpawnMsgBundleInfo *info =
521 if (info == nullptr) {
525 std::string bundleNameWithIndex = info->bundleName;
526 if (info->bundleIndex != 0) {
527 bundleNameWithIndex = std::to_string(info->bundleIndex) + "_" + bundleNameWithIndex;
533 path = replace_all(path, g_packageName, info->bundleName);
614 AppSpawnMsgDomainInfo *info =
616 APPSPAWN_CHECK(info != nullptr, return false, "Filed to get domain info %{public}s", GetBundleName(appProperty));
622 if (!strcmp(p_app_apl, info->apl)) {
1196 AppSpawnMsgDomainInfo *info =
1198 APPSPAWN_CHECK(info != nullptr, return -1, "No domain info %{public}s", sandboxPackagePath.c_str());
1199 if (strcmp(info->apl, APL_SYSTEM_BASIC.data()) == 0 ||
1200 strcmp(info->apl, APL_SYSTEM_CORE.data()) == 0 ||
1219 char *info = reinterpret_cast<char *>(GetAppPropertyExt(appProperty, type.c_str(), &len));
1220 if (info == nullptr) {
1223 return std::string(info, len);
1841 AppDacInfo *info = reinterpret_cast<AppDacInfo *>(GetAppProperty(property, TLV_DAC_INFO));
1843 if (info == NULL || bundleName == NULL) {
1851 int len = sprintf_s(path, allPathSize, "%s%u/%s%s", rootPath, info->uid / userIdBase, bundleName, targetPath);
1895 AppDacInfo *info = reinterpret_cast<AppDacInfo *>(GetAppProperty(property, TLV_DAC_INFO));
1897 if (info == NULL || bundleName == NULL) {
1904 if (IsUnlockStatus(info->uid, bundleName, bundleNameLen)) {
1921 std::string lockSbxPathStamp = rootPath + to_string(info->uid / UID_BASE) + "/";