HomeSort by relevance Sort by last modified time
    Searched refs:p_db (Results 1 - 25 of 30) sorted by null

1 2

  /external/bluetooth/bluedroid/stack/avrc/
avrc_sdp.c 119 ** p_db: SDP discovery database parameters.
133 tAVRC_SDP_DB_PARAMS *p_db, tAVRC_FIND_CBACK *p_cback)
146 p_db == NULL || p_db->p_db == NULL || p_cback == NULL)
158 if(p_db->p_attrs == NULL || p_db->num_attr == 0)
160 p_db->p_attrs = a2d_attr_list;
161 p_db->num_attr = AVRC_NUM_ATTR;
164 result = SDP_InitDiscoveryDb(p_db->p_db, p_db->db_len, 1, &uuid_list, p_db->num_attr
    [all...]
avrc_int.h 125 tSDP_DISCOVERY_DB *p_db; /* pointer to discovery database */ member in struct:__anon792
  /external/bluetooth/bluedroid/stack/a2dp/
a2d_api.c 70 if ((p_rec = SDP_FindServiceInDb(a2d_cb.find.p_db,
253 ** p_db: Pointer to the information to initialize
269 tA2D_SDP_DB_PARAMS *p_db, tA2D_FIND_CBACK *p_cback)
282 p_db == NULL || p_db->p_db == NULL || p_cback == NULL)
293 if(p_db->p_attrs == NULL || p_db->num_attr == 0)
295 p_db->p_attrs = a2d_attr_list;
296 p_db->num_attr = A2D_NUM_ATTR
    [all...]
a2d_int.h 48 tSDP_DISCOVERY_DB *p_db; /* pointer to discovery database */ member in struct:__anon754
  /external/bluetooth/bluedroid/stack/gatt/
gatt_db.c 39 static BOOLEAN allocate_svc_db_buf(tGATT_SVC_DB *p_db);
40 static void *allocate_attr_in_db(tGATT_SVC_DB *p_db, UINT16 uuid16, UINT8 *p_uuid128, tGATT_PERM perm);
41 static BOOLEAN deallocate_attr_in_db(tGATT_SVC_DB *p_db, void *p_attr);
42 static BOOLEAN copy_extra_byte_in_db(tGATT_SVC_DB *p_db, void **p_dst, UINT16 len);
44 static void gatts_db_add_service_declaration(tGATT_SVC_DB *p_db, tBT_UUID service, BOOLEAN is_pri);
54 ** Parameter p_db: database pointer.
60 BOOLEAN gatts_init_service_db (tGATT_SVC_DB *p_db, tBT_UUID service, BOOLEAN is_pri,
63 if (!allocate_svc_db_buf(p_db))
73 p_db->next_handle = s_hdl;
74 p_db->end_handle = s_hdl + num_handle
    [all...]
gatt_int.h 217 tGATT_SVC_DB *p_db; /* pointer to the service database */ member in struct:__anon849
667 extern BOOLEAN gatts_init_service_db (tGATT_SVC_DB *p_db, tBT_UUID service, BOOLEAN is_pri, UINT16 s_hdl, UINT16 num_handle);
668 extern UINT16 gatts_add_included_service (tGATT_SVC_DB *p_db, UINT16 s_handle, UINT16 e_handle, tBT_UUID service);
669 extern UINT16 gatts_add_characteristic (tGATT_SVC_DB *p_db, tGATT_PERM perm, tGATT_CHAR_PROP property, tBT_UUID *p_char_uuid);
670 extern UINT16 gatts_add_char_descr (tGATT_SVC_DB *p_db, tGATT_PERM perm, tBT_UUID *p_dscp_uuid);
671 extern tGATT_STATUS gatts_db_read_attr_value_by_type (tGATT_TCB *p_tcb, tGATT_SVC_DB *p_db, UINT8 op_code, BT_HDR *p_rsp, UINT16 s_handle,
673 extern tGATT_STATUS gatts_read_attr_value_by_handle(tGATT_TCB *p_tcb,tGATT_SVC_DB *p_db, UINT8 op_code, UINT16 handle, UINT16 offset,
675 extern tGATT_STATUS gatts_write_attr_perm_check (tGATT_SVC_DB *p_db, UINT8 op_code,UINT16 handle, UINT16 offset, UINT8 *p_data,
677 extern tGATT_STATUS gatts_read_attr_perm_check(tGATT_SVC_DB *p_db, BOOLEAN is_long, UINT16 handle, tGATT_SEC_FLAG sec_flag,UINT8 key_size);
679 extern tBT_UUID * gatts_get_service_uuid (tGATT_SVC_DB *p_db);
    [all...]
gatt_sr.c 436 if ((err = gatts_read_attr_perm_check( gatt_cb.sr_reg[i_rcb].p_db,
481 gatt_cb.sr_reg[i_rcb].p_db,
550 if ((p_uuid = gatts_get_service_uuid (p_rcb->p_db)) != NULL)
626 if (!p_rcb->p_db || !p_rcb->p_db->p_attr_list)
630 p_attr = (tGATT_ATTR16 *) p_rcb->p_db->p_attr_list;
    [all...]
gatt_utils.c 429 p_svc_uuid = gatts_get_service_uuid (p_rcb->p_db);
    [all...]
  /external/bluetooth/bluedroid/stack/include/
sdp_api.h 204 SDP_API extern BOOLEAN SDP_InitDiscoveryDb (tSDP_DISCOVERY_DB *p_db, UINT32 len,
219 SDP_API extern BOOLEAN SDP_CancelServiceSearch (tSDP_DISCOVERY_DB *p_db);
231 tSDP_DISCOVERY_DB *p_db,
249 tSDP_DISCOVERY_DB *p_db,
267 tSDP_DISCOVERY_DB *p_db,
284 SDP_API extern tSDP_DISC_REC *SDP_FindAttributeInDb (tSDP_DISCOVERY_DB *p_db,
315 SDP_API extern tSDP_DISC_REC *SDP_FindServiceInDb (tSDP_DISCOVERY_DB *p_db,
336 SDP_API extern tSDP_DISC_REC *SDP_FindServiceUUIDInDb (tSDP_DISCOVERY_DB *p_db,
367 SDP_API extern tSDP_DISC_REC *SDP_FindServiceInDb_128bit(tSDP_DISCOVERY_DB *p_db,
658 tSDP_DISCOVERY_DB *p_db, UINT32 len
    [all...]
a2d_api.h 105 tSDP_DISCOVERY_DB *p_db; /* Pointer to the discovery database */ member in struct:__anon867
189 ** p_db: Pointer to the information to initialize
205 tA2D_SDP_DB_PARAMS *p_db, tA2D_FIND_CBACK *p_cback);
avrc_api.h 124 tSDP_DISCOVERY_DB *p_db; /* Pointer to the discovery database */ member in struct:__anon888
230 ** p_db: SDP discovery database parameters.
244 tAVRC_SDP_DB_PARAMS *p_db, tAVRC_FIND_CBACK *p_cback);
hidh_api.h 104 tSDP_DISCOVERY_DB *p_db,
  /external/bluetooth/bluedroid/stack/sdp/
sdp_api.c 56 ** Parameters: p_db - (input) address of an area of memory where the
71 BOOLEAN SDP_InitDiscoveryDb (tSDP_DISCOVERY_DB *p_db, UINT32 len, UINT16 num_uuid,
78 if (p_db == NULL || (sizeof (tSDP_DISCOVERY_DB) > len) ||
81 SDP_TRACE_ERROR4("SDP_InitDiscoveryDb Illegal param: p_db 0x%x, len %d, num_uuid %d, num_attr %d",
82 (UINT32)p_db, len, num_uuid, num_attr);
87 memset (p_db, 0, (size_t)len);
89 p_db->mem_size = len - sizeof (tSDP_DISCOVERY_DB);
90 p_db->mem_free = p_db->mem_size;
91 p_db->p_first_rec = NULL
    [all...]
sdp_discovery.c 52 static tSDP_DISC_REC *add_record (tSDP_DISCOVERY_DB *p_db, BD_ADDR p_bda);
53 static UINT8 *add_attr (UINT8 *p, tSDP_DISCOVERY_DB *p_db, tSDP_DISC_REC *p_rec,
146 p = sdpu_build_uuid_seq (p, 1, &p_ccb->p_db->uuid_filters[p_ccb->cur_uuid_idx]);
148 p = sdpu_build_uuid_seq (p, p_ccb->p_db->num_uuid_filters, p_ccb->p_db->uuid_filters);
201 tSDP_DISC_RES_CB *p_rcb = (tSDP_DISC_RES_CB *) p_ccb->p_db;
257 tSDP_DISC_RES_CB *p_rcb = (tSDP_DISC_RES_CB *) p_ccb->p_db;
401 if(p_ccb->p_db->raw_data)
403 cpy_len = p_ccb->p_db->raw_size - p_ccb->p_db->raw_used
    [all...]
sdp_main.c 606 if ((p_ccb->cur_uuid_idx == 0) && (p_ccb->p_db->p_first_rec))
607 p_ccb->cur_uuid_idx = p_ccb->p_db->num_uuid_filters;
609 while (++p_ccb->cur_uuid_idx < p_ccb->p_db->num_uuid_filters)
612 if ((p_ccb->p_db->uuid_filters[p_ccb->cur_uuid_idx].len == 2)
613 && (SDP_FindServiceInDb (p_ccb->p_db,
614 p_ccb->p_db->uuid_filters[p_ccb->cur_uuid_idx].uu.uuid16,
618 if ((p_ccb->p_db->uuid_filters[p_ccb->cur_uuid_idx].len > 2)
619 && (SDP_FindServiceUUIDInDb (p_ccb->p_db,
620 &p_ccb->p_db->uuid_filters[p_ccb->cur_uuid_idx], NULL)))
633 if ((reason == SDP_NO_RECS_MATCH) && (p_ccb->p_db->p_first_rec)
    [all...]
sdp_db.c 285 tSDP_DB *p_db = &sdp_cb.server_db; local
288 if (p_db->num_records < SDP_MAX_RECORDS)
290 memset (&p_db->record[p_db->num_records], 0,
295 if (p_db->num_records)
296 handle = p_db->record[p_db->num_records - 1].record_handle + 1;
300 p_db->record[p_db->num_records].record_handle = handle;
302 p_db->num_records++
    [all...]
sdp_utils.c 83 tCONN_CB *sdpu_find_ccb_by_db (tSDP_DISCOVERY_DB *p_db)
89 if (p_db)
94 if ((p_ccb->con_state != SDP_STATE_IDLE) && (p_ccb->p_db == p_db))
808 void sdpu_sort_attr_list( UINT16 num_attr, tSDP_DISCOVERY_DB *p_db )
826 if( p_db->attr_filters[i] > p_db->attr_filters[i+1] )
829 x = p_db->attr_filters[i];
830 p_db->attr_filters[i] = p_db->attr_filters[i+1]
    [all...]
sdpint.h 190 tSDP_DISCOVERY_DB *p_db; /* Database to save info into */ member in struct:__anon1261
277 extern tCONN_CB *sdpu_find_ccb_by_db (tSDP_DISCOVERY_DB *p_db);
294 extern void sdpu_sort_attr_list( UINT16 num_attr, tSDP_DISCOVERY_DB *p_db );
  /external/bluetooth/bluedroid/stack/hid/
hidh_api.c 53 tHID_STATUS HID_HostGetSDPRecord ( BD_ADDR addr, tSDP_DISCOVERY_DB *p_db, UINT32 db_len,
64 hh_cb.p_sdp_db = p_db;
65 SDP_InitDiscoveryDb (p_db, db_len, 1, &uuid_list, 0, NULL);
67 if (SDP_ServiceSearchRequest (addr, p_db, hidh_search_callback))
102 tSDP_DISCOVERY_DB *p_db = hh_cb.p_sdp_db; local
120 if ((p_rec = SDP_FindServiceUUIDInDb (p_db, &hid_uuid, NULL)) == NULL)
  /external/bluetooth/bluedroid/stack/btm/
btm_pm.c 397 tBTM_PM_MCB *p_db = &btm_cb.pm_mode_db[ind]; /* per ACL link */ local
398 memset (p_db, 0, sizeof(tBTM_PM_MCB));
399 p_db->state = BTM_PM_ST_ACTIVE;
401 BTM_TRACE_DEBUG2( "btm_pm_sm_alloc ind:%d st:%d", ind, p_db->state);
btm_inq.c 1709 tINQ_BDADDR *p_db = &p_inq->p_bd_db[0]; local
    [all...]
  /external/bluetooth/bluedroid/bta/hl/
bta_hl_sdp.c 582 tSDP_DISC_REC *bta_hl_find_sink_or_src_srv_class_in_db (const tSDP_DISCOVERY_DB *p_db,
590 if (p_db == NULL)
597 p_rec = p_db->p_first_rec;
bta_hl_act.c     [all...]
bta_hl_int.h 501 tSDP_DISCOVERY_DB *p_db; /* pointer to discovery database */ member in struct:__anon309
615 extern tSDP_DISC_REC *bta_hl_find_sink_or_src_srv_class_in_db (const tSDP_DISCOVERY_DB *p_db,
    [all...]
  /external/bluetooth/bluedroid/bta/dm/
bta_dm_api.c     [all...]

Completed in 723 milliseconds

1 2