/system/chre/util/nanoapp/ |
D | wifi.cc | 52 if (parseBssidToStr(result.bssid, bssidBuffer, sizeof(bssidBuffer))) { in logChreWifiResult() 96 bool parseBssidToStr(const uint8_t bssid[CHRE_WIFI_BSSID_LEN], char *buffer, in parseBssidToStr() 104 snprintf(buffer, bufferLen, kFormat, bssid[0], bssid[1], bssid[2], bssid[3], in parseBssidToStr() 105 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 | 321 private static byte[] bssidToBytes(String bssid) { in bssidToBytes() argument 326 expectedBssidFormat, bssid), verifyBssid(bssid)); in bssidToBytes() 329 String hexStringNoColon = bssid.replace(":" , ""); in bssidToBytes() 347 private static boolean verifyBssid(String bssid) { in verifyBssid() argument 348 boolean passedVerification = (bssid.length() == NUM_BYTES_IN_SCAN_RESULT_BSSID * 3 - 1); in verifyBssid() 349 for (int i = 0; passedVerification && i < bssid.length(); i += 3) { in verifyBssid() 350 if ((Character.digit(bssid.charAt(i), 16) == -1) in verifyBssid() 351 || (Character.digit(bssid.charAt(i + 1), 16) == -1) in verifyBssid() 352 || ((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
|
/system/chre/apps/test/common/chre_cross_validator_wifi/src/ |
D | wifi_scan_result.cc | 30 wifiScanResultProto.bssid = {.funcs = {.decode = decodeString}, in WifiScanResult() 44 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/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(result2.bssid, dummyBssid2, strlen(dummyBssid2)); in TEST_F()
|
/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/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/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_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/legacy/v1_5/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_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/test/ |
D | wifi_convert_test.cpp | 34 EXPECT_EQ(std::memcmp(chppAp.bssid, chreAp.bssid, sizeof(chppAp.bssid)), 0); in validateScanResult() 505 .bssid = {0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}, in TEST() 544 .bssid = {0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}, in TEST() 562 .bssid = {0xab, 0xcd, 0xef, 0x01, 0x23, 0x45}, in TEST()
|
/system/chre/chre_api/legacy/v1_8/chre/ |
D | wifi.h | 561 uint8_t bssid[CHRE_WIFI_BSSID_LEN]; member 1194 memcpy(rangingTarget->macAddress, scanResult->bssid, in chreWifiRangingTargetFromScanResult()
|
/system/chre/chre_api/legacy/v1_6/chre/ |
D | wifi.h | 561 uint8_t bssid[CHRE_WIFI_BSSID_LEN]; member 1194 memcpy(rangingTarget->macAddress, scanResult->bssid, in chreWifiRangingTargetFromScanResult()
|
/system/chre/chre_api/include/chre_api/chre/ |
D | wifi.h | 566 uint8_t bssid[CHRE_WIFI_BSSID_LEN]; member 1199 memcpy(rangingTarget->macAddress, scanResult->bssid, in chreWifiRangingTargetFromScanResult()
|
/system/chre/chre_api/legacy/v1_7/chre/ |
D | wifi.h | 561 uint8_t bssid[CHRE_WIFI_BSSID_LEN]; member 1194 memcpy(rangingTarget->macAddress, scanResult->bssid, in chreWifiRangingTargetFromScanResult()
|
/system/chre/chre_api/legacy/v1_9/chre/ |
D | wifi.h | 564 uint8_t bssid[CHRE_WIFI_BSSID_LEN]; member 1197 memcpy(rangingTarget->macAddress, scanResult->bssid, in chreWifiRangingTargetFromScanResult()
|
/system/chre/chre_api/legacy/v1_1/chre/ |
D | wifi.h | 303 uint8_t bssid[CHRE_WIFI_BSSID_LEN]; member
|