Home
last modified time | relevance | path

Searched refs:elems (Results 1 - 16 of 16) sorted by relevance

/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_util.c476 struct HdiElems *elems, in HdiParseExtensionInfo()
496 elems->assocDelayInfo = pos; in HdiParseExtensionInfo()
502 elems->filsReqParams = pos; in HdiParseExtensionInfo()
503 elems->filsReqParamsLen = elen; in HdiParseExtensionInfo()
506 elems->filsKeyConfirm = pos; in HdiParseExtensionInfo()
507 elems->filsKeyConfirmLen = elen; in HdiParseExtensionInfo()
513 elems->filsSession = pos; in HdiParseExtensionInfo()
519 elems->filsHlp = pos; in HdiParseExtensionInfo()
520 elems->filsHlpLen = elen; in HdiParseExtensionInfo()
526 elems in HdiParseExtensionInfo()
475 HdiParseExtensionInfo(const uint8_t *pos, size_t elen, struct HdiElems *elems, int show_errors) HdiParseExtensionInfo() argument
586 HdiParseVendorSpec(const uint8_t *pos, size_t elen, struct HdiElems *elems, int show_errors) HdiParseVendorSpec() argument
784 Get80211ElemsFromIE(const uint8_t *start, size_t len, struct HdiElems *elems, int show) Get80211ElemsFromIE() argument
1036 GetScanResultText(const struct WifiScanResultExt *scanResult, struct HdiElems *elems, char* buf, int bufLen) GetScanResultText() argument
[all...]
H A Dwifi_hdi_util.h27 int Get80211ElemsFromIE(const uint8_t *start, size_t len, struct HdiElems *elems,
31 struct HdiElems *elems, char* buff, int buffLen);
H A Dwifi_hdi_common.h119 char* HdiGetWifiCategoryTxt(char *pos, char* end, const struct HdiElems *elems);
H A Dwifi_hdi_common.c780 char* HdiGetWifiCategoryTxt(char *pos, char* end, const struct HdiElems *elems) in HdiGetWifiCategoryTxt() argument
783 if (elems->ehtCapabilities80211Be != NULL) { in HdiGetWifiCategoryTxt()
785 } else if (elems->heCapabilities != NULL) { in HdiGetWifiCategoryTxt()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/
H A Dip_qos_monitor_test.cpp40 void OnTcpReportMsgCompleteTest(const std::vector<int64_t> &elems, const int32_t cmd, const int32_t mInstId) in OnTcpReportMsgCompleteTest() argument
65 std::vector<int64_t> elems = {1, 2, 3}; in HWTEST_F() local
67 IpQosMonitor::GetInstance().HandleTcpReportMsgComplete(elems, cmd); in HWTEST_F()
72 std::vector<int64_t> elems = {1, 2, 3}; in HWTEST_F() local
74 IpQosMonitor::GetInstance().ParseTcpReportMsg(elems, cmd); in HWTEST_F()
77 IpQosMonitor::GetInstance().ParseTcpReportMsg(elems, cmd); in HWTEST_F()
79 elems = {}; in HWTEST_F()
80 IpQosMonitor::GetInstance().ParseTcpReportMsg(elems, cmd); in HWTEST_F()
85 std::vector<int64_t> elems = {1, 2, 3}; in HWTEST_F() local
86 IpQosMonitor::GetInstance().HandleTcpPktsResp(elems); in HWTEST_F()
104 std::vector<int64_t> elems = {1, 2, 3}; HWTEST_F() local
[all...]
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_util_test.cpp36 struct HdiElems *elems = nullptr; in HWTEST_F() local
39 int result = Get80211ElemsFromIE(start, len, elems, show); in HWTEST_F()
41 result = Get80211ElemsFromIE(0, len, elems, show); in HWTEST_F()
52 struct HdiElems elems; in HWTEST_F() local
53 int ret = Get80211ElemsFromIE((const uint8_t*)&elem, sizeof(elem), &elems, 1); in HWTEST_F()
55 EXPECT_EQ(elems.ssidLen, 5); in HWTEST_F()
56 EXPECT_EQ(elems.ratesLen, 5); in HWTEST_F()
377 extern "C" int HdiParseExtensionInfo(const uint8_t *pos, size_t elen, struct HdiElems *elems, int show_errors);
380 struct HdiElems elems; in HWTEST_F() local
384 int ret = HdiParseExtensionInfo(pos, elen, &elems, sho in HWTEST_F()
394 struct HdiElems elems; HWTEST_F() local
409 struct HdiElems elems; HWTEST_F() local
424 struct HdiElems elems; HWTEST_F() local
435 struct HdiElems elems; HWTEST_F() local
450 struct HdiElems elems; HWTEST_F() local
465 struct HdiElems elems; HWTEST_F() local
476 struct HdiElems elems; HWTEST_F() local
491 struct HdiElems elems; HWTEST_F() local
502 struct HdiElems elems; HWTEST_F() local
517 struct HdiElems elems; HWTEST_F() local
532 struct HdiElems elems; HWTEST_F() local
547 struct HdiElems elems; HWTEST_F() local
558 struct HdiElems elems; HWTEST_F() local
573 struct HdiElems elems; HWTEST_F() local
584 struct HdiElems elems; HWTEST_F() local
637 struct HdiElems elems; HWTEST_F() local
651 struct HdiElems elems; HWTEST_F() local
689 struct HdiElems elems; HWTEST_F() local
724 struct HdiElems elems; HWTEST_F() local
744 struct HdiElems elems; HWTEST_F() local
764 struct HdiElems elems; HWTEST_F() local
[all...]
H A Dwifi_hdi_common_test.cpp91 struct HdiElems elems = {0}; in HWTEST_F() local
92 elems.ehtCapabilities80211Be = reinterpret_cast<const uint8_t *>("11be"); in HWTEST_F()
93 HdiGetWifiCategoryTxt(pos, end, &elems); in HWTEST_F()
102 struct HdiElems elems = {0}; in HWTEST_F() local
103 elems.heCapabilities = reinterpret_cast<const uint8_t *>("11ax"); in HWTEST_F()
104 HdiGetWifiCategoryTxt(pos, end, &elems); in HWTEST_F()
113 struct HdiElems elems = {0}; in HWTEST_F() local
114 HdiGetWifiCategoryTxt(pos, end, &elems); in HWTEST_F()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_self_cure/
H A Dip_qos_monitor.cpp50 void IpQosMonitor::HandleTcpReportMsgComplete(const std::vector<int64_t> &elems, int32_t cmd) in HandleTcpReportMsgComplete() argument
53 ParseTcpReportMsg(elems, cmd); in HandleTcpReportMsgComplete()
56 void IpQosMonitor::ParseTcpReportMsg(const std::vector<int64_t> &elems, int32_t cmd) in ParseTcpReportMsg() argument
58 if (elems.size() == 0) { in ParseTcpReportMsg()
59 WIFI_LOGE("TcpReportMsg elems size is 0"); in ParseTcpReportMsg()
63 HandleTcpPktsResp(elems); in ParseTcpReportMsg()
67 void IpQosMonitor::HandleTcpPktsResp(const std::vector<int64_t> &elems) in HandleTcpPktsResp() argument
70 bool internetGood = ParseNetworkInternetGood(elems); in HandleTcpPktsResp()
119 bool IpQosMonitor::ParseNetworkInternetGood(const std::vector<int64_t> &elems) in ParseNetworkInternetGood() argument
122 bool queryResp = (elems[QOS_MSG_FRO in ParseNetworkInternetGood()
[all...]
H A Dip_qos_monitor.h30 void HandleTcpReportMsgComplete(const std::vector<int64_t> &elems, int32_t cmd);
31 void ParseTcpReportMsg(const std::vector<int64_t> &elems, int32_t cmd);
32 void HandleTcpPktsResp(const std::vector<int64_t> &elems);
33 bool ParseNetworkInternetGood(const std::vector<int64_t> &elems);
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_netlink.cpp188 std::vector<int64_t> elems(NEW_INT_ARR_LENGTH, 0); in ProcessReportMsg()
189 elems[QOS_RTT] = info.qos.rtt; in ProcessReportMsg()
190 elems[QOS_RTT_PKTS] = info.qos.rttPkts; in ProcessReportMsg()
191 elems[QOS_RTT_WHEN] = info.qos.rttWhen; in ProcessReportMsg()
192 elems[QOS_CONGESTION] = info.qos.congestion; in ProcessReportMsg()
193 elems[QOS_CONG_WHEN] = info.qos.congWhen; in ProcessReportMsg()
194 elems[QOS_TCP_QUALITY] = info.qos.tcpQuality; in ProcessReportMsg()
195 elems[QOS_TCP_TX_PKTS] = info.qos.tcpTxPkts; in ProcessReportMsg()
196 elems[QOS_TCP_RX_PKTS] = info.qos.tcpRxPkts; in ProcessReportMsg()
197 elems[QOS_TCP_RETRANS_PKT in ProcessReportMsg()
[all...]
H A Dwifi_netlink.h26 std::function<void(const std::vector<int64_t> &elems, const int32_t cmd, const int32_t mInstId)>
/foundation/window/window_manager/window_scene/common/include/
H A Dfold_screen_state_internel.h80 std::vector<std::string> elems; in StringSplit() local
83 elems.push_back(str.substr(previous, current - previous)); in StringSplit()
89 elems.push_back(str.substr(previous)); in StringSplit()
91 return elems; in StringSplit()
98 std::vector<std::string> elems = StringSplit(PHY_ROTATION_OFFSET, ';'); in GetPhyRotationOffset() local
99 for (auto& num : elems) { in GetPhyRotationOffset()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sub_manage/
H A Dwifi_common_service_manager.cpp81 mWifiNetLinkCallbacks.OnTcpReportMsgComplete = [this](const std::vector<int64_t> &elems, const int32_t cmd, in Init()
82 const int32_t mInstId) { this->OnTcpReportMsgComplete(elems, cmd, mInstId); }; in Init()
128 void WifiCommonServiceManager::OnTcpReportMsgComplete(const std::vector<int64_t> &elems, const int32_t cmd, in OnTcpReportMsgComplete() argument
132 IpQosMonitor::GetInstance().HandleTcpReportMsgComplete(elems, cmd); in OnTcpReportMsgComplete()
H A Dwifi_common_service_manager.h68 void OnTcpReportMsgComplete(const std::vector<int64_t> &elems, const int32_t cmd, const int32_t mInstId = 0);
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/wifi_hal_interface/
H A Dwifi_sta_hal_interface.cpp324 struct HdiElems elems = {0}; in ParseScanInfo() local
325 Get80211ElemsFromIE(scanResult.ie.data(), scanResult.ie.size(), &elems, 1); in ParseScanInfo()
330 buffLen = GetScanResultText(&wifiScanResultExt, &elems, buff, buffLen); in ParseScanInfo()
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dpac_map_test.cpp54 std::vector<std::string> elems; variable

Completed in 12 milliseconds