Searched defs:str_buf (Results 1 - 3 of 3) sorted by relevance
/system/bt/btif/src/ |
H A D | btif_gatt_test.cc | 68 static char* format_uuid(tBT_UUID bt_uuid, char* str_buf, size_t buf_size) { argument 70 snprintf(str_buf, buf_size, "0x%04x", bt_uuid.uu.uuid16); 72 int x = snprintf(str_buf, buf_size, "%02x%02x%02x%02x-%02x%02x-%02x%02x", 77 snprintf(&str_buf[x], buf_size - x, "%02x%02x-%02x%02x%02x%02x%02x%02x", 83 snprintf(str_buf, buf_size, "Unknown (len=%d)", bt_uuid.len); 86 return str_buf; 126 char str_buf[50]; local 135 format_uuid(p_data->type, str_buf, sizeof(str_buf))); 144 format_uuid(p_data->value.group_value.service_type, str_buf, [all...] |
/system/bt/stack/gatt/ |
H A D | gatt_db.cc | 678 static void uuid_to_str(const tBT_UUID bt_uuid, char* str_buf, size_t buf_len) { argument 680 snprintf(str_buf, buf_len, "0x%04x", bt_uuid.uu.uuid16); 682 snprintf(str_buf, buf_len, "0x%08x", bt_uuid.uu.uuid32); 684 int x = snprintf(str_buf, buf_len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-", 689 snprintf(&str_buf[x], buf_len - x, "%02x%02x-%02x%02x%02x%02x%02x%02x", 695 snprintf(str_buf, buf_len, "Unknown (len=%d)", bt_uuid.len);
|
H A D | gatt_utils.cc | 1665 char str_buf[50]; local 1668 snprintf(str_buf, sizeof(str_buf), "0x%04x", bt_uuid.uu.uuid16); 1670 snprintf(str_buf, sizeof(str_buf), "0x%08x", 1674 str_buf, sizeof(str_buf), "0x%02x%02x%02x%02x%02x%02x%02x%02x", 1679 &str_buf[x], sizeof(str_buf) - x, "%02x%02x%02x%02x%02x%02x%02x%02x", 1684 strlcpy(str_buf, "Unknow [all...] |
Completed in 223 milliseconds