Home
last modified time | relevance | path

Searched full:address (Results 1 – 25 of 824) sorted by relevance

12345678910>>...33

/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
Dhfp_hf_profile_event_sender.h43 * @param address The device address.
46 void NetworkStateChanged(const std::string &address, int state) const;
51 * @param address The device address.
54 void NetworkRoamingChanged(const std::string &address, int state) const;
59 * @param address The device address.
62 void NetworkSignalChanged(const std::string &address, int signal) const;
67 * @param address The device address.
70 void BatteryLevelChanged(const std::string &address, int level) const;
75 * @param address The device address.
78 void CurrentOperatorReply(const std::string &address, const std::string &name) const;
[all …]
Dhfp_hf_profile_event_sender.cpp38 void HfpHfProfileEventSender::NetworkStateChanged(const std::string &address, int state) const in NetworkStateChanged() argument
41 event.dev_ = address; in NetworkStateChanged()
46 void HfpHfProfileEventSender::NetworkRoamingChanged(const std::string &address, int state) const in NetworkRoamingChanged() argument
49 event.dev_ = address; in NetworkRoamingChanged()
54 void HfpHfProfileEventSender::NetworkSignalChanged(const std::string &address, int signal) const in NetworkSignalChanged() argument
57 event.dev_ = address; in NetworkSignalChanged()
62 void HfpHfProfileEventSender::BatteryLevelChanged(const std::string &address, int level) const in BatteryLevelChanged() argument
65 event.dev_ = address; in BatteryLevelChanged()
70 void HfpHfProfileEventSender::CurrentOperatorReply(const std::string &address, const std::string &n… in CurrentOperatorReply() argument
73 event.dev_ = address; in CurrentOperatorReply()
[all …]
Dhfp_hf_service.cpp169 std::string address = device.GetAddress(); in Connect() local
170 auto it = stateMachines_.find(address); in Connect()
184 event.dev_ = address; in Connect()
193 std::string address = device.GetAddress(); in Disconnect() local
194 auto it = stateMachines_.find(address); in Disconnect()
207 event.dev_ = address; in Disconnect()
269 std::string address = device.GetAddress(); in ConnectSco() local
270 auto it = stateMachines_.find(address); in ConnectSco()
282 event.dev_ = address; in ConnectSco()
291 std::string address = device.GetAddress(); in DisconnectSco() local
[all …]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/
Dipv6_address.h31 * @Description Check whether the IPv6 address is a legal IPv6 address.
33 * @param ipv6 - IPv6 address. [input]
38 * @Description Check whether the IPv6 address is a local IPv6 address.
40 * @param ipv6 - IPv6 address. [input]
45 * @Description Obtains the prefix of a specified IPv6 address.
47 * @param ip6Addr - IPv6 address [input]
54 * @Description Obtains the IPv6 address mask with a specified prefix length.
64 address with a prefix length.
73 * @Description method of construct an IPv6, generate an EUI-64 address
74 based on the input MAC address, and obtain the prefix
[all …]
Dmac_address.h33 /* ETH_ALEN Size of the MAC address binary data */
34 …size_t MAC_STRING_LENGTH = ETH_ALEN * 2 + (ETH_ALEN - 1); /* length of the string of mac address */
45 * @Description Check whether the MAC address is valid.
47 * @param mac - string of mac address [input]
55 * @param mac - string of mac address [input]
64 * @param hwAddr - sockaddr structure of mac address [input]
71 * @Description Obtaining the MAC address by interface name
79 static const MacAddress INVALID_MAC_ADDRESS; /* Invalid MAC Address Object Constant */
83 two MAC addresses represent the same MAC address.
85 * @param MacAddress of the compared MAC address. [input]
[all …]
Dnetwork_interface.h50 * @param ipv4 - ipv4 address of network interface [output]
58 * @Description Obtains the IPv4 address object of the current network interface.
61 * @param vecIPv4 - the vector of address of the network interface interface. If
62 the IPv4 address fails to be obtained, an invalid IPv4
79 * @Description Whether an address exists in the network interface.
82 * @param address - Specifies the IPv4 or IPv6 address to be queried. [input]
85 bool IsExistAddressForInterface(const std::string &interfaceName, const BaseAddress &address);
88 * @Description Set the IPv4 or IPv6 address to the network interface.
91 * @param ipAddress - Specifies the IPv4 or IPv6 address to be added. [input]
98 address from a network interface.
[all …]
Dip_tools.h56 * @Description : Converts an IPv4 address in the int format to a string format.
58 * @param addressIpv4 - IPv4 address in the int format.[in]
59 * @return std::string : IPv4 address in string format.
64 * @Description : Converts an IPv4 address in string format to an int format.
66 * @param address - IPv4 address in string format.[in]
67 * @return unsigned int : Specifies the IPv4 address in the int format. 0 is failure.
69 static unsigned int ConvertIpv4Address(const std::string &address);
72 * @Description : Converts a 16-byte IPv6 address to a string.
74 * @param addressIpv6 - 16-byte IPv6 address.[in]
75 * @return std::string : IPv6 address in string format
[all …]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/map_mse/
Dmap_mse_mnscli.cpp60 uint32_t MapMseMnscli::GetConnectionId(const std::string &address) const in GetConnectionId()
65 if (auto iter = connectionIdMap_.find(address); iter != connectionIdMap_.end()) { in GetConnectionId()
76 std::string address = remoteAddr.GetAddress(); in Connect() local
77 if (masIds_.find(address) == masIds_.end()) { in Connect()
78 masIds_[address] = masId + 1; in Connect()
80 masIds_[address] = masIds_[address] + (masId + 1); in Connect()
82 if (connectionIdMap_.find(address) != connectionIdMap_.end()) { in Connect()
85 if (mnsStateMap_.find(address) != mnsStateMap_.end()) { in Connect()
86 if (mnsStateMap_[address] == BTConnectState::CONNECTING) { in Connect()
90 mnsStateMap_[address] = BTConnectState::CONNECTING; in Connect()
[all …]
/foundation/communication/bluetooth/frameworks/inner/ipc/include/
Dbluetooth_host_proxy.h67 int32_t GetDeviceType(int32_t transport, const std::string &address) override;
68 int32_t GetPhonebookPermission(const std::string &address) override;
69 bool SetPhonebookPermission(const std::string &address, int32_t permission) override;
70 int32_t GetMessagePermission(const std::string &address) override;
71 bool SetMessagePermission(const std::string &address, int32_t permission) override;
72 int32_t GetPowerMode(const std::string &address) override;
73 … int32_t GetDeviceName(int32_t transport, const std::string &address, std::string &name) override;
74 std::string GetDeviceAlias(const std::string &address) override;
75 bool SetDeviceAlias(const std::string &address, const std::string &aliasName) override;
76 int32_t GetDeviceBatteryLevel(const std::string &address) override;
[all …]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
Dhfp_ag_profile_event_sender.h42 * @param device Remote bluetooth address.
49 * @param device Remote bluetooth address.
56 * @param device Remote bluetooth address.
65 * @param device Remote bluetooth address.
73 * @param device Remote bluetooth address.
81 * @param device Remote bluetooth address.
89 * @param device Remote bluetooth address.
97 * @param device Remote bluetooth address.
104 * @param device Remote bluetooth address.
111 * @param device Remote bluetooth address.
[all …]
/foundation/communication/bluetooth_service/services/bluetooth/server/include/
Dbluetooth_host_server.h50 int32_t GetDeviceType(int32_t transport, const std::string &address) override;
89 int32_t GetPhonebookPermission(const std::string &address) override;
90 bool SetPhonebookPermission(const std::string &address, int32_t permission) override;
91 int32_t GetMessagePermission(const std::string &address) override;
92 bool SetMessagePermission(const std::string &address, int32_t permission) override;
93 int32_t GetPowerMode(const std::string &address) override;
94 … int32_t GetDeviceName(int32_t transport, const std::string &address, std::string &name) override;
95 std::string GetDeviceAlias(const std::string &address) override;
96 bool SetDeviceAlias(const std::string &address, const std::string &aliasName) override;
97 int32_t GetDeviceBatteryLevel(const std::string &address) override;
[all …]
/foundation/ability/idl_tool/metadata/
Dmetadata_builder.cpp68 // begin address in CalculateMetaComponent()
71 // namespaces_'s address in CalculateMetaComponent()
73 // sequenceables_'s address in CalculateMetaComponent()
75 // interfaces_'s address in CalculateMetaComponent()
77 // types_'s address in CalculateMetaComponent()
79 // stringPool_'s address in CalculateMetaComponent()
99 // end address in CalculateMetaComponent()
109 // begin address in CalculateMetaNamespace()
112 // sequenceables_'s address in CalculateMetaNamespace()
114 // interfaces_'s address in CalculateMetaNamespace()
[all …]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
Dbtm_wl.c35 BtAddr address; member
44 static BtmWhiteListEntity *BtmAllocWhiteListEntity(uint8_t addressType, const BtAddr *address) in BtmAllocWhiteListEntity() argument
49 entity->address = *address; in BtmAllocWhiteListEntity()
88 static BtmWhiteListEntity *BtmFindWhiteListEntity(uint8_t addressType, const BtAddr *address) in BtmFindWhiteListEntity() argument
95 if ((entity->addressType == addressType) && IsSameAddress(&entity->address, address)) { in BtmFindWhiteListEntity()
106 int BtmAddDeviceToWhiteList(uint8_t addressType, const BtAddr *address) in BtmAddDeviceToWhiteList() argument
121 entity = BtmFindWhiteListEntity(addressType, address); in BtmAddDeviceToWhiteList()
133 entity = BtmAllocWhiteListEntity(addressType, address); in BtmAddDeviceToWhiteList()
145 .address = in BtmAddDeviceToWhiteList()
150 (void)memcpy_s(cmdParam.address.raw, BT_ADDRESS_SIZE, address, BT_ADDRESS_SIZE); in BtmAddDeviceToWhiteList()
[all …]
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
Di_bluetooth_host.h90 virtual int32_t GetDeviceType(int32_t transport, const std::string &address) = 0;
91 virtual int32_t GetPhonebookPermission(const std::string &address) = 0;
92 virtual bool SetPhonebookPermission(const std::string &address, int32_t permission) = 0;
93 virtual int32_t GetMessagePermission(const std::string &address) = 0;
94 virtual bool SetMessagePermission(const std::string &address, int32_t permission) = 0;
95 virtual int32_t GetPowerMode(const std::string &address) = 0;
96 …virtual int32_t GetDeviceName(int32_t transport, const std::string &address, std::string &name) = …
97 virtual std::string GetDeviceAlias(const std::string &address) = 0;
98 virtual bool SetDeviceAlias(const std::string &address, const std::string &aliasName) = 0;
99 virtual int32_t GetDeviceBatteryLevel(const std::string &address) = 0;
[all …]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/
Davrcp_tg_connection.h62 std::string btAddr_; // The address of the bluetooth device.
128 * @brief Adds some properties of the connection information of the specified bluetooth address.
130 * @param[in] rawAddr The address of the bluetooth device.
148 * @param[in] rawAddr The address of the bluetooth device.
155 * @param[in] rawAddr The address of the bluetooth device.
161 * @brief Gets the raw address of the specified connection id.
164 * @return The raw address of the bluetooth device.
169 * @brief Gets the address of the connected devices.
171 * @return The list of the address.
176 * @brief Sets the address of the active bluetooth device.
[all …]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
Davrcp_ct_connection.h69 std::string btAddr_; // The address of the bluetooth device.
145 * @brief Adds some properties of the connection information of the specified bluetooth address.
147 * @param[in] rawAddr The address of the bluetooth device.
166 * @param[in] rawAddr The address of the bluetooth device.
173 * @param[in] rawAddr The address of the bluetooth device.
179 * @brief Gets the raw address of the specified connection id.
182 * @return The raw address of the bluetooth device.
187 * @brief Gets the address of the connected devices.
189 * @return The list of the address.
194 * @brief Adds the address of the disconnected bluetooth device.
[all …]
/foundation/communication/bluetooth_service/services/bluetooth/service/include/
Dinterface_profile_map_mce.h58 * @param deviceAddress bluetooth address
68 * @param deviceAddress bluetooth address
76 * @param deviceAddress bluetooth address
84 * @param deviceAddress bluetooth address
94 * @param deviceAddress bluetooth address
104 * @param deviceAddress bluetooth address
132 * @param device Bluetooth Device address
149 * @param device Bluetooth Device address
158 * @param device Bluetooth Device address
165 * @param device Bluetooth Device address
[all …]
/foundation/communication/netstack/test/unittest/tlssocket/client/
DTlsSocketUnilateralConnection.cpp49 const std::string_view IP_ADDRESS = "/data/Ip/address.txt";
93 Socket::NetAddress address; in SetUnilateralHwTestShortParam() local
95 address.SetAddress(GetIp(ReadFileContent(IP_ADDRESS))); in SetUnilateralHwTestShortParam()
96 address.SetPort(std::atoi(ReadFileContent(PORT).c_str())); in SetUnilateralHwTestShortParam()
97 address.SetFamilyBySaFamily(AF_INET); in SetUnilateralHwTestShortParam()
104 options.SetNetAddress(address); in SetUnilateralHwTestShortParam()
107 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetUnilateralHwTestShortParam()
180 Socket::NetAddress address; variable
182 address.SetAddress(GetIp(ReadFileContent(IP_ADDRESS)));
183 address.SetPort(std::atoi(ReadFileContent(PORT).c_str()));
[all …]
DTlsSocketCertChainTest.cpp45 const std::string_view IP_ADDRESS = "/data/Ip/address.txt";
89 Socket::NetAddress address; in SetCertChainHwTestShortParam() local
91 address.SetAddress(GetIp(ReadFileContent(IP_ADDRESS))); in SetCertChainHwTestShortParam()
92 address.SetPort(std::atoi(ReadFileContent(PORT).c_str())); in SetCertChainHwTestShortParam()
93 address.SetFamilyBySaFamily(AF_INET); in SetCertChainHwTestShortParam()
100 options.SetNetAddress(address); in SetCertChainHwTestShortParam()
103 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetCertChainHwTestShortParam()
111 Socket::NetAddress address; in SetCertChainHwTestLongParam() local
113 address.SetAddress(GetIp(ReadFileContent(IP_ADDRESS))); in SetCertChainHwTestLongParam()
114 address.SetPort(std::atoi(ReadFileContent(PORT).c_str())); in SetCertChainHwTestLongParam()
[all …]
DTlsSocketCertChainOneWayTest.cpp45 const std::string_view IP_ADDRESS = "/data/Ip/address.txt";
89 Socket::NetAddress address; in SetCertChainOneWayHwTestShortParam() local
91 address.SetAddress(GetIp(ReadFileContent(IP_ADDRESS))); in SetCertChainOneWayHwTestShortParam()
92 address.SetPort(std::atoi(ReadFileContent(PORT).c_str())); in SetCertChainOneWayHwTestShortParam()
93 address.SetFamilyBySaFamily(AF_INET); in SetCertChainOneWayHwTestShortParam()
100 options.SetNetAddress(address); in SetCertChainOneWayHwTestShortParam()
103 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetCertChainOneWayHwTestShortParam()
111 Socket::NetAddress address; in SetCertChainOneWayHwTestLongParam() local
113 address.SetAddress(GetIp(ReadFileContent(IP_ADDRESS))); in SetCertChainOneWayHwTestLongParam()
114 address.SetPort(std::atoi(ReadFileContent(PORT).c_str())); in SetCertChainOneWayHwTestLongParam()
[all …]
DTlsSocketOneWayTest.cpp44 const std::string_view IP_ADDRESS = "/data/Ip/address.txt";
88 Socket::NetAddress address; in SetOneWayHwTestShortParam() local
90 address.SetAddress(GetIp(ChangeToFile(IP_ADDRESS))); in SetOneWayHwTestShortParam()
91 address.SetPort(std::atoi(ChangeToFile(PORT).c_str())); in SetOneWayHwTestShortParam()
92 address.SetFamilyBySaFamily(AF_INET); in SetOneWayHwTestShortParam()
99 options.SetNetAddress(address); in SetOneWayHwTestShortParam()
102 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetOneWayHwTestShortParam()
110 Socket::NetAddress address; in SetOneWayHwTestLongParam() local
112 address.SetAddress(GetIp(ChangeToFile(IP_ADDRESS))); in SetOneWayHwTestLongParam()
113 address.SetPort(std::atoi(ChangeToFile(PORT).c_str())); in SetOneWayHwTestLongParam()
[all …]
/foundation/communication/wifi/wifi/utils/inc/
Dwifi_common_util.h79 * @Description MAC address anonymization
83 * @param str - Input MAC address
89 * @Description MAC address anonymization
93 * @param str - Input MAC address
123 * @Description Converting string MAC to a C-style MAC address
125 * @param strMac - Input MAC address
134 * @param mac - Input MAC address
140 * @Description Check whether the array of MAC address is empty
142 * @param mac - Input MAC address
148 * @Description Converting a string IP Address to an integer IP address
[all …]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/map_mce/
Dmap_mce_service.h123 * @param device Bluetooth Device address
136 * @param device Bluetooth Device address
144 * @param device Bluetooth Device address
150 * @param device Bluetooth Device address
158 * @param device Bluetooth Device address
164 * @param device Bluetooth Device address
171 * @param device Bluetooth Device address
178 * @param device Bluetooth Device address
185 * @param device Bluetooth Device address
192 * @param device Bluetooth Device address
[all …]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/
Dclassic_config.h140 * @brief Set local address.
142 * @param addr Device address.
152 * @param subSection Device address.
160 * @param subSection Device address.
168 * @param subSection Device address.
176 * @param subSection Device address.
184 * @param subSection Device address.
192 * @param subSection Device address.
200 * @param subSection Device address.
206 * @brief Get paired device address list.
[all …]
/foundation/communication/bluetooth/frameworks/inner/ipc/common/
Draw_address.h28 // address length
58 * @param address Address string.
61 explicit RawAddress(const std::string &address) : address_(address) {}; in RawAddress() argument
71 * @brief Get RawAddress address string.
73 * @return Returns address string.
82 * @brief Set RawAddress address string.
86 void SetAddress(const std::string &address) in SetAddress() argument
88 address_ = address; in SetAddress()
103 * @return Returns address string.

12345678910>>...33