Home
last modified time | relevance | path

Searched refs:BTGATT_MAX_ATTR_LEN (Results 1 – 6 of 6) sorted by relevance

/system/bt/include/hardware/
Dbt_gatt_client.h33 #define BTGATT_MAX_ATTR_LEN 600 macro
37 uint8_t value[BTGATT_MAX_ATTR_LEN];
59 uint8_t value[BTGATT_MAX_ATTR_LEN];
Dbt_gatt_server.h29 uint8_t value[BTGATT_MAX_ATTR_LEN];
/system/bt/btif/src/
Dbtif_gatt_client.cc422 CHECK(len <= BTGATT_MAX_ATTR_LEN); in read_char_cb()
446 CHECK(len <= BTGATT_MAX_ATTR_LEN); in read_using_char_uuid_cb()
473 CHECK(len <= BTGATT_MAX_ATTR_LEN); in read_desc_cb()
496 if (value.size() > BTGATT_MAX_ATTR_LEN) value.resize(BTGATT_MAX_ATTR_LEN); in btif_gattc_write_char()
513 if (value.size() > BTGATT_MAX_ATTR_LEN) value.resize(BTGATT_MAX_ATTR_LEN); in btif_gattc_write_char_descr()
Dbtif_gatt_server.cc396 if (value.size() > BTGATT_MAX_ATTR_LEN) value.resize(BTGATT_MAX_ATTR_LEN); in btif_gatts_send_indication()
/system/bt/service/
Dgatt_server.cc126 if (value.size() + offset > BTGATT_MAX_ATTR_LEN) { in SendResponse()
/system/bt/service/test/
Dgatt_server_unittest.cc389 const std::vector<uint8_t> kTestValueTooLarge(BTGATT_MAX_ATTR_LEN + 1, 0); in TEST_F()