/ohos5.0/base/useriam/user_auth_framework/services/remote_connect/src/ |
H A D | soft_bus_message.cpp | 24 const std::shared_ptr<Attributes> &attributes) in SoftBusMessage() argument 26 destEndPoint_(destEndPoint), attributes_(attributes) in SoftBusMessage() 72 if (attributes == nullptr) { in CreateMessage() 81 ret = attributes->SetBoolValue(Attributes::ATTR_MSG_ACK, true); in CreateMessage() 84 ret = attributes->SetBoolValue(Attributes::ATTR_MSG_ACK, false); in CreateMessage() 115 return attributes; in CreateMessage() 127 auto attributes = Common::MakeShared<Attributes>(data); in ParseMessage() local 128 if (attributes == nullptr) { in ParseMessage() 136 ret = attributes->GetBoolValue(Attributes::ATTR_MSG_ACK, isAck_); in ParseMessage() 153 attributes_ = attributes; in ParseMessage() [all …]
|
/ohos5.0/base/security/asset/services/core_service/src/operations/ |
H A D | operation_add.rs | 123 if attributes.get(&Tag::IsPersistent).is_some() { in check_persistent_permission() 133 if attributes.get(&Tag::SyncType).is_none() || in check_sync_permission() 157 common::check_tag_validity(attributes, &valid_tags)?; in check_arguments() 158 common::check_value_validity(attributes)?; in check_arguments() 160 check_sync_permission(attributes, calling_info)?; in check_arguments() 161 common::check_system_permission(attributes)?; in check_arguments() 162 check_persistent_permission(attributes) in check_arguments() 166 check_arguments(attributes, calling_info)?; in local_add() 169 let mut db_data = common::into_db_map(attributes); in local_add() 189 let local_res = local_add(attributes, calling_info); in add() [all …]
|
/ohos5.0/base/security/asset/services/plugin/src/ |
H A D | asset_plugin.rs | 131 fn add(&mut self, attributes: &ExtDbMap) -> std::result::Result<i32, u32> { in add() 132 let db_name = get_db_name(attributes, false)?; in add() 134 db.insert_datas(attributes).map_err(|e| e.code as u32) in add() 138 fn ce_add(&mut self, attributes: &ExtDbMap) -> std::result::Result<i32, u32> { in ce_add() 139 let db_name = get_db_name(attributes, true)?; in ce_add() 141 db.insert_datas(attributes).map_err(|e| e.code as u32) in ce_add() 146 let db_name = get_db_name(attributes, false)?; in replace() 148 db.replace_datas(condition, false, attributes).map_err(|e| e.code as u32) in replace() 153 let db_name = get_db_name(attributes, true)?; in ce_replace() 155 db.replace_datas(condition, false, attributes).map_err(|e| e.code as u32) in ce_replace() [all …]
|
/ohos5.0/base/print/print_fwk/frameworks/helper/print_helper/src/ |
H A D | print_attributes_helper.cpp | 32 napi_value PrintAttributesHelper::MakeJsObject(napi_env env, const PrintAttributes &attributes) in MakeJsObject() argument 38 if (!CreatePageRange(env, jsObj, attributes)) { in MakeJsObject() 45 if (!CreatePageSize(env, jsObj, attributes)) { in MakeJsObject() 55 if (!CreateMargin(env, jsObj, attributes)) { in MakeJsObject() 60 if (attributes.HasOption()) { in MakeJsObject() 164 const PrintAttributes &attributes) in CreatePageRange() argument 167 attributes.GetPageRange(range); in CreatePageRange() 174 const PrintAttributes &attributes) in CreatePageSize() argument 177 attributes.GetPageSize(pageSize); in CreatePageSize() 184 const PrintAttributes &attributes) in CreateMargin() argument [all …]
|
/ohos5.0/base/security/asset/interfaces/inner_kits/rs/src/ |
H A D | plugin_interface.rs | 85 fn add(&mut self, attributes: &ExtDbMap) -> Result<i32, u32>; in add() 88 fn ce_add(&mut self, attributes: &ExtDbMap) -> Result<i32, u32>; in ce_add() 91 …fn replace(&mut self, condition: &ExtDbMap, attributes: &ExtDbMap) -> std::result::Result<(), u32>; in replace() 94 …fn ce_replace(&mut self, condition: &ExtDbMap, attributes: &ExtDbMap) -> std::result::Result<(), u… in ce_replace() 97 fn query(&mut self, attributes: &ExtDbMap) -> Result<Vec<ExtDbMap>, u32>; in query() 100 fn ce_query(&mut self, attributes: &ExtDbMap) -> Result<Vec<ExtDbMap>, u32>; in ce_query() 103 fn remove(&mut self, attributes: &ExtDbMap) -> Result<i32, u32>; in remove() 106 fn ce_remove(&mut self, attributes: &ExtDbMap) -> Result<i32, u32>; in ce_remove() 115 fn update(&mut self, attributes: &ExtDbMap, attrs_to_update: &ExtDbMap) -> Result<i32, u32>; in update() 118 fn ce_update(&mut self, attributes: &ExtDbMap, attrs_to_update: &ExtDbMap) -> Result<i32, u32>; in ce_update()
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-layout-development-overview.md | 36 …is-arkui/arkui-ts/ts-universal-attributes-size.md#width)、[height](../reference/apis-arkui/arkui-ts… 38 - 组件内容区(黄色方块):组件内容区大小为组件区域大小减去组件的[border](../reference/apis-arkui/arkui-ts/ts-universal-attributes-… 40 …组件内容和组件内容区大小不一致时,[align](../reference/apis-arkui/arkui-ts/ts-universal-attributes-location.md#alig… 42 - 组件布局边界(虚线部分):组件通过[margin](../reference/apis-arkui/arkui-ts/ts-universal-attributes-size.md#margin… 69 …幕的适配上有缺陷。 | 使用[position](../reference/apis-arkui/arkui-ts/ts-universal-attributes-location.md#posi… 70 …相对于原位置进行偏移。 | 使用[offset](../reference/apis-arkui/arkui-ts/ts-universal-attributes-location.md#offs… 77 …i/arkui-ts/ts-universal-attributes-flex-layout.md#flexgrow)和[flexShrink](../reference/apis-arkui/a… 83 …[aspectRatio](../reference/apis-arkui/arkui-ts/ts-universal-attributes-layout-constraints.md#aspec… 96 …2. [layoutWeight](../reference/apis-arkui/arkui-ts/ts-universal-attributes-size.md#layoutweight)属性… 100 …通过[displayPriority](../reference/apis-arkui/arkui-ts/ts-universal-attributes-layout-constraints.md…
|
H A D | arkts-user-defined.md | 8 …attributes-attribute-modifier.md)、[GestureModifier](../reference/apis-arkui/arkui-ts/ts-universal-… 18 …e/apis-arkui/arkui-ts/ts-universal-attributes-size.md)和[位置设置](../reference/apis-arkui/arkui-ts/ts-… 21 …attributes-attribute-modifier.md#attributemodifier):通过AttributeModifier可以实现UI与样式分离,实现属性、事件的动态设置与更新… 22 …|自定义扩展|手势扩展| [GestureModifier](../reference/apis-arkui/arkui-ts/ts-universal-attributes-gesture-mo… 23 …attributes-draw-modifier.md#drawmodifier-1):通过DrawModifier可以在原生组件的基础之上,扩展叠加绘制自定义的内容,或者完全替换组件默认的绘制内…
|
H A D | arkts-mirroring-display.md | 28 …ui/arkui-ts/ts-universal-attributes-menu.md#bindmenu)、[bindContextMenu](../reference/apis-arkui/ar… 30 …attributes-location.md#position)、[markAnchor](../reference/apis-arkui/arkui-ts/ts-universal-attrib… 45 …attributes-location.md#position)、[markAnchor](../reference/apis-arkui/arkui-ts/ts-universal-attrib… 47 …attributes-border.md#borderwidth)、[borderColor](../reference/apis-arkui/arkui-ts/ts-universal-attr… 49 …s-arkui/arkui-ts/ts-universal-attributes-size.md#padding)、[margin](../reference/apis-arkui/arkui-t…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/ |
H A D | Readme-CN.md | 91 - [尺寸设置](arkui-ts/ts-universal-attributes-size.md) 92 - [位置设置](arkui-ts/ts-universal-attributes-location.md) 96 - [边框设置](arkui-ts/ts-universal-attributes-border.md) 99 - [透明度设置](arkui-ts/ts-universal-attributes-opacity.md) 101 - [禁用控制](arkui-ts/ts-universal-attributes-enable.md) 102 - [浮层](arkui-ts/ts-universal-attributes-overlay.md) 103 - [Z序控制](arkui-ts/ts-universal-attributes-z-order.md) 109 - [菜单控制](arkui-ts/ts-universal-attributes-menu.md) 110 - [焦点控制](arkui-ts/ts-universal-attributes-focus.md) 401 - [点击控制](arkui-ts/ts-universal-attributes-click.md) [all …]
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-user-defined-extension-attributeUpdater.md | 5 …attributes, using state variables can lead to significant computational overhead in frontend state… 7 …tribute object. By using the attribute object, you can update specific attributes without relying … 9 …uth" rule, which means that there is a risk of conflicts when the same attributes are updated thro… 26 …g a component's attributes, **attribute** for obtaining the attribute object (which enables direct… 30 …established, the **initializeModifier** API is triggered to initialize attributes. This is followe… 32 …attributes through **attribute** will store the latest settings within the current object and imme… 33 …attributes of the corresponding component through other state variables, will trigger **applyNorma… 39 …ibute object. Modifying attributes directly through this object will immediately trigger an update… 45 // The initializeModifier method is triggered upon the first binding, initializing the attributes. 64 …// Directly modify the component's attributes through attribute, which will trigger an immediate u…
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.5.5/ |
H A D | changelogs-arkui.md | 22 - [List](../../../application-dev/reference/arkui-ts/ts-container-list.md#attributes) 23 - [Grid](../../../application-dev/reference/arkui-ts/ts-container-grid.md#attributes) 56 …en a component has both **margin** and **position** attributes set, the settings for both attribut… 60 When a component has both **margin** and **position** attributes set, it is moved to the specified … 64 **margin** and **position** attributes: 65 - [margin](../../../application-dev/reference/arkui-ts/ts-universal-attributes-size.md#attributes) 66 …sition](../../../application-dev/reference/arkui-ts/ts-universal-attributes-location.md#attributes)
|
/ohos5.0/foundation/arkui/napi/native_engine/ |
H A D | native_sendable.cpp | 33 if (properties[i].attributes & NATIVE_STATIC) { in CreateSendablePropertiesInfos() 35 } else if (properties[i].attributes & NATIVE_INSTANCE) { in CreateSendablePropertiesInfos() 37 } else if (properties[i].attributes & NATIVE_INSTANCE_OBJECT) { in CreateSendablePropertiesInfos() 40 } else if (properties[i].attributes & NATIVE_INSTANCE_GENERIC) { in CreateSendablePropertiesInfos() 59 bool writable = (propertyDescriptor.attributes & NATIVE_WRITABLE) != 0; in InitSendablePropertiesInfo() 60 bool enumable = (propertyDescriptor.attributes & NATIVE_ENUMERABLE) != 0; in InitSendablePropertiesInfo() 61 bool configable = (propertyDescriptor.attributes & NATIVE_CONFIGURABLE) != 0; in InitSendablePropertiesInfo() 86 info.attributes.push_back(PropertyAttribute(val, false, enumable, configable)); in InitSendablePropertiesInfo() 103 info.attributes.push_back(PropertyAttribute(val, writable, enumable, configable)); in InitSendablePropertiesInfo() 143 bool enumable = (propertyDescriptor.attributes & NATIVE_ENUMERABLE) != 0; in NapiDefineSendabledProperty() [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/ |
H A D | avrcp_ct_service.h | 404 … const RawAddress &rawAddr, uint64_t identifier, const std::vector<uint32_t> &attributes) override; 521 const std::vector<uint32_t> &attributes) override; 538 const std::vector<uint32_t> &attributes) override; 953 const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, int result) const; 987 void GetPlayerAppSettingCurrentValueNative(RawAddress rawAddr, std::vector<uint8_t> attributes); 1000 …nGetPlayerAppSettingCurrentValue(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, 1012 RawAddress rawAddr, std::vector<uint8_t> attributes, std::vector<uint8_t> values); 1031 … void GetPlayerAppSettingAttributeTextNative(RawAddress rawAddr, std::vector<uint8_t> attributes); 1096 void OnGetElementAttributes(const RawAddress &rawAddr, const std::vector<uint32_t> &attributes, 1326 void OnGetItemAttributes(const RawAddress &rawAddr, const std::vector<uint32_t> &attributes, [all …]
|
/ohos5.0/base/print/print_fwk/test/unittest/service_test/ |
H A D | print_http_server_manager_test.cpp | 30 …R"({"busNum":2,"clazz":0,"configs":[{"attributes":192,"id":1,"interfaces":[{"alternateSetting":0,"… 31 …R"("endpoints":[{"address":1,"attributes":2,"direction":0,"interfaceId":0,"interval":0,"maxPacketS… 32 …R"("number":1,"type":2},{"address":129,"attributes":2,"direction":128,"interfaceId":0,"interval":0… 34 …R"("clazz":255,"endpoints":[{"address":2,"attributes":2,"direction":0,"interfaceId":1,"interval":0… 35 …R"("maxPacketSize":512,"number":2,"type":2},{"address":130,"attributes":2,"direction":128,"interfa… 38 …R"("interval":0,"maxPacketSize":512,"number":3,"type":2},{"address":131,"attributes":2,"direction"… 40 …R"("subClass":1},{"alternateSetting":0,"clazz":7,"endpoints":[{"address":4,"attributes":2,"directi… 41 …erfaceId":3,"interval":0,"maxPacketSize":512,"number":4,"type":2},{"address":132,"attributes":2,)"\ 43 …tocol":4,"subClass":1},{"alternateSetting":0,"clazz":7,"endpoints":[{"address":5,"attributes":2,)"\ 47 …R"("attributes":2,"direction":0,"interfaceId":5,"interval":0,"maxPacketSize":512,"number":6,"type"… [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-animatorproperty.md | 3 …attributes-size.md#width), [height](ts-universal-attributes-size.md#height), [backgroundColor](ts-…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-animatorproperty.md | 3 …attributes-size.md#width)、[height](ts-universal-attributes-size.md#height)、[backgroundColor](ts-un…
|
/ohos5.0/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_avrcp_ct.h | 90 explicit PlayerSettingAttributes(std::vector<uint8_t> attributes) : attributes_(attributes) in PlayerSettingAttributes() argument 131 : attributes_(attributes), values_(values) in PlayerSettingCurrentValue() 152 … PlayerGettingText(const std::vector<uint8_t> &attributes, const std::vector<std::string> &attrStr) in PlayerGettingText() argument 153 : attributes_(attributes), attrStr_(attrStr) in PlayerGettingText() 174 … ElementAttributes(const std::vector<uint32_t> &attributes, const std::vector<std::string> &values) in ElementAttributes() argument 175 : attributes_(attributes), values_(values) in ElementAttributes() 351 Notification(const std::vector<uint8_t> &attributes, const std::vector<uint8_t> &values) in Notification() argument 352 : attributes_(attributes), values_(values) in Notification() 754 const BluetoothRemoteDevice &device, const std::vector<uint8_t> &attributes); 911 const std::vector<uint32_t> &attributes); [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | Readme-EN.md | 90 - Universal attributes 91 - [Size](arkui-ts/ts-universal-attributes-size.md) 92 - [Location](arkui-ts/ts-universal-attributes-location.md) 96 - [Border](arkui-ts/ts-universal-attributes-border.md) 99 - [Opacity](arkui-ts/ts-universal-attributes-opacity.md) 102 - [Overlay](arkui-ts/ts-universal-attributes-overlay.md) 109 - [Menu Control](arkui-ts/ts-universal-attributes-menu.md) 113 - [Reuse ID](arkui-ts/ts-universal-attributes-reuse-id.md) 124 - [Outline](arkui-ts/ts-universal-attributes-outline.md) 135 - [Obscuring](arkui-ts/ts-universal-attributes-obscured.md) [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
H A D | bluetooth_avrcp_ct_server.cpp | 417 attributes, in OnGetPlayerAppSettingCurrentValue() 444 attributes, in OnGetPlayerAppSettingAttributeText() 472 attributes, in OnGetElementAttributes() 562 attributes, in OnGetItemAttributes() 675 attributes, in OnPlayerAppSettingChanged() 1010 const std::vector<int32_t> &attributes) in GetPlayerAppSettingCurrentValue() argument 1016 for (auto attribute : attributes) { in GetPlayerAppSettingCurrentValue() 1038 for (auto attribute : attributes) { in SetPlayerAppSettingCurrentValue() 1058 const std::vector<int32_t> &attributes) in GetPlayerAppSettingAttributeText() argument 1064 for (auto attribute : attributes) { in GetPlayerAppSettingAttributeText() [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/include/ |
H A D | interface_profile_avrcp_ct.h | 174 const RawAddress &rawAddr, std::vector<uint8_t> attributes, int result) = 0; 206 … const std::vector<uint8_t> &attributes, const std::vector<uint8_t> &values, int result) = 0; 234 … const std::vector<uint8_t> &attributes, const std::vector<std::string> &attrStr, int result) = 0; 265 …ual void OnGetElementAttributes(const RawAddress &rawAddr, const std::vector<uint32_t> &attributes, 419 …irtual void OnGetItemAttributes(const RawAddress &rawAddr, const std::vector<uint32_t> &attributes, 514 …l void OnPlayerAppSettingChanged(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, 814 …layerAppSettingCurrentValue(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes) = 0; 832 …const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, const std::vector<uint8_t> &val… 882 … const RawAddress &rawAddr, uint64_t identifier, const std::vector<uint32_t> &attributes) = 0; 1013 const std::vector<uint32_t> &attributes) = 0; [all …]
|
/ohos5.0/base/useriam/user_auth_framework/test/fuzztest/services/softbus_fuzzer/ |
H A D | soft_bus_fuzzer.cpp | 74 auto attributes = Common::MakeShared<Attributes>(attr); in FuzzSoftBusBaseSocketSecond() local 76 Common::MakeShared<SoftBusMessage>(0, networkId, networkId, networkId, attributes); in FuzzSoftBusBaseSocketSecond() 96 auto attributes = Common::MakeShared<Attributes>(attr); in FuzzSoftBusBaseSocketFisrst() local 97 std::shared_ptr<Attributes> request = Common::MakeShared<Attributes>(attributes->Serialize()); in FuzzSoftBusBaseSocketFisrst() 99 clientSocket->SendMessage(connectionName, srcEndPoint, destEndPoint, attributes, callback); in FuzzSoftBusBaseSocketFisrst() 113 clientSocket->SetDeviceNetworkId(networkId, attributes); in FuzzSoftBusBaseSocketFisrst() 140 auto attributes = Common::MakeShared<Attributes>(attr); in FuzzSoftBusServerSocketFisrst() local 142 serverSocket->SendMessage(connectionName, connectionName, connectionName, attributes, callback); in FuzzSoftBusServerSocketFisrst() 166 auto attributes = Common::MakeShared<Attributes>(attr); in FuzzSoftBusManagerFisrst() local 168 softBusManager.SendMessage(connectionName, srcEndPoint, destEndPoint, attributes, callback); in FuzzSoftBusManagerFisrst() [all …]
|
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/interface/ |
H A D | i_bluetooth_avrcp_ct.h | 51 const std::vector<int32_t> &attributes) = 0; 53 const std::vector<int32_t> &attributes, const std::vector<int32_t> &values) = 0; 55 const std::vector<int32_t> &attributes) = 0; 56 virtual int32_t GetPlayerAppSettingValueText(const RawAddress &device, int32_t attributes, 59 const std::vector<int32_t> &attributes) = 0; 63 const std::vector<int32_t> &attributes) = 0; 71 const std::vector<int32_t> &attributes) = 0;
|
/ohos5.0/base/print/print_fwk/frameworks/ohprint/src/ |
H A D | print_capi.cpp | 112 if (attributes == nullptr) { in NewPrintAttributes() 118 delete attributes; in NewPrintAttributes() 121 return attributes; in NewPrintAttributes() 498 attributes->copyNumber = attrs.GetCopyNumber(); in BuildPrintAttributes() 514 attributes->pageRange = printRange; in BuildPrintAttributes() 521 attributes->pageSize = printPageSize; in BuildPrintAttributes() 522 attributes->isLandscape = attrs.GetIsLandscape(); in BuildPrintAttributes() 523 attributes->colorMode = attrs.GetColorMode(); in BuildPrintAttributes() 524 attributes->duplexMode = attrs.GetDuplexMode(); in BuildPrintAttributes() 532 attributes->pageMargin = printMargin; in BuildPrintAttributes() [all …]
|
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/include/ |
H A D | bluetooth_avrcp_ct_proxy.h | 46 const std::vector<int32_t> &attributes) override; 48 const std::vector<int32_t> &attributes, const std::vector<int32_t> &values) override; 50 const std::vector<int32_t> &attributes) override; 51 int32_t GetPlayerAppSettingValueText(const RawAddress &device, int32_t attributes, 54 const std::vector<int32_t> &attributes) override; 58 const std::vector<int32_t> &attributes) override; 65 const std::vector<int32_t> &attributes) override;
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/include/ |
H A D | bluetooth_avrcp_ct_server.h | 46 const std::vector<int32_t> &attributes) override; 48 const std::vector<int32_t> &attributes, const std::vector<int32_t> &values) override; 50 const std::vector<int32_t> &attributes) override; 51 virtual int32_t GetPlayerAppSettingValueText(const RawAddress &device, int32_t attributes, 54 const std::vector<int32_t> &attributes) override; 58 const std::vector<int32_t> &attributes) override; 65 const std::vector<int32_t> &attributes) override;
|