Home
last modified time | relevance | path

Searched refs:customizeData (Results 1 – 25 of 68) sorted by relevance

123

/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/json_serializer_test/
H A Djson_serializer_test.cpp36 CustomizeData customizeData; in BenchmarkTestForCustomizeDataToJson() local
37 customizeData.name = "ohos.global.systemres"; in BenchmarkTestForCustomizeDataToJson()
38 customizeData.value = "1"; in BenchmarkTestForCustomizeDataToJson()
39 customizeData.extra = "/data/accounts/account_0/applications/ohos.global.systemres"; in BenchmarkTestForCustomizeDataToJson()
42 to_json(jsonObject, customizeData); in BenchmarkTestForCustomizeDataToJson()
58 CustomizeData customizeData; in BenchmarkTestForCustomizeDataFromJson() local
61 from_json(jsonObject, customizeData); in BenchmarkTestForCustomizeDataFromJson()
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/
H A Dability_info.cpp106 void to_json(nlohmann::json &jsonObject, const CustomizeData &customizeData) in to_json() argument
109 {JSON_KEY_NAME, customizeData.name}, in to_json()
110 {JSON_KEY_META_VALUE, customizeData.value}, in to_json()
111 {JSON_KEY_META_EXTRA, customizeData.extra} in to_json()
118 {JSON_KEY_CUSTOMIZE_DATA, metaData.customizeData} in to_json()
217 void from_json(const nlohmann::json &jsonObject, CustomizeData &customizeData) in from_json() argument
224 customizeData.name, in from_json()
232 customizeData.value, in from_json()
240 customizeData.extra, in from_json()
254 metaData.customizeData, in from_json()
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Dmodule-structure.md125 | customizeData | 该标签标识父级组件的自定义元信息,Parameters和results在application不可配。 | 对象数组 | 可缺省,缺省值为空。 |
147 ## customizeData对象的内部结构
149 **表6** **customizeData对象的内部结构说明**
173 "customizeData" : [{
174 "name" : "a customizeData",
543 | metaData | 标识卡片的自定义信息,包含customizeData数组标签。 | 对象 | 可缺省,缺省值为空。 |
546 ## customizeData对象内部结构
548 **表20** **customizeData对象内部结构说明**
599 "customizeData": [
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/bundle_parser/
H A Djson_serializer.h32 void to_json(nlohmann::json &jsonObject, const CustomizeData &customizeData);
36 void from_json(const nlohmann::json &jsonObject, CustomizeData &customizeData);
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dability_info.cpp190 CONTAINER_SECURITY_VERIFY(parcel, metaDataSize, &metaData.customizeData); in ReadFromParcel()
197 metaData.customizeData.emplace_back(*customizeDataPtr); in ReadFromParcel()
399 for (auto &meta : metaData.customizeData) { in Marshalling()
536 {JSON_KEY_NAME, customizeData.name}, in to_json()
537 {JSON_KEY_META_VALUE, customizeData.value}, in to_json()
538 {JSON_KEY_META_EXTRA, customizeData.extra} in to_json()
545 {JSON_KEY_CUSTOMIZE_DATA, metaData.customizeData} in to_json()
659 customizeData.name, in from_json()
667 customizeData.value, in from_json()
675 customizeData.extra, in from_json()
[all …]
H A Dapplication_info.cpp238 CustomizeData *customizeData = new (std::nothrow) CustomizeData; in Unmarshalling() local
239 if (customizeData && !customizeData->ReadFromParcel(parcel)) { in Unmarshalling()
241 delete customizeData; in Unmarshalling()
242 customizeData = nullptr; in Unmarshalling()
244 return customizeData; in Unmarshalling()
294 if (!customizeData) { in ReadMetaDataFromParcel()
298 metaData[moduleName].emplace_back(*customizeData); in ReadMetaDataFromParcel()
499 if (!customizeData) { in ReadFromParcel()
503 metaData[key].emplace_back(*customizeData); in ReadFromParcel()
707 for (auto &customizeData : item.second) { in Marshalling() local
[all …]
H A Dextension_form_profile.cpp454 FormCustomizeData customizeData; in TransformToExtensionFormInfo() local
455 customizeData.name = data.name; in TransformToExtensionFormInfo()
456 customizeData.value = data.value; in TransformToExtensionFormInfo()
457 info.metadata.emplace_back(customizeData); in TransformToExtensionFormInfo()
H A Dform_info.cpp131 FormCustomizeData customizeData; in ReadCustomizeData() local
134 customizeData.name = customizeName; in ReadCustomizeData()
135 customizeData.value = customizeValue; in ReadCustomizeData()
136 customizeDatas.emplace_back(customizeData); in ReadCustomizeData()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_profile.cpp878 customizeData.name, in from_json()
886 customizeData.extra, in from_json()
894 customizeData.value, in from_json()
908 metaData.customizeData, in from_json()
944 formsMetaData.customizeData, in from_json()
2014 FormCustomizeData customizeData; in ConvertFormInfo() local
2015 customizeData.name = data.name; in ConvertFormInfo()
2016 customizeData.value = data.value; in ConvertFormInfo()
2271 CustomizeData customizeData; in GetMetaData() local
2272 customizeData.name = item.name; in GetMetaData()
[all …]
/ohos5.0/docs/zh-cn/application-dev/application-models/
H A Dmodule-switch.md36 | customizeData | 该标签标识父级组件的自定义元信息,Parameters和results在application不可配。 | metadata | 具体差异见表3。 |
38 **表3** FA模型metaData的customizeData和Stage中metadata对比
/ohos5.0/docs/zh-cn/application-dev/reference/apis-form-kit/
H A Djs-apis-application-formInfo.md41 | customizeData | {[key: string]: [value: string]} | 是 | 否 | 表示卡片用户数据。 |
H A Djs-apis-app-form-formInfo.md42 | customizeData | Record\<string, string> | 是 | 否 | 卡片用户数据。 <br>**原子化服务API:** 从API v…
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Djson_serializer.h44 void to_json(nlohmann::json &jsonObject, const CustomizeData &customizeData);
45 void from_json(const nlohmann::json &jsonObject, CustomizeData &customizeData);
H A Dapplication_info.h134 std::vector<CustomizeData> customizeData; member
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/common/include/
H A Dapplication_info.h71 std::vector<CustomizeData> customizeData; member
/ohos5.0/foundation/ability/form_fwk/interfaces/kits/native/src/
H A Dform_provider_client.cpp77 std::vector<std::string> customizeData; in AcquireProviderFormInfo() local
78 createWant.SetParam(Constants::PARAM_FORM_CUSTOMIZE_KEY, customizeData); in AcquireProviderFormInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_base_test/
H A Dbms_bundle_kit_service_base_test.cpp209 AppExecFwk::CustomizeData customizeData { in MockAbilityInfo() local
215 {customizeData} in MockAbilityInfo()
238 AppExecFwk::CustomizeData customizeData {NAME, VALUE, EXTRA}; in MockModuleInfo() local
239 MetaData metaData {{customizeData}}; in MockModuleInfo()
/ohos5.0/docs/en/application-dev/application-models/
H A Dmodule-switch.md36 | customizeData | Custom metadata of the parent component. **parameters** and **results** cannot be…
38 **Table 3** Comparison between customizeData under metaData in the FA model and metadata in the sta…
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/
H A Dbms_bundle_data_storage_database_test.cpp246 "customizeData":[
692 "customizeData":[]
824 "customizeData": [
905 "customizeData": [
975 "customizeData": [
1304 "customizeData": [
1413 "customizeData": [
1472 "customizeData": [
/ohos5.0/docs/en/application-dev/reference/apis-form-kit/
H A Djs-apis-application-formInfo.md41 | customizeData | {[key: string]: [value: string]} | Yes | No | Custom data of the wi…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-ability.md10 | customizeData | CustomizeData | extra: string; | 新增 |
79 | ohos.application.formInfo | FormInfo | customizeData: {[key: string]: [value: string]}; | 新增 |
/ohos5.0/docs/en/application-dev/quick-start/
H A Dmodule-structure.md125 | customizeData | Custom metadata of the parent component. **parameters** and **results** cannot be…
147 ## Internal Structure of the customizeData Attribute
149 **Table 6** Internal structure of the customizeData attribute
173 "customizeData" : [{
174 "name" : "a customizeData",
543 | metaData | Metadata of the widget. This attribute contains the array of the **customizeData** att…
546 ## Internal Structure of the customizeData Attribute
548 **Table 20** Internal structure of the customizeData attribute
599 "customizeData": [
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/form_runtime/
H A Dform_extension_provider_client.cpp99 std::vector<std::string> customizeData; in AcquireFormExtensionProviderInfo() local
100 createWant.SetParam(Constants::PARAM_FORM_CUSTOMIZE_KEY, customizeData); in AcquireFormExtensionProviderInfo()
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-ability.md10 | customizeData | CustomizeData | extra: string; | Added|
79 | ohos.application.formInfo | FormInfo | customizeData: {[key: string]: [value: string]}; | Added|
/ohos5.0/foundation/communication/nfc/services/src/external_deps/
H A Dapp_data_parser.cpp277 for (auto& data : abilityInfo.metaData.customizeData) { in UpdateTagAppList()
335 for (auto& data : abilityInfo.metaData.customizeData) { in UpdateHceAppList()

123