Home
last modified time | relevance | path

Searched refs:bundleId (Results 1 - 16 of 16) sorted by relevance

/foundation/resourceschedule/memmgr/services/memmgrservice/include/reclaim_priority_manager/
H A Daccount_bundle_info.h29 bool HasBundle(int bundleId);
30 std::shared_ptr<BundlePriorityInfo> FindBundleById(int bundleId);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dcheck_encryption_param.cpp28 bundleId = parcel.ReadInt32(); in ReadFromParcel()
39 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, bundleId); in Marshalling()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/sandbox_app/
H A Dbundle_sandbox_data_mgr.cpp350 int32_t bundleId = innerBundleUserInfo.uid - in RestoreSandboxUidAndGid() local
352 auto item = bundleIdMap.find(bundleId); in RestoreSandboxUidAndGid()
354 bundleIdMap.emplace(bundleId, info.first); in RestoreSandboxUidAndGid()
356 bundleIdMap[bundleId] = info.first; in RestoreSandboxUidAndGid()
358 BundleUtil::MakeFsConfig(info.first, bundleId, ServiceConstants::HMDFS_CONFIG_PATH); in RestoreSandboxUidAndGid()
359 BundleUtil::MakeFsConfig(info.first, bundleId, ServiceConstants::SHAREFS_CONFIG_PATH); in RestoreSandboxUidAndGid()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dcheck_encryption_param.h36 int32_t bundleId = -1; member
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudsyncmanager/
H A Dcloud_sync_manager_n_exporter.cpp263 std::unique_ptr<char []> bundleId; in ParseSwitches() local
265 tie(succ, bundleId, std::ignore) = NVal(env, item).ToUTF8String(); in ParseSwitches()
272 napi_get_named_property(env, object, bundleId.get(), &val); in ParseSwitches()
279 data.switchData.emplace(bundleId.get(), switchVal); in ParseSwitches()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_operator.cpp1431 const int32_t bundleId = checkEncryptionParam.bundleId; in CheckEncryption() local
1435 "bundleId %{public}d, installBundleType %{public}d, isCompressNativeLibrary %{public}d, path %{public}s", in CheckEncryption()
1436 bundleId, static_cast<int32_t>(installBundleType), in CheckEncryption()
1471 if (!EnforceEncryption(entryMap, bundleId, isEncryption, installBundleType, isCompressNativeLibrary)) { in CheckEncryption()
1481 const int32_t bundleId = checkEncryptionParam.bundleId; in CheckHapEncryption() local
1485 "bundleId is %{public}d, isCompressNativeLibrary is %{public}d", hapPath.c_str(), in CheckHapEncryption()
1486 static_cast<int32_t>(installBundleType), bundleId, isCompressNativeLibrary); in CheckHapEncryption()
1490 if (!EnforceEncryption(entryMap, bundleId, isEncryptio in CheckHapEncryption()
2182 EnforceEncryption(std::unordered_map<std::string, std::string> &entryMap, int32_t bundleId, bool &isEncryption, InstallBundleType installBundleType, bool isCompressNativeLibrary) EnforceEncryption() argument
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_util.h190 static void MakeFsConfig(const std::string &bundleName, int32_t bundleId, const std::string &configPath);
H A Dbundle_data_mgr.h1048 bool GenerateBundleId(const std::string &bundleName, int32_t &bundleId);
1206 // using for generating bundleId
1207 // key:bundleId
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_data_mgr.cpp3451 int32_t bundleId = uid - userId * Constants::BASE_USER_RANGE; in GetInnerBundleInfoAndIndexByUid() local
3456 auto bundleIdIter = bundleIdMap_.find(bundleId); in GetInnerBundleInfoAndIndexByUid()
4515 int32_t bundleId = INVALID_BUNDLEID; in GenerateUidAndGid() local
4516 if (!GenerateBundleId(innerBundleUserInfo.bundleName, bundleId)) { in GenerateUidAndGid()
4517 APP_LOGW("Generate bundleId failed, bundleName: %{public}s", innerBundleUserInfo.bundleName.c_str()); in GenerateUidAndGid()
4522 + bundleId % Constants::BASE_USER_RANGE; in GenerateUidAndGid()
4527 bool BundleDataMgr::GenerateBundleId(const std::string &bundleName, int32_t &bundleId) in GenerateBundleId() argument
4532 bundleId = baseAppUid_; in GenerateBundleId()
4533 bundleIdMap_.emplace(bundleId, bundleName); in GenerateBundleId()
4539 bundleId in GenerateBundleId()
4618 int32_t bundleId = innerBundleUserInfo.uid - RecycleUidAndGid() local
4640 int32_t bundleId = innerBundleUserInfo.uid - RestoreUidAndGid() local
4658 int32_t bundleId = cloneInfo.uid - cloneInfo.userId * Constants::BASE_USER_RANGE; RestoreUidAndGid() local
[all...]
H A Dbundle_util.cpp346 void BundleUtil::MakeFsConfig(const std::string &bundleName, int32_t bundleId, const std::string &configPath) in MakeFsConfig() argument
367 std::string bundleIdStr = std::to_string(bundleId); in MakeFsConfig()
369 APP_LOGE("write bundleId error:%{public}d", errno); in MakeFsConfig()
H A Dbase_bundle_installer.cpp5311 param.bundleId = uid - userId_ * Constants::BASE_USER_RANGE; in CheckSoEncryption()
5514 param.bundleId = uid - userId_ * Constants::BASE_USER_RANGE; in CheckHapEncryption()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_operator.h256 static bool EnforceEncryption(std::unordered_map<std::string, std::string> &entryMap, int32_t bundleId,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_default_app_test/
H A Dbms_bundle_default_app_mgr_test.cpp404 int32_t bundleId = uid - 100 * Constants::BASE_USER_RANGE; in HWTEST_F() local
405 dataMgr->bundleIdMap_.emplace(bundleId, BUNDLE_NAME); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_ipc_test.cpp643 checkEncryptionParam.bundleId = -1; in HWTEST_F()
663 checkEncryptionParam.bundleId = -1; in HWTEST_F()
H A Dbms_install_daemon_operator_test.cpp1125 checkEncryptionParam.bundleId = -1; in HWTEST_F()
1558 checkEncryptionParam.bundleId = -1; in HWTEST_F()
1592 checkEncryptionParam.bundleId = -1; in HWTEST_F()
H A Dbms_install_daemon_host_impl_test.cpp849 checkEncryptionParam.bundleId = -1; in HWTEST_F()

Completed in 39 milliseconds