Home
last modified time | relevance | path

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

/system/bt/stack/gatt/
Dgatt_db.c42 static void *allocate_attr_in_db(tGATT_SVC_DB *p_db, tBT_UUID *p_uuid, tGATT_PERM perm);
455 if ((p_attr = (tGATT_ATTR16 *) allocate_attr_in_db(p_db, &uuid, GATT_PERM_READ)) != NULL) in gatts_add_included_service()
498 if ((p_char_decl = (tGATT_ATTR16 *)allocate_attr_in_db(p_db, &uuid, GATT_PERM_READ)) != NULL) in gatts_add_characteristic()
506 p_char_val = (tGATT_ATTR16 *)allocate_attr_in_db(p_db, p_char_uuid, perm); in gatts_add_characteristic()
591 if ((p_char_dscptr = (tGATT_ATTR16 *)allocate_attr_in_db(p_db, in gatts_add_char_descr()
910 static void *allocate_attr_in_db(tGATT_SVC_DB *p_db, tBT_UUID *p_uuid, tGATT_PERM perm) in allocate_attr_in_db() function
1181 if ((p_attr = (tGATT_ATTR16 *)(allocate_attr_in_db(p_db, &uuid, GATT_PERM_READ))) != NULL) in gatts_db_add_service_declaration()