Home
last modified time | relevance | path

Searched refs:bundleIndex (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/filemanagement/app_file_service/utils/src/b_jsonutil/
H A Db_jsonutil.cpp43 bundleDetailInfo.bundleIndex = BUNDLE_INDEX_DEFAULT_VAL; in ParseBundleNameIndexStr()
51 bundleDetailInfo.bundleIndex = index; in ParseBundleNameIndexStr()
53 bundleDetailInfo.bundleIndex = BUNDLE_INDEX_DEFAULT_VAL; in ParseBundleNameIndexStr()
84 int bundleIndex; in BuildBundleInfos() local
87 bundleIndex = BUNDLE_INDEX_DEFAULT_VAL; in BuildBundleInfos()
94 bundleIndex = index; in BuildBundleInfos()
96 bundleIndex = BUNDLE_INDEX_DEFAULT_VAL; in BuildBundleInfos()
105 bundleDetailInfo.bundleIndex = bundleIndex; in BuildBundleInfos()
/ohos5.0/foundation/filemanagement/app_file_service/utils/include/b_jsonutil/
H A Db_jsonutil.h29 int bundleIndex; member
128 static std::string BuildBundleNameIndexInfo(const std::string &bundleName, int bundleIndex);
/ohos5.0/foundation/filemanagement/app_file_service/services/backup_sa/src/module_app_gallery/
H A Dapp_gallery_dispose_proxy.cpp168 if (!data.WriteInt32(static_cast<int32_t>(bundleDetailInfo.bundleIndex))) { in DoDispose()
178 ret, bundleDetailInfo.bundleName.c_str(), bundleDetailInfo.bundleIndex); in DoDispose()
184 disposeOperation, bundleDetailInfo.bundleName.c_str(), bundleDetailInfo.bundleIndex); in DoDispose()
/ohos5.0/base/startup/appspawn/modules/sandbox/
H A Dsandbox_cfgvar.c33 if (bundleInfo->bundleIndex > 0) { in VarPackageNameIndexReplace()
34 …n = sprintf_s((char *)buffer, bufferLen, "%s_%d", bundleInfo->bundleName, bundleInfo->bundleIndex); in VarPackageNameIndexReplace()
185 …len = sprintf_s((char *)buffer, bufferLen, "+clone-%u+%s", bundleInfo->bundleIndex, bundleInfo->bu… in ReplaceVariableForpackageName()
195 bundleInfo->bundleIndex, extension, bundleInfo->bundleName); in ReplaceVariableForpackageName()
H A Dsandbox_utils.cpp444 bundleInfo->bundleIndex > 0) ? 0x1 : 0; in ReplaceVariablePackageName()
455 … variablePackageName << "+clone-" << bundleInfo->bundleIndex << "+" << bundleInfo->bundleName; in ReplaceVariablePackageName()
464 variablePackageName << "+clone-" << bundleInfo->bundleIndex << "+extension" << "-" << in ReplaceVariablePackageName()
495 if (info->bundleIndex != 0) { in ConvertToRealPath()
496 bundleNameWithIndex = std::to_string(info->bundleIndex) + "_" + bundleNameWithIndex; in ConvertToRealPath()
533 if (info->bundleIndex != 0) { in ConvertToRealPathWithPermission()
534 bundleNameWithIndex = std::to_string(info->bundleIndex) + "_" + bundleNameWithIndex; in ConvertToRealPathWithPermission()
/ohos5.0/foundation/filemanagement/app_file_service/services/backup_sa/src/module_external/
H A Dbms_adapter.cpp99 …bms->GetBundleStats(bundleDetailInfo.bundleName, userId, bundleStats, bundleDetailInfo.bundleIndex, in GetBundleStats()
201 if (bundleDetail.bundleIndex > 0) { in CreateIPCInteractionFiles()
202 std::string bundleNameIndex = "+clone-" + std::to_string(bundleDetail.bundleIndex) + "+" + in CreateIPCInteractionFiles()
508 …ode ret = bms->GetCloneBundleInfo(bundleDetailInfo.bundleName, flags, bundleDetailInfo.bundleIndex, in GetCurBundleExtenionInfo()
538 …ode ret = bms->GetCloneBundleInfo(bundleDetailInfo.bundleName, flags, bundleDetailInfo.bundleIndex, in IsUser0BundleName()
/ohos5.0/foundation/filemanagement/app_file_service/services/backup_sa/src/module_notify/
H A Dnotify_work_service.cpp41 want.SetParam("index", bundleDetailInfo.bundleIndex); in NotifyBundleDetail()
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_spawn_msg_wrapper.cpp101 msg_->bundleIndex = startMsg.bundleIndex; in AssembleMsg()
H A Dapp_spawn_client.cpp371 … ret = AppSpawnReqMsgSetBundleInfo(reqHandle, startMsg.bundleIndex, startMsg.bundleName.c_str()); in AppspawnCreateDefaultMsg()
H A Dapp_mgr_service_inner.cpp842 int32_t bundleIndex = 0; in LoadAbilityNoAppRecord() local
844 (void)AbilityRuntime::StartupUtil::GetAppIndex(*want, bundleIndex); in LoadAbilityNoAppRecord()
851 …bundleInfo, appInfo->bundleName, bundleIndex, appExistFlag, isPreload, preloadMode, abilityInfo->m… in LoadAbilityNoAppRecord()
3271 …const BundleInfo &bundleInfo, const int32_t bundleIndex, BundleType bundleType, AppSpawnStartMsg &… in CreateStartMsg() argument
3311 startMsg.bundleIndex = bundleIndex; in CreateStartMsg()
3382 const std::string &bundleName, const int32_t bundleIndex, bool appExistFlag, bool isPreload, in StartProcess() argument
3408 …auto ret = CreateStartMsg(processName, startFlags, uid, bundleInfo, bundleIndex, bundleType, start… in StartProcess()
/ohos5.0/base/startup/appspawn/modules/module_engine/include/
H A Dappspawn_msg.h117 uint32_t bundleIndex; member
/ohos5.0/base/startup/appspawn/interfaces/innerkits/include/
H A Dappspawn.h147 int AppSpawnReqMsgSetBundleInfo(AppSpawnReqMsgHandle reqHandle, uint32_t bundleIndex, const char *b…
/ohos5.0/base/startup/appspawn/test/fuzztest/appspawnclient_fuzzer/
H A Dappspawnclient_fuzzer.cpp128 uint32_t bundleIndex = static_cast<uint32_t>(size); in FuzzAppSpawnReqMsgSetBundleInfo() local
130 (void)AppSpawnReqMsgSetBundleInfo(reqHandle, bundleIndex, bundleName.c_str()); in FuzzAppSpawnReqMsgSetBundleInfo()
/ohos5.0/base/startup/appspawn/test/unittest/app_spawn_client_test/
H A Dapp_spawn_interface_test.cpp214 const uint32_t bundleIndex[] = {0, 1}; variable
217 for (size_t j = 0; j < ARRAY_LENGTH(bundleIndex); j++) {
220 ret = AppSpawnReqMsgSetBundleInfo(inputHandle[i], bundleIndex[j], bundleName[k]);
H A Dapp_spawn_client_test.cpp280 APPSPAWN_CHECK(info->bundleIndex == g_testHelper.GetTestBundleIndex(),
281 break, "Invalid bundleIndex %{public}d", info->bundleIndex);
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/include/
H A Dapp_spawn_client.h56 int32_t bundleIndex; // when dlp launch another app used, default is 0 member
H A Dapp_mgr_service_inner.h1314 … const std::string &bundleName, const int32_t bundleIndex, bool appExistFlag = true,
1569 …const BundleInfo &bundleInfo, const int32_t bundleIndex, BundleType bundleType, AppSpawnStartMsg &…
/ohos5.0/base/startup/appspawn/interfaces/innerkits/client/
H A Dappspawn_msg.c379 int AppSpawnReqMsgSetBundleInfo(AppSpawnReqMsgHandle reqHandle, uint32_t bundleIndex, const char *b… in AppSpawnReqMsgSetBundleInfo() argument
387 info.bundleIndex = bundleIndex; in AppSpawnReqMsgSetBundleInfo()
/ohos5.0/base/startup/appspawn/test/moduletest/
H A Dappspawn_test_cmder.cpp174 uint32_t bundleIndex = GetIntValueFromJsonObj(config, "bundle-index", 0); in AddBundleInfoFromJson() local
176 int ret = AppSpawnReqMsgSetBundleInfo(reqHandle, bundleIndex, bundleName); in AddBundleInfoFromJson()
/ohos5.0/base/startup/appspawn/test/unittest/
H A Dapp_spawn_test_helper.cpp46 int32_t bundleIndex; member
701 info.bundleIndex = 100; // 100 test index in AddBaseTlv()
/ohos5.0/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/
H A Dsub_service.cpp288 want.SetParam(BConstants::EXTENSION_APP_CLONE_INDEX_PARA, bundleDetail.bundleIndex); in SetWant()
/ohos5.0/base/startup/appspawn/standard/
H A Dappspawn_msgmgr.c394 bundleInfo->bundleName, bundleInfo->bundleIndex)); in DumpAppSpawnMsg()