Home
last modified time | relevance | path

Searched refs:bundleResourceInfo (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/
H A Dresource_info.cpp69 void ResourceInfo::ConvertFromBundleResourceInfo(const BundleResourceInfo &bundleResourceInfo) in ConvertFromBundleResourceInfo() argument
71 bundleName_ = bundleResourceInfo.bundleName; in ConvertFromBundleResourceInfo()
74 icon_ = bundleResourceInfo.icon; in ConvertFromBundleResourceInfo()
75 foreground_ = bundleResourceInfo.foreground; in ConvertFromBundleResourceInfo()
76 background_ = bundleResourceInfo.background; in ConvertFromBundleResourceInfo()
77 appIndex_ = bundleResourceInfo.appIndex; in ConvertFromBundleResourceInfo()
79 label_ = bundleResourceInfo.label + std::to_string(appIndex_); in ConvertFromBundleResourceInfo()
81 label_ = bundleResourceInfo.label; in ConvertFromBundleResourceInfo()
H A Dbundle_resource_manager.cpp167 BundleResourceInfo bundleResourceInfo; in AddResourceInfo() local
396 BundleResourceInfo &bundleResourceInfo, int32_t appIndex) in GetBundleResourceInfo() argument
494 BundleResourceInfo bundleResourceInfo; in GetDefaultIcon() local
498 bundleResourceInfo)) { in GetDefaultIcon()
502 resourceInfo.icon_ = bundleResourceInfo.icon; in GetDefaultIcon()
503 resourceInfo.foreground_ = bundleResourceInfo.foreground; in GetDefaultIcon()
524 BundleResourceInfo bundleResourceInfo; in UpdateBundleIcon() local
527 bundleResourceInfo)) { in UpdateBundleIcon()
533 resourceInfo.label_ = bundleResourceInfo.label; in UpdateBundleIcon()
608 BundleResourceInfo bundleResourceInfo; in GetBundleResourceInfoForCloneBundle() local
[all …]
H A Dbundle_resource_rdb.cpp264 BundleResourceInfo &bundleResourceInfo, in GetBundleResourceInfo() argument
293 return ConvertToBundleResourceInfo(absSharedResultSet, flags, bundleResourceInfo); in GetBundleResourceInfo()
425 BundleResourceInfo &bundleResourceInfo) in ConvertToBundleResourceInfo() argument
433 …if (bundleResourceInfo.bundleName.find_first_of(BundleResourceConstants::SEPARATOR) != std::string… in ConvertToBundleResourceInfo()
434 …APP_LOGD("key:%{public}s not bundle resource info, continue", bundleResourceInfo.bundleName.c_str(… in ConvertToBundleResourceInfo()
437 ParseKey(bundleResourceInfo.bundleName, bundleResourceInfo); in ConvertToBundleResourceInfo()
445 …et = absSharedResultSet->GetString(BundleResourceConstants::INDEX_LABEL, bundleResourceInfo.label); in ConvertToBundleResourceInfo()
452 … ret = absSharedResultSet->GetString(BundleResourceConstants::INDEX_ICON, bundleResourceInfo.icon); in ConvertToBundleResourceInfo()
601 BundleResourceInfo &bundleResourceInfo) in ParseKey() argument
605 bundleResourceInfo.bundleName = info.bundleName_; in ParseKey()
[all …]
H A Dbundle_resource_host_impl.cpp30 BundleResourceInfo &bundleResourceInfo, const int32_t appIndex) in GetBundleResourceInfo() argument
53 if (!manager->GetBundleResourceInfo(bundleName, flags, bundleResourceInfo, appIndex)) { in GetBundleResourceInfo()
302 BundleResourceInfo bundleResourceInfo; in CheckBundleNameValid() local
304 static_cast<uint32_t>(ResourceFlag::GET_RESOURCE_INFO_WITH_LABEL), bundleResourceInfo)) { in CheckBundleNameValid()
H A Dbundle_resource_process.cpp278 ResourceInfo bundleResourceInfo; in OnGetResourceInfo() local
279 if (!GetBundleResourceInfo(innerBundleInfo, userId, bundleResourceInfo)) { in OnGetResourceInfo()
283 resourceInfos.push_back(bundleResourceInfo); in OnGetResourceInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/bundle_resource/
H A Dbundle_resource_rdb.h49 BundleResourceInfo &bundleResourceInfo, const int32_t appIndex = 0);
69 BundleResourceInfo &bundleResourceInfo);
80 BundleResourceInfo &bundleResourceInfo);
H A Dresource_info.h31 void ConvertFromBundleResourceInfo(const BundleResourceInfo &bundleResourceInfo);
H A Dbundle_resource_host_impl.h29 BundleResourceInfo &bundleResourceInfo, const int32_t appIndex = 0) override;
H A Dbundle_resource_manager.h68 BundleResourceInfo &bundleResourceInfo, const int32_t appIndex = 0);
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_resource/
H A Dbundle_resource.cpp57 const BundleResourceInfo &bundleResourceInfo, in ConvertBundleResourceInfo() argument
63 …env, napi_create_string_utf8(env, bundleResourceInfo.bundleName.c_str(), NAPI_AUTO_LENGTH, &nBundl… in ConvertBundleResourceInfo()
68 env, napi_create_string_utf8(env, bundleResourceInfo.label.c_str(), in ConvertBundleResourceInfo()
74 env, napi_create_string_utf8(env, bundleResourceInfo.icon.c_str(), in ConvertBundleResourceInfo()
79 env, bundleResourceInfo.foreground, bundleResourceInfo.background); in ConvertBundleResourceInfo()
87 NAPI_CALL_RETURN_VOID(env, napi_create_int32(env, bundleResourceInfo.appIndex, &nAppIndex)); in ConvertBundleResourceInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundle_resource/
H A Dbundle_resource_host.cpp88 BundleResourceInfo bundleResourceInfo; in HandleGetBundleResourceInfo() local
89 ErrCode ret = GetBundleResourceInfo(bundleName, flags, bundleResourceInfo, appIndex); in HandleGetBundleResourceInfo()
95 return WriteParcelInfo<BundleResourceInfo>(bundleResourceInfo, reply); in HandleGetBundleResourceInfo()
H A Dbundle_resource_proxy.cpp62 BundleResourceInfo &bundleResourceInfo, in GetBundleResourceInfo() argument
89 BundleResourceInterfaceCode::GET_BUNDLE_RESOURCE_INFO, data, bundleResourceInfo); in GetBundleResourceInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_data_mgr_test/
H A Dbms_extension_data_mgr_test.cpp700 BundleResourceInfo bundleResourceInfo; variable
703 static_cast<uint32_t>(ResourceFlag::GET_RESOURCE_INFO_ALL), bundleResourceInfo);
760 BundleResourceInfo bundleResourceInfo; variable
763 static_cast<uint32_t>(ResourceFlag::GET_RESOURCE_INFO_ALL), bundleResourceInfo);
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundle_resource/
H A Dbundle_resource_interface.h31 BundleResourceInfo &bundleResourceInfo, const int32_t appIndex = 0)
H A Dbundle_resource_proxy.h31 BundleResourceInfo &bundleResourceInfo, const int32_t appIndex = 0) override;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_resource_test/
H A Dbms_bundle_resource_test.cpp3106 BundleResourceInfo bundleResourceInfo; variable
3107 ret = manager->GetBundleResourceInfo(BUNDLE_NAME, 1, bundleResourceInfo);
3109 EXPECT_EQ(info.bundleName_, bundleResourceInfo.bundleName);
3110 EXPECT_EQ(info.label_, bundleResourceInfo.label);
3111 EXPECT_TRUE(bundleResourceInfo.icon.empty());
3265 BundleResourceInfo bundleResourceInfo; variable
3269 bundleResourceInfo);
3280 EXPECT_EQ(cloneBundleResourceInfo.bundleName, bundleResourceInfo.bundleName);
3715 BundleResourceInfo bundleResourceInfo; variable
3856 BundleResourceInfo bundleResourceInfo; variable
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/test/unittest/bundle_resource_host_test/
H A Dbundle_resource_host_test.cpp34 BundleResourceInfo &bundleResourceInfo, const int32_t appIndex = 0) override in GetBundleResourceInfo() argument
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/bms_extension/
H A Dbms_extension_client.h69 BundleResourceInfo &bundleResourceInfo, const int32_t appIndex = 0);
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/bundlemgr_extension/include/
H A Dbms_extension_data_mgr.h69 BundleResourceInfo &bundleResourceInfo, const int32_t appIndex = 0);
H A Dbundle_mgr_ext.h133 BundleResourceInfo &bundleResourceInfo, const int32_t appIndex = 0)
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bms_extension/
H A Dbms_extension_client.cpp407 BundleResourceInfo &bundleResourceInfo, const int32_t appIndex) in GetBundleResourceInfo() argument
414 … return bmsExtensionImpl_->GetBundleResourceInfo(bundleName, flags, bundleResourceInfo, appIndex); in GetBundleResourceInfo()
/ohos5.0/foundation/communication/netmanager_ext/services/vpnmanager/src/
H A Dnetworkvpn_service.cpp1082 AppExecFwk::BundleResourceInfo bundleResourceInfo; in GetSelfAppName() local
1084 … static_cast<uint32_t>(OHOS::AppExecFwk::ResourceFlag::GET_RESOURCE_INFO_ALL), bundleResourceInfo); in GetSelfAppName()
1089 …_I("StartVpnExtensionAbility bundleResourceInfo.label %{public}s", bundleResourceInfo.label.c_str(… in GetSelfAppName()
1090 selfAppName = bundleResourceInfo.label; in GetSelfAppName()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/bundlemgr_extension/src/
H A Dbms_extension_data_mgr.cpp438 BundleResourceInfo &bundleResourceInfo, const int32_t appIndex) in GetBundleResourceInfo() argument
450 …ErrCode ret = bundleMgrExtPtr->GetBundleResourceInfo(bundleName, flags, bundleResourceInfo, appInd… in GetBundleResourceInfo()