/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/ |
D | hfp_hf_profile_event_sender.h | 46 void NetworkStateChanged(const std::string &address, int state) const; 54 void NetworkRoamingChanged(const std::string &address, int state) const; 62 void NetworkSignalChanged(const std::string &address, int signal) const; 70 void BatteryLevelChanged(const std::string &address, int level) const; 78 void CurrentOperatorReply(const std::string &address, const std::string &name) const; 86 void CallStateNotify(const std::string &address, int call) const; 94 void CallSetupStateNotify(const std::string &address, int callsetup) const; 102 void CallHeldStateNotify(const std::string &address, int callheld) const; 110 void HoldResultReply(const std::string &address, int respAndHold) const; 118 void Callinglineidentification(const std::string &address, const std::string &number) const; [all …]
|
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 &n… in CurrentOperatorReply() argument 73 event.dev_ = address; in CurrentOperatorReply() [all …]
|
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 = device.GetAddress(); in DisconnectSco() local [all …]
|
D | hfp_hf_gap_client.cpp | 22 int HfpHfGapClient::RegisterServiceSecurity(const BtAddr &address, uint8_t scn) in RegisterServiceSecurity() argument 30 int ret = GAPIF_RegisterServiceSecurity(&address, in RegisterServiceSecurity() 37 int HfpHfGapClient::DeregisterServiceSecurity(const BtAddr &address) const in DeregisterServiceSecurity() 39 int ret = GAPIF_DeregisterServiceSecurity(&address, &securityInfo_); in DeregisterServiceSecurity()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/map_mse/ |
D | map_mse_mnscli.cpp | 60 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_service/services/bluetooth/stack/src/btm/ |
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() 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/include/ |
D | bluetooth_host_proxy.h | 67 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/server/include/ |
D | bluetooth_host_server.h | 50 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/communication/bluetooth/frameworks/inner/ipc/interface/ |
D | i_bluetooth_host.h | 90 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/stack/src/smp/ |
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_LE… 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, pEncCmdData->key); in SMP_ResoRpaStep1Failed() 101 … SMP_NotifyCbResoRpa(SMP_RESOLVE_RPA_STATUS_SUCCESS, true, pEncCmdData->address, pEncCmdData->key); in SMP_ResoRpaStep1Success()
|
/foundation/communication/netstack/test/unittest/tlssocket/client/ |
D | TlsSocketUnilateralConnection.cpp | 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())); 184 address.SetFamilyBySaFamily(AF_INET); [all …]
|
D | TlsSocketTest.cpp | 88 Socket::NetAddress address; in SetSocketHwTestShortParam() local 90 address.SetAddress(GetIp(ChangeToFile(IP_ADDRESS))); in SetSocketHwTestShortParam() 91 address.SetPort(std::atoi(ChangeToFile(PORT).c_str())); in SetSocketHwTestShortParam() 92 address.SetFamilyBySaFamily(AF_INET); in SetSocketHwTestShortParam() 99 options.SetNetAddress(address); in SetSocketHwTestShortParam() 102 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetSocketHwTestShortParam() 110 Socket::NetAddress address; in SetSocketHwTestLongParam() local 112 address.SetAddress(GetIp(ChangeToFile(IP_ADDRESS))); in SetSocketHwTestLongParam() 113 address.SetPort(std::atoi(ChangeToFile(PORT).c_str())); in SetSocketHwTestLongParam() 114 address.SetFamilyBySaFamily(AF_INET); in SetSocketHwTestLongParam() [all …]
|
D | TlsSocketCertChainTest.cpp | 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() 115 address.SetFamilyBySaFamily(AF_INET); in SetCertChainHwTestLongParam() [all …]
|
D | TlsSocketCertChainOneWayTest.cpp | 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() 115 address.SetFamilyBySaFamily(AF_INET); in SetCertChainOneWayHwTestLongParam() [all …]
|
D | TlsSocketOneWayTest.cpp | 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() 114 address.SetFamilyBySaFamily(AF_INET); in SetOneWayHwTestLongParam() [all …]
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/ |
D | hfp_ag_service.cpp | 153 std::string address = device.GetAddress(); in Connect() local 154 auto it = stateMachines_.find(address); in Connect() 170 event.dev_ = address; in Connect() 179 std::string address = device.GetAddress(); in Disconnect() local 180 auto it = stateMachines_.find(address); in Disconnect() 191 event.dev_ = address; in Disconnect() 232 std::string address = device.GetAddress(); in GetDeviceState() local 233 auto it = stateMachines_.find(address); in GetDeviceState() 372 bool HfpAgService::DisconnectSingleSco(const std::string &address) in DisconnectSingleSco() argument 375 auto it = stateMachines_.find(address); in DisconnectSingleSco() [all …]
|
D | hfp_ag_service.h | 392 bool DialOutCallByHf(const std::string &address); 408 bool OpenVoiceRecognitionByHf(const std::string &address); 417 bool CloseVoiceRecognitionByHf(const std::string &address); 432 void SetResponseClccTimer(const std::string &address); 448 void SlcStateChanged(const std::string &address, int toState); 458 void ScoStateChanged(const std::string &address, int fromState, int toState); 520 void ResponesOK(const std::string &address); 544 bool DisconnectSingleSco(const std::string &address); 569 bool IsConnected(const std::string &address) const; 585 bool IsActiveDevice(const std::string &address) const; [all …]
|
D | hfp_ag_system_interface.h | 61 void RejectCall(const std::string &address) const; 69 void DialOutCall(const std::string &address, const std::string &number) const; 76 void HangupCall(const std::string &address) const; 83 void AnswerCall(const std::string &address) const; 92 bool SendDtmf(int dtmf, const std::string &address) const; 121 bool QueryCurrentCallsList(const std::string &address); 134 bool StartVoiceRecognition(const std::string &address) const; 142 bool StopVoiceRecogition(const std::string &address) const; 228 void GetResponseHoldState(std::string address); 233 void SetResponseHoldState(std::string address, int btrh); [all …]
|
D | hfp_ag_gap_client.cpp | 22 int HfpAgGapClient::RegisterServiceSecurity(const BtAddr &address, uint8_t scn) in RegisterServiceSecurity() argument 30 int ret = GAPIF_RegisterServiceSecurity(&address, in RegisterServiceSecurity() 37 int HfpAgGapClient::DeregisterServiceSecurity(const BtAddr &address) const in DeregisterServiceSecurity() 39 int ret = GAPIF_DeregisterServiceSecurity(&address, &securityInfo_); in DeregisterServiceSecurity()
|
/foundation/arkui/ace_engine_lite/frameworks/packages/runtime-core/src/__test__/ |
D | index.test.js | 126 address: [] property 131 () => vm.address[0], 139 vm.address.push('BeiJing'); 144 address: ['HangZhou', 'BeiJing'] property 149 () => vm.address[1], 157 vm.address.pop(); 162 address: [] property 167 () => vm.address[0], 175 vm.address.unshift('HangZhou'); 180 address: ['BeiJing', 'HangZhou'] property [all …]
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/config/src/model/ |
D | protocol_config.cpp | 22 SetValue(node[GET_NAME(address)], address); in Marshal() 30 GetValue(node, GET_NAME(address), address); in Unmarshal()
|
/foundation/communication/dsoftbus/core/connection/wifi_direct/utils/ |
D | wifi_direct_ipv4_info.c | 30 int32_t ret = netWorkUtils->ipStringToAddr(ipString, &ipv4->address); in WifiDirectIpStringToIpv4() 42 int32_t ret = netWorkUtils->ipAddrToString(ipv4->address, ipString, ipStringSize); in WifiDirectIpv4ToString() 49 (array)[0] = (uint8_t)(((ipv4Info)->address & 0xff000000) >> 24); \ 50 (array)[1] = (uint8_t)(((ipv4Info)->address & 0x00ff0000) >> 16); \ 51 (array)[2] = (uint8_t)(((ipv4Info)->address & 0x0000ff00) >> 8); \ 52 (array)[3] = (uint8_t)(((ipv4Info)->address & 0x000000ff)); \ 57 (ipv4Info)->address = ((uint32_t)((array)[0]) << 24) | \
|
/foundation/communication/netstack/interfaces/kits/js/ |
D | @ohos.net.socket.d.ts | 61 address: NetAddress; 114 address: string; property 139 bind(address: NetAddress, callback: AsyncCallback<void>): void; 140 bind(address: NetAddress): Promise<void>; 211 address: NetAddress; property 260 bind(address: NetAddress, callback: AsyncCallback<void>): void; 261 bind(address: NetAddress): Promise<void>; 381 bind(address: NetAddress, callback: AsyncCallback<void>): void; 382 bind(address: NetAddress): Promise<void>; 611 address: NetAddress; property
|
/foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
D | bluetooth_host_server.cpp | 314 void OnDeviceAddrChanged(const std::string &address) override in OnDeviceAddrChanged() argument 316 HILOGI("address: %{public}s", GetEncryptAddr(address).c_str()); in OnDeviceAddrChanged() 318 … [address](IBluetoothHostObserver *observer) { observer->OnDeviceAddrChanged(address); }); in OnDeviceAddrChanged() 498 void OnDeviceAddrChanged(const std::string address) override in OnDeviceAddrChanged() argument 500 HILOGI("address: %{public}s", GetEncryptAddr(address).c_str()); in OnDeviceAddrChanged() 502 … [address](IBluetoothHostObserver *observer) { observer->OnDeviceAddrChanged(address); }); in OnDeviceAddrChanged() 867 int32_t BluetoothHostServer::GetDeviceType(int32_t transport, const std::string &address) in GetDeviceType() argument 869 … HILOGI("transport: %{public}d, address: %{public}s", transport, GetEncryptAddr(address).c_str()); in GetDeviceType() 870 RawAddress addr(address); in GetDeviceType() 1265 int32_t BluetoothHostServer::GetPhonebookPermission(const std::string &address) in GetPhonebookPermission() argument [all …]
|
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/ |
D | bluetooth_host_stub.cpp | 513 std::string address; in GetDeviceTypeInner() local 514 if (!data.ReadString(address)) { in GetDeviceTypeInner() 518 int result = GetDeviceType(transport, address); in GetDeviceTypeInner() 546 std::string address; in GetPhonebookPermissionInner() local 547 if (!data.ReadString(address)) { in GetPhonebookPermissionInner() 551 int result = GetPhonebookPermission(address); in GetPhonebookPermissionInner() 577 std::string address; in SetPhonebookPermissionInner() local 578 if (!data.ReadString(address)) { in SetPhonebookPermissionInner() 587 bool result = SetPhonebookPermission(address, permission); in SetPhonebookPermissionInner() 610 std::string address; in GetMessagePermissionInner() local [all …]
|