/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/ |
H A D | wifi_p2p_group_manager.cpp | 111 it->GetOwner().GetDeviceAddress() == group.GetOwner().GetDeviceAddress()) { in UpdateWpaGroup() 150 std::string deviceAddr = device.GetDeviceAddress(); in GetNetworkIdFromClients() 157 std::string clientAddr = client->GetDeviceAddress(); in GetNetworkIdFromClients() 170 std::string deviceMac = device.GetDeviceAddress(); in GetGroupNetworkId() 175 ownerMac = it->GetOwner().GetDeviceAddress(); in GetGroupNetworkId() 185 std::string deviceMac = device.GetDeviceAddress(); in GetGroupNetworkId() 190 ownerMac = it->GetOwner().GetDeviceAddress(); in GetGroupNetworkId() 203 return it->GetOwner().GetDeviceAddress(); in GetGroupOwnerAddr() 269 … group->GetOwner().GetDeviceAddress() == wpaGroup->second.GetOwner().GetDeviceAddress()) { in UpdateGroupsNetwork() 357 owner.GetDeviceAddress(), owner.GetDeviceAddressType()); in RemoveMacAddrPairInfo() [all …]
|
H A D | wifi_p2p_device_manager.cpp | 40 device.GetDeviceName().c_str(), device.GetDeviceAddress().c_str(), in AddDevice() 44 __func__, device.GetDeviceName().c_str(), device.GetDeviceAddress().c_str()); in AddDevice() 46 device.GetDeviceAddress(), ""); in AddDevice() 56 if (it->GetDeviceAddress() == deviceAddress) { in RemoveDevice() 67 return RemoveDevice(device.GetDeviceAddress()); in RemoveDevice() 106 device.GetDeviceAddress(), ""); in UpdateDevice() 136 device.GetDeviceAddress(), ""); in UpdateDeviceSupplicantInf() 151 if (it->GetDeviceAddress() == deviceAddress) { in UpdateDeviceGroupCap() 178 if (it->GetDeviceAddress() == deviceAddress) { in UpdateDeviceStatus() 213 if (it->GetDeviceAddress() == deviceAddress) { in UpdateGroupAddress() [all …]
|
H A D | wifi_p2p_service_manager.cpp | 63 iter->GetDeviceAddress() == p2pSvrInfo.GetDeviceAddress()) { in AddLocalService() 78 iter->GetDeviceAddress() == p2pSvrInfo.GetDeviceAddress()) { in RemoveLocalService() 101 auto iter = serviceRespons.find(device.GetDeviceAddress()); in AddDeviceResponses() 123 service.SetDeviceAddress(dev.GetDeviceAddress()); in AddDeviceService() 133 auto iter = deviceService.find(dev.GetDeviceAddress()); in AddDeviceService() 138 … std::pair<std::string, std::vector<WifiP2pServiceInfo>>(dev.GetDeviceAddress(), services)); in AddDeviceService() 178 buf.SetDeviceAddress(svrInfoIter->GetDeviceAddress()); in GetDeviceServices() 189 auto findIter = serviceRespons.find(p2pSvrRespList.GetDevice().GetDeviceAddress()); in AddServiceResponse() 216 auto findIter = serviceRespons.find(p2pSvrRespList.GetDevice().GetDeviceAddress()); in RemoveServiceResponse() 236 p2pSvrRespList.GetDevice().GetDeviceAddress().c_str()); in RemoveServiceResponse() [all …]
|
H A D | provision_discovery_state.cpp | 99 …f (device.IsValid() && p2pStateMachine.savedP2pConfig.GetDeviceAddress() != device.GetDeviceAddres… in ProcessProvDiscPbcRspEvt() 121 …f (device.IsValid() && p2pStateMachine.savedP2pConfig.GetDeviceAddress() != device.GetDeviceAddres… in ProcessProvDiscEnterPinEvt() 147 … (!device.IsValid() || p2pStateMachine.savedP2pConfig.GetDeviceAddress() != device.GetDeviceAddres… in ProcessProvDiscShowPinEvt() 157 … p2pStateMachine.NotifyUserInvitationSentMessage(provDisc.GetPin(), device.GetDeviceAddress()); in ProcessProvDiscShowPinEvt()
|
H A D | group_formed_state.cpp | 124 p2pStateMachine.savedP2pConfig.SetDeviceAddress(procDisc.GetDevice().GetDeviceAddress()); in ProcessProvDiscEvt() 185 if (info.mac == client.GetDeviceAddress()) { in ProcessCmdRemoveGroupClient() 186 deviceMac = client.GetDeviceAddress(); in ProcessCmdRemoveGroupClient() 190 deviceMac = client.GetDeviceAddress(); in ProcessCmdRemoveGroupClient() 247 IpPool::ReleaseIp(device.GetDeviceAddress()); in ProcessDisconnectEvt() 252 if (WIFI_OPT_SUCCESS != p2pStateMachine.RemoveClientInfo(device.GetDeviceAddress())) { in ProcessDisconnectEvt() 256 p2pStateMachine.curClientList.end(), device.GetDeviceAddress()); in ProcessDisconnectEvt() 260 WIFI_LOGD("curClientList(%s) has been erased", device.GetDeviceAddress().c_str()); in ProcessDisconnectEvt() 287 WifiP2pDevice memberPeer = deviceManager.GetDevices(device.GetDeviceAddress()); in ProcessConnectEvt() 292 …LOGI("ProcessConnectEvt memberPeer:%{private}s %{private}s", memberPeer.GetDeviceAddress().c_str(), in ProcessConnectEvt() [all …]
|
H A D | p2p_idle_state.cpp | 152 p2pStateMachine.savedP2pConfig.GetDeviceAddress(), P2pDeviceStatus::PDS_INVITED); in RetryConnect() 204 p2pStateMachine.savedP2pConfig.GetDeviceAddress(), P2pDeviceStatus::PDS_INVITED); in ProcessCmdConnect() 272 config.SetDeviceAddress(provDisc.GetDevice().GetDeviceAddress()); in ProcessProvDiscShowPinEvt() 275 …StateMachine.NotifyUserProvDiscShowPinRequestMessage(provDisc.GetPin(), config.GetDeviceAddress()); in ProcessProvDiscShowPinEvt() 276 deviceManager.UpdateDeviceStatus(config.GetDeviceAddress(), P2pDeviceStatus::PDS_INVITED); in ProcessProvDiscShowPinEvt() 315 …GetInterface().c_str(), group.GetGroupName().c_str(), group.GetOwner().GetDeviceAddress().c_str()); in ProcessGroupStartedEvt() 334 WifiP2pDevice device = deviceManager.GetDevices(owner.GetDeviceAddress()); in ProcessGroupStartedEvt() 341 … deviceManager.UpdateDeviceStatus(owner.GetDeviceAddress(), P2pDeviceStatus::PDS_CONNECTED); in ProcessGroupStartedEvt() 396 WifiP2PHalInterface::GetInstance().GetP2pPeer(owner.GetDeviceAddress(), device)) { in ProcessInvitationReceivedEvt() 402 const WifiP2pDevice peer = deviceManager.GetDevices(owner.GetDeviceAddress()); in ProcessInvitationReceivedEvt() [all …]
|
H A D | p2p_state_machine.cpp | 344 …if (!savedP2pConfig.GetDeviceAddress().empty() && deviceManager.RemoveDevice(savedP2pConfig.GetDev… in DealGroupCreationFailed() 391 if (iterDeviceList.GetDeviceAddress() == iterClientList) { in AddClientInfo() 393 auto p2pDeviceMac = curDev.GetDeviceAddress(); in AddClientInfo() 548 if (device.GetDeviceAddress() == gcInfo.mac) { in BroadcastP2pGcLeaveGroup() 659 if (config.GetDeviceAddress().empty()) { in IsConfigUnusable() 663 if (!MacAddress::IsValidMac(config.GetDeviceAddress().c_str())) { in IsConfigUnusable() 686 if (config.GetDeviceAddress().empty()) { in IsConfigUsableAsGroup() 774 deviceManager.GetDeviceName(savedP2pConfig.GetDeviceAddress()); in NotifyUserInvitationReceivedMessage() 796 if (config.GetDeviceAddress().empty()) { in P2pConnectByShowingPin() 1190 wpaConfig.bssid = grpBuf.GetOwner().GetDeviceAddress(); in UpdateGroupInfoToWpa() [all …]
|
H A D | group_negotiation_state.cpp | 89 if (p2pStateMachine.CheckIsDisplayDevice(group.GetOwner().GetDeviceAddress())) { in ProcessGroupStartedEvt() 95 … MacAddress::IsValidMac(groupManager.GetCurrentGroup().GetOwner().GetDeviceAddress().c_str())) { in ProcessGroupStartedEvt() 148 WifiP2pDevice device = deviceManager.GetDevices(owner.GetDeviceAddress()); in DoDhcpInGroupStart() 156 device.GetDeviceAddress().c_str(), device.GetRandomDeviceAddress().c_str()); in DoDhcpInGroupStart() 157 … deviceManager.UpdateDeviceStatus(owner.GetDeviceAddress(), P2pDeviceStatus::PDS_CONNECTED); in DoDhcpInGroupStart() 194 … groupManager.RemoveClientFromGroup(networkId, p2pStateMachine.savedP2pConfig.GetDeviceAddress()); in ProcessInvitationResultEvt()
|
H A D | invitation_request_state.cpp | 31 p2pStateMachine.savedP2pConfig.GetDeviceAddress())) { in GoInState() 33 p2pStateMachine.savedP2pConfig.GetDeviceAddress(), P2pDeviceStatus::PDS_INVITED); in GoInState() 60 netId, p2pStateMachine.savedP2pConfig.GetDeviceAddress()); in ExecuteStateMsg()
|
H A D | p2p_enabled_state.cpp | 215 device.GetDeviceAddress().c_str(), device.GetDeviceAddressType()); in ProcessDeviceFoundEvt() 240 device.GetDeviceAddress().c_str(), device.GetDeviceAddressType()); in ProcessDeviceLostEvt() 241 if (deviceManager.RemoveDevice(device.GetDeviceAddress())) { in ProcessDeviceLostEvt() 245 if (p2pStateMachine.serviceManager.DelServicesFormAddress(device.GetDeviceAddress())) { in ProcessDeviceLostEvt() 249 if (p2pStateMachine.serviceManager.RemoveServiceResponse(device.GetDeviceAddress())) { in ProcessDeviceLostEvt() 250 … WIFI_LOGI("device: %{private}s , Delete a response record.", device.GetDeviceAddress().c_str()); in ProcessDeviceLostEvt() 337 WifiP2PHalInterface::GetInstance().GetDeviceAddress(deviceAddr); in P2pConfigInitialization() 432 …WifiP2PHalInterface::GetInstance().ReqServiceDiscovery(device.GetDeviceAddress(), request.GetTlv()… in ProcessCmdDiscServices() 479 …WifiP2PHalInterface::GetInstance().ReqServiceDiscovery(device.GetDeviceAddress(), request.GetTlv()… in ProcessCmdRequestService() 507 const std::string deviceAddress = reqList.GetDevice().GetDeviceAddress(); in ProcessServiceDiscReqEvt() [all …]
|
H A D | wifi_p2p_service_response_list.cpp | 78 if (p2pDevice.GetDeviceAddress() != respList.GetDevice().GetDeviceAddress()) { in MergerAndDeduplicate()
|
H A D | invitation_received_state.cpp | 68 p2pStateMachine.savedP2pConfig.GetDeviceAddress(), P2pDeviceStatus::PDS_INVITED); in ExecuteStateMsg()
|
H A D | p2p_monitor.cpp | 377 if (device.GetDeviceAddress().empty()) { in WpaEventDeviceLost() 391 if (config.GetDeviceAddress().empty()) { in WpaEventGoNegRequest() 442 if (device.GetDeviceAddress().empty()) { in WpaEventInvitationReceived() 455 owner.GetDeviceAddress().c_str(), recvInfo.persistentNetworkId); in WpaEventInvitationReceived() 460 if (owner.GetDeviceAddress().empty()) { in WpaEventInvitationReceived()
|
H A D | authorizing_negotiation_request_state.cpp | 68 p2pStateMachine.savedP2pConfig.GetDeviceAddress(), P2pDeviceStatus::PDS_INVITED); in ExecuteStateMsg()
|
/ohos5.0/foundation/communication/wifi/wifi/frameworks/native/src/ |
H A D | wifi_p2p_msg.cpp | 111 const std::string &WifiP2pDevice::GetDeviceAddress() const in GetDeviceAddress() function in OHOS::Wifi::WifiP2pDevice 276 return mDeviceAddress == cmp.GetDeviceAddress(); in operator ==() 444 if (it->GetDeviceAddress() == clientDevice.GetDeviceAddress()) { in AddPersistentDevice() 467 if (it->GetDeviceAddress() == clientDevice.GetDeviceAddress()) { in RemovePersistentDevice() 491 if (it->GetDeviceAddress() == clientDevice.GetDeviceAddress()) { in IsContainsPersistentDevice() 594 const std::string &WifiP2pConfig::GetDeviceAddress() const in GetDeviceAddress() function in OHOS::Wifi::WifiP2pConfig 844 const std::string &WifiP2pServiceInfo::GetDeviceAddress() const in GetDeviceAddress() function in OHOS::Wifi::WifiP2pServiceInfo 871 return cmp.GetServiceName() == serviceName && cmp.GetDeviceAddress() == mDeviceAddress && in operator ==()
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p_sa/ |
H A D | wifi_p2p_service_impl.cpp | 439 if (CheckMacIsValid(config.GetDeviceAddress()) != 0) { in CreateGroup() 540 config.GetDeviceAddress().c_str(), config.GetDeviceAddressType(), in P2pConnect() 560 if (CheckMacIsValid(config.GetDeviceAddress()) != 0) { in P2pConnect() 577 if (MacAddress::IsValidMac(config.GetDeviceAddress())) { in P2pConnect() 584 macAddrInfo.bssid = config.GetDeviceAddress(); in P2pConnect() 705 ownMacAddrInfo.bssid = owner.GetDeviceAddress(); in GetCurrentGroup() 718 clientMacAddrInfo.bssid = iter->GetDeviceAddress(); in GetCurrentGroup() 835 macAddrInfo.bssid = iter->GetDeviceAddress(); in QueryP2pDevices() 845 __func__, iter->GetDeviceAddress().c_str(), iter->GetDeviceAddressType()); in QueryP2pDevices() 934 ownMacAddrInfo.bssid = owner.GetDeviceAddress(); in QueryP2pGroups() [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/ |
H A D | wifi_mock_p2p_service.cpp | 124 LOGI("device.GetDeviceAddress() = %s", device.GetDeviceAddress().c_str()); in RequestService() 145 LOGI("srvInfo.GetDeviceAddress() = %s", srvInfo.GetDeviceAddress().c_str()); in PutLocalP2pService() 157 LOGI("srvInfo.GetDeviceAddress() = %s", srvInfo.GetDeviceAddress().c_str()); in DeleteLocalP2pService() 180 LOGI("config.GetDeviceAddress() = %s\n", config.GetDeviceAddress().c_str()); in CreateGroup() 207 LOGI("group.GetOwner().GetDeviceAddress() = %s\n", group.GetOwner().GetDeviceAddress().c_str()); in DeleteGroup() 235 LOGI("config.GetDeviceAddress() = %s\n", config.GetDeviceAddress().c_str()); in P2pConnect()
|
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/ |
H A D | bluetooth_opp_transfer_information.cpp | 27 SetDeviceAddress(other.GetDeviceAddress()); in BluetoothIOppTransferInformation() 52 if (!parcel.WriteString(GetDeviceAddress())) { in WriteToParcel()
|
/ohos5.0/foundation/communication/bluetooth_service/test/unittest/opp/ |
H A D | opp_test.cpp | 104 (information.GetDeviceAddress() != transferInformation.GetDeviceAddress()) || in CompareTransferInformation()
|
/ohos5.0/foundation/communication/wifi/wifi/interfaces/inner_api/ |
H A D | wifi_p2p_msg.h | 202 const std::string &GetDeviceAddress() const; 364 : mDeviceAddress(config.GetDeviceAddress()), in WifiP2pConfig() 375 const std::string &GetDeviceAddress() const; 531 const std::string &GetDeviceAddress() const;
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/ohaudio/ |
H A D | OHAudioDeviceDescriptor.h | 39 OH_AudioCommon_Result GetDeviceAddress(char **address);
|
H A D | OHAudioDeviceDescriptor.cpp | 76 return deviceDescriptor->GetDeviceAddress(address); in OH_AudioDeviceDescriptor_GetDeviceAddress() 191 OH_AudioCommon_Result OHAudioDeviceDescriptor::GetDeviceAddress(char **address) in GetDeviceAddress() function in OHOS::AudioStandard::OHAudioDeviceDescriptor
|
/ohos5.0/drivers/peripheral/bluetooth/hci/hdi_service/implement/ |
H A D | bluetooth_address.h | 32 …static std::shared_ptr<BluetoothAddress> GetDeviceAddress(const std::string &path = BT_DEVICE_ADDR…
|
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/common/ |
H A D | opp_transfer_information.h | 40 std::string GetDeviceAddress() const;
|
H A D | opp_transfer_information.cpp | 71 std::string IOppTransferInformation::GetDeviceAddress() const in GetDeviceAddress() function in OHOS::bluetooth::IOppTransferInformation
|