/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() 99 info.attributes.push_back(PropertyAttribute(func, writable, enumable, configable)); in InitSendablePropertiesInfo() 103 info.attributes in InitSendablePropertiesInfo() [all...] |
/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;
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/ |
H A D | avrcp_ct_service.h | 332 * @brief Gets the current set values on the target for the provided player application setting attributes list. 336 * @param[in] attributes The attribute of the player application settings. Refer to <b>AvrcPlayerAttribute</b>. 342 int GetPlayerAppSettingCurrentValue(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes) override; 350 * @param[in] attributes The attribute of the player application settings. Refer to <b>AvrcPlayerAttribute</b>. 358 const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, const std::vector<uint8_t> &values) override; 365 * @param[in] attributes The attribute of the player application settings. 371 int GetPlayerAppSettingAttributeText(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes) override; 393 * @brief Requests the TG to provide the attributes of the element specified in the parameter. 398 * @param[in] attributes Specifies the attribute ID for the attributes t [all...] |
H A D | avrcp_ct_profile.h | 101 std::function<void(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, int result)> 123 * @param[in] attributes The attribute of the player application settings. Refer to <b>AvrcPlayerAttribute</b>. 149 * @param[in] attributes The attribute of the player application settings. 156 std::function<void(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, 179 * @param[in] attributes The attribute of the player application setting. 186 std::function<void(const RawAddress &rawAddr, const std::vector<uint32_t> &attributes, 297 * @param[in] attributes The list of media attributes. 311 std::function<void(const RawAddress &rawAddr, const std::vector<uint32_t> &attributes, 456 std::function<void(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, [all...] |
H A D | avrcp_ct_service.cpp | 983 const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, int result) const in OnGetPlayerAppSettingAttribtues() 986 GET_ENCRYPT_AVRCP_ADDR(rawAddr), attributes.size(), result); in OnGetPlayerAppSettingAttribtues() 989 myObserver_->OnGetPlayerAppSettingAttributes(rawAddr, attributes, result); in OnGetPlayerAppSettingAttribtues() 1055 int AvrcpCtService::GetPlayerAppSettingCurrentValue(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes) in GetPlayerAppSettingCurrentValue() argument 1076 std::bind(&AvrcpCtService::GetPlayerAppSettingCurrentValueNative, this, peerAddr, attributes)); in GetPlayerAppSettingCurrentValue() 1083 void AvrcpCtService::GetPlayerAppSettingCurrentValueNative(RawAddress rawAddr, std::vector<uint8_t> attributes) in GetPlayerAppSettingCurrentValueNative() argument 1096 profile_->SendGetCurrentPlayerApplicationSettingValueCmd(rawAddr, attributes); in GetPlayerAppSettingCurrentValueNative() 1101 const std::vector<uint8_t> &attributes, const std::vector<uint8_t> &values, int result) const in OnGetPlayerAppSettingCurrentValue() 1103 HILOGI("addr: %{public}s, attributes.size: %{public}zu, values.size: %{public}zu, result: %{public}d", in OnGetPlayerAppSettingCurrentValue() 1104 GET_ENCRYPT_AVRCP_ADDR(rawAddr), attributes in OnGetPlayerAppSettingCurrentValue() 982 OnGetPlayerAppSettingAttribtues( const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, int result) const OnGetPlayerAppSettingAttribtues() argument 1100 OnGetPlayerAppSettingCurrentValue(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, const std::vector<uint8_t> &values, int result) const OnGetPlayerAppSettingCurrentValue() argument 1114 SetPlayerAppSettingCurrentValue( const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, const std::vector<uint8_t> &values) SetPlayerAppSettingCurrentValue() argument 1143 SetPlayerAppSettingCurrentValueNative( RawAddress rawAddr, std::vector<uint8_t> attributes, std::vector<uint8_t> values) SetPlayerAppSettingCurrentValueNative() argument 1173 GetPlayerAppSettingAttributeText(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes) GetPlayerAppSettingAttributeText() argument 1201 GetPlayerAppSettingAttributeTextNative(RawAddress rawAddr, std::vector<uint8_t> attributes) GetPlayerAppSettingAttributeTextNative() argument 1218 OnGetPlayerAppSettingAttributeText(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, const std::vector<std::string> &attrStr, int result) const OnGetPlayerAppSettingAttributeText() argument 1293 GetElementAttributes( const RawAddress &rawAddr, uint64_t identifier, const std::vector<uint32_t> &attributes) GetElementAttributes() argument 1322 GetElementAttributesNative( RawAddress rawAddr, uint64_t identifier, std::vector<uint32_t> attributes) GetElementAttributesNative() argument 1341 OnGetElementAttributes(const RawAddress &rawAddr, const std::vector<uint32_t> &attributes, const std::vector<std::string> &values, int result) const OnGetElementAttributes() argument 1682 GetFolderItems(const RawAddress &rawAddr, uint8_t scope, uint32_t startItem, uint32_t endItem, const std::vector<uint32_t> &attributes) GetFolderItems() argument 1715 GetFolderItemsNative( RawAddress rawAddr, uint8_t scope, uint32_t startItem, uint32_t endItem, std::vector<uint32_t> attributes) GetFolderItemsNative() argument 1750 GetItemAttributes(const RawAddress &rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter, const std::vector<uint32_t> &attributes) GetItemAttributes() argument 1783 GetItemAttributesNative( RawAddress rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter, std::vector<uint32_t> attributes) GetItemAttributesNative() argument 1801 OnGetItemAttributes(const RawAddress &rawAddr, const std::vector<uint32_t> &attributes, const std::vector<std::string> &values, int result, int detail) const OnGetItemAttributes() argument 2088 OnPlayerApplicationSettingChanged(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, const std::vector<uint8_t> &values, int result) const OnPlayerApplicationSettingChanged() argument [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/include/ |
H A D | interface_profile_avrcp_ct.h | 19 * @brief Declares the basic class of the AVRCP service, including attributes, and methods. 165 * @param[in] attributes The attribute of the player application settings. 174 const RawAddress &rawAddr, std::vector<uint8_t> attributes, int result) = 0; 196 * @param[in] attributes The attribute of the player application settings. Refer to <b>AvrcPlayerAttribute</b>. 206 const std::vector<uint8_t> &attributes, const std::vector<uint8_t> &values, int result) = 0; 225 * @param[in] attributes The attribute of the player application settings. 234 const std::vector<uint8_t> &attributes, const std::vector<std::string> &attrStr, int result) = 0; 255 * @param[in] attributes The attributes of the player application setting. Refer to <b>AvrcPlayerAttribute</b>. 265 virtual void OnGetElementAttributes(const RawAddress &rawAddr, const std::vector<uint32_t> &attributes, [all...] |
H A D | interface_profile_avrcp_tg.h | 19 * @brief Declares the basic class of the AVRCP service, including attributes, and methods. 207 * @param[in] attributes The attribute of player application settings. 213 const RawAddress &rawAddr, const std::deque<uint8_t> &attributes, uint8_t label) = 0; 233 * @param[in] attributes The attribute of the player application settings. Refer to <b>AvrcPlayerAttribute</b>. 240 virtual void OnGetPlayerAppSettingCurrentValue(const RawAddress &rawAddr, const std::deque<uint8_t> &attributes, 258 * @param[in] attributes The attribute of the player application settings. 264 virtual void OnGetPlayerAppSettingAttributeText(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, 289 * @param[in] attributes Specifies the attribute ID forthe attributes to be retrieved. 424 * @param[in] attributes Th [all...] |
/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;
|
/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;
|
/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_avrcp_ct.h | 19 * @brief Declares the class of the AVRCP controller framework, including attributes and methods. 44 * @brief This struct declares the attributes of the button. 84 * @brief This struct declares a set of attributes of the player application setting. 90 explicit PlayerSettingAttributes(std::vector<uint8_t> attributes) : attributes_(attributes) in PlayerSettingAttributes() argument 103 * @brief This struct declares a set of attributes of the player application setting values. 124 * @brief This struct declares a set of attributes of the current player application setting value. 130 PlayerSettingCurrentValue(const std::vector<uint8_t> &attributes, const std::vector<uint8_t> &values) in PlayerSettingCurrentValue() argument 131 : attributes_(attributes), values_(values) in PlayerSettingCurrentValue() 146 * @brief This struct declares a set of attributes o 152 PlayerGettingText(const std::vector<uint8_t> &attributes, const std::vector<std::string> &attrStr) PlayerGettingText() argument 174 ElementAttributes(const std::vector<uint32_t> &attributes, const std::vector<std::string> &values) ElementAttributes() argument 351 Notification(const std::vector<uint8_t> &attributes, const std::vector<uint8_t> &values) Notification() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | vertex_input_declaration_loader.cpp | 62 vector<VertexInputDeclaration::VertexInputAttributeDescription> attributes; in LoadState() local 65 ParseArray<decltype(attributes)::value_type>(jsonData, "vertexInputAttributeDescriptions", attributes, result); in LoadState() 69 PLUGIN_ASSERT(attributes.size() <= PipelineStateConstants::MAX_VERTEX_BUFFER_COUNT); in LoadState() 74 std::min((uint32_t)attributes.size(), PipelineStateConstants::MAX_VERTEX_BUFFER_COUNT); in LoadState() 80 vertexInputDeclarationData_.attributeDescriptions[idx] = attributes[idx]; in LoadState()
|
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/ |
H A D | bluetooth_avrcp_ct_stub.cpp | 271 std::vector<int32_t> attributes = {}; in GetPlayerAppSettingCurrentValueInner() local 274 HILOGE("BluetoothAvrcpCtStub::GetPlayerAppSettingCurrentValueInner Invalid MessageParcel attributes"); in GetPlayerAppSettingCurrentValueInner() 279 attributes.push_back(attribute); in GetPlayerAppSettingCurrentValueInner() 281 int32_t result = GetPlayerAppSettingCurrentValue(raw, attributes); in GetPlayerAppSettingCurrentValueInner() 290 std::vector<int32_t> attributes = {}; in SetPlayerAppSettingCurrentValueInner() local 293 HILOGE("BluetoothAvrcpCtStub::SetPlayerAppSettingCurrentValueInner Invalid MessageParcel attributes"); in SetPlayerAppSettingCurrentValueInner() 298 attributes.push_back(attribute); in SetPlayerAppSettingCurrentValueInner() 312 int32_t result = SetPlayerAppSettingCurrentValue(raw, attributes, values); in SetPlayerAppSettingCurrentValueInner() 321 std::vector<int32_t> attributes = {}; in GetPlayerAppSettingAttributeTextInner() local 324 HILOGE("BluetoothAvrcpCtStub::GetPlayerAppSettingAttributeTextInner Invalid MessageParcel attributes"); in GetPlayerAppSettingAttributeTextInner() 340 int32_t attributes = data.ReadInt32(); GetPlayerAppSettingValueTextInner() local 361 std::vector<int32_t> attributes = {}; GetElementAttributesInner() local 400 std::vector<int32_t> attributes = {}; GetFolderItemsInner() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/ |
H A D | hfp_hf_sdp_client.cpp | 169 LOG_ERROR("[HFP HF]%{public}s():Not found the attributes", __FUNCTION__); in FindAttributes() 187 if (!FindProfileFeatures(it->second.services[num].attributes, info.remoteFeatures)) { in FindAttributes() 193 if (!FindProfileNetwork(it->second.services[num].attributes, info.remoteNetwork)) { in FindAttributes() 241 service.attributes.push_back(attribute); in CopySdpServiceArray() 261 if (array.services[n].attributes.capacity() != 0) { in DeleteSdpServiceArray() 262 std::vector<HfpHfSdpAttribute>().swap(array.services[n].attributes); in DeleteSdpServiceArray() 320 bool HfpHfSdpClient::FindProfileFeatures(const std::vector<HfpHfSdpAttribute> &attributes, uint16_t &features) in FindProfileFeatures() argument 323 while (num < attributes.size()) { in FindProfileFeatures() 324 if (attributes[num].attributeId == HFP_HF_SDP_ATTRIBUTE_SUPPORTED_FEATURES) { in FindProfileFeatures() 325 features = HFP_HF_AG_FEATURES_BRSF_MASK & attributes[nu in FindProfileFeatures() 334 FindProfileNetwork(const std::vector<HfpHfSdpAttribute> &attributes, uint8_t &network) FindProfileNetwork() argument [all...] |
H A D | hfp_hf_sdp_client.h | 41 std::vector<HfpHfSdpAttribute> attributes {}; // AG attribute descriptor 103 * @brief Start a find service attributes job. 166 * @param attributes Attribute descriptors. 170 static bool FindProfileFeatures(const std::vector<HfpHfSdpAttribute> &attributes, uint16_t &features); 175 * @param attributes Attribute descriptors. 179 static bool FindProfileNetwork(const std::vector<HfpHfSdpAttribute> &attributes, uint8_t &network);
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/ |
H A D | avrcp_tg_service.h | 115 const std::string &addr, const std::deque<uint8_t> &attributes, uint8_t label) override; 131 * @param[in] attributes The attribute of the player application settings. Refer to <b>AvrcPlayerAttribute</b>. 136 void OnGetPlayerAppSettingCurrentValue(const std::string &addr, const std::deque<uint8_t> &attributes, 151 * @param[in] attributes The attribute of the player application settings. 155 void OnGetPlayerAppSettingAttributeText(const std::string &addr, const std::vector<uint8_t> &attributes, 174 * @param[in] attributes Specifies the attribute ID for the attributes to be retrieved. 291 * @param[in] attributes The list of media attributes. 302 void OnGetItemAttributes(const std::string &addr, const std::vector<uint32_t> &attributes, [all...] |
H A D | avrcp_tg_service.cpp | 19 * @brief Defines the class of the AVRCP TG service, including attributes and methods. 75 const std::string &addr, const std::deque<uint8_t> &attributes, uint8_t label) in OnGetPlayerAppSettingAttributes() 82 service->OnGetPlayerAppSettingAttributes(rawAddr, attributes, label); in OnGetPlayerAppSettingAttributes() 99 const std::deque<uint8_t> &attributes, const std::deque<uint8_t> &values, uint8_t label, uint8_t context) in OnGetPlayerAppSettingCurrentValue() 106 service->OnGetPlayerAppSettingCurrentValue(rawAddr, attributes, values, label, context); in OnGetPlayerAppSettingCurrentValue() 122 const std::vector<uint8_t> &attributes, const std::vector<std::string> &attrStr, uint8_t label) in OnGetPlayerAppSettingAttributeText() 129 service->OnGetPlayerAppSettingAttributeText(rawAddr, attributes, attrStr, label); in OnGetPlayerAppSettingAttributeText() 245 void AvrcpTgService::ObserverImpl::OnGetItemAttributes(const std::string &addr, const std::vector<uint32_t> &attributes, in OnGetItemAttributes() argument 252 service->OnGetItemAttributes(rawAddr, attributes, values, label, status); in OnGetItemAttributes() 1213 const RawAddress &rawAddr, const std::deque<uint8_t> &attributes, uint8_ in OnGetPlayerAppSettingAttributes() 74 OnGetPlayerAppSettingAttributes( const std::string &addr, const std::deque<uint8_t> &attributes, uint8_t label) OnGetPlayerAppSettingAttributes() argument 98 OnGetPlayerAppSettingCurrentValue(const std::string &addr, const std::deque<uint8_t> &attributes, const std::deque<uint8_t> &values, uint8_t label, uint8_t context) OnGetPlayerAppSettingCurrentValue() argument 121 OnGetPlayerAppSettingAttributeText(const std::string &addr, const std::vector<uint8_t> &attributes, const std::vector<std::string> &attrStr, uint8_t label) OnGetPlayerAppSettingAttributeText() argument 1212 OnGetPlayerAppSettingAttributes( const RawAddress &rawAddr, const std::deque<uint8_t> &attributes, uint8_t label) OnGetPlayerAppSettingAttributes() argument 1232 OnGetPlayerAppSettingAttributesNative( RawAddress rawAddr, std::deque<uint8_t> attributes, uint8_t label) OnGetPlayerAppSettingAttributesNative() argument 1299 GetPlayerAppSettingCurrentValue( const RawAddress &rawAddr, const std::deque<uint8_t> &attributes, uint8_t label, uint8_t context) const GetPlayerAppSettingCurrentValue() argument 1317 OnGetPlayerAppSettingCurrentValue(const RawAddress &rawAddr, const std::deque<uint8_t> &attributes, const std::deque<uint8_t> &values, uint8_t label, uint8_t context) OnGetPlayerAppSettingCurrentValue() argument 1342 OnGetCurrentPlayerAppSettingValueNative( RawAddress rawAddr, std::deque<uint8_t> attributes, std::deque<uint8_t> values, uint8_t label, uint8_t context) OnGetCurrentPlayerAppSettingValueNative() argument 1364 SetPlayerAppSettingCurrentValue( const RawAddress &rawAddr, const std::deque<uint8_t> &attributes, const std::deque<uint8_t> &values, uint8_t label) const SetPlayerAppSettingCurrentValue() argument 1413 GetPlayerAppSettingAttributeText( const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, uint8_t label) const GetPlayerAppSettingAttributeText() argument 1425 OnGetPlayerAppSettingAttributeText(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, const std::vector<std::string> &attrStr, uint8_t label) OnGetPlayerAppSettingAttributeText() argument 1445 OnGetPlayerAppSettingAttributeTextNative( RawAddress rawAddr, std::vector<uint8_t> attributes, std::vector<std::string> attrStr, uint8_t label) OnGetPlayerAppSettingAttributeTextNative() argument 1518 GetElementAttributes( const RawAddress &rawAddr, uint64_t identifier, const std::vector<uint32_t> &attributes, uint8_t label) const GetElementAttributes() argument 1549 OnGetElementAttributesNative( RawAddress rawAddr, std::vector<uint32_t> attributes, std::vector<std::string> values, uint8_t label) OnGetElementAttributesNative() argument 1808 GetFolderItems(const RawAddress &rawAddr, uint8_t scope, uint32_t startItem, uint32_t endItem, const std::vector<uint32_t> &attributes, uint8_t label) const GetPlayStatus() argument 1902 GetItemAttributes(const RawAddress &rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter, std::vector<uint32_t> attributes, uint8_t label) const GetPlayStatus() argument 1916 OnGetItemAttributes(const RawAddress &rawAddr, const std::vector<uint32_t> &attributes, const std::vector<std::string> &values, uint8_t label, int status) GetPlayStatus() argument 1935 OnGetItemAttributesNative( RawAddress rawAddr, std::vector<uint32_t> attributes, std::vector<std::string> values, uint8_t label, int status) GetPlayStatus() argument 2380 NotifyPlayerAppSettingChanged( const std::deque<uint8_t> &attributes, const std::deque<uint8_t> &values, uint8_t label) GetPlayStatus() argument 2395 NotifyPlayerAppSettingChangedNative( std::deque<uint8_t> attributes, std::deque<uint8_t> values, uint8_t label) GetPlayStatus() argument [all...] |
H A D | avrcp_tg_profile.h | 121 * @param[in] attributes The attribute of the player application settings. Refer to <b>AvrcPlayerAttribute</b>. 126 const RawAddress &rawAddr, const std::deque<uint8_t> &attributes, uint8_t label, uint8_t context)> 133 * @param[in] attributes The attribute of the player application settings. Refer to <b>AvrcPlayerAttribute</b>. 134 * @param[in] values The value of the player application setting attributes. 137 std::function<void(const RawAddress &rawAddr, const std::deque<uint8_t> &attributes, 145 * @param[in] attributes The attribute of the player application settings. 148 std::function<void(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, uint8_t label)> 168 * @param[in] attributes Specifies the attribute ID for the attributes to be retrieved. 172 const RawAddress &rawAddr, uint64_t identifier, const std::vector<uint32_t> &attributes, uint8_ [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
H A D | bluetooth_avrcp_ct_server.cpp | 89 const RawAddress &rawAddr, std::vector<uint8_t> attributes, int result) override 91 impl_->OnGetPlayerAppSettingAttributes(rawAddr, attributes, result); 100 void OnGetPlayerAppSettingCurrentValue(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, 103 impl_->OnGetPlayerAppSettingCurrentValue(rawAddr, attributes, values, result); 111 void OnGetPlayerAppSettingAttributeText(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, 114 impl_->OnGetPlayerAppSettingAttributeText(rawAddr, attributes, attributeName, result); 123 void OnGetElementAttributes(const RawAddress &rawAddr, const std::vector<uint32_t> &attributes, 126 impl_->OnGetElementAttributes(rawAddr, attributes, valueName, result); 162 void OnGetItemAttributes(const RawAddress &rawAddr, const std::vector<uint32_t> &attributes, 165 impl_->OnGetItemAttributes(rawAddr, attributes, value 1009 GetPlayerAppSettingCurrentValue(const RawAddress &device, const std::vector<int32_t> &attributes) GetPlayerAppSettingCurrentValue() argument 1031 SetPlayerAppSettingCurrentValue(const RawAddress &device, const std::vector<int32_t> &attributes, const std::vector<int32_t> &values) SetPlayerAppSettingCurrentValue() argument 1057 GetPlayerAppSettingAttributeText(const RawAddress &device, const std::vector<int32_t> &attributes) GetPlayerAppSettingAttributeText() argument 1078 GetPlayerAppSettingValueText(const RawAddress &device, int32_t attributes, const std::vector<int32_t> &values) GetPlayerAppSettingValueText() argument 1102 GetElementAttributes(const RawAddress &device, const std::vector<int32_t> &attributes) GetElementAttributes() argument 1158 GetFolderItems(const RawAddress &device, int32_t startItem, int32_t endItem, const std::vector<int32_t> &attributes) GetFolderItems() argument 1257 GetItemAttributes(const RawAddress &device, int64_t uid, int32_t uidCounter, const std::vector<int32_t> &attributes) GetItemAttributes() argument [all...] |
/foundation/communication/bluetooth_service/test/unittest/avrcp/ |
H A D | avrcp_ct_test.cpp | 369 * @tc.desc: Gets the current set values on the target for the provided player application setting attributes list. 377 vector<uint8_t> attributes = {ATTRIBUTES_TEST}; in HWTEST_F() local 378 int ret = profile_->GetPlayerAppSettingCurrentValue(device, attributes); in HWTEST_F() 396 vector<uint8_t> attributes = {ATTRIBUTES_TEST}; in HWTEST_F() local 398 int ret = profile_->SetPlayerAppSettingCurrentValue(device, attributes, values); in HWTEST_F() 415 vector<uint8_t> attributes = {ATTRIBUTES_TEST}; in HWTEST_F() local 417 int ret = profile_->GetPlayerApplicationSettingAttributeText(device, attributes); in HWTEST_F() 445 * @tc.desc: Requests the TG to provide the attributes of the element specified in the parameter. 453 vector<uint32_t> attributes = {ATTRIBUTES_TEST}; in HWTEST_F() local 455 int ret = profile_->GetElementAttributes(device, attributes); in HWTEST_F() 575 vector<uint32_t> attributes = {ITEMS_ATTRIBUTES_TEST}; HWTEST_F() local 611 vector<uint32_t> attributes = {ITEMS_ATTRIBUTES_TEST}; HWTEST_F() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_frame_rate_policy.cpp | 98 const auto& attributes = animAttributes_[scene]; in GetPreferredFps() local 99 auto iter = std::find_if(attributes.begin(), attributes.end(), [&speedMM](const auto& pair) { in GetPreferredFps() 103 if (iter != attributes.end()) { in GetPreferredFps()
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_avrcp_ct.cpp | 116 const RawAddress &rawAddr, std::vector<uint8_t> attributes, int result) override 122 impl_->OnGetPlayerAppSettingAttributes(device, attributes, static_cast<int>(result)); 141 void OnGetPlayerAppSettingCurrentValue(const RawAddress &rawAddr, const std::vector<uint8_t> attributes, 148 impl_->OnGetPlayerAppSettingCurrentValue(device, attributes, values, static_cast<int>(result)); 367 void OnPlayerAppSettingChanged(const RawAddress &rawAddr, const std::vector<uint8_t> &attributes, 373 impl_->OnPlayerAppSettingChanged(device, attributes, values, static_cast<int>(result)); 521 const BluetoothRemoteDevice &device, std::vector<uint8_t> attributes, int result) in OnGetPlayerAppSettingAttributes() 527 observers_.ForEach([device, attributes, result](std::shared_ptr<IObserver> observer) { in OnGetPlayerAppSettingAttributes() 529 resp.playerAttrs_ = std::make_unique<AvrcpCtResponse::PlayerSettingAttributes>(attributes); in OnGetPlayerAppSettingAttributes() 549 const BluetoothRemoteDevice &device, std::vector<uint8_t> attributes, st in OnGetPlayerAppSettingCurrentValue() 1236 GetPlayerAppSettingCurrentValue( const BluetoothRemoteDevice &device, const std::vector<uint8_t> &attributes) GetPlayerAppSettingCurrentValue() argument 1273 SetPlayerAppSettingCurrentValue( const BluetoothRemoteDevice &device, const std::vector<uint8_t> &attributes, const std::vector<uint8_t> &values) SetPlayerAppSettingCurrentValue() argument 1319 GetPlayerApplicationSettingAttributeText( const BluetoothRemoteDevice &device, const std::vector<uint8_t> &attributes) GetPlayerApplicationSettingAttributeText() argument 1389 GetElementAttributes(const BluetoothRemoteDevice &device, const std::vector<uint32_t> &attributes) GetElementAttributes() argument 1451 GetFolderItems( const BluetoothRemoteDevice &device, uint32_t startItem, uint32_t endItem, const std::vector<uint32_t> &attributes) GetFolderItems() argument 1643 GetItemAttributes( const BluetoothRemoteDevice &device, uint64_t uid, uint16_t uidCounter, const std::vector<uint32_t> &attributes) GetItemAttributes() argument [all...] |
/foundation/communication/bluetooth/frameworks/inner/ipc/common/ |
H A D | avrcp_media.cpp | 33 const std::vector<uint32_t> &attributes, const std::vector<std::string> &values) in AvrcMeItem() 39 attributes_(attributes), in AvrcMeItem() 32 AvrcMeItem(uint8_t itemType, uint64_t uid, uint8_t type, uint8_t playable, const std::string &name, const std::vector<uint32_t> &attributes, const std::vector<std::string> &values) AvrcMeItem() argument
|
/foundation/communication/bluetooth_service/services/bluetooth/external/dummy/include/stub/ |
H A D | media_service.h | 19 * @brief Declares the class of the media service framework, including attributes and methods. 81 const std::string &addr, const std::deque<uint8_t> &attributes, uint8_t label) = 0; 86 virtual void OnGetPlayerAppSettingCurrentValue(const std::string &addr, const std::deque<uint8_t> &attributes, 91 virtual void OnGetPlayerAppSettingAttributeText(const std::string &addr, const std::vector<uint8_t> &attributes, 115 virtual void OnGetItemAttributes(const std::string &addr, const std::vector<uint32_t> &attributes, 207 const std::string &addr, const std::deque<uint8_t> &attributes, uint8_t label, uint8_t context) in GetPlayerAppSettingCurrentValue() 212 int SetPlayerAppSettingCurrentValue(const std::string &addr, const std::deque<uint8_t> &attributes, in SetPlayerAppSettingCurrentValue() argument 219 const std::string &addr, const std::vector<uint8_t> &attributes, uint8_t label) in GetPlayerAppSettingAttributeText() 235 const std::string &addr, uint64_t identifier, const std::vector<uint32_t> &attributes, uint8_t label) in GetElementAttributes() 269 const std::vector<uint32_t> &attributes, uint8_ in GetFolderItems() 206 GetPlayerAppSettingCurrentValue( const std::string &addr, const std::deque<uint8_t> &attributes, uint8_t label, uint8_t context) GetPlayerAppSettingCurrentValue() argument 218 GetPlayerAppSettingAttributeText( const std::string &addr, const std::vector<uint8_t> &attributes, uint8_t label) GetPlayerAppSettingAttributeText() argument 234 GetElementAttributes( const std::string &addr, uint64_t identifier, const std::vector<uint32_t> &attributes, uint8_t label) GetElementAttributes() argument 268 GetFolderItems(const std::string &addr, uint8_t scope, uint32_t startItem, uint32_t endItem, const std::vector<uint32_t> &attributes, uint8_t label) GetFolderItems() argument 274 GetItemAttributes(const std::string &addr, uint8_t scope, uint64_t uid, uint16_t uidCounter, const std::vector<uint32_t> &attributes, uint8_t label) GetItemAttributes() argument [all...] |
/foundation/ability/idl_tool/codegen/ |
H A D | cpp_code_emitter.h | 170 String EmitType(MetaType* mt, unsigned int attributes, bool isInnerType); 172 String EmitFloatType(MetaType* mt, unsigned int attributes, bool isInnerType); 174 String EmitComplexType(MetaType* mt, unsigned int attributes, bool isInnerType); 176 String EmitListType(MetaType* mt, unsigned int attributes, bool isInnerType); 178 String EmitObjectType(MetaType* mt, unsigned int attributes, bool isInnerType);
|
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_avrcp_ct_proxy.cpp | 400 const std::vector<int32_t> &attributes) in GetPlayerAppSettingCurrentValue() 413 if (!WriteParcelableInt32Vector(attributes, data)) { in GetPlayerAppSettingCurrentValue() 430 const std::vector<int32_t> &attributes, const std::vector<int32_t> &values) in SetPlayerAppSettingCurrentValue() 443 if (!WriteParcelableInt32Vector(attributes, data)) { in SetPlayerAppSettingCurrentValue() 465 const std::vector<int32_t> &attributes) in GetPlayerAppSettingAttributeText() 478 if (!WriteParcelableInt32Vector(attributes, data)) { in GetPlayerAppSettingAttributeText() 494 int32_t BluetoothAvrcpCtProxy::GetPlayerAppSettingValueText(const RawAddress &device, int32_t attributes, in GetPlayerAppSettingValueText() argument 508 if (!data.WriteInt32(attributes)) { in GetPlayerAppSettingValueText() 530 const std::vector<int32_t> &attributes) in GetElementAttributes() 543 if (!WriteParcelableInt32Vector(attributes, dat in GetElementAttributes() 399 GetPlayerAppSettingCurrentValue(const RawAddress &device, const std::vector<int32_t> &attributes) GetPlayerAppSettingCurrentValue() argument 429 SetPlayerAppSettingCurrentValue(const RawAddress &device, const std::vector<int32_t> &attributes, const std::vector<int32_t> &values) SetPlayerAppSettingCurrentValue() argument 464 GetPlayerAppSettingAttributeText(const RawAddress &device, const std::vector<int32_t> &attributes) GetPlayerAppSettingAttributeText() argument 529 GetElementAttributes(const RawAddress &device, const std::vector<int32_t> &attributes) GetElementAttributes() argument 623 GetFolderItems(const RawAddress &device, int32_t startItem, int32_t endItem, const std::vector<int32_t> &attributes) GetFolderItems() argument 786 GetItemAttributes(const RawAddress &device, int64_t uid, int32_t uidCounter, const std::vector<int32_t> &attributes) GetItemAttributes() argument [all...] |