Home
last modified time | relevance | path

Searched refs:tSDP_DISCOVERY_DB (Results 1 – 25 of 48) sorted by relevance

12

/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_sdp_api.h45 std::function<bool(const tSDP_DISCOVERY_DB* p_db)> body{
46 [](const tSDP_DISCOVERY_DB* /* p_db */) { return false; }};
47 bool operator()(const tSDP_DISCOVERY_DB* p_db) { return body(p_db); }; in operator()
109 std::function<bool(tSDP_DISCOVERY_DB* p_db, uint32_t len, uint16_t num_uuid,
112 body{[](tSDP_DISCOVERY_DB* /* p_db */, uint32_t /* len */,
116 bool operator()(tSDP_DISCOVERY_DB* p_db, uint32_t len, uint16_t num_uuid, in operator()
127 std::function<bool(const RawAddress& p_bd_addr, tSDP_DISCOVERY_DB* p_db,
129 body{[](const RawAddress& /* p_bd_addr */, tSDP_DISCOVERY_DB* /* p_db */,
131 bool operator()(const RawAddress& p_bd_addr, tSDP_DISCOVERY_DB* p_db, in operator()
144 const RawAddress& p_bd_addr, tSDP_DISCOVERY_DB* p_db,
[all …]
Dmock_stack_sdp_api.cc63 bool SDP_CancelServiceSearch(const tSDP_DISCOVERY_DB* p_db) { in SDP_CancelServiceSearch()
91 bool SDP_InitDiscoveryDb(tSDP_DISCOVERY_DB* p_db, uint32_t len, in SDP_InitDiscoveryDb()
99 tSDP_DISCOVERY_DB* p_db, in SDP_ServiceSearchAttributeRequest()
106 const RawAddress& p_bd_addr, tSDP_DISCOVERY_DB* p_db, in SDP_ServiceSearchAttributeRequest2()
113 tSDP_DISCOVERY_DB* p_db, in SDP_ServiceSearchRequest()
124 tSDP_DISC_REC* SDP_FindServiceInDb(const tSDP_DISCOVERY_DB* p_db, in SDP_FindServiceInDb()
131 tSDP_DISC_REC* SDP_FindServiceInDb_128bit(const tSDP_DISCOVERY_DB* p_db, in SDP_FindServiceInDb_128bit()
137 tSDP_DISC_REC* SDP_FindServiceUUIDInDb(const tSDP_DISCOVERY_DB* p_db, in SDP_FindServiceUUIDInDb()
145 tSDP_DISCOVERY_DB* p_db, uint32_t len, in SDP_DiDiscover()
153 const tSDP_DISCOVERY_DB* p_db) { in SDP_GetDiRecord()
[all …]
Dmock_stack_hidh.cc44 tSDP_DISCOVERY_DB* /* p_db */, in HID_HostGetSDPRecord() argument
Dmock_stack_sdp_legacy_api.cc29 .SDP_InitDiscoveryDb = [](tSDP_DISCOVERY_DB*, uint32_t, uint16_t,
/packages/modules/Bluetooth/system/stack/sdp/internal/
Dsdp_api.h40 bool SDP_InitDiscoveryDb(tSDP_DISCOVERY_DB* p_db, uint32_t len,
54 bool SDP_CancelServiceSearch(const tSDP_DISCOVERY_DB* p_db);
66 tSDP_DISCOVERY_DB* p_db, tSDP_DISC_CMPL_CB* p_cb);
82 tSDP_DISCOVERY_DB* p_db,
100 const RawAddress& p_bd_addr, tSDP_DISCOVERY_DB* p_db,
130 tSDP_DISC_REC* SDP_FindServiceInDb(const tSDP_DISCOVERY_DB* p_db,
150 tSDP_DISC_REC* SDP_FindServiceUUIDInDb(const tSDP_DISCOVERY_DB* p_db,
198 tSDP_DISC_REC* SDP_FindServiceInDb_128bit(const tSDP_DISCOVERY_DB* p_db,
412 tSDP_DISCOVERY_DB* p_db, uint32_t len,
424 uint8_t SDP_GetNumDiRecords(const tSDP_DISCOVERY_DB* p_db);
[all …]
/packages/modules/Bluetooth/system/stack/include/
Dsdp_api.h61 [[nodiscard]] bool (*SDP_InitDiscoveryDb)(tSDP_DISCOVERY_DB*, uint32_t,
78 [[nodiscard]] bool (*SDP_CancelServiceSearch)(const tSDP_DISCOVERY_DB*);
94 tSDP_DISCOVERY_DB*,
116 tSDP_DISCOVERY_DB*,
140 const RawAddress&, tSDP_DISCOVERY_DB*,
163 const tSDP_DISCOVERY_DB*, uint16_t, tSDP_DISC_REC*);
187 const tSDP_DISCOVERY_DB*, const bluetooth::Uuid&, tSDP_DISC_REC*);
206 const tSDP_DISCOVERY_DB*, tSDP_DISC_REC*);
543 tSDP_DISCOVERY_DB* p_db,
560 [[nodiscard]] uint8_t (*SDP_GetNumDiRecords)(const tSDP_DISCOVERY_DB* p_db);
[all …]
Dhidh_api.h102 tSDP_DISCOVERY_DB* p_db, uint32_t db_len,
/packages/modules/Bluetooth/system/bta/sdp/
Dbta_sdp_cfg.cc31 static tSDP_DISCOVERY_DB
32 bta_sdp_db_data[BTA_SDP_DB_SIZE / sizeof(tSDP_DISCOVERY_DB)];
36 (BTA_SDP_DB_SIZE / sizeof(tSDP_DISCOVERY_DB)) * sizeof(tSDP_DISCOVERY_DB),
/packages/modules/Bluetooth/system/test/headless/sdp/
Dsdp_db.cc27 db_ = (tSDP_DISCOVERY_DB*)malloc(max_records_ * sizeof(tSDP_DISC_REC) + in SdpDb()
28 sizeof(tSDP_DISCOVERY_DB)); in SdpDb()
33 tSDP_DISCOVERY_DB* SdpDb::RawPointer() { return db_; } in RawPointer()
36 return max_records_ * sizeof(tSDP_DISC_REC) + sizeof(tSDP_DISCOVERY_DB); in Length()
Dsdp_db.h33 tSDP_DISCOVERY_DB* RawPointer();
41 tSDP_DISCOVERY_DB* db_;
/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_api.cc70 bool SDP_InitDiscoveryDb(tSDP_DISCOVERY_DB* p_db, uint32_t len, in SDP_InitDiscoveryDb()
76 if (p_db == NULL || (sizeof(tSDP_DISCOVERY_DB) > len) || in SDP_InitDiscoveryDb()
88 p_db->mem_size = len - sizeof(tSDP_DISCOVERY_DB); in SDP_InitDiscoveryDb()
116 bool SDP_CancelServiceSearch(const tSDP_DISCOVERY_DB* p_db) { in SDP_CancelServiceSearch()
135 tSDP_DISCOVERY_DB* p_db, in SDP_ServiceSearchRequest()
166 tSDP_DISCOVERY_DB* p_db, in SDP_ServiceSearchAttributeRequest()
198 const RawAddress& bd_addr, tSDP_DISCOVERY_DB* p_db, in SDP_ServiceSearchAttributeRequest2()
370 tSDP_DISC_REC* SDP_FindServiceInDb(const tSDP_DISCOVERY_DB* p_db, in SDP_FindServiceInDb()
473 tSDP_DISC_REC* SDP_FindServiceInDb_128bit(const tSDP_DISCOVERY_DB* p_db, in SDP_FindServiceInDb_128bit()
531 tSDP_DISC_REC* SDP_FindServiceUUIDInDb(const tSDP_DISCOVERY_DB* p_db, in SDP_FindServiceUUIDInDb()
[all …]
Dsdpint.h193 tSDP_DISCOVERY_DB* p_db; /* Database to save info into */
255 void sdpu_log_attribute_metrics(const RawAddress& bda, tSDP_DISCOVERY_DB* p_db);
257 tCONN_CB* sdpu_find_ccb_by_db(const tSDP_DISCOVERY_DB* p_db);
280 void sdpu_sort_attr_list(uint16_t num_attr, tSDP_DISCOVERY_DB* p_db);
335 size_t sdp_get_num_records(const tSDP_DISCOVERY_DB& db);
Dsdp_discovery_db.h76 } tSDP_DISCOVERY_DB; typedef
/packages/modules/Bluetooth/system/stack/test/fuzzers/sdp/
DsdpFuzzFunctions.h59 std::shared_ptr<tSDP_DISCOVERY_DB> p_db(
60 reinterpret_cast<tSDP_DISCOVERY_DB*>(malloc(db_size)), free);
83 tSDP_DISCOVERY_DB* db =
95 tSDP_DISCOVERY_DB* db =
110 tSDP_DISCOVERY_DB* db =
326 std::shared_ptr<tSDP_DISCOVERY_DB> p_db(
327 reinterpret_cast<tSDP_DISCOVERY_DB*>(malloc(db_size)), free);
/packages/modules/Bluetooth/system/profile/avrcp/
Davrcp_internal.h76 virtual bool InitDiscoveryDb(tSDP_DISCOVERY_DB* a, uint32_t b, uint16_t c,
81 tSDP_DISCOVERY_DB* b,
84 virtual tSDP_DISC_REC* FindServiceInDb(tSDP_DISCOVERY_DB* a, uint16_t b,
/packages/modules/Bluetooth/system/bta/test/
Dbta_jv_test.cc56 .SDP_InitDiscoveryDb = [](tSDP_DISCOVERY_DB*, uint32_t, uint16_t, in FakeSdp()
64 tSDP_DISCOVERY_DB* /* p_db */, in FakeSdp()
74 [](const tSDP_DISCOVERY_DB* /* p_db */, in FakeSdp()
191 [](const tSDP_DISCOVERY_DB* /* p_db */, const bluetooth::Uuid& /* uuid */, in TEST_F()
280 [](const RawAddress& /* p_bd_addr */, tSDP_DISCOVERY_DB* /* p_db */, in TEST_F()
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_disc_sdp.cc113 static void bta_dm_store_audio_profiles_version(tSDP_DISCOVERY_DB* p_sdp_db) { in bta_dm_store_audio_profiles_version()
168 tSDP_DISCOVERY_DB* p_sdp_db = (tSDP_DISCOVERY_DB*)sdp_state->sdp_db_buffer; in bta_dm_sdp_result()
345 tSDP_DISCOVERY_DB* p_sdp_db = (tSDP_DISCOVERY_DB*)sdp_state->sdp_db_buffer; in bta_dm_sdp_find_services()
/packages/modules/Bluetooth/system/profile/avrcp/tests/
Davrcp_test_helper.h109 bool(tSDP_DISCOVERY_DB*, uint32_t, uint16_t,
112 bool(const RawAddress&, tSDP_DISCOVERY_DB*, tSDP_DISC_CMPL_CB*));
114 tSDP_DISC_REC*(tSDP_DISCOVERY_DB*, uint16_t, t_sdp_disc_rec*));
/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_int.h47 tSDP_DISCOVERY_DB* p_db; /* pointer to discovery database */
/packages/modules/Bluetooth/system/stack/test/sdp/
Dstack_sdp_parse_test.cc93 p_db_ = (tSDP_DISCOVERY_DB*)osi_malloc(kSdpDbSize); in SetUp()
103 tSDP_DISCOVERY_DB* p_db_{nullptr};
Dstack_sdp_test.cc40 static tSDP_DISCOVERY_DB* sdp_db = nullptr;
83 sdp_db = (tSDP_DISCOVERY_DB*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); in SetUp()
281 static tSDP_DISCOVERY_DB db{};
/packages/modules/Bluetooth/system/stack/hid/
Dhidh_int.h61 tSDP_DISCOVERY_DB* p_sdp_db;
/packages/modules/Bluetooth/system/bta/include/
Dbta_sdp_api.h91 tSDP_DISCOVERY_DB* p_sdp_db; /* The data buffer to keep SDP database */
/packages/modules/Bluetooth/system/stack/fuzzers/
Dsdp_fuzzer.cc195 std::shared_ptr<tSDP_DISCOVERY_DB> p_db( in FuzzAsClient()
196 (tSDP_DISCOVERY_DB*)malloc(SDP_DB_SIZE), free); in FuzzAsClient()
/packages/modules/Bluetooth/system/stack/avrc/
Davrc_int.h152 tSDP_DISCOVERY_DB* p_db; /* pointer to discovery database */

12