/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()
|
D | wifi_offload.mk | 29 COMMON_SRCS += $(WIFI_OFFLOAD_TYPES_PREFIX)/ssid.cc
|
/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/connectivity/wificond/scanning/offload/ |
D | offload_scan_utils.cpp | 43 single_scan_result.ssid.assign(scan_result[i].networkInfo.ssid.begin(), in convertToNativeScanResults() 44 scan_result[i].networkInfo.ssid.end()); in convertToNativeScanResults() 65 for (const auto& ssid : ssid_list) { in createScanParam() local 66 ssid_list_tmp.push_back(ssid); in createScanParam() 80 for (const auto& ssid : ssids) { in createScanFilter() local 82 nw_info.ssid = ssid; in createScanFilter()
|
/system/chre/util/nanoapp/ |
D | wifi.cc | 27 const uint8_t *ssid, uint8_t ssidLen) { in parseSsidToStr() argument 35 if (!isgraph(ssid[i]) && ssid[i] != ' ') { in parseSsidToStr() 44 memcpy(buffer, ssid, ssidLen + 1); in parseSsidToStr()
|
/system/connectivity/wificond/scanning/ |
D | scan_result.cpp | 45 : ssid(ssid_), in NativeScanResult() 57 RETURN_IF_FAILED(parcel->writeByteVector(ssid)); in writeToParcel() 79 RETURN_IF_FAILED(parcel->readByteVector(&ssid)); in readFromParcel() 121 string ssid_str(ssid.data(), ssid.data() + ssid.size()); in DebugLog()
|
D | scan_result.h | 40 NativeScanResult(std::vector<uint8_t>& ssid, 55 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 | offload_scan_utils_test.cpp | 61 EXPECT_EQ(native_scan_results[i].ssid.size(), in TEST_F() 62 dummy_scan_results_[i].networkInfo.ssid.size()); in TEST_F() 98 vector<uint8_t> ssid = nwInfo.ssid; in TEST_F() local 101 for (size_t j = 0; j < ssid.size(); j++) { in TEST_F() 102 EXPECT_EQ(ssid[j], match_ssid[j]); in TEST_F()
|
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()
|
D | offload_test_utils.cpp | 39 std::vector<uint8_t> ssid(kSsid1, kSsid1 + kSsid1_size); in createOffloadScanResults() local 45 scanResult.networkInfo.ssid = ssid; in createOffloadScanResults()
|
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/ |
D | flatbuffers_types_generated.h | 49 const flatbuffers::Vector<uint8_t> *ssid() const { in ssid() function 55 verifier.Verify(ssid()) && verifier.EndTable(); 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() 78 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> ssid = 0) { 80 builder_.add_ssid(ssid); 86 const std::vector<uint8_t> *ssid = nullptr) { 88 _fbb, ssid ? _fbb.CreateVector<uint8_t>(*ssid) : 0); 93 const Ssid *ssid() const { return GetPointer<const Ssid *>(VT_SSID); } in ssid() function 100 verifier.VerifyTable(ssid()) && in Verify() [all …]
|
D | utility.h | 41 void LogSsid(const uint8_t *ssid, uint8_t ssid_len);
|
D | flatbuffers_types.fbs | 21 ssid:[ubyte]; 29 ssid:Ssid; 39 ssid:Ssid;
|
/system/security/keystore/ |
D | permissions.cpp | 136 static bool keystore_selinux_check_access(uid_t uid, perm_t perm, pid_t spid, const char* ssid) { in keystore_selinux_check_access() argument 146 if (ssid == nullptr && getpidcon(spid, &sctx) != 0) { in keystore_selinux_check_access() 151 const char* use_sid = ssid ? ssid : sctx; in keystore_selinux_check_access()
|
/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/util/include/chre/util/nanoapp/ |
D | wifi.h | 41 const uint8_t *ssid, uint8_t ssidLen);
|
/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/include/chre_api/chre/ |
D | wifi.h | 361 uint8_t ssid[CHRE_WIFI_SSID_MAX_LEN]; member 429 uint8_t ssid[CHRE_WIFI_SSID_MAX_LEN]; member
|