/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/ |
H A D | classic_config.h | 152 * @param subSection Device address. 155 std::string GetRemoteName(const std::string &subSection) const; 160 * @param subSection Device address. 163 std::string GetRemoteAlias(const std::string &subSection) const; 168 * @param subSection Device address. 171 std::string GetRemoteLinkkey(const std::string &subSection) const; 176 * @param subSection Device address. 179 int GetRemoteDeviceType(const std::string &subSection) const; 184 * @param subSection Device address. 187 int GetRemoteLinkkeyType(const std::string &subSection) cons [all...] |
H A D | classic_config.cpp | 168 std::string ClassicConfig::GetRemoteName(const std::string &subSection) const in GetRemoteName() 171 if (!config_->GetValue(SECTION_BREDR_PAIRED_LIST, subSection, PROPERTY_DEVICE_NAME, name)) { in GetRemoteName() 178 std::string ClassicConfig::GetRemoteAlias(const std::string &subSection) const in GetRemoteAlias() 181 if (!config_->GetValue(SECTION_BREDR_PAIRED_LIST, subSection, PROPERTY_ALIAS_NAME, name)) { in GetRemoteAlias() 188 std::string ClassicConfig::GetRemoteLinkkey(const std::string &subSection) const in GetRemoteLinkkey() 191 if (!config_->GetValue(SECTION_BREDR_PAIRED_LIST, subSection, PROPERTY_LINK_KEY, key)) { in GetRemoteLinkkey() 198 int ClassicConfig::GetRemoteDeviceType(const std::string &subSection) const in GetRemoteDeviceType() 201 if (!config_->GetValue(SECTION_BREDR_PAIRED_LIST, subSection, PROPERTY_DEVICE_TYPE, type)) { in GetRemoteDeviceType() 208 int ClassicConfig::GetRemoteLinkkeyType(const std::string &subSection) const in GetRemoteLinkkeyType() 211 if (!config_->GetValue(SECTION_BREDR_PAIRED_LIST, subSection, PROPERTY_LINK_KEY_TYP in GetRemoteLinkkeyType() 238 SetRemoteName(const std::string &subSection, const std::string &name) const SetRemoteName() argument 248 SetRemoteAlias(const std::string &subSection, const std::string &name) const SetRemoteAlias() argument 258 SetRemoteDeviceType(const std::string &subSection, int type) const SetRemoteDeviceType() argument 268 SetRemoteLinkkey(const std::string &subSection, const std::string &linkKey) const SetRemoteLinkkey() argument 278 SetRemoteLinkkeyType(const std::string &subSection, int type) const SetRemoteLinkkeyType() argument 288 SetRemoteDeviceClass(const std::string &subSection, int cod) const SetRemoteDeviceClass() argument 298 SetRemoteDeviceIoCapability(const std::string &subSection, int io) const SetRemoteDeviceIoCapability() argument 328 SetRemoteDevicePairFlag(const std::string &subSection, const bool flag) const SetRemoteDevicePairFlag() argument 338 SetRemoteDeviceBondFromLocal(const std::string &subSection, const bool flag) const SetRemoteDeviceBondFromLocal() argument 358 SetRemoteUuids(const std::string &subSection, const std::string &uuids) const SetRemoteUuids() argument 378 SetRemoteHidVendorId(const std::string &subSection, int vendorId) const SetRemoteHidVendorId() argument 398 SetRemoteHidProductId(const std::string &subSection, int productId) const SetRemoteHidProductId() argument 418 SetRemoteHidVersion(const std::string &subSection, int version) const SetRemoteHidVersion() argument 438 SetRemoteHidCtryCode(const std::string &subSection, int ctryCode) const SetRemoteHidCtryCode() argument 458 SetRemoteHidDescInfo(const std::string &subSection, const std::string &descInfo) const SetRemoteHidDescInfo() argument [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/util/ |
H A D | xml_parse.h | 73 * @param subSection Xml subSection. 79 bool GetValue(const std::string §ion, const std::string &subSection, const std::string &property, int &value); 86 * @param subSection Xml subSection. 93 const std::string §ion, const std::string &subSection, const std::string &property, std::string &value); 100 * @param subSection Xml subSection. 106 bool GetValue(const std::string §ion, const std::string &subSection, const std::string &property, bool &value); 113 * @param subSection Xm [all...] |
H A D | xml_parse.cpp | 25 xmlNodePtr IntHasSection(const std::string §ion, const std::string &subSection); 26 xmlNodePtr IntHasProperty(const std::string §ion, const std::string &subSection, const std::string &property); 29 const std::string §ion, const std::string &subSection, const std::string &property); 37 xmlNodePtr XmlParse::impl::IntHasSection(const std::string §ion, const std::string &subSection) in IntHasSection() argument 52 if (subSection == "") { in IntHasSection() 61 if (xmlStrcmp((xmlChar *)subSection.c_str(), btSubSectionNodeProp) == 0) { in IntHasSection() 71 const std::string §ion, const std::string &subSection, const std::string &property) in IntHasProperty() 73 xmlNodePtr sectionNode = IntHasSection(section, subSection); in IntHasProperty() 107 const std::string §ion, const std::string &subSection, const std::string &property) in FindOrCreatePropertyNode() 134 if (subSection ! in FindOrCreatePropertyNode() 70 IntHasProperty( const std::string §ion, const std::string &subSection, const std::string &property) IntHasProperty() argument 106 FindOrCreatePropertyNode( const std::string §ion, const std::string &subSection, const std::string &property) FindOrCreatePropertyNode() argument 284 GetValue( const std::string §ion, const std::string &subSection, const std::string &property, int &value) GetValue() argument 291 GetValue( const std::string §ion, const std::string &subSection, const std::string &property, std::string &value) GetValue() argument 298 GetValue( const std::string §ion, const std::string &subSection, const std::string &property, bool &value) GetValue() argument 305 SetValue( const std::string §ion, const std::string &subSection, const std::string &property, const int &value) SetValue() argument 319 SetValue( const std::string §ion, const std::string &subSection, const std::string &property, const std::string &value) SetValue() argument 327 SetValue( const std::string §ion, const std::string &subSection, const std::string &property, const bool &value) SetValue() argument 342 HasProperty(const std::string §ion, const std::string &subSection, const std::string &property) HasProperty() argument 348 HasSection(const std::string §ion, const std::string &subSection) HasSection() argument 410 RemoveSection(const std::string §ion, const std::string &subSection) RemoveSection() argument 449 RemoveProperty(const std::string §ion, const std::string &subSection, const std::string &property) RemoveProperty() argument [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/ |
H A D | adapter_device_config.cpp | 114 const std::string §ion, const std::string &subSection, const std::string &property, const int &value) in SetValue() 117 return pimpl->parse_.SetValue(section, subSection, property, value); in SetValue() 120 const std::string §ion, const std::string &subSection, const std::string &property, const std::string &value) in SetValue() 123 return pimpl->parse_.SetValue(section, subSection, property, value); in SetValue() 127 const std::string §ion, const std::string &subSection, const std::string &property, const bool &value) in SetValue() 130 return pimpl->parse_.SetValue(section, subSection, property, value); in SetValue() 134 const std::string §ion, const std::string &subSection, const std::string &property, int &value) in GetValue() 137 return pimpl->parse_.GetValue(section, subSection, property, value); in GetValue() 141 const std::string §ion, const std::string &subSection, const std::string &property, std::string &value) in GetValue() 144 return pimpl->parse_.GetValue(section, subSection, propert in GetValue() 113 SetValue( const std::string §ion, const std::string &subSection, const std::string &property, const int &value) SetValue() argument 119 SetValue( const std::string §ion, const std::string &subSection, const std::string &property, const std::string &value) SetValue() argument 126 SetValue( const std::string §ion, const std::string &subSection, const std::string &property, const bool &value) SetValue() argument 133 GetValue( const std::string §ion, const std::string &subSection, const std::string &property, int &value) GetValue() argument 140 GetValue( const std::string §ion, const std::string &subSection, const std::string &property, std::string &value) GetValue() argument 147 GetValue( const std::string §ion, const std::string &subSection, const std::string &property, bool &value) GetValue() argument 160 RemoveSection(const std::string §ion, const std::string &subSection) RemoveSection() argument [all...] |
H A D | adapter_device_config.h | 129 * @param[in] subSection 136 const std::string §ion, const std::string &subSection, const std::string &property, int &value) = 0; 142 * @param[in] subSection 149 const std::string §ion, const std::string &subSection, const std::string &property, std::string &value) = 0; 155 * @param[in] subSection 162 const std::string §ion, const std::string &subSection, const std::string &property, bool &value) = 0; 168 * @param[in] subSection 175 const std::string §ion, const std::string &subSection, const std::string &property, const int &value) = 0; 181 * @param[in] subSection 187 virtual bool SetValue(const std::string §ion, const std::string &subSection, cons [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ |
H A D | ble_config.h | 98 std::string GetPeerName(const std::string &subSection) const; 99 std::string GetPeerAlias(const std::string &subSection) const; 100 int GetPeerDeviceType(const std::string &subSection) const; 101 int GetPeerDeviceIoCapability(const std::string &subSection) const; 102 int GetPeerAddressType(const std::string &subSection) const; 104 bool SetPeerName(const std::string &subSection, const std::string &name) const; 105 bool SetPeerDeviceType(const std::string &subSection, const int type) const; 106 bool SetPeerDeviceIoCapability(const std::string &subSection, const int io) const; 107 bool SetPeerAddressType(const std::string &subSection, const int type) const; 108 bool RemovePairedDevice(const std::string &subSection) cons [all...] |
H A D | ble_config.cpp | 641 std::string BleConfig::GetPeerName(const std::string &subSection) const in GetPeerName() 646 bool ret = config_->GetValue(SECTION_BLE_PAIRED_LIST, subSection, PROPERTY_DEVICE_NAME, name); in GetPeerName() 653 std::string BleConfig::GetPeerAlias(const std::string &subSection) const in GetPeerAlias() 658 bool ret = config_->GetValue(SECTION_BLE_PAIRED_LIST, subSection, PROPERTY_ALIAS_NAME, name); in GetPeerAlias() 665 int BleConfig::GetPeerDeviceType(const std::string &subSection) const in GetPeerDeviceType() 670 bool ret = config_->GetValue(SECTION_BLE_PAIRED_LIST, subSection, PROPERTY_DEVICE_TYPE, type); in GetPeerDeviceType() 677 int BleConfig::GetPeerDeviceIoCapability(const std::string &subSection) const in GetPeerDeviceIoCapability() 682 bool ret = config_->GetValue(SECTION_BLE_PAIRED_LIST, subSection, PROPERTY_IO_CAPABILITY, io); in GetPeerDeviceIoCapability() 689 bool BleConfig::SetPeerName(const std::string &subSection, const std::string &name) const in SetPeerName() argument 693 bool ret = config_->SetValue(SECTION_BLE_PAIRED_LIST, subSection, PROPERTY_DEVICE_NAM in SetPeerName() 700 SetPeerDeviceType(const std::string &subSection, const int type) const SetPeerDeviceType() argument 711 SetPeerAddressType(const std::string &subSection, const int type) const SetPeerAddressType() argument 757 SetPeerDeviceIoCapability(const std::string &subSection, int io) const SetPeerDeviceIoCapability() argument [all...] |