Home
last modified time | relevance | path

Searched refs:tlvList (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/test/
H A Dwifi_p2p_service_response_list_test.cpp165 tlvList.push_back(0x02);
166 tlvList.push_back(0x00);
167 tlvList.push_back(0x00);
168 tlvList.push_back(0x01);
169 tlvList.push_back(0x01);
182 tlvList.push_back(0x03);
183 tlvList.push_back(0x00);
184 tlvList.push_back(0x01);
185 tlvList.push_back(0x00);
186 tlvList.push_back(0x00);
[all …]
H A Dwifi_p2p_service_request_list_test.cpp107 tlvList.push_back(0x02);
108 tlvList.push_back(0x00);
109 tlvList.push_back(0x00);
110 tlvList.push_back(0x01);
117 tlvList.push_back(0x01);
118 tlvList.push_back(0x00);
119 tlvList.push_back(0x00);
120 tlvList.push_back(0x01);
127 tlvList.push_back(0x06);
128 tlvList.push_back(0x00);
[all …]
H A Dp2p_monitor_test.cpp784 info.tlvList = tList;
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dwifi_p2p_service_response_list.cpp146 bool WifiP2pServiceResponseList::ParseTlvs2RespList(const std::vector<unsigned char> &tlvList) in ParseTlvs2RespList() argument
148 if (tlvList.empty()) { in ParseTlvs2RespList()
152 std::size_t leftLength = tlvList.size(); in ParseTlvs2RespList()
156 unsigned short length = tlvList[pos] + (tlvList[pos + 1] << CHAR_BIT); in ParseTlvs2RespList()
158 int type = tlvList[pos + SERVICE_TLV_LENGTH_SIZE]; in ParseTlvs2RespList()
159 unsigned char transId = tlvList[pos + SERVICE_TLV_LENGTH_SIZE + PROTOCOL_SIZE]; in ParseTlvs2RespList()
160 int status = tlvList[pos + SERVICE_TLV_LENGTH_SIZE + PROTOCOL_SIZE + TRANSACTION_ID_SIZE]; in ParseTlvs2RespList()
171 data.push_back(tlvList[pos + i]); in ParseTlvs2RespList()
H A Dwifi_p2p_service_response_list.h149 virtual bool ParseTlvs2RespList(const std::vector<unsigned char> &tlvList);
H A Dp2p_monitor.h405 …t std::string &srcAddress, short updateIndicator, const std::vector<unsigned char> &tlvList) const;
H A Dp2p_monitor.cpp609 reqList.ParseTlvs2ReqList(reqInfo.tlvList); in WpaEventServDiscReq()
614 …const std::string &srcAddress, short updateIndicator, const std::vector<unsigned char> &tlvList) c… in WpaEventServDiscResp()
622 respList.ParseTlvs2RespList(tlvList); in WpaEventServDiscResp()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/idl_client/
H A Dwifi_idl_inner_interface.cpp401 std::vector<unsigned char> tlvList; in OnP2pServiceDiscoveryResponse() local
403 OHOS::Wifi::Char2Vec(tlvs, tlvsLength, tlvList); in OnP2pServiceDiscoveryResponse()
405 cbk.onServiceDiscoveryResponse(srcAddress, updateIndicator, tlvList); in OnP2pServiceDiscoveryResponse()
452 OHOS::Wifi::Char2Vec(info->tlvs, info->tlvsLength, cbInfo.tlvList); in OnP2pServDiscReq()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/
H A Dwifi_hdi_wpa_callback.cpp767 … OHOS::Wifi::Char2Vec(servDiscReqInfoParam->tlvs, servDiscReqInfoParam->tlvsLen, cbInfo.tlvList); in OnEventServDiscReq()
783 std::vector<unsigned char> tlvList; in OnEventServDiscResp() local
785 OHOS::Wifi::Char2Vec(servDiscRespParam->tlvs, servDiscRespParam->tlvsLen, tlvList); in OnEventServDiscResp()
790 cbk.onServiceDiscoveryResponse(address, servDiscRespParam->updateIndicator, tlvList); in OnEventServDiscResp()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/common/
H A Dwifi_native_struct.h217 std::vector<unsigned char> tlvList; member