/packages/modules/Bluetooth/system/stack/sdp/ |
D | sdp_main.cc | 46 tSDP_CB sdp_cb; variable 406 sdp_cb = {}; in sdp_init() 409 sdp_cb.ccb[i].sdp_conn_timer = alarm_new("sdp.sdp_conn_timer"); in sdp_init() 413 sdp_cb.l2cap_my_cfg.mtu_present = true; in sdp_init() 414 sdp_cb.l2cap_my_cfg.mtu = SDP_MTU_SIZE; in sdp_init() 416 sdp_cb.max_attr_list_size = SDP_MTU_SIZE - 16; in sdp_init() 417 sdp_cb.max_recs_per_search = SDP_MAX_DISC_SERVER_RECS; in sdp_init() 419 sdp_cb.reg_info.pL2CA_ConnectInd_Cb = sdp_connect_ind; in sdp_init() 420 sdp_cb.reg_info.pL2CA_ConnectCfm_Cb = sdp_connect_cfm; in sdp_init() 421 sdp_cb.reg_info.pL2CA_ConfigInd_Cb = sdp_config_ind; in sdp_init() [all …]
|
D | sdp_db.cc | 99 tSDP_RECORD* p_end = &sdp_cb.server_db.record[sdp_cb.server_db.num_records]; in sdp_db_service_search() 104 p_rec = &sdp_cb.server_db.record[0]; in sdp_db_service_search() 150 tSDP_RECORD* p_end = &sdp_cb.server_db.record[sdp_cb.server_db.num_records]; in sdp_db_find_record() 153 for (p_rec = &sdp_cb.server_db.record[0]; p_rec < p_end; p_rec++) { in sdp_db_find_record() 257 tSDP_RECORD* p_rec = &sdp_cb.server_db.record[0]; in SDP_AddAttribute() 313 for (zz = 0; zz < sdp_cb.server_db.num_records; zz++, p_rec++) { in SDP_AddAttribute() 346 tSDP_DB* p_db = &sdp_cb.server_db; in SDP_CreateRecord() 390 tSDP_RECORD* p_rec = &sdp_cb.server_db.record[0]; in SDP_DeleteRecord() 392 if (handle == 0 || sdp_cb.server_db.num_records == 0) { in SDP_DeleteRecord() 394 sdp_cb.server_db.num_records = 0; in SDP_DeleteRecord() [all …]
|
D | sdp_discovery.cc | 160 UINT16_TO_BE_STREAM(p, sdp_cb.max_recs_per_search); in sdp_snd_service_search_req() 665 UINT16_TO_BE_STREAM(p, sdp_cb.max_attr_list_size); in process_service_search_attr_rsp() 839 UINT16_TO_BE_STREAM(p, sdp_cb.max_attr_list_size); in process_service_attr_rsp() 913 if (total > sdp_cb.max_recs_per_search) total = sdp_cb.max_recs_per_search; in process_service_search_rsp() 914 if (p_ccb->num_handles > sdp_cb.max_recs_per_search) in process_service_search_rsp() 915 p_ccb->num_handles = sdp_cb.max_recs_per_search; in process_service_search_rsp()
|
D | sdp_utils.cc | 339 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_find_ccb_by_cid() 367 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_find_ccb_by_db() 390 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_allocate_ccb() 459 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_get_active_ccb_cid() 491 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_process_pend_ccb_same_cid() 523 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_process_pend_ccb_new_cid() 563 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_clear_pend_ccb()
|
D | sdp_api.cc | 949 if (p_device_info->primary_record && sdp_cb.server_db.di_primary_handle) in SDP_SetLocalDiRecord() 950 handle = sdp_cb.server_db.di_primary_handle; in SDP_SetLocalDiRecord() 1058 sdp_cb.server_db.di_primary_handle = handle; in SDP_SetLocalDiRecord()
|
D | sdpint.h | 242 extern tSDP_CB sdp_cb;
|
/packages/modules/Bluetooth/system/profile/avrcp/tests/ |
D | avrcp_connection_handler_test.cc | 56 void SetUpSdp(tAVRC_FIND_CBACK* sdp_cb, bool browsing, bool absolute_volume) { in SetUpSdp() argument 59 .WillOnce(DoAll(SaveArg<3>(sdp_cb), Return(0))); in SetUpSdp() 195 tAVRC_FIND_CBACK sdp_cb; in TEST_F() local 196 SetUpSdp(&sdp_cb, false, false); in TEST_F() 209 sdp_cb.Run(0); in TEST_F() 238 tAVRC_FIND_CBACK sdp_cb; in TEST_F() local 239 SetUpSdp(&sdp_cb, false, false); in TEST_F() 247 sdp_cb.Run(0); in TEST_F() 279 tAVRC_FIND_CBACK sdp_cb; in TEST_F() local 280 SetUpSdp(&sdp_cb, false, true); in TEST_F() [all …]
|
/packages/modules/Bluetooth/system/bta/test/ |
D | bta_jv_test.cc | 138 bta_jv_cb.sdp_cb = {}; in SetUp() 142 bta_jv_cb.sdp_cb = {}; in TearDown() 156 bta_jv_cb.sdp_cb = { in TEST_F() 204 bta_jv_cb.sdp_cb = { in TEST_F() 234 bta_jv_cb.sdp_cb = { in TEST_F() 267 ASSERT_EQ(true, bta_jv_cb.sdp_cb.sdp_active); in TEST_F() 268 ASSERT_EQ(kRawAddress, bta_jv_cb.sdp_cb.bd_addr); in TEST_F() 269 ASSERT_EQ(kUuid, bta_jv_cb.sdp_cb.uuid); in TEST_F() 303 ASSERT_EQ(false, bta_jv_cb.sdp_cb.sdp_active); in TEST_F() 304 ASSERT_EQ(RawAddress::kEmpty, bta_jv_cb.sdp_cb.bd_addr); in TEST_F() [all …]
|
/packages/modules/Bluetooth/system/stack/test/sdp/ |
D | stack_sdp_test.cc | 105 sdp_cb.reg_info.pL2CA_ConfigCfm_Cb(p_ccb->connection_id, 0, &cfg); in TEST_F() 110 sdp_cb.reg_info.pL2CA_DisconnectCfm_Cb(p_ccb->connection_id, 0); in TEST_F() 120 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in find_ccb() 142 sdp_cb.reg_info.pL2CA_ConfigCfm_Cb(p_ccb1->connection_id, 0, &cfg); in TEST_F() 154 sdp_cb.reg_info.pL2CA_DisconnectCfm_Cb(p_ccb2->connection_id, 0); in TEST_F() 175 sdp_cb.reg_info.pL2CA_ConfigCfm_Cb(p_ccb1->connection_id, 0, &cfg); in TEST_F() 180 sdp_cb.reg_info.pL2CA_DisconnectCfm_Cb(p_ccb1->connection_id, 0); in TEST_F()
|
D | stack_sdp_db_test.cc | 34 ASSERT_EQ((uint16_t)0, sdp_cb.server_db.num_records); in SetUp() 39 ASSERT_EQ((uint16_t)0, sdp_cb.server_db.num_records); in TearDown() 48 ASSERT_EQ((uint16_t)1, sdp_cb.server_db.num_records); in TEST_F()
|
/packages/modules/Bluetooth/system/bta/jv/ |
D | bta_jv_act.cc | 798 if (!bta_jv_cb.sdp_cb.sdp_active) { in bta_jv_start_discovery_cback() 801 bd_addr, sdp_result_text(result), bta_jv_cb.sdp_cb.sdp_active); in bta_jv_start_discovery_cback() 803 if (bta_jv_cb.sdp_cb.bd_addr != bta_jv_cb.sdp_cb.bd_addr) { in bta_jv_start_discovery_cback() 807 bta_jv_cb.sdp_cb.bd_addr, bd_addr, sdp_result_text(result), in bta_jv_start_discovery_cback() 808 bta_jv_cb.sdp_cb.sdp_active); in bta_jv_start_discovery_cback() 826 p_bta_jv_cfg->p_sdp_db, bta_jv_cb.sdp_cb.uuid, p_sdp_rec); in bta_jv_start_discovery_cback() 827 log::verbose("bta_jv_cb.uuid={} p_sdp_rec={}", bta_jv_cb.sdp_cb.uuid, in bta_jv_start_discovery_cback() 857 bta_jv_cb.sdp_cb = {}; in bta_jv_start_discovery_cback() 865 if (bta_jv_cb.sdp_cb.sdp_active) { in bta_jv_start_discovery() 869 bta_jv_cb.sdp_cb.bd_addr, bd_addr, num_uuid, rfcomm_slot_id); in bta_jv_start_discovery() [all …]
|
D | bta_jv_int.h | 129 struct sdp_cb { struct 134 } sdp_cb; member
|