/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
|
D | chre_scan_params_safe.cc | 46 utility::LogSsid(chre_scan_params_.ssidList[i].ssid, in Log()
|
D | Android.bp | 34 "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/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()
|
D | scanner_impl.cpp | 446 for (auto& ssid : ssid_list) { in LogSsidList() local 447 ssid_list_string += string(ssid.begin(), ssid.end()); in LogSsidList() 448 if (&ssid != &ssid_list.back()) { in LogSsidList()
|
/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/ |
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 | 134 static bool keystore_selinux_check_access(uid_t uid, perm_t perm, pid_t spid, const char* ssid) { in keystore_selinux_check_access() argument 144 if (ssid == nullptr && getpidcon(spid, &sctx) != 0) { in keystore_selinux_check_access() 149 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
|