Home
last modified time | relevance | path

Searched refs:tBTA_JV_STATUS (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/system/test/mock/
Dmock_bta_jv_api.cc34 tBTA_JV_STATUS BTA_JvCreateRecordByUser(uint32_t /* rfcomm_slot_id */) { in BTA_JvCreateRecordByUser()
36 return tBTA_JV_STATUS::SUCCESS; in BTA_JvCreateRecordByUser()
38 tBTA_JV_STATUS BTA_JvDeleteRecord(uint32_t /* handle */) { in BTA_JvDeleteRecord()
40 return tBTA_JV_STATUS::SUCCESS; in BTA_JvDeleteRecord()
42 tBTA_JV_STATUS BTA_JvEnable(tBTA_JV_DM_CBACK* /* p_cback */) { in BTA_JvEnable()
44 return tBTA_JV_STATUS::SUCCESS; in BTA_JvEnable()
46 tBTA_JV_STATUS BTA_JvFreeChannel(uint16_t /* channel */, in BTA_JvFreeChannel()
49 return tBTA_JV_STATUS::SUCCESS; in BTA_JvFreeChannel()
51 tBTA_JV_STATUS BTA_JvL2capClose(uint32_t /* handle */) { in BTA_JvL2capClose()
53 return tBTA_JV_STATUS::SUCCESS; in BTA_JvL2capClose()
[all …]
/packages/modules/Bluetooth/system/bta/jv/
Dbta_jv_api.cc65 tBTA_JV_STATUS BTA_JvEnable(tBTA_JV_DM_CBACK* p_cback) { in BTA_JvEnable()
69 return tBTA_JV_STATUS::FAILURE; in BTA_JvEnable()
83 return tBTA_JV_STATUS::SUCCESS; in BTA_JvEnable()
140 tBTA_JV_STATUS BTA_JvFreeChannel(uint16_t channel, in BTA_JvFreeChannel()
146 return tBTA_JV_STATUS::SUCCESS; in BTA_JvFreeChannel()
162 tBTA_JV_STATUS BTA_JvStartDiscovery(const RawAddress& bd_addr, in BTA_JvStartDiscovery()
174 return tBTA_JV_STATUS::SUCCESS; in BTA_JvStartDiscovery()
189 tBTA_JV_STATUS BTA_JvCreateRecordByUser(uint32_t rfcomm_slot_id) { in BTA_JvCreateRecordByUser()
193 return tBTA_JV_STATUS::SUCCESS; in BTA_JvCreateRecordByUser()
206 tBTA_JV_STATUS BTA_JvDeleteRecord(uint32_t handle) { in BTA_JvDeleteRecord()
[all …]
Dbta_jv_act.cc65 static tBTA_JV_STATUS bta_jv_free_set_pm_profile_cb(uint32_t jv_handle);
295 static tBTA_JV_STATUS bta_jv_free_rfc_cb(tBTA_JV_RFC_CB* p_cb, in bta_jv_free_rfc_cb()
297 tBTA_JV_STATUS status = tBTA_JV_STATUS::SUCCESS; in bta_jv_free_rfc_cb()
303 return tBTA_JV_STATUS::FAILURE; in bta_jv_free_rfc_cb()
311 if (p_cb->curr_sess <= 0) return tBTA_JV_STATUS::SUCCESS; in bta_jv_free_rfc_cb()
319 status = tBTA_JV_STATUS::FAILURE; in bta_jv_free_rfc_cb()
344 status = tBTA_JV_STATUS::FAILURE; in bta_jv_free_rfc_cb()
347 if (tBTA_JV_STATUS::SUCCESS == status) { in bta_jv_free_rfc_cb()
355 status = tBTA_JV_STATUS::FAILURE; in bta_jv_free_rfc_cb()
394 tBTA_JV_STATUS bta_jv_free_l2c_cb(tBTA_JV_L2C_CB* p_cb) { in bta_jv_free_l2c_cb()
[all …]
/packages/modules/Bluetooth/system/bta/include/
Dbta_jv_api.h43 enum class tBTA_JV_STATUS { enum
49 inline std::string bta_jv_status_text(const tBTA_JV_STATUS& status) { in bta_jv_status_text()
51 CASE_RETURN_TEXT(tBTA_JV_STATUS::SUCCESS); in bta_jv_status_text()
52 CASE_RETURN_TEXT(tBTA_JV_STATUS::FAILURE); in bta_jv_status_text()
53 CASE_RETURN_TEXT(tBTA_JV_STATUS::BUSY); in bta_jv_status_text()
243 tBTA_JV_STATUS status; /* Whether the operation succeeded or failed. */
249 tBTA_JV_STATUS status; /* Whether the operation succeeded or failed. */
255 tBTA_JV_STATUS status; /* Whether the operation succeeded or failed. */
260 tBTA_JV_STATUS status; /* Whether the operation succeeded or failed. */
270 tBTA_JV_STATUS status; /* Whether the operation succeeded or failed. */
[all …]
/packages/modules/Bluetooth/system/bta/test/
Dbta_jv_test.cc164 ASSERT_EQ(p_data->disc_comp.status, tBTA_JV_STATUS::FAILURE); in TEST_F()
169 ASSERT_EQ(p_data->disc_comp.status, tBTA_JV_STATUS::SUCCESS); in TEST_F()
212 ASSERT_EQ(tBTA_JV_STATUS::SUCCESS, p_data->disc_comp.status); in TEST_F()
218 ASSERT_EQ(tBTA_JV_STATUS::SUCCESS, p_data->disc_comp.status); in TEST_F()
242 ASSERT_EQ(tBTA_JV_STATUS::FAILURE, p_data->disc_comp.status); in TEST_F()
247 ASSERT_EQ(tBTA_JV_STATUS::SUCCESS, p_data->disc_comp.status); in TEST_F()
288 ASSERT_EQ(tBTA_JV_STATUS::FAILURE, p_data->disc_comp.status); in TEST_F()
293 ASSERT_EQ(tBTA_JV_STATUS::SUCCESS, p_data->disc_comp.status); in TEST_F()
323 ASSERT_EQ(tBTA_JV_STATUS::BUSY, p_data->disc_comp.status); in TEST_F()
328 ASSERT_EQ(tBTA_JV_STATUS::SUCCESS, p_data->disc_comp.status); in TEST_F()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_sock_rfc.cc106 static void handle_discovery_comp(tBTA_JV_STATUS status, int scn, uint32_t id);
386 tBTA_JV_STATUS ret = BTA_JvRfcommConnect( in btsock_rfc_connect()
388 if (ret != tBTA_JV_STATUS::SUCCESS) { in btsock_rfc_connect()
524 } else if (p_init->status != tBTA_JV_STATUS::SUCCESS) { in on_cl_rfc_init()
540 } else if (p_start->status != tBTA_JV_STATUS::SUCCESS) { in on_srv_rfc_listen_started()
604 if (p_open->status != tBTA_JV_STATUS::SUCCESS) { in on_cli_rfc_connect()
650 if (p->status != tBTA_JV_STATUS::SUCCESS) { in on_rfc_write_done()
844 static void handle_discovery_comp(tBTA_JV_STATUS status, int scn, uint32_t id) { in handle_discovery_comp()
860 if (status != tBTA_JV_STATUS::SUCCESS || !scn) { in handle_discovery_comp()
870 slot->id) != tBTA_JV_STATUS::SUCCESS) { in handle_discovery_comp()
Dbtif_sock_l2cap.cc450 if (p_start->status != tBTA_JV_STATUS::SUCCESS) { in on_srv_l2cap_listen_started()
489 if (p_init->status != tBTA_JV_STATUS::SUCCESS) { in on_cl_l2cap_init()
607 if (psm_open->status == tBTA_JV_STATUS::SUCCESS) { in on_l2cap_connect()
711 if (BTA_JvL2capReady(sock->handle, &count) == tBTA_JV_STATUS::SUCCESS) { in on_l2cap_data_ind()
714 tBTA_JV_STATUS::SUCCESS) { in on_l2cap_data_ind()