Searched defs:p_uuid (Results 1 - 21 of 21) sorted by relevance

/system/bt/btif/src/
H A Dbtif_gatt_util.c52 int uuidType(unsigned char* p_uuid) argument
63 if (p_uuid[i] == BASE_UUID[i])
66 if (p_uuid[i] != 0)
220 uint16_t get_uuid16(tBT_UUID *p_uuid) argument
222 if (p_uuid->len == LEN_UUID_16)
224 return p_uuid->uu.uuid16;
226 else if (p_uuid->len == LEN_UUID_128)
229 UINT8 *p = &p_uuid->uu.uuid128[LEN_UUID_128 - 4];
233 else /* p_uuid->len == LEN_UUID_32 */
235 return(UINT16) p_uuid
[all...]
H A Dbtif_util.c114 void string_to_uuid(char *str, bt_uuid_t *p_uuid) argument
129 memcpy(&(p_uuid->uu[0]), &uuid0, 4);
130 memcpy(&(p_uuid->uu[4]), &uuid1, 2);
131 memcpy(&(p_uuid->uu[6]), &uuid2, 2);
132 memcpy(&(p_uuid->uu[8]), &uuid3, 2);
133 memcpy(&(p_uuid->uu[10]), &uuid4, 4);
134 memcpy(&(p_uuid->uu[14]), &uuid5, 2);
140 void uuid_to_string_legacy(bt_uuid_t *p_uuid, char *str) argument
145 memcpy(&uuid0, &(p_uuid->uu[0]), 4);
146 memcpy(&uuid1, &(p_uuid
[all...]
H A Dbtif_storage.c199 static void btif_in_split_uuids_string_to_list(char *str, bt_uuid_t *p_uuid, argument
213 string_to_uuid(buf, p_uuid + num);
280 bt_uuid_t *p_uuid = (bt_uuid_t*)prop->val + i; local
282 uuid_to_string_legacy(p_uuid, buf);
390 bt_uuid_t *p_uuid = (bt_uuid_t*)prop->val; local
392 btif_in_split_uuids_string_to_list(value, p_uuid, &num_uuids);
639 bt_uuid_t *p_uuid = (bt_uuid_t*)property->val; local
656 p_uuid+num_uuids);
663 p_uuid+num_uuids);
669 p_uuid
[all...]
H A Dbtif_gatt_client.c2126 int company_id_mask, const bt_uuid_t *p_uuid,
2152 if (p_uuid != NULL)
2153 memcpy(&btif_filt_cb.uuid, p_uuid, sizeof(bt_uuid_t));
2124 btif_gattc_scan_filter_add_remove(int client_if, int action, int filt_type, int filt_index, int company_id, int company_id_mask, const bt_uuid_t *p_uuid, const bt_uuid_t *p_uuid_mask, const bt_bdaddr_t *bd_addr, char addr_type, int data_len, char* p_data, int mask_len, char* p_mask) argument
/system/bt/stack/gap/
H A Dgap_ble.c197 BOOLEAN gap_ble_dequeue_request (tGAP_CLCB *p_clcb, UINT16 * p_uuid, tGAP_BLE_CMPL_CBACK **p_cback) argument
204 *p_uuid = p_q->uuid;
/system/bt/stack/gatt/
H A Dgatt_db.c42 static void *allocate_attr_in_db(tGATT_SVC_DB *p_db, tBT_UUID *p_uuid, tGATT_PERM perm);
912 ** p_uuid: pointer to attribute UUID
918 static void *allocate_attr_in_db(tGATT_SVC_DB *p_db, tBT_UUID *p_uuid, tGATT_PERM perm) argument
925 if (p_uuid == NULL)
931 if (p_uuid->len == LEN_UUID_16)
933 else if (p_uuid->len == LEN_UUID_32)
956 if (p_uuid->len == LEN_UUID_16 && p_uuid->uu.uuid16 != GATT_ILLEGAL_UUID)
959 p_attr16->uuid = p_uuid->uu.uuid16;
961 else if (p_uuid
[all...]
H A Dgatt_sr.c533 tBT_UUID *p_uuid; local
550 if ((p_uuid = gatts_get_service_uuid (p_rcb->p_db)) != NULL)
553 handle_len = 4 + p_uuid->len;
573 gatt_uuid_compare(value, *p_uuid))
589 gatt_build_uuid_to_stream(&p, *p_uuid);
H A Dgatt_api.c470 tBT_UUID *p_uuid; local
515 p_uuid = gatts_get_service_uuid (p_sreg->p_db);
517 p_sreg->sdp_handle = gatt_add_sdp_record(p_uuid, p_sreg->s_hdl, p_sreg->e_hdl);
H A Dgatt_utils.c1104 UINT8 *p_uuid = *p_data; local
1112 STREAM_TO_UINT16 (p_uuid_rec->uu.uuid16, p_uuid);
1121 if (p_uuid[xx] != base_uuid[xx])
1129 if ((p_uuid[LEN_UUID_128 - 1] == 0) && (p_uuid[LEN_UUID_128 - 2] == 0))
1131 p_uuid += (LEN_UUID_128 - 4);
1133 STREAM_TO_UINT16(p_uuid_rec->uu.uuid16, p_uuid);
1137 p_uuid += (LEN_UUID_128 - LEN_UUID_32);
1139 STREAM_TO_UINT32(p_uuid_rec->uu.uuid32, p_uuid);
1145 memcpy(p_uuid_rec->uu.uuid128, p_uuid, LEN_UUID_12
1472 gatt_add_sdp_record(tBT_UUID *p_uuid, UINT16 start_hdl, UINT16 end_hdl) argument
[all...]
/system/bt/stack/sdp/
H A Dsdp_api.c329 ** p_uuid - output parameter to save the UUID found.
334 BOOLEAN SDP_FindServiceUUIDInRec(tSDP_DISC_REC *p_rec, tBT_UUID * p_uuid) argument
352 p_uuid->len = LEN_UUID_16;
353 p_uuid->uu.uuid16 = p_sattr->attr_value.v.u16;
357 p_uuid->len = LEN_UUID_128;
358 memcpy(p_uuid->uu.uuid128, p_sattr->attr_value.v.array, LEN_UUID_128);
362 p_uuid->len = LEN_UUID_32;
363 p_uuid->uu.uuid32 = p_sattr->attr_value.v.u32;
385 p_uuid->len = 2;
386 p_uuid
425 SDP_FindServiceUUIDInRec_128bit(tSDP_DISC_REC *p_rec, tBT_UUID * p_uuid) argument
655 SDP_FindServiceUUIDInDb(tSDP_DISCOVERY_DB *p_db, tBT_UUID *p_uuid, tSDP_DISC_REC *p_start_rec) argument
[all...]
H A Dsdp_db.c118 static BOOLEAN find_uuid_in_seq (UINT8 *p , UINT32 seq_len, UINT8 *p_uuid, argument
136 if (sdpu_compare_uuid_arrays (p, len, p_uuid, uuid_len))
141 if (find_uuid_in_seq (p, len, p_uuid, uuid_len, nest_level + 1))
H A Dsdp_utils.c642 BOOLEAN sdpu_is_base_uuid (UINT8 *p_uuid) argument
647 if (p_uuid[xx] != sdp_base_uuid[xx])
/system/bt/bta/gatt/
H A Dbta_gattc_cache.c92 j + 1, p_attr->attr_handle, p_attr->p_uuid->uuid16, p_attr->inst_id,
240 static UINT8 bta_gattc_get_char_inst_id(tBTA_GATTC_CACHE *p_service_cache, tBT_UUID *p_uuid) argument
252 if (bta_gattc_uuid_compare(&attr_uuid, p_uuid, TRUE))
269 static UINT8 bta_gattc_get_char_descr_inst_id(tBTA_GATTC_CACHE_ATTR *p_char_attr, tBT_UUID *p_uuid) argument
281 if (bta_gattc_uuid_compare(&attr_uuid, p_uuid, TRUE))
300 tBT_UUID *p_uuid,
322 memcpy(&p_new_srvc->service_uuid.id.uuid, p_uuid, sizeof(tBT_UUID));
353 tBT_UUID *p_uuid,
359 UINT16 len = sizeof(tBTA_GATTC_CACHE_ATTR) + p_uuid->len;
364 APPL_TRACE_DEBUG("handle=%d uuid16=0x%x property=0x%x type=%d", handle, p_uuid
298 bta_gattc_add_srvc_to_cache(tBTA_GATTC_SERV *p_srvc_cb, UINT16 s_handle, UINT16 e_handle, tBT_UUID *p_uuid, BOOLEAN is_primary, UINT8 srvc_inst) argument
351 bta_gattc_add_attr_to_cache(tBTA_GATTC_SERV *p_srvc_cb, UINT16 handle, tBT_UUID *p_uuid, UINT8 property, tBTA_GATTC_ATTR_TYPE type) argument
1248 bta_gattc_search_service(tBTA_GATTC_CLCB *p_clcb, tBT_UUID *p_uuid) argument
[all...]
H A Dbta_gattc_utils.c461 void bta_gattc_pack_attr_uuid(tBTA_GATTC_CACHE_ATTR *p_attr, tBT_UUID *p_uuid) argument
463 UINT8 *pp = (UINT8 *)p_attr->p_uuid;
465 memset(p_uuid, 0, sizeof(tBT_UUID));
467 p_uuid->len = p_attr->uuid_len;
471 STREAM_TO_UINT16(p_uuid->uu.uuid16, pp);
475 memcpy(p_uuid->uu.uuid128, pp, LEN_UUID_128);
H A Dbta_gattc_int.h255 tBTA_GATTC_UUID *p_uuid; member in struct:gattc_attr_cache
523 extern void bta_gattc_pack_attr_uuid(tBTA_GATTC_CACHE_ATTR *p_attr, tBT_UUID *p_uuid);
540 extern void bta_gattc_search_service(tBTA_GATTC_CLCB *p_clcb, tBT_UUID *p_uuid);
/system/bt/stack/btm/
H A Dbtm_inq.c138 static UINT16 btm_convert_uuid_to_uuid16( UINT8 *p_uuid, UINT8 uuid_size );
2825 ** Parameters p_uuid - address of UUID
2832 static UINT16 btm_convert_uuid_to_uuid16( UINT8 *p_uuid, UINT8 uuid_size ) argument
2844 STREAM_TO_UINT16 (uuid16, p_uuid);
2847 STREAM_TO_UINT32 (uuid32, p_uuid);
2856 if (p_uuid[xx] != base_uuid[xx])
2864 if ((p_uuid[LEN_UUID_128 - 1] == 0) && (p_uuid[LEN_UUID_128 - 2] == 0))
2866 p_uuid += (LEN_UUID_128 - 4);
2867 STREAM_TO_UINT16(uuid16, p_uuid);
[all...]
/system/bt/bta/jv/
H A Dbta_jv_act.c101 extern void uuid_to_string_legacy(bt_uuid_t *p_uuid, char *str);
102 static inline void logu(const char* title, const uint8_t * p_uuid) argument
105 uuid_to_string_legacy((bt_uuid_t*)p_uuid, uuids);
/system/bt/bta/dm/
H A Dbta_dm_act.c1155 p_data->search.p_uuid != NULL)
1167 memcpy(bta_dm_search_cb.p_srvc_uuid, p_data->search.p_uuid, len);
1269 p_data->discover.p_uuid != NULL)
1276 memcpy(bta_dm_search_cb.p_srvc_uuid, p_data->discover.p_uuid, len);
1572 tBT_UUID *p_uuid = bta_dm_search_cb.p_srvc_uuid; local
1608 if (bta_dm_search_cb.uuid_to_search != 0 && p_uuid != NULL)
1610 p_uuid += (bta_dm_search_cb.num_uuid - bta_dm_search_cb.uuid_to_search);
1612 service = p_uuid->uu.uuid16;
5442 tBT_UUID *p_uuid = bta_dm_search_cb.p_srvc_uuid + local
5445 p_uuid
[all...]
H A Dbta_dm_int.h190 tBT_UUID *p_uuid; member in struct:__anon78
205 tBT_UUID *p_uuid; member in struct:__anon79
/system/bt/stack/include/
H A Dbtm_ble_api.h394 UINT16 *p_uuid; member in struct:__anon1052
402 UINT32 *p_uuid; member in struct:__anon1053
/system/bt/bta/include/
H A Dbta_api.h164 tBT_UUID *p_uuid; member in struct:__anon271
360 UINT16 *p_uuid; member in struct:__anon278
1930 ** p_uuid is the pointer to the list of UUID values.
1949 ** services.p_uuid.
1968 ** p_services->p_uuid.

Completed in 208 milliseconds