/system/chre/util/nanoapp/ |
D | wifi.cc | 46 if (parseBssidToStr(result.bssid, bssidBuffer, sizeof(bssidBuffer))) { in logChreWifiResult() 90 bool parseBssidToStr(const uint8_t bssid[CHRE_WIFI_BSSID_LEN], char *buffer, in parseBssidToStr() 98 snprintf(buffer, bufferLen, kFormat, bssid[0], bssid[1], bssid[2], bssid[3], in parseBssidToStr() 99 bssid[4], bssid[5]); in parseBssidToStr()
|
/system/chre/apps/wifi_offload/ |
D | utility.cc | 49 bool ParseBssidToStr(const uint8_t bssid[CHRE_WIFI_BSSID_LEN], char *bssid_str, in ParseBssidToStr() 57 std::snprintf(bssid_str, bssid_str_len, kFormat, bssid[0], bssid[1], bssid[2], in ParseBssidToStr() 58 bssid[3], bssid[4], bssid[5]); in ParseBssidToStr() 111 void LogBssid(const uint8_t *bssid) { in LogBssid() argument 114 if (ParseBssidToStr(bssid, bssidBuffer, kBssidStrLen)) { in LogBssid() 125 LogBssid(result.bssid); in LogChreScanResult()
|
D | scan_result.cc | 96 if (fbs_result.bssid() == nullptr || in Deserialize() 97 fbs_result.bssid()->size() != kBssidSize) { in Deserialize() 102 bssid_[i] = fbs_result.bssid()->Get(i); in Deserialize() 152 std::memcpy(bssid_, chre_scan_result.bssid, CHRE_WIFI_BSSID_LEN); in UpdateFromChreWifiScanResult()
|
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/ |
D | ChreCrossValidatorWifi.java | 310 private static byte[] bssidToBytes(String bssid) { in bssidToBytes() argument 315 expectedBssidFormat, bssid), verifyBssid(bssid)); in bssidToBytes() 318 String hexStringNoColon = bssid.replace(":" , ""); in bssidToBytes() 336 private static boolean verifyBssid(String bssid) { in verifyBssid() argument 337 boolean passedVerification = (bssid.length() == NUM_BYTES_IN_SCAN_RESULT_BSSID * 3 - 1); in verifyBssid() 338 for (int i = 0; passedVerification && i < bssid.length(); i += 3) { in verifyBssid() 339 if ((Character.digit(bssid.charAt(i), 16) == -1) in verifyBssid() 340 || (Character.digit(bssid.charAt(i + 1), 16) == -1) in verifyBssid() 341 || ((i + 2 < bssid.length()) && (bssid.charAt(i + 2) != ':'))) { in verifyBssid()
|
/system/connectivity/wificond/tests/ |
D | scan_result_unittest.cpp | 56 array<uint8_t, ETH_ALEN> bssid = kFakeBssid; in TEST_F() local 64 NativeScanResult scan_result(ssid, bssid, ie, kFakeFrequency, in TEST_F() 76 EXPECT_EQ(bssid, scan_result_copy.bssid); in TEST_F()
|
/system/connectivity/wificond/scanning/ |
D | scan_result.cpp | 45 bssid(bssid_), in NativeScanResult() 58 std::vector<uint8_t>(bssid.begin(), bssid.end()))); in writeToParcel() 87 std::copy_n(bssid_vec.begin(), ETH_ALEN, bssid.begin()); in readFromParcel() 124 << ::android::wificond::LoggingUtils::GetMacString(bssid); in DebugLog()
|
D | scan_result.h | 40 std::array<uint8_t, ETH_ALEN>& bssid, 56 std::array<uint8_t, ETH_ALEN> bssid; variable
|
D | scan_utils.cpp | 140 array<uint8_t, ETH_ALEN> bssid; in ParseScanResult() local 141 if (!bss.GetAttributeValue(NL80211_BSS_BSSID, &bssid)) { in ParseScanResult() 187 NativeScanResult(ssid, bssid, ie, freq, signal, in ParseScanResult()
|
/system/chre/apps/test/common/chre_cross_validator_wifi/src/ |
D | wifi_scan_result.cc | 33 wifiScanResultProto.bssid = {.funcs = {.decode = decodeString}, in WifiScanResult() 47 memcpy(mBssid, chreScanResult.bssid, CHRE_WIFI_BSSID_LEN); in WifiScanResult()
|
/system/connectivity/wificond/net/ |
D | mlme_event.cpp | 37 array<uint8_t, ETH_ALEN>* bssid) { in GetCommonFields() argument 43 if (!packet->GetAttributeValue(NL80211_ATTR_MAC, bssid)) { in GetCommonFields()
|
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/ |
D | utility.h | 43 void LogBssid(const uint8_t *bssid);
|
/system/chre/util/include/chre/util/nanoapp/ |
D | wifi.h | 61 bool parseBssidToStr(const uint8_t bssid[CHRE_WIFI_BSSID_LEN], char *buffer,
|
/system/chre/pal/util/tests/ |
D | wifi_scan_cache_test.cc | 156 memcpy(result.bssid, &i, sizeof(i)); in cacheDefaultWifiCacheTest() 182 memcpy(result.bssid, &i, sizeof(i)); in cacheDefaultWifiCacheTest() 338 memcpy(result.bssid, dummyBssid, strlen(dummyBssid)); in TEST_F() 346 memcpy(result.bssid, dummyBssid, strlen(dummyBssid2)); in TEST_F()
|
/system/chre/apps/wifi_offload/test/ |
D | scanresult_test.cc | 31 EXPECT_EQ(0, std::memcmp(chre_scan_result.bssid, nanoapp_scan_result.bssid_, in TEST()
|
/system/chre/chpp/test/ |
D | wifi_convert_test.cpp | 34 EXPECT_EQ(std::memcmp(chppAp.bssid, chreAp.bssid, sizeof(chppAp.bssid)), 0); in validateScanResult() 369 .bssid = {0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}, in TEST() 408 .bssid = {0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}, in TEST() 426 .bssid = {0xab, 0xcd, 0xef, 0x01, 0x23, 0x45}, in TEST()
|
/system/chre/chre_api/legacy/v1_4/chre/ |
D | wifi.h | 433 uint8_t bssid[CHRE_WIFI_BSSID_LEN]; member 895 memcpy(rangingTarget->macAddress, scanResult->bssid, in chreWifiRangingTargetFromScanResult()
|
/system/chre/chre_api/include/chre_api/chre/ |
D | wifi.h | 491 uint8_t bssid[CHRE_WIFI_BSSID_LEN]; member 973 memcpy(rangingTarget->macAddress, scanResult->bssid, in chreWifiRangingTargetFromScanResult()
|
/system/chre/chre_api/legacy/v1_2/chre/ |
D | wifi.h | 433 uint8_t bssid[CHRE_WIFI_BSSID_LEN]; member 881 memcpy(rangingTarget->macAddress, scanResult->bssid, in chreWifiRangingTargetFromScanResult()
|
/system/chre/chre_api/legacy/v1_3/chre/ |
D | wifi.h | 433 uint8_t bssid[CHRE_WIFI_BSSID_LEN]; member 885 memcpy(rangingTarget->macAddress, scanResult->bssid, in chreWifiRangingTargetFromScanResult()
|
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/generated/ |
D | flatbuffers_types_generated.h | 164 const flatbuffers::Vector<uint8_t> *bssid() const { in bssid() function 185 verifier.VerifyVector(bssid()) && in Verify() 204 void add_bssid(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> bssid) { in add_bssid() 205 fbb_.AddOffset(ScanResult::VT_BSSID, bssid); in add_bssid() 235 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> bssid = 0, 243 builder_.add_bssid(bssid); 255 const std::vector<uint8_t> *bssid = nullptr, 260 auto bssid__ = bssid ? _fbb.CreateVector<uint8_t>(*bssid) : 0;
|
/system/chre/chpp/common/ |
D | wifi_convert.c | 86 memcpy(out->bssid, in->bssid, sizeof(out->bssid)); in chppWifiConvertScanResultFromChre() 352 memcpy(out->bssid, in->bssid, sizeof(out->bssid)); in chppWifiConvertScanResultToChre()
|
/system/chre/chre_api/legacy/v1_1/chre/ |
D | wifi.h | 303 uint8_t bssid[CHRE_WIFI_BSSID_LEN]; member
|
/system/chre/pal/util/ |
D | wifi_scan_cache.c | 157 (memcmp(result->bssid, cacheResult->bssid, CHRE_WIFI_BSSID_LEN) == 0) && in isWifiScanResultInCache()
|
/system/chre/chpp/include/chpp/common/ |
D | wifi_types.h | 99 uint8_t bssid[6]; member
|
/system/chre/apps/test/common/proto/ |
D | chre_cross_validation_wifi.proto | 62 optional bytes bssid = 2; field
|