/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/ |
H A D | hfp_hf_profile_event_sender.h | 43 * @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 Th [all...] |
H A D | hfp_hf_profile_event_sender.cpp | 38 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 &name) const in CurrentOperatorReply() argument 73 event.dev_ = address; in CurrentOperatorReply() 79 CallStateNotify(const std::string &address, int call) const CallStateNotify() argument 87 CallSetupStateNotify(const std::string &address, int callsetup) const CallSetupStateNotify() argument 95 CallHeldStateNotify(const std::string &address, int callheld) const CallHeldStateNotify() argument 103 HoldResultReply(const std::string &address, int respAndHold) const HoldResultReply() argument 111 Callinglineidentification(const std::string &address, const std::string &number) const Callinglineidentification() argument 120 CallWaitingNotify(const std::string &address, const std::string &number) const CallWaitingNotify() argument 129 CurrentCallsReply(const std::string &address, const HfpHfCurrentCallData &call) const CurrentCallsReply() argument 138 SetVolume(const std::string &address, int type, int volume) const SetVolume() argument 146 AtCmdResultReply(const std::string &address, int type, int cme) const AtCmdResultReply() argument 155 SubscriberNumberReply( const std::string &address, const std::string &number, int type) const SubscriberNumberReply() argument 165 SetInBandRing(const std::string &address, int inBand, bool isFirstTime) const SetInBandRing() argument 182 UnknownEventNotify(const std::string &address, const std::string &eventString) const UnknownEventNotify() argument 243 OpenVoiceRecognitionResult(const std::string &address, int result) const OpenVoiceRecognitionResult() argument 251 CloseVoiceRecognitionResult(const std::string &address, int result) const CloseVoiceRecognitionResult() argument 259 VoiceRecognitionChanged(const std::string &address, int status) const VoiceRecognitionChanged() argument [all...] |
H A D | hfp_hf_service.cpp | 169 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 in DisconnectSco() local 330 std::string address = device.GetAddress(); GetDeviceState() local 348 std::string address = device.GetAddress(); GetScoState() local 365 std::string address = device.GetAddress(); SendDTMFTone() local 387 std::string address = device.GetAddress(); GetCurrentCallList() local 406 std::string address = device.GetAddress(); AcceptIncomingCall() local 421 std::string address = device.GetAddress(); HoldActiveCall() local 436 std::string address = device.GetAddress(); RejectIncomingCall() local 451 std::string address = device.GetAddress(); HandleIncomingCall() local 466 std::string address = device.GetAddress(); HandleMultiCall() local 482 std::string address = device.GetAddress(); DialLastNumber() local 497 std::string address = device.GetAddress(); DialMemory() local 512 std::string address = device.GetAddress(); SendVoiceTag() local 527 std::string address = device.GetAddress(); SendKeyPressed() local 542 std::string address = device.GetAddress(); FinishActiveCall() local 558 std::string address = device.GetAddress(); StartDial() local 620 std::string address = device.GetAddress(); OpenVoiceRecognition() local 635 std::string address = device.GetAddress(); CloseVoiceRecognition() local 687 ProcessRemoveStateMachine(const std::string &address) ProcessRemoveStateMachine() argument 713 std::string address = event.dev_; ProcessEvent() local 867 std::string address = device.GetAddress(); SendAtCommand() local [all...] |
/foundation/communication/netstack/frameworks/js/napi/socket/options/src/ |
H A D | net_address.cpp | 32 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() 73 SetIpAddressInner(const std::string &address) SetIpAddressInner() argument 98 SetRawAddress(const std::string &address) SetRawAddress() argument 103 SetAddress(const std::string &address) SetAddress() argument [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/server/include/ |
H A D | bluetooth_host_server.h | 51 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) override; 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, BluetoothBatteryInf [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/ |
H A D | btm_wl.c | 35 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() 157 BtmRemoveDeviceFromWhiteList(uint8_t addressType, const BtAddr *address) BtmRemoveDeviceFromWhiteList() argument 272 BtmIsDeviceInWhiteList(uint8_t addressType, const BtAddr *address) BtmIsDeviceInWhiteList() argument [all...] |
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/ |
H A D | i_bluetooth_host.h | 95 virtual int32_t GetDeviceType(int32_t transport, const std::string &address) = 0; 96 virtual int32_t GetPhonebookPermission(const std::string &address) = 0; 97 virtual bool SetPhonebookPermission(const std::string &address, int32_t permission) = 0; 98 virtual int32_t GetMessagePermission(const std::string &address) = 0; 99 virtual bool SetMessagePermission(const std::string &address, int32_t permission) = 0; 100 virtual int32_t GetPowerMode(const std::string &address) = 0; 101 virtual int32_t GetDeviceName(int32_t transport, const std::string &address, std::string &name) = 0; 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, BluetoothBatteryInf [all...] |
/foundation/communication/bluetooth/frameworks/inner/ipc/include/ |
H A D | bluetooth_host_proxy.h | 70 int32_t GetDeviceType(int32_t transport, const std::string &address) override; 71 int32_t GetPhonebookPermission(const std::string &address) override; 72 bool SetPhonebookPermission(const std::string &address, int32_t permission) override; 73 int32_t GetMessagePermission(const std::string &address) override; 74 bool SetMessagePermission(const std::string &address, int32_t permission) override; 75 int32_t GetPowerMode(const std::string &address) override; 76 int32_t GetDeviceName(int32_t transport, const std::string &address, std::string &name) override; 77 std::string GetDeviceAlias(const std::string &address) override; 78 int32_t SetDeviceAlias(const std::string &address, const std::string &aliasName) override; 79 int32_t GetRemoteDeviceBatteryInfo(const std::string &address, BluetoothBatteryInf [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/ |
H A D | smp_privacy.c | 46 uint8_t address[BT_ADDRESS_SIZE] = {0x00}; in SMP_GenerateRpaStep1() local 53 SMP_NotifyCbGenRpa(SMP_GENERATE_RPA_STATUS_FAILED, address); in SMP_GenerateRpaStep1() 58 pEncCmdData->address + SMP_RPA_HIGH_BIT_LEN, returnParam->encryptedData, SMP_RPA_HIGH_BIT_LEN); in SMP_GenerateRpaStep1() 59 SMP_MemoryReverseCopy(address, pEncCmdData->address, sizeof(address)); in SMP_GenerateRpaStep1() 60 SMP_NotifyCbGenRpa(SMP_GENERATE_RPA_STATUS_SUCCESS, address); in SMP_GenerateRpaStep1() 80 if (memcmp(returnParam->encryptedData, pEncCmdData->address, BT_ADDRESS_SIZE - SMP_RPA_HIGH_BIT_LEN) != 0x00) { in SMP_ResolveRpaStep1() 89 SMP_NotifyCbResoRpa(SMP_RESOLVE_RPA_STATUS_FAILED, false, pEncCmdData->address, pEncCmdData->key); in SMP_ResoRpaStep1Exception() 95 SMP_NotifyCbResoRpa(SMP_RESOLVE_RPA_STATUS_SUCCESS, false, pEncCmdData->address, pEncCmdDat in SMP_ResoRpaStep1Failed() [all...] |
/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/spatialization_manager_test/src/ |
H A D | audio_spatialization_manager_unit_test.cpp | 51 std::string address = ""; in HWTEST() local 52 auto ret = AudioSpatializationManager::GetInstance()->IsHeadTrackingDataRequested(address); in HWTEST() 63 std::string address = "123"; in HWTEST() local 66 auto ret = AudioSpatializationManager::GetInstance()->RegisterHeadTrackingDataRequestedEventListener(address, in HWTEST() 78 std::string address = "123"; in HWTEST() local 79 auto ret = AudioSpatializationManager::GetInstance()->UnregisterHeadTrackingDataRequestedEventListener(address); in HWTEST()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/ |
H A D | hfp_ag_system_interface.h | 59 * @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 Th [all...] |
H A D | hfp_ag_service.h | 295 * @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 [all...] |
H A D | hfp_ag_service.cpp | 160 std::string address = device.GetAddress(); in Connect() local 161 auto it = stateMachines_.find(address); in Connect() 176 event.dev_ = address; in Connect() 185 std::string address = device.GetAddress(); in Disconnect() local 186 auto it = stateMachines_.find(address); in Disconnect() 197 event.dev_ = address; in Disconnect() 238 std::string address = device.GetAddress(); in GetDeviceState() local 239 auto it = stateMachines_.find(address); in GetDeviceState() 378 bool HfpAgService::DisconnectSingleSco(const std::string &address) in DisconnectSingleSco() argument 381 auto it = stateMachines_.find(address); in DisconnectSingleSco() 403 std::string address = device.GetAddress(); GetScoState() local 562 SendOpenVoiceEvent(const std::string &address, bool isRequestByHf) SendOpenVoiceEvent() argument 581 std::string address = device.GetAddress(); OpenVoiceRecognition() local 608 std::string address = device.GetAddress(); CloseVoiceRecognition() local 621 SendCloseVoiceEvent(const std::string &address) SendCloseVoiceEvent() argument 644 std::string address = device.GetAddress(); SetActiveDevice() local 678 std::string address = device.GetAddress(); SendNoCarrier() local 830 DialOutCallByHf(const std::string &address) DialOutCallByHf() argument 858 OpenVoiceRecognitionByHf(const std::string &address) OpenVoiceRecognitionByHf() argument 884 CloseVoiceRecognitionByHf(const std::string &address) CloseVoiceRecognitionByHf() argument 919 SetResponseClccTimer(const std::string &address) SetResponseClccTimer() argument 940 SlcStateChanged(const std::string &address, int toState) SlcStateChanged() argument 949 ScoStateChanged(const std::string &address, int fromState, int toState) ScoStateChanged() argument 1028 ProcessRemoveStateMachine(const std::string &address) ProcessRemoveStateMachine() argument 1104 ResponesOK(const std::string &address) ResponesOK() argument [all...] |
/foundation/communication/netstack/test/unittest/tls_test/client/ |
H A D | TlsSocketUnilateralConnection.cpp | 37 void MockConnectionNetAddress(Socket::NetAddress &address)
in MockConnectionNetAddress() argument 39 address.SetAddress(TlsUtilsTest::GetIp(TlsUtilsTest::ChangeToFile(IP_ADDRESS)));
in MockConnectionNetAddress() 40 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str()));
in MockConnectionNetAddress() 41 address.SetFamilyBySaFamily(AF_INET);
in MockConnectionNetAddress() 44 void MockConnectionParamOptions(Socket::NetAddress &address, TLSSecureOptions &secureOption, TLSConnectOptions &options)
in MockConnectionParamOptions() argument 49 MockConnectionNetAddress(address);
in MockConnectionParamOptions() 51 options.SetNetAddress(address);
in MockConnectionParamOptions() 58 Socket::NetAddress address;
in SetUnilateralHwTestShortParam() local 62 MockConnectionParamOptions(address, secureOption, options);
in SetUnilateralHwTestShortParam() 64 server.Bind(address, [](int32_ in SetUnilateralHwTestShortParam() 137 Socket::NetAddress address; HWTEST_F() local 206 Socket::NetAddress address; HWTEST_F() local 300 Socket::NetAddress address; HWTEST_F() local 336 Socket::NetAddress address; HWTEST_F() local [all...] |
H A D | TlsSocketCertChainTest.cpp | 30 void MockCertChainNetAddress(Socket::NetAddress &address)
in MockCertChainNetAddress() argument 32 address.SetAddress(TlsUtilsTest::GetIp(TlsUtilsTest::ChangeToFile(IP_ADDRESS)));
in MockCertChainNetAddress() 33 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str()));
in MockCertChainNetAddress() 34 address.SetFamilyBySaFamily(AF_INET);
in MockCertChainNetAddress() 37 void MockCertChainParamOptions(Socket::NetAddress &address, TLSSecureOptions &secureOption, TLSConnectOptions &options)
in MockCertChainParamOptions() argument 42 MockCertChainNetAddress(address);
in MockCertChainParamOptions() 43 options.SetNetAddress(address);
in MockCertChainParamOptions() 54 Socket::NetAddress address;
in SetCertChainHwTestShortParam() local 55 MockCertChainParamOptions(address, secureOption, options);
in SetCertChainHwTestShortParam() 57 server.Bind(address, [](int32_ in SetCertChainHwTestShortParam() 63 Socket::NetAddress address; SetCertChainHwTestLongParam() local 87 Socket::NetAddress address; HWTEST_F() local 154 Socket::NetAddress address; HWTEST_F() local 323 Socket::NetAddress address; HWTEST_F() local [all...] |
H A D | TlsSocketTest.cpp | 30 void MockNetAddress(Socket::NetAddress &address)
in MockNetAddress() argument 32 address.SetAddress(TlsUtilsTest::GetIp(TlsUtilsTest::ChangeToFile(IP_ADDRESS)));
in MockNetAddress() 33 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str()));
in MockNetAddress() 34 address.SetFamilyBySaFamily(AF_INET);
in MockNetAddress() 37 void MockTlsSocketParamOptions(Socket::NetAddress &address, TLSSecureOptions &secureOption, TLSConnectOptions &options)
in MockTlsSocketParamOptions() argument 42 MockNetAddress(address);
in MockTlsSocketParamOptions() 44 options.SetNetAddress(address);
in MockTlsSocketParamOptions() 50 Socket::NetAddress address;
in SetSocketHwTestShortParam() local 54 MockTlsSocketParamOptions(address, secureOption, options);
in SetSocketHwTestShortParam() 56 server.Bind(address, [](int32_ in SetSocketHwTestShortParam() 70 Socket::NetAddress address; SetSocketHwTestLongParam() local 83 Socket::NetAddress address; HWTEST_F() local 187 Socket::NetAddress address; HWTEST_F() local 361 Socket::NetAddress address; HWTEST_F() local 434 Socket::NetAddress address; HWTEST_F() local [all...] |
H A D | TlsSocketCertChainOneWayTest.cpp | 30 void MockCertChainOneWayNetAddress(Socket::NetAddress &address)
in MockCertChainOneWayNetAddress() argument 32 address.SetAddress(TlsUtilsTest::GetIp(TlsUtilsTest::ChangeToFile(IP_ADDRESS)));
in MockCertChainOneWayNetAddress() 33 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str()));
in MockCertChainOneWayNetAddress() 34 address.SetFamilyBySaFamily(AF_INET);
in MockCertChainOneWayNetAddress() 38 Socket::NetAddress &address, TLSSecureOptions &secureOption, TLSConnectOptions &options)
in MockCertChainOneWayParamOptions() 43 MockCertChainOneWayNetAddress(address);
in MockCertChainOneWayParamOptions() 45 options.SetNetAddress(address);
in MockCertChainOneWayParamOptions() 52 Socket::NetAddress address;
in SetCertChainOneWayHwTestShortParam() local 57 MockCertChainOneWayParamOptions(address, secureOption, options);
in SetCertChainOneWayHwTestShortParam() 58 server.Bind(address, [](int32_ in SetCertChainOneWayHwTestShortParam() 37 MockCertChainOneWayParamOptions( Socket::NetAddress &address, TLSSecureOptions &secureOption, TLSConnectOptions &options) MockCertChainOneWayParamOptions() argument 66 Socket::NetAddress address; SetCertChainOneWayHwTestLongParam() local 88 Socket::NetAddress address; HWTEST_F() local 155 Socket::NetAddress address; HWTEST_F() local [all...] |
H A D | TlsSocketOneWayTest.cpp | 30 void MockOneWayNetAddress(Socket::NetAddress &address)
in MockOneWayNetAddress() argument 32 address.SetAddress(TlsUtilsTest::GetIp(TlsUtilsTest::ChangeToFile(IP_ADDRESS)));
in MockOneWayNetAddress() 33 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str()));
in MockOneWayNetAddress() 34 address.SetFamilyBySaFamily(AF_INET);
in MockOneWayNetAddress() 37 void MockOneWayParamOptions(Socket::NetAddress &address, TLSSecureOptions &secureOption, TLSConnectOptions &options)
in MockOneWayParamOptions() argument 42 MockOneWayNetAddress(address);
in MockOneWayParamOptions() 44 options.SetNetAddress(address);
in MockOneWayParamOptions() 50 Socket::NetAddress address;
in SetOneWayHwTestShortParam() local 54 MockOneWayParamOptions(address, secureOption, options);
in SetOneWayHwTestShortParam() 56 server.Bind(address, [](int32_ in SetOneWayHwTestShortParam() 62 Socket::NetAddress address; SetOneWayHwTestLongParam() local 84 Socket::NetAddress address; HWTEST_F() local 156 Socket::NetAddress address; HWTEST_F() local [all...] |
/foundation/communication/netstack/test/unittest/tlssocket/client/ |
H A D | TlsSocketUnilateralConnection.cpp | 37 void MockConnectionNetAddress(Socket::NetAddress &address) in MockConnectionNetAddress() argument 39 address.SetAddress(TlsUtilsTest::GetIp(TlsUtilsTest::ChangeToFile(IP_ADDRESS))); in MockConnectionNetAddress() 40 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in MockConnectionNetAddress() 41 address.SetFamilyBySaFamily(AF_INET); in MockConnectionNetAddress() 44 void MockConnectionParamOptions(Socket::NetAddress &address, TLSSecureOptions &secureOption, TLSConnectOptions &options) in MockConnectionParamOptions() argument 49 MockConnectionNetAddress(address); in MockConnectionParamOptions() 51 options.SetNetAddress(address); in MockConnectionParamOptions() 58 Socket::NetAddress address; in SetUnilateralHwTestShortParam() local 62 MockConnectionParamOptions(address, secureOption, options); in SetUnilateralHwTestShortParam() 64 server.Bind(address, [](int32_ in SetUnilateralHwTestShortParam() 137 Socket::NetAddress address; HWTEST_F() local 206 Socket::NetAddress address; HWTEST_F() local 300 Socket::NetAddress address; HWTEST_F() local 336 Socket::NetAddress address; HWTEST_F() local [all...] |
H A D | TlsSocketCertChainTest.cpp | 30 void MockCertChainNetAddress(Socket::NetAddress &address) in MockCertChainNetAddress() argument 32 address.SetAddress(TlsUtilsTest::GetIp(TlsUtilsTest::ChangeToFile(IP_ADDRESS))); in MockCertChainNetAddress() 33 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in MockCertChainNetAddress() 34 address.SetFamilyBySaFamily(AF_INET); in MockCertChainNetAddress() 37 void MockCertChainParamOptions(Socket::NetAddress &address, TLSSecureOptions &secureOption, TLSConnectOptions &options) in MockCertChainParamOptions() argument 42 MockCertChainNetAddress(address); in MockCertChainParamOptions() 43 options.SetNetAddress(address); in MockCertChainParamOptions() 54 Socket::NetAddress address; in SetCertChainHwTestShortParam() local 55 MockCertChainParamOptions(address, secureOption, options); in SetCertChainHwTestShortParam() 57 server.Bind(address, [](int32_ in SetCertChainHwTestShortParam() 63 Socket::NetAddress address; SetCertChainHwTestLongParam() local 87 Socket::NetAddress address; HWTEST_F() local 154 Socket::NetAddress address; HWTEST_F() local 323 Socket::NetAddress address; HWTEST_F() local [all...] |
H A D | TlsSocketTest.cpp | 30 void MockNetAddress(Socket::NetAddress &address) in MockNetAddress() argument 32 address.SetAddress(TlsUtilsTest::GetIp(TlsUtilsTest::ChangeToFile(IP_ADDRESS))); in MockNetAddress() 33 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in MockNetAddress() 34 address.SetFamilyBySaFamily(AF_INET); in MockNetAddress() 37 void MockTlsSocketParamOptions(Socket::NetAddress &address, TLSSecureOptions &secureOption, TLSConnectOptions &options) in MockTlsSocketParamOptions() argument 42 MockNetAddress(address); in MockTlsSocketParamOptions() 44 options.SetNetAddress(address); in MockTlsSocketParamOptions() 50 Socket::NetAddress address; in SetSocketHwTestShortParam() local 54 MockTlsSocketParamOptions(address, secureOption, options); in SetSocketHwTestShortParam() 56 server.Bind(address, [](int32_ in SetSocketHwTestShortParam() 70 Socket::NetAddress address; SetSocketHwTestLongParam() local 83 Socket::NetAddress address; HWTEST_F() local 187 Socket::NetAddress address; HWTEST_F() local 361 Socket::NetAddress address; HWTEST_F() local 434 Socket::NetAddress address; HWTEST_F() local [all...] |
H A D | TlsSocketOneWayTest.cpp | 30 void MockOneWayNetAddress(Socket::NetAddress &address) in MockOneWayNetAddress() argument 32 address.SetAddress(TlsUtilsTest::GetIp(TlsUtilsTest::ChangeToFile(IP_ADDRESS))); in MockOneWayNetAddress() 33 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in MockOneWayNetAddress() 34 address.SetFamilyBySaFamily(AF_INET); in MockOneWayNetAddress() 37 void MockOneWayParamOptions(Socket::NetAddress &address, TLSSecureOptions &secureOption, TLSConnectOptions &options) in MockOneWayParamOptions() argument 42 MockOneWayNetAddress(address); in MockOneWayParamOptions() 44 options.SetNetAddress(address); in MockOneWayParamOptions() 50 Socket::NetAddress address; in SetOneWayHwTestShortParam() local 54 MockOneWayParamOptions(address, secureOption, options); in SetOneWayHwTestShortParam() 56 server.Bind(address, [](int32_ in SetOneWayHwTestShortParam() 62 Socket::NetAddress address; SetOneWayHwTestLongParam() local 84 Socket::NetAddress address; HWTEST_F() local 156 Socket::NetAddress address; HWTEST_F() local [all...] |
H A D | TlsSocketCertChainOneWayTest.cpp | 30 void MockCertChainOneWayNetAddress(Socket::NetAddress &address) in MockCertChainOneWayNetAddress() argument 32 address.SetAddress(TlsUtilsTest::GetIp(TlsUtilsTest::ChangeToFile(IP_ADDRESS))); in MockCertChainOneWayNetAddress() 33 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in MockCertChainOneWayNetAddress() 34 address.SetFamilyBySaFamily(AF_INET); in MockCertChainOneWayNetAddress() 38 Socket::NetAddress &address, TLSSecureOptions &secureOption, TLSConnectOptions &options) in MockCertChainOneWayParamOptions() 43 MockCertChainOneWayNetAddress(address); in MockCertChainOneWayParamOptions() 45 options.SetNetAddress(address); in MockCertChainOneWayParamOptions() 52 Socket::NetAddress address; in SetCertChainOneWayHwTestShortParam() local 57 MockCertChainOneWayParamOptions(address, secureOption, options); in SetCertChainOneWayHwTestShortParam() 58 server.Bind(address, [](int32_ in SetCertChainOneWayHwTestShortParam() 37 MockCertChainOneWayParamOptions( Socket::NetAddress &address, TLSSecureOptions &secureOption, TLSConnectOptions &options) MockCertChainOneWayParamOptions() argument 66 Socket::NetAddress address; SetCertChainOneWayHwTestLongParam() local 88 Socket::NetAddress address; HWTEST_F() local 155 Socket::NetAddress address; HWTEST_F() local [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/config/src/model/ |
H A D | protocol_config.cpp | 22 SetValue(node[GET_NAME(address)], address); in Marshal() 30 GetValue(node, GET_NAME(address), address); in Unmarshal()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/ |
H A D | wifi_hdi_wpa_callback.cpp | 510 char address[WIFI_HDI_STR_MAC_LENGTH +1] = {0};
in OnEventGoNegotiationRequest() local 512 goNegotiationRequestParam->srcAddressLen, address, sizeof(address));
in OnEventGoNegotiationRequest() 514 cbk.onGoNegotiationRequest(address, goNegotiationRequestParam->passwordId);
in OnEventGoNegotiationRequest() 555 char address[WIFI_HDI_STR_MAC_LENGTH +1] = {0};
in OnEventInvitationReceived() local 557 invitationReceivedParam->srcAddressLen, address, sizeof(address));
in OnEventInvitationReceived() 558 cbInfo.srcAddress = address;
in OnEventInvitationReceived() 584 char address[WIFI_HDI_STR_MAC_LENGTH +1] = {0};
in OnEventInvitationResult() local 586 invitationResultParam->bssidLen, address, sizeo in OnEventInvitationResult() 638 char address[WIFI_HDI_STR_MAC_LENGTH +1] = {0}; OnEventGroupStarted() local 668 char address[WIFI_HDI_STR_MAC_LENGTH +1] = {0}; OnEventGroupInfoStarted() local 707 char address[WIFI_HDI_STR_MAC_LENGTH +1] = {0}; OnEventProvisionDiscoveryCompleted() local 761 char address[WIFI_HDI_STR_MAC_LENGTH +1] = {0}; OnEventServDiscReq() local 787 char address[WIFI_HDI_STR_MAC_LENGTH +1] = {0}; OnEventServDiscResp() local 804 char address[WIFI_HDI_STR_MAC_LENGTH + 1] = {0}; OnEventStaConnectState() local [all...] |