Home
last modified time | relevance | path

Searched refs:p_handle (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/Bluetooth/system/bta/test/
Dbta_hf_client_test.cc46 uint16_t p_handle = 0; in TEST_F() local
47 bool status = bta_hf_client_allocate_handle(bdaddr1, &p_handle); in TEST_F()
51 EXPECT_GT(p_handle, 0); in TEST_F()
56 uint16_t p_handle; in TEST_F() local
57 bool status = bta_hf_client_allocate_handle(bdaddr1, &p_handle); in TEST_F()
61 EXPECT_GT(p_handle, 0); in TEST_F()
65 status = bta_hf_client_allocate_handle(bdaddr1, &p_handle); in TEST_F()
Dbta_hf_client_security_test.cc47 uint16_t p_handle; in TEST_F() local
48 bool status = bta_hf_client_allocate_handle(bdaddr1, &p_handle); in TEST_F()
54 ASSERT_GT(p_handle, 0); in TEST_F()
/packages/modules/Bluetooth/system/bta/hf_client/
Dbta_hf_client_api.cc90 bt_status_t BTA_HfClientOpen(const RawAddress& bd_addr, uint16_t* p_handle) { in BTA_HfClientOpen() argument
95 if (!bta_hf_client_allocate_handle(bd_addr, p_handle)) { in BTA_HfClientOpen()
101 p_buf->hdr.layer_specific = *p_handle; in BTA_HfClientOpen()
Dbta_hf_client_main.cc595 uint16_t* p_handle) { in bta_hf_client_allocate_handle() argument
613 *p_handle = client_cb->handle; in bta_hf_client_allocate_handle()
Dbta_hf_client_int.h227 uint16_t* p_handle);
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_api.cc144 uint32_t* p_handle) { in BTA_DmSetLocalDiRecord() argument
149 (tSDP_DI_RECORD*)p_device_info, p_handle) == SDP_SUCCESS) { in BTA_DmSetLocalDiRecord()
151 bta_dm_di_cb.di_handle[bta_dm_di_cb.di_num] = *p_handle; in BTA_DmSetLocalDiRecord()
/packages/modules/Bluetooth/system/stack/avrc/
Davrc_api.cc1077 uint16_t AVRC_Open(uint8_t* p_handle, tAVRC_CONN_CB* p_ccb, in AVRC_Open() argument
1088 status = AVCT_CreateConn(p_handle, &cc, peer_addr); in AVRC_Open()
1090 avrc_cb.ccb[*p_handle] = *p_ccb; in AVRC_Open()
1091 memset(&avrc_cb.ccb_int[*p_handle], 0, sizeof(tAVRC_CONN_INT_CB)); in AVRC_Open()
1092 memset(&avrc_cb.fcb[*p_handle], 0, sizeof(tAVRC_FRAG_CB)); in AVRC_Open()
1093 memset(&avrc_cb.rcb[*p_handle], 0, sizeof(tAVRC_RASM_CB)); in AVRC_Open()
1094 avrc_cb.ccb_int[*p_handle].tle = alarm_new("avrcp.commandTimer"); in AVRC_Open()
1095 avrc_cb.ccb_int[*p_handle].cmd_q = fixed_queue_new(SIZE_MAX); in AVRC_Open()
1098 status, *p_handle); in AVRC_Open()
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_sdp_api.h270 uint32_t* p_handle)>
273 uint16_t operator()(const tSDP_DI_RECORD* p_device_info, uint32_t* p_handle) { in operator()
274 return body(p_device_info, p_handle); in operator()
Dmock_stack_sdp_api.cc159 uint32_t* p_handle) { in SDP_SetLocalDiRecord() argument
162 p_handle); in SDP_SetLocalDiRecord()
Dmock_bta_dm_api.h529 std::function<tBTA_STATUS(tSDP_DI_RECORD* p_device_info, uint32_t* p_handle)>
533 tBTA_STATUS operator()(tSDP_DI_RECORD* p_device_info, uint32_t* p_handle) { in operator()
534 return body(p_device_info, p_handle); in operator()
Dmock_bta_dm_api.cc288 uint32_t* p_handle) { in BTA_DmSetLocalDiRecord() argument
291 p_handle); in BTA_DmSetLocalDiRecord()
/packages/modules/Bluetooth/system/stack/rfcomm/
Dport_api.cc114 uint16_t* p_handle, in RFCOMM_CreateConnectionWithSecurity() argument
117 *p_handle = 0; in RFCOMM_CreateConnectionWithSecurity()
153 *p_handle = p_port->handle; in RFCOMM_CreateConnectionWithSecurity()
169 *p_handle = p_port->handle; in RFCOMM_CreateConnectionWithSecurity()
233 *p_handle, scn, dlci, mtu)); in RFCOMM_CreateConnectionWithSecurity()
239 *p_handle, scn, dlci, mtu)); in RFCOMM_CreateConnectionWithSecurity()
/packages/modules/Bluetooth/system/stack/avct/
Davct_api.cc123 uint16_t AVCT_CreateConn(uint8_t* p_handle, tAVCT_CC* p_cc, in AVCT_CreateConn() argument
137 *p_handle = avct_ccb_to_idx(p_ccb); in AVCT_CreateConn()
/packages/modules/Bluetooth/system/stack/include/
Davct_api.h177 uint16_t AVCT_CreateConn(uint8_t* p_handle, tAVCT_CC* p_cc,
Dbnep_api.h236 const bluetooth::Uuid& dst_uuid, uint16_t* p_handle,
Dsdp_api.h523 const tSDP_DI_RECORD* device_info, uint32_t* p_handle);
Dport_api.h230 const RawAddress& bd_addr, uint16_t* p_handle,
Davrc_api.h432 uint16_t AVRC_Open(uint8_t* p_handle, tAVRC_CONN_CB* p_ccb,
/packages/modules/Bluetooth/system/profile/avrcp/
Davrcp_internal.h52 virtual uint16_t Open(uint8_t* p_handle, tAVRC_CONN_CB* p_ccb,
/packages/modules/Bluetooth/system/stack/bnep/
Dbnep_api.cc135 const Uuid& dst_uuid, uint16_t* p_handle, in BNEP_Connect() argument
194 *p_handle = p_bcb->handle; in BNEP_Connect()
/packages/modules/Bluetooth/system/stack/avdt/
Davdt_api.cc162 uint16_t AVDT_CreateStream(uint8_t peer_id, uint8_t* p_handle, in AVDT_CreateStream() argument
185 *p_handle = avdt_scb_to_hdl(p_scb); in AVDT_CreateStream()
187 *p_handle); in AVDT_CreateStream()
/packages/modules/Bluetooth/system/stack/sdp/internal/
Dsdp_api.h400 uint32_t* p_handle);
/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_api.cc936 uint32_t* p_handle) { in SDP_SetLocalDiRecord() argument
945 *p_handle = 0; in SDP_SetLocalDiRecord()
956 *p_handle = handle; in SDP_SetLocalDiRecord()
/packages/modules/Bluetooth/system/bta/include/
Dbta_hf_client_api.h334 bt_status_t BTA_HfClientOpen(const RawAddress& bd_addr, uint16_t* p_handle);
/packages/modules/Bluetooth/system/stack/gatt/
Datt_protocol.cc208 uint16_t* p_handle) { in attp_build_read_multi_cmd() argument
221 UINT16_TO_STREAM(p, *(p_handle + i)); in attp_build_read_multi_cmd()

12