Home
last modified time | relevance | path

Searched refs:ssid_len (Results 1 – 2 of 2) sorted by relevance

/system/chre/apps/wifi_offload/
Dutility.cc32 bool ParseSsidToStr(const uint8_t *ssid, size_t ssid_len, char *ssid_str, in ParseSsidToStr() argument
34 if (ssid_str_len < ssid_len + 1) { in ParseSsidToStr()
38 for (uint8_t i = 0; i < ssid_len; i++) { in ParseSsidToStr()
44 std::memcpy(ssid_str, ssid, ssid_len); in ParseSsidToStr()
45 ssid_str[ssid_len] = '\0'; in ParseSsidToStr()
91 void LogSsid(const uint8_t *ssid, uint8_t ssid_len) { in LogSsid() argument
95 if (ssid_len == 0) { in LogSsid()
97 } else if (ParseSsidToStr(ssid, ssid_len, ssid_buffer, kMaxSsidStrLen)) { in LogSsid()
102 for (size_t i = 0; i < ssid_len; i++) { in LogSsid()
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dutility.h41 void LogSsid(const uint8_t *ssid, uint8_t ssid_len);