/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/include/reclaim_priority_manager/ |
H A D | account_bundle_info.h | 29 bool HasBundle(int bundleId); 30 std::shared_ptr<BundlePriorityInfo> FindBundleById(int bundleId);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/sandbox_app/ |
H A D | bundle_sandbox_data_mgr.cpp | 350 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()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/ |
H A D | check_encryption_param.cpp | 28 bundleId = parcel.ReadInt32(); in ReadFromParcel() 39 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, bundleId); in Marshalling()
|
/ohos5.0/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudsyncmanager/ |
H A D | cloud_sync_manager_n_exporter.cpp | 263 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()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/ |
H A D | check_encryption_param.h | 35 int32_t bundleId = -1; member
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/ |
H A D | installd_operator.cpp | 1552 const int32_t bundleId = checkEncryptionParam.bundleId; in CheckEncryption() local 1557 … bundleId, installBundleType, isCompressNativeLibrary, checkEncryptionParam.modulePath.c_str()); in CheckEncryption() 1591 …if (!EnforceEncryption(entryMap, bundleId, isEncryption, installBundleType, isCompressNativeLibrar… in CheckEncryption() 1601 const int32_t bundleId = checkEncryptionParam.bundleId; in CheckHapEncryption() local 1606 installBundleType, bundleId, isCompressNativeLibrary); in CheckHapEncryption() 1610 …if (!EnforceEncryption(entryMap, bundleId, isEncryption, installBundleType, isCompressNativeLibrar… in CheckHapEncryption() 2235 …erator::EnforceEncryption(std::unordered_map<std::string, std::string> &entryMap, int32_t bundleId, in EnforceEncryption() argument 2241 ErrCode ret = enforceMetadataProcessForApp_(entryMap, bundleId, in EnforceEncryption()
|
/ohos5.0/base/account/os_account/frameworks/osaccount/native/src/ |
H A D | os_account_manager.cpp | 121 ErrCode OsAccountManager::GetBundleIdFromUid(const int uid, int &bundleId) in GetBundleIdFromUid() argument 132 bundleId = uid % UID_TRANSFORM_DIVISOR; in GetBundleIdFromUid()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_util.h | 192 …static void MakeFsConfig(const std::string &bundleName, int32_t bundleId, const std::string &confi…
|
H A D | bundle_data_mgr.h | 1073 bool GenerateBundleId(const std::string &bundleName, int32_t &bundleId);
|
/ohos5.0/base/account/os_account/interfaces/innerkits/osaccount/native/include/ |
H A D | os_account_manager.h | 211 static ErrCode GetBundleIdFromUid(const int uid, int &bundleId);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_data_mgr.cpp | 4486 int32_t bundleId = INVALID_BUNDLEID; in GenerateUidAndGid() local 4493 + bundleId % Constants::BASE_USER_RANGE; in GenerateUidAndGid() 4503 bundleId = baseAppUid_; in GenerateBundleId() 4504 bundleIdMap_.emplace(bundleId, bundleName); in GenerateBundleId() 4510 bundleId = innerBundleId.first; in GenerateBundleId() 4518 bundleId = i; in GenerateBundleId() 4531 bundleId = bundleIdMap_.rbegin()->first + 1; in GenerateBundleId() 4532 bundleIdMap_.emplace(bundleId, bundleName); in GenerateBundleId() 4589 int32_t bundleId = innerBundleUserInfo.uid - in RecycleUidAndGid() local 4592 auto infoItem = bundleIdMap_.find(bundleId); in RecycleUidAndGid() [all …]
|
H A D | bundle_util.cpp | 345 void BundleUtil::MakeFsConfig(const std::string &bundleName, int32_t bundleId, const std::string &c… in MakeFsConfig() argument 366 std::string bundleIdStr = std::to_string(bundleId); in MakeFsConfig()
|
H A D | base_bundle_installer.cpp | 5105 param.bundleId = uid - userId_ * Constants::BASE_USER_RANGE; in CheckSoEncryption() 5343 param.bundleId = uid - userId_ * Constants::BASE_USER_RANGE; in CheckHapEncryption()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/ |
H A D | bms_install_daemon_ipc_test.cpp | 643 checkEncryptionParam.bundleId = -1; 663 checkEncryptionParam.bundleId = -1;
|
H A D | bms_install_daemon_host_impl_test.cpp | 846 checkEncryptionParam.bundleId = -1;
|
H A D | bms_install_daemon_operator_test.cpp | 1086 checkEncryptionParam.bundleId = -1;
|
/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/moduletest/ |
H A D | os_account_manager_module_test.cpp | 2259 int bundleId; variable 2260 …PECT_EQ(ERR_ACCOUNT_COMMON_INVALID_PARAMETER, OsAccountManager::GetBundleIdFromUid(uid, bundleId)); 2361 int bundleId = INVALID_BUNDLE_ID; variable 2362 …ASSERT_EQ(OsAccountManager::GetBundleIdFromUid(ACCOUNT_UID, bundleId), ERR_ACCOUNT_COMMON_NOT_SYST… 2448 int bundleId = INVALID_BUNDLE_ID; variable 2449 ASSERT_EQ(OsAccountManager::GetBundleIdFromUid(ACCOUNT_UID, bundleId), ERR_OK); 2450 ASSERT_NE(bundleId, INVALID_BUNDLE_ID);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/ |
H A D | installd_operator.h | 268 …ic bool EnforceEncryption(std::unordered_map<std::string, std::string> &entryMap, int32_t bundleId,
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-osAccount-sys.md | 1781 通过uid查询对应的bundleId,使用callback异步回调。 1792 | callback | AsyncCallback<number> | 是 | 回调函数。如果查询成功,err为null,data为与uid对应的bundleId;否则为错误对象。… 1810 accountManager.getBundleIdForUid(testUid, (err: BusinessError, bundleId: number) => { 1812 console.info('getBundleIdForUid bundleId:' + JSON.stringify(bundleId)); 1823 通过uid查询对应的bundleId,使用Promise异步回调。 1839 | Promise<number> | Promise对象,返回与uid对应的bundleId。 | 1858 console.info('getBundleIdForUid bundleId:' + JSON.stringify(result)); 1871 通过uid查询对应的bundleId。使用同步方式返回结果。 1887 | number | 表示与进程uid对应的bundleId。 | 1903 let bundleId : number = accountManager.getBundleIdForUidSync(testUid); [all …]
|
/ohos5.0/base/account/os_account/interfaces/kits/napi/osaccount/src/ |
H A D | napi_os_account.cpp | 955 int32_t bundleId = 0; in GetBundleIdForUidSync() local 956 ErrCode errCode = OsAccountManager::GetBundleIdFromUid(uid, bundleId); in GetBundleIdForUidSync() 961 NAPI_CALL(env, napi_create_int32(env, bundleId, &retValue)); in GetBundleIdForUidSync()
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-osAccount-sys.md | 1808 accountManager.getBundleIdForUid(testUid, (err: BusinessError, bundleId: number) => { 1810 console.info('getBundleIdForUid bundleId:' + JSON.stringify(bundleId)); 1856 console.info('getBundleIdForUid bundleId:' + JSON.stringify(result)); 1901 let bundleId : number = accountManager.getBundleIdForUidSync(testUid); 1902 console.info('getBundleIdForUidSync bundleId:' + bundleId);
|
/ohos5.0/base/account/os_account/ |
H A D | README_zh.md | 944 …d="p0342193384611"><a name="p0342193384611"></a><a name="p0342193384611"></a>通过uid获取对应bundleId。</p>
|