Lines Matching refs:num_uuid
974 size_t len = sizeof(Uuid) * p_data->search.num_uuid; in bta_dm_search_start()
995 if ((bta_dm_search_cb.num_uuid = p_data->search.num_uuid) != 0 && in bta_dm_search_start()
1069 size_t len = sizeof(Uuid) * p_data->discover.num_uuid; in bta_dm_discover()
1078 if ((bta_dm_search_cb.num_uuid = p_data->discover.num_uuid) != 0 && in bta_dm_discover()
1083 bta_dm_search_cb.uuid_to_search = bta_dm_search_cb.num_uuid; in bta_dm_discover()
1378 (bta_dm_search_cb.num_uuid - bta_dm_search_cb.uuid_to_search); in bta_dm_sdp_result()
1800 uuid = *(bta_dm_search_cb.p_srvc_uuid + bta_dm_search_cb.num_uuid - in bta_dm_find_services()
1973 bta_dm_search_cb.uuid_to_search = bta_dm_search_cb.num_uuid; in bta_dm_discover_device()
3276 uint8_t num_uuid; in bta_dm_set_eir() local
3311 num_uuid = p_bta_dm_eir_cfg->bta_dm_eir_uuid16_len / Uuid::kNumBytes16; in bta_dm_set_eir()
3315 max_num_uuid, &num_uuid); in bta_dm_set_eir()
3320 if (local_name_len > (free_eir_length - 4 - num_uuid * Uuid::kNumBytes16)) { in bta_dm_set_eir()
3348 num_uuid = p_bta_dm_eir_cfg->bta_dm_eir_uuid16_len / Uuid::kNumBytes16; in bta_dm_set_eir()
3353 num_uuid = free_eir_length / Uuid::kNumBytes16; in bta_dm_set_eir()
3356 UINT8_TO_STREAM(p, num_uuid * Uuid::kNumBytes16 + 1); in bta_dm_set_eir()
3359 num_uuid * Uuid::kNumBytes16); in bta_dm_set_eir()
3360 p += num_uuid * Uuid::kNumBytes16; in bta_dm_set_eir()
3361 free_eir_length -= num_uuid * Uuid::kNumBytes16; in bta_dm_set_eir()
3369 num_uuid = 0; in bta_dm_set_eir()
3373 max_num_uuid, &num_uuid); in bta_dm_set_eir()
3385 if (num_uuid < max_num_uuid) { in bta_dm_set_eir()
3387 num_uuid++; in bta_dm_set_eir()
3398 UINT8_TO_STREAM(p_length, num_uuid * Uuid::kNumBytes16 + 1); in bta_dm_set_eir()
3400 free_eir_length -= num_uuid * Uuid::kNumBytes16 + 2; in bta_dm_set_eir()
3409 num_uuid = 0; in bta_dm_set_eir()
3418 if (num_uuid < max_num_uuid) { in bta_dm_set_eir()
3420 num_uuid++; in bta_dm_set_eir()
3429 UINT8_TO_STREAM(p_length, num_uuid * Uuid::kNumBytes32 + 1); in bta_dm_set_eir()
3431 free_eir_length -= num_uuid * Uuid::kNumBytes32 + 2; in bta_dm_set_eir()
3438 num_uuid = 0; in bta_dm_set_eir()
3447 if (num_uuid < max_num_uuid) { in bta_dm_set_eir()
3449 num_uuid++; in bta_dm_set_eir()
3458 UINT8_TO_STREAM(p_length, num_uuid * Uuid::kNumBytes128 + 1); in bta_dm_set_eir()
3460 free_eir_length -= num_uuid * Uuid::kNumBytes128 + 2; in bta_dm_set_eir()
4134 Uuid* p_uuid = bta_dm_search_cb.p_srvc_uuid + bta_dm_search_cb.num_uuid - in btm_dm_start_disc_gatt_services()