/system/chre/apps/wifi_offload/ |
D | utility.cc | 32 bool ParseSsidToStr(const uint8_t *ssid, size_t ssid_len, char *ssid_str, in ParseSsidToStr() argument 39 if (!std::isgraph(ssid[i]) && ssid[i] != ' ') { in ParseSsidToStr() 44 std::memcpy(ssid_str, ssid, ssid_len); in ParseSsidToStr() 91 void LogSsid(const uint8_t *ssid, uint8_t ssid_len) { in LogSsid() argument 97 } else if (ParseSsidToStr(ssid, ssid_len, ssid_buffer, kMaxSsidStrLen)) { in LogSsid() 103 buf_ptr += std::sprintf(buf_ptr, "%02" PRIx8 ":", ssid[i]); in LogSsid() 122 LogSsid(result.ssid, result.ssidLen); in LogChreScanResult()
|
D | scan_params.cc | 76 for (const auto &ssid : ssids_to_scan_) { in Log() local 77 ssid.Log(); in Log()
|
D | ssid.cc | 50 const auto &ssid_vec = fbs_ssid.ssid(); in Deserialize() 75 std::memcpy(chre_ssid->ssid, ssid_vec_.data(), ssid_vec_.size()); in ToChreWifiSsidListItem()
|
D | scan_result.cc | 85 if (fbs_result.ssid() == nullptr || !ssid_.Deserialize(*fbs_result.ssid())) { in Deserialize() 141 ssid_.SetData(chre_scan_result.ssid, chre_scan_result.ssidLen); in UpdateFromChreWifiScanResult()
|
D | preferred_network.cc | 38 const auto &fbs_ssid = fbs_network.ssid(); in Deserialize()
|
/system/chre/apps/wifi_offload/test/ |
D | scanresult_test.cc | 27 wifi_offload::Ssid ssid; in TEST() local 28 ssid.SetData(chre_scan_result.ssid, chre_scan_result.ssidLen); in TEST() 29 ASSERT_EQ(ssid, nanoapp_scan_result.ssid_); in TEST()
|
D | chrescanparamssafe_test.cc | 44 std::memcmp(ssid_item.ssid, chre_scan_params->ssidList[i].ssid, in ConstructChreScanParamsSafeAndCompareWithOrigScanParams()
|
D | utility.cc | 70 void init(wifi_offload::Ssid &ssid, RandomGenerator &rand_gen) { in init() argument 74 ssid.SetData(rand_ssid, len); in init() 151 init(result.ssid, result.ssidLen, rand_gen); in init()
|
/system/chre/util/nanoapp/ |
D | wifi.cc | 37 } else if (parseSsidToStr(ssidBuffer, sizeof(ssidBuffer), result.ssid, in logChreWifiResult() 65 bool parseSsidToStr(char *buffer, size_t bufferLen, const uint8_t *ssid, in parseSsidToStr() argument 74 if (!isgraph(ssid[i]) && ssid[i] != ' ') { in parseSsidToStr() 83 memcpy(buffer, ssid, ssidLen + 1); in parseSsidToStr()
|
/system/connectivity/wificond/scanning/ |
D | scan_result.cpp | 44 : ssid(ssid_), in NativeScanResult() 56 RETURN_IF_FAILED(parcel->writeByteVector(ssid)); in writeToParcel() 78 RETURN_IF_FAILED(parcel->readByteVector(&ssid)); in readFromParcel() 120 string ssid_str(ssid.data(), ssid.data() + ssid.size()); in DebugLog()
|
D | scan_result.h | 39 NativeScanResult(std::vector<uint8_t>& ssid, 54 std::vector<uint8_t> ssid; variable
|
D | scan_utils.cpp | 155 vector<uint8_t> ssid; in ParseScanResult() local 156 if (!GetSSIDFromInfoElement(ie, &ssid)) { in ParseScanResult() 187 NativeScanResult(ssid, bssid, ie, freq, signal, in ParseScanResult() 248 vector<uint8_t>* ssid) { in GetSSIDFromInfoElement() argument 267 *ssid = vector<uint8_t>(); in GetSSIDFromInfoElement() 269 *ssid = vector<uint8_t>(ptr + 2, ptr + length + 2); in GetSSIDFromInfoElement()
|
/system/connectivity/wificond/tests/ |
D | scan_result_unittest.cpp | 55 std::vector<uint8_t> ssid(kFakeSsid, kFakeSsid + sizeof(kFakeSsid)); in TEST_F() local 64 NativeScanResult scan_result(ssid, bssid, ie, kFakeFrequency, in TEST_F() 75 EXPECT_EQ(ssid, scan_result_copy.ssid); in TEST_F()
|
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/generated/ |
D | flatbuffers_types_generated.h | 47 const flatbuffers::Vector<uint8_t> *ssid() const { in ssid() function 53 verifier.VerifyVector(ssid()) && in Verify() 62 void add_ssid(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> ssid) { in add_ssid() 63 fbb_.AddOffset(Ssid::VT_SSID, ssid); in add_ssid() 79 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> ssid = 0) { 81 builder_.add_ssid(ssid); 87 const std::vector<uint8_t> *ssid = nullptr) { 88 auto ssid__ = ssid ? _fbb.CreateVector<uint8_t>(*ssid) : 0; 100 const wifi_offload::fbs::Ssid *ssid() const { in ssid() function 109 verifier.VerifyTable(ssid()) && in Verify() [all …]
|
D | flatbuffers_types.fbs | 21 ssid:[ubyte]; 29 ssid:Ssid; 39 ssid:Ssid;
|
/system/chre/chpp/test/ |
D | wifi_convert_test.cpp | 33 EXPECT_EQ(std::memcmp(chppAp.ssid, chreAp.ssid, sizeof(chppAp.ssid)), 0); in validateScanResult() 222 EXPECT_EQ(std::memcmp(chppSsidList[i].ssid, chreParams.ssidList[i].ssid, in validateScanParams() 223 sizeof(chppSsidList[i].ssid)), in validateScanParams() 226 EXPECT_EQ(std::memcmp(chppSsidList[i].ssid, backParams->ssidList[i].ssid, in validateScanParams() 227 sizeof(chppSsidList[i].ssid)), in validateScanParams() 504 .ssid = {'a', 'b', 'c', 'd',}, in TEST() 543 .ssid = {'a', 'b', 'c', 'd',}, in TEST() 561 .ssid = {'h', 'i',}, in TEST() 624 {.ssidLen = 4, .ssid = {0xde, 0xad, 0xbe, 0xef}}, in TEST() 625 {.ssidLen = 2, .ssid = {':', ')'}} in TEST() [all …]
|
/system/chre/apps/test/common/chre_cross_validator_wifi/src/ |
D | wifi_scan_result.cc | 29 wifiScanResultProto.ssid = {.funcs = {.decode = decodeString}, .arg = mSsid}; in WifiScanResult() 43 memcpy(mSsid, chreScanResult.ssid, chreScanResult.ssidLen); in WifiScanResult()
|
/system/chre/chre_api/legacy/v1_1/chre/ |
D | wifi.h | 238 uint8_t ssid[CHRE_WIFI_SSID_MAX_LEN]; member 299 uint8_t ssid[CHRE_WIFI_SSID_MAX_LEN]; member
|
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/ |
D | utility.h | 41 void LogSsid(const uint8_t *ssid, uint8_t ssid_len);
|
/system/chre/util/include/chre/util/nanoapp/ |
D | wifi.h | 50 bool parseSsidToStr(char *buffer, size_t bufferLen, const uint8_t *ssid,
|
/system/chre/chpp/common/ |
D | wifi_convert.c | 109 memcpy(out->ssid, in->ssid, sizeof(out->ssid)); in chppWifiConvertScanResultFromChre() 173 memcpy(out->ssid, in->ssid, sizeof(out->ssid)); in chppWifiConvertSsidListItemFromChre() 556 memcpy(out->ssid, in->ssid, sizeof(out->ssid)); in chppWifiConvertScanResultToChre() 642 memcpy(out->ssid, in->ssid, sizeof(out->ssid)); in chppWifiConvertSsidListItemToChre()
|
/system/chre/chre_api/legacy/v1_3/chre/ |
D | wifi.h | 361 uint8_t ssid[CHRE_WIFI_SSID_MAX_LEN]; member 429 uint8_t ssid[CHRE_WIFI_SSID_MAX_LEN]; member
|
/system/chre/chre_api/legacy/v1_2/chre/ |
D | wifi.h | 361 uint8_t ssid[CHRE_WIFI_SSID_MAX_LEN]; member 429 uint8_t ssid[CHRE_WIFI_SSID_MAX_LEN]; member
|
/system/chre/chre_api/legacy/v1_4/chre/ |
D | wifi.h | 361 uint8_t ssid[CHRE_WIFI_SSID_MAX_LEN]; member 429 uint8_t ssid[CHRE_WIFI_SSID_MAX_LEN]; member
|
/system/chre/chre_api/legacy/v1_5/chre/ |
D | wifi.h | 398 uint8_t ssid[CHRE_WIFI_SSID_MAX_LEN]; member 487 uint8_t ssid[CHRE_WIFI_SSID_MAX_LEN]; member
|