Home
last modified time | relevance | path

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

12345678910>>...42

/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/bluetooth_service/services/bluetooth/server/include/
Dbluetooth_host_server.h51 int32_t GetDeviceType(int32_t transport, const std::string &address) override;
91 int32_t GetPhonebookPermission(const std::string &address) override;
92 bool SetPhonebookPermission(const std::string &address, int32_t permission) override;
93 int32_t GetMessagePermission(const std::string &address) override;
94 bool SetMessagePermission(const std::string &address, int32_t permission) override;
95 int32_t GetPowerMode(const std::string &address) override;
96 …int32_t GetDeviceName(int32_t transport, const std::string &address, std::string &name, bool alias…
97 std::string GetDeviceAlias(const std::string &address) override;
98 int32_t SetDeviceAlias(const std::string &address, const std::string &aliasName) override;
99 …int32_t GetRemoteDeviceBatteryInfo(const std::string &address, BluetoothBatteryInfo &batteryInfo) …
[all …]
/foundation/communication/bluetooth/frameworks/inner/ipc/include/
Dbluetooth_host_proxy.h68 int32_t GetDeviceType(int32_t transport, const std::string &address) override;
69 int32_t GetPhonebookPermission(const std::string &address) override;
70 bool SetPhonebookPermission(const std::string &address, int32_t permission) override;
71 int32_t GetMessagePermission(const std::string &address) override;
72 bool SetMessagePermission(const std::string &address, int32_t permission) override;
73 int32_t GetPowerMode(const std::string &address) override;
74 …int32_t GetDeviceName(int32_t transport, const std::string &address, std::string &name, bool alias…
75 std::string GetDeviceAlias(const std::string &address) override;
76 int32_t SetDeviceAlias(const std::string &address, const std::string &aliasName) override;
77 …int32_t GetRemoteDeviceBatteryInfo(const std::string &address, BluetoothBatteryInfo &info) overrid…
[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 …]
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 …]
Dmac_address.h32 /* ETH_ALEN Size of the MAC address binary data */
33 constexpr size_t MAC_STRING_LENGTH = 6 * 2 + (6 - 1); /* length of the string of mac address */
44 * @Description Check whether the MAC address is valid.
46 * @param mac - string of mac address [input]
54 * @param mac - string of mac address [input]
63 * @param hwAddr - sockaddr structure of mac address [input]
70 * @Description Obtaining the MAC address by interface name
78 static const MacAddress INVALID_MAC_ADDRESS; /* Invalid MAC Address Object Constant */
82 two MAC addresses represent the same MAC address.
84 * @param MacAddress of the compared MAC address. [input]
[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/netstack/frameworks/js/napi/socket/options/src/
Dnet_address.cpp32 void NetAddress::SetIpAddress(const std::string &address) in SetIpAddress() argument
34 if (address.empty()) { in SetIpAddress()
37 if (address == "localhost") { in SetIpAddress()
39 address_ = ConvertAddressToIp(address, AF_INET); in SetIpAddress()
41 address_ = ConvertAddressToIp(address, AF_INET6); in SetIpAddress()
47 if (inet_pton(AF_INET6, address.c_str(), &ipv6) > 0) { in SetIpAddress()
50 auto pos = address.find('%'); in SetIpAddress()
52 auto subAddr = address.substr(0, pos); in SetIpAddress()
59 if (inet_pton(AF_INET, address.c_str(), &(ipv4.s_addr)) > 0) { in SetIpAddress()
60 address_ = address; in SetIpAddress()
[all …]
/foundation/ability/idl_tool/idl_tool_2/metadata/
Dmetadata_builder.cpp67 // begin address in CalculateMetaComponent()
70 // namespaces_'s address in CalculateMetaComponent()
72 // sequenceables_'s address in CalculateMetaComponent()
74 // interfaces_'s address in CalculateMetaComponent()
76 // types_'s address in CalculateMetaComponent()
78 // stringPool_'s address in CalculateMetaComponent()
98 // end address in CalculateMetaComponent()
108 // begin address in CalculateMetaNamespace()
111 // sequenceables_'s address in CalculateMetaNamespace()
113 // interfaces_'s address in CalculateMetaNamespace()
[all …]
/foundation/ability/idl_tool/metadata/
Dmetadata_builder.cpp68 // begin address in CalculateMetaComponent()
70 // stringPool_'s address in CalculateMetaComponent()
73 // namespaces_'s address in CalculateMetaComponent()
75 // sequenceables_'s address in CalculateMetaComponent()
77 // interfaces_'s address in CalculateMetaComponent()
79 // types_'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/frameworks/inner/ipc/interface/
Di_bluetooth_host.h94 virtual int32_t GetDeviceType(int32_t transport, const std::string &address) = 0;
95 virtual int32_t GetPhonebookPermission(const std::string &address) = 0;
96 virtual bool SetPhonebookPermission(const std::string &address, int32_t permission) = 0;
97 virtual int32_t GetMessagePermission(const std::string &address) = 0;
98 virtual bool SetMessagePermission(const std::string &address, int32_t permission) = 0;
99 virtual int32_t GetPowerMode(const std::string &address) = 0;
100 virtual int32_t GetDeviceName(int32_t transport, const std::string &address,
102 virtual std::string GetDeviceAlias(const std::string &address) = 0;
103 virtual int32_t SetDeviceAlias(const std::string &address, const std::string &aliasName) = 0;
104 …virtual int32_t GetRemoteDeviceBatteryInfo(const std::string &address, BluetoothBatteryInfo &batte…
[all …]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/
Dwifi_randommac_helper.h38 * @Description generate a MAC address
40 * @param randomMacAddr - random MAC address[out]
45 * @Description generate a MAC address
47 * @param peerBssid - real MAC address[in]
48 * @param randomMacAddr - random MAC address[out]
53 * @Description generate a MAC address
55 * @param random - unsigned long long value mac address[in]
56 * @param randomMacAddr - random MAC address[out]
63 * @Description generate a MAC address
65 * @param content - content for generate MAC address[in]
[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 …]
Dhfp_ag_service.h295 * @param device The bluetooth device address.
304 * @param device The bluetooth device address.
383 * @param address The remote device address.
387 bool DialOutCallByHf(const std::string &address);
399 * @param address The remote device address.
403 bool OpenVoiceRecognitionByHf(const std::string &address);
408 * @param address The remote device address.
412 bool CloseVoiceRecognitionByHf(const std::string &address);
424 * @param address The remote device address.
427 void SetResponseClccTimer(const std::string &address);
[all …]
Dhfp_ag_system_interface.h59 * @param address The address of the bluetooth device.
61 void RejectCall(const std::string &address) const;
66 * @param address The address of the bluetooth Device
69 void DialOutCall(const std::string &address, const std::string &number) const;
74 * @param address The address of the bluetooth Device
76 void HangupCall(const std::string &address) const;
81 * @param address The address of the bluetooth Device
83 void AnswerCall(const std::string &address) const;
89 * @param address The address of the bluetooth device.
92 bool SendDtmf(int dtmf, const std::string &address) const;
[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_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/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_service/services/bluetooth/ipc/src/
Dbluetooth_host_stub.cpp526 std::string address; in GetDeviceTypeInner() local
527 if (!data.ReadString(address)) { in GetDeviceTypeInner()
528 HILOGE("BluetoothHostStub::GetDeviceType address failed"); in GetDeviceTypeInner()
531 int result = GetDeviceType(transport, address); in GetDeviceTypeInner()
559 std::string address; in GetPhonebookPermissionInner() local
560 if (!data.ReadString(address)) { in GetPhonebookPermissionInner()
561 HILOGE("BluetoothHostStub::GetPhonebookPermission address failed"); in GetPhonebookPermissionInner()
564 int result = GetPhonebookPermission(address); in GetPhonebookPermissionInner()
590 std::string address; in SetPhonebookPermissionInner() local
591 if (!data.ReadString(address)) { in SetPhonebookPermissionInner()
[all …]
/foundation/communication/bluetooth_service/services/bluetooth/service/include/
Dinterface_profile_a2dp_src.h112 * @param device bluetooth device address.
120 * @param device bluetooth device address.
129 * @param address address on the virtual device.
132 virtual void OnVirtualDeviceChanged(int32_t action, std::string address) {}; in OnVirtualDeviceChanged() argument
168 * @brief Get device connection state by address.
170 * @param device The address of the peer bluetooth device.
181 * @brief Get device playing state by address when target device is on connected.
183 * @param device The address of the peer bluetooth device.
193 * @param device The address of the peer bluetooth device.
212 * @param device The address of the peer bluetooth device.
[all …]
/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/src/beans/
DREADME.md10 |--address
16 |--address
24 |--address
30 |--address
39 |--address
45 |--address
53 |--address
59 |--address
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
Da2dp_service.h76 * @param[in] addr The address of Bluetooth remote device.
85 * @param[in] addr The address of Bluetooth remote device.
94 * @param[in] addr The address of Bluetooth remote device.
105 * @param[in] btAddr The address of remote device
126 * @param[out] msg The address of message
127 * @param[out] state The address of state
183 * @param device The address of the peer bluetooth device.
194 * @param device The address of the peer bluetooth device.
240 * @brief Get device connection state by address.
242 * @param device The address of the peer bluetooth device.
[all …]

12345678910>>...42