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

/system/bt/btif/src/
H A Dbtif_gatt_util.c53 int uuidType(unsigned char* p_uuid) argument
64 if (p_uuid[i] == BASE_UUID[i])
67 if (p_uuid[i] != 0)
193 uint16_t get_uuid16(tBT_UUID *p_uuid) argument
195 if (p_uuid->len == LEN_UUID_16)
197 return p_uuid->uu.uuid16;
199 else if (p_uuid->len == LEN_UUID_128)
202 UINT8 *p = &p_uuid->uu.uuid128[LEN_UUID_128 - 4];
206 else /* p_uuid->len == LEN_UUID_32 */
208 return(UINT16) p_uuid
[all...]
H A Dbtif_util.c115 bool string_to_uuid(const char *str, bt_uuid_t *p_uuid) argument
117 assert(p_uuid);
136 memcpy(&(p_uuid->uu[0]), &uuid0, 4);
137 memcpy(&(p_uuid->uu[4]), &uuid1, 2);
138 memcpy(&(p_uuid->uu[6]), &uuid2, 2);
139 memcpy(&(p_uuid->uu[8]), &uuid3, 2);
140 memcpy(&(p_uuid->uu[10]), &uuid4, 4);
141 memcpy(&(p_uuid->uu[14]), &uuid5, 2);
146 void uuid_to_string_legacy(bt_uuid_t *p_uuid, char *str) argument
151 memcpy(&uuid0, &(p_uuid
[all...]
H A Dbtif_storage.c229 bt_uuid_t *p_uuid = (bt_uuid_t*)prop->val + i; local
231 uuid_to_string_legacy(p_uuid, buf);
343 bt_uuid_t *p_uuid = (bt_uuid_t*)prop->val; local
344 size_t num_uuids = btif_split_uuids_string(value, p_uuid, BT_MAX_NUM_UUIDS);
548 size_t btif_split_uuids_string(const char *str, bt_uuid_t *p_uuid, size_t max_uuids) argument
551 assert(p_uuid);
556 bool rc = string_to_uuid(str, p_uuid++);
611 bt_uuid_t *p_uuid = (bt_uuid_t*)property->val; local
628 p_uuid+num_uuids);
635 p_uuid
[all...]
H A Dbtif_gatt_client.c1907 int company_id_mask, const bt_uuid_t *p_uuid,
1933 if (p_uuid != NULL)
1934 memcpy(&btif_filt_cb.uuid, p_uuid, sizeof(bt_uuid_t));
1905 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);
904 ** p_uuid: pointer to attribute UUID
910 static void *allocate_attr_in_db(tGATT_SVC_DB *p_db, tBT_UUID *p_uuid, tGATT_PERM perm) argument
917 if (p_uuid == NULL)
923 if (p_uuid->len == LEN_UUID_16)
925 else if (p_uuid->len == LEN_UUID_32)
948 if (p_uuid->len == LEN_UUID_16 && p_uuid->uu.uuid16 != GATT_ILLEGAL_UUID)
951 p_attr16->uuid = p_uuid->uu.uuid16;
953 else if (p_uuid
[all...]
H A Dgatt_sr.c512 tBT_UUID *p_uuid; local
529 if ((p_uuid = gatts_get_service_uuid (p_rcb->p_db)) != NULL)
532 handle_len = 4 + p_uuid->len;
552 gatt_uuid_compare(value, *p_uuid))
568 gatt_build_uuid_to_stream(&p, *p_uuid);
H A Dgatt_api.c469 tBT_UUID *p_uuid; local
514 p_uuid = gatts_get_service_uuid (p_sreg->p_db);
516 p_sreg->sdp_handle = gatt_add_sdp_record(p_uuid, p_sreg->s_hdl, p_sreg->e_hdl);
H A Dgatt_utils.c1133 UINT8 *p_uuid = *p_data; local
1141 STREAM_TO_UINT16 (p_uuid_rec->uu.uuid16, p_uuid);
1150 if (p_uuid[xx] != base_uuid[xx])
1158 if ((p_uuid[LEN_UUID_128 - 1] == 0) && (p_uuid[LEN_UUID_128 - 2] == 0))
1160 p_uuid += (LEN_UUID_128 - 4);
1162 STREAM_TO_UINT16(p_uuid_rec->uu.uuid16, p_uuid);
1166 p_uuid += (LEN_UUID_128 - LEN_UUID_32);
1168 STREAM_TO_UINT32(p_uuid_rec->uu.uuid32, p_uuid);
1174 memcpy(p_uuid_rec->uu.uuid128, p_uuid, LEN_UUID_12
1527 gatt_add_sdp_record(tBT_UUID *p_uuid, UINT16 start_hdl, UINT16 end_hdl) argument
[all...]
/system/bt/stack/sdp/
H A Dsdp_api.c331 ** p_uuid - output parameter to save the UUID found.
336 BOOLEAN SDP_FindServiceUUIDInRec(tSDP_DISC_REC *p_rec, tBT_UUID * p_uuid) argument
354 p_uuid->len = LEN_UUID_16;
355 p_uuid->uu.uuid16 = p_sattr->attr_value.v.u16;
359 p_uuid->len = LEN_UUID_128;
361 p_uuid->uu.uuid128[i] = p_sattr->attr_value.v.array[LEN_UUID_128-i-1];
365 p_uuid->len = LEN_UUID_32;
366 p_uuid->uu.uuid32 = p_sattr->attr_value.v.u32;
388 p_uuid->len = 2;
389 p_uuid
428 SDP_FindServiceUUIDInRec_128bit(tSDP_DISC_REC *p_rec, tBT_UUID * p_uuid) argument
660 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.c631 BOOLEAN sdpu_is_base_uuid (UINT8 *p_uuid) argument
636 if (p_uuid[xx] != sdp_base_uuid[xx])
/system/bt/bta/gatt/
H A Dbta_gattc_cache.c202 tBT_UUID *p_uuid,
215 memcpy(&p_new_srvc->uuid, p_uuid, sizeof(tBT_UUID));
231 tBT_UUID *p_uuid,
237 value_handle, p_uuid->uu.uuid16, property);
257 memcpy(&characteristic->uuid, p_uuid, sizeof(tBT_UUID));
276 tBT_UUID *p_uuid,
284 handle, p_uuid->uu.uuid16, property, type);
298 memcpy(&isvc->uuid, p_uuid, sizeof(tBT_UUID));
315 memcpy(&descriptor->uuid, p_uuid, sizeof(tBT_UUID));
982 void bta_gattc_search_service(tBTA_GATTC_CLCB *p_clcb, tBT_UUID *p_uuid) argument
200 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) argument
228 bta_gattc_add_char_to_cache(tBTA_GATTC_SERV *p_srvc_cb, UINT16 attr_handle, UINT16 value_handle, tBT_UUID *p_uuid, UINT8 property) argument
274 bta_gattc_add_attr_to_cache(tBTA_GATTC_SERV *p_srvc_cb, UINT16 handle, tBT_UUID *p_uuid, UINT8 property, UINT16 incl_srvc_s_handle, tBTA_GATTC_ATTR_TYPE type) argument
[all...]
/system/bt/stack/btm/
H A Dbtm_inq.c144 static UINT16 btm_convert_uuid_to_uuid16( UINT8 *p_uuid, UINT8 uuid_size );
2850 ** Parameters p_uuid - address of UUID
2857 static UINT16 btm_convert_uuid_to_uuid16( UINT8 *p_uuid, UINT8 uuid_size ) argument
2869 STREAM_TO_UINT16 (uuid16, p_uuid);
2872 STREAM_TO_UINT32 (uuid32, p_uuid);
2881 if (p_uuid[xx] != base_uuid[xx])
2889 if ((p_uuid[LEN_UUID_128 - 1] == 0) && (p_uuid[LEN_UUID_128 - 2] == 0))
2891 p_uuid += (LEN_UUID_128 - 4);
2892 STREAM_TO_UINT16(uuid16, p_uuid);
[all...]
/system/bt/bta/jv/
H A Dbta_jv_act.c87 extern void uuid_to_string_legacy(bt_uuid_t *p_uuid, char *str);
88 static inline void logu(const char* title, const uint8_t * p_uuid) argument
91 uuid_to_string_legacy((bt_uuid_t*)p_uuid, uuids);
/system/bt/bta/dm/
H A Dbta_dm_act.c1218 p_data->search.p_uuid != NULL) {
1220 memcpy(bta_dm_search_cb.p_srvc_uuid, p_data->search.p_uuid, len);
1313 p_data->discover.p_uuid != NULL) {
1315 memcpy(bta_dm_search_cb.p_srvc_uuid, p_data->discover.p_uuid, len);
1598 tBT_UUID *p_uuid = bta_dm_search_cb.p_srvc_uuid; local
1634 if (bta_dm_search_cb.uuid_to_search != 0 && p_uuid != NULL)
1636 p_uuid += (bta_dm_search_cb.num_uuid - bta_dm_search_cb.uuid_to_search);
1638 service = p_uuid->uu.uuid16;
5339 tBT_UUID *p_uuid = bta_dm_search_cb.p_srvc_uuid + local
5342 p_uuid
[all...]
H A Dbta_dm_int.h188 tBT_UUID *p_uuid; member in struct:__anon79
203 tBT_UUID *p_uuid; member in struct:__anon80
/system/bt/bta/include/
H A Dbta_api.h157 tBT_UUID *p_uuid; member in struct:__anon273
1874 ** p_uuid is the pointer to the list of UUID values.
1893 ** services.p_uuid.
1912 ** p_services->p_uuid.

Completed in 349 milliseconds