/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | inner_bundle_user_info.cpp | 45 {INNER_BUNDLE_USER_INFO_IS_REMOVABLE, innerBundleUserInfo.isRemovable}, in to_json() 72 … innerBundleUserInfo.isRemovable, JsonType::BOOLEAN, false, parseResult, ArrayType::NOT_ARRAY); in from_json()
|
H A D | inner_bundle_info.cpp | 396 {MODULE_IS_REMOVABLE, info.isRemovable}, in to_json() 684 info.isRemovable, in from_json() 1583 hapInfo.isRemovable = it->second.isRemovable; in FindHapModuleInfo() 3501 if (item == modInfoItem->isRemovable.end()) { in IsUserExistModule() 3521 if (item == modInfoItem->isRemovable.end()) { in IsModuleRemovable() 3523 isRemovable = false; in IsModuleRemovable() 3527 isRemovable = item->second; in IsModuleRemovable() 3529 userId, moduleName.c_str(), isRemovable); in IsModuleRemovable() 3537 if (item == info.isRemovable.end()) { in AddModuleRemovableInfo() 3569 if (item == info.isRemovable.end()) { in DeleteModuleRemovableInfo() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_free_install_test/ |
H A D | bms_bundle_free_install_test.cpp | 289 bool isRemovable = false; variable 290 ErrCode ret = bundleMgr->IsModuleRemovable("", "", isRemovable); 292 EXPECT_FALSE(isRemovable); 309 bool isRemovable = false; variable 312 EXPECT_FALSE(isRemovable); 331 bool isRemovable = false; variable 334 EXPECT_FALSE(isRemovable); 353 bool isRemovable = false; variable 356 EXPECT_FALSE(isRemovable); 377 bool isRemovable = false; variable [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | inner_bundle_user_info.h | 42 bool isRemovable = true; member
|
H A D | inner_bundle_info.h | 92 std::map<std::string, bool> isRemovable; member 1515 … ErrCode IsModuleRemovable(const std::string &moduleName, int32_t userId, bool &isRemovable) const;
|
H A D | bundle_mgr_host_impl.h | 814 bool &isRemovable) override;
|
/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/include/ |
H A D | bundle_test_tool.h | 113 …bool CheckRemovableCorrectOption(int option, const std::string &commandName, int &isRemovable, std… 114 …ableOperation(const std::string &bundleName, const std::string &moduleName, int isRemovable) const;
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | hap_module_info.cpp | 574 CONTAINER_SECURITY_VERIFY(parcel, isRemovableSize, &isRemovable); in ReadFromParcel() 578 isRemovable[key] = isRemove; in ReadFromParcel() 750 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, isRemovable.size()); in Marshalling() 751 for (auto &item : isRemovable) { in Marshalling() 839 {HAP_MODULE_INFO_IS_REMOVABLE, hapModuleInfo.isRemovable}, in to_json() 1123 hapModuleInfo.isRemovable, in from_json()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/common/include/ |
H A D | hap_module_info.h | 118 std::map<std::string, bool> isRemovable; member
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/ |
H A D | inner_bundle_info.cpp | 211 {MODULE_IS_REMOVABLE, info.isRemovable}, in to_json() 451 info.isRemovable, in from_json() 916 hapInfo.isRemovable = it->second.isRemovable; in FindHapModuleInfo()
|
H A D | hap_module_info.cpp | 182 {HAP_MODULE_INFO_IS_REMOVABLE, hapModuleInfo.isRemovable}, in to_json() 459 hapModuleInfo.isRemovable, in from_json()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | hap_module_info.h | 164 std::map<std::string, bool> isRemovable; member
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/ |
H A D | bms_bundle_kit_service_test.cpp | 1578 bool isRemovable = false; variable 1598 bool isRemovable = false; variable 1601 EXPECT_TRUE(isRemovable); 1618 bool isRemovable = false; variable 1625 isRemovable = false; 1628 EXPECT_TRUE(isRemovable); 1641 bool isRemovable = false; variable 7013 info.isRemovable = isRemovable; 7231 info.isRemovable = isRemovable; 9934 bool isRemovable; variable [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/src/ |
H A D | bundle_test_tool.cpp | 1108 if (isRemovable == 0) { in SetIsRemovableOperation() 1126 bool isRemovable = false; in GetIsRemovableOperation() local 1127 auto ret = bundleMgrProxy_->IsModuleRemovable(bundleName, moduleName, isRemovable); in GetIsRemovableOperation() 1129 result.append("isRemovable: " + std::to_string(isRemovable) + "\n"); in GetIsRemovableOperation() 1187 int option, const std::string &commandName, int &isRemovable, std::string &name) in CheckRemovableCorrectOption() argument 1208 } else if (OHOS::StrToInt(optarg, isRemovable)) { in CheckRemovableCorrectOption() 1210 commandName.c_str(), isRemovable, argv_[optind - 1]); in CheckRemovableCorrectOption() 1240 int isRemovable = 0; in RunAsSetRemovableCommand() local 1258 result = !CheckRemovableCorrectOption(option, commandName, isRemovable, name) in RunAsSetRemovableCommand() 1274 setResult = SetIsRemovableOperation(bundleName, moduleName, isRemovable); in RunAsSetRemovableCommand() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/bundle_parser/ |
H A D | inner_bundle_info.h | 59 std::map<std::string, bool> isRemovable; member
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/ |
H A D | bms_bundle_data_storage_database_test.cpp | 686 "isRemovable":{}, 2080 innerModuleInfo.isRemovable[USER] = true; 2087 EXPECT_EQ(ret[NAME_UID].isRemovable[USER], true); 2090 EXPECT_EQ(ret[NAME_UID].isRemovable[USER], false); 2216 innerModuleInfo.isRemovable.try_emplace(USER, true); 2381 moduleInfo.isRemovable.try_emplace(MODULE_NAME, false); 2382 moduleInfo.isRemovable.try_emplace(MODULE_NAME_TEST, true);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/free_install/ |
H A D | free_install.cpp | 55 const std::string &moduleName, bool &isRemovable) in InnerIsHapModuleRemovable() argument 62 auto result = iBundleMgr->IsModuleRemovable(bundleName, moduleName, isRemovable); in InnerIsHapModuleRemovable()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/ |
H A D | bms_bundle_permission_system_app_test.cpp | 447 bool isRemovable = false; variable 448 ErrCode ret = bundleMgrHostImpl_->IsModuleRemovable(BUNDLE_NAME, MOUDLE_NAME, isRemovable);
|
H A D | bms_bundle_permission_false_test.cpp | 573 bool isRemovable = false; variable 574 ErrCode ret = bundleMgrHostImpl_->IsModuleRemovable(BUNDLE_NAME, MOUDLE_NAME, isRemovable);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/ |
H A D | bms_bundle_manager_test.cpp | 2591 bool isRemovable = true; variable 2601 ErrCode retCode = hostImpl->IsModuleRemovable("", "", isRemovable); 2604 retBool = hostImpl->SetModuleRemovable("", "", isRemovable); 2623 bool isRemovable = true; variable 2631 ErrCode retCode = hostImpl->IsApplicationEnabled("", isRemovable); 2634 retCode = hostImpl->SetApplicationEnabled("", isRemovable, USERID); 2637 retCode = hostImpl->IsAbilityEnabled(abilityInfo, isRemovable); 3671 bool isRemovable; variable 3673 TEST_BUNDLE_NAME, MODULE_NAME, isRemovable);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_control/ |
H A D | app_control_manager_host_impl.cpp | 379 userInfo.isRemovable = (iterator != appIds.end()) ? false : true; in UpdateAppControlledInfo()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_mgr_interface.h | 770 … IsModuleRemovable(const std::string &bundleName, const std::string &moduleName, bool &isRemovable) in IsModuleRemovable() argument
|
H A D | bundle_mgr_proxy.h | 836 bool &isRemovable) override;
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-telephony-kit/ |
H A D | js-apis-esim-sys.md | 916 | isRemovable | boolean | 是 | 获取eUICC是否可移除。|
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/ |
H A D | bundle_mgr_host.cpp | 2483 bool isRemovable = false; in HandleIsModuleRemovable() local 2484 ErrCode ret = IsModuleRemovable(bundleName, moduleName, isRemovable); in HandleIsModuleRemovable() 2489 if (!reply.WriteBool(isRemovable)) { in HandleIsModuleRemovable()
|