Home
last modified time | relevance | path

Searched refs:btif_rc_cb (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/btif/test/
Dbtif_rc_test.cc136 btif_rc_cb.rc_multi_cb[0].rc_addr = kDeviceAddress; in TEST_F()
137 btif_rc_cb.rc_multi_cb[0].rc_connected = true; in TEST_F()
138 btif_rc_cb.rc_multi_cb[0] in TEST_F()
141 btif_rc_cb.rc_multi_cb[0].rc_state = BTRC_CONNECTION_STATE_CONNECTED; in TEST_F()
154 btif_rc_cb.rc_multi_cb[0].rc_addr = kDeviceAddress; in TEST_F()
155 btif_rc_cb.rc_multi_cb[0].rc_state = BTRC_CONNECTION_STATE_CONNECTED; in TEST_F()
156 btif_rc_cb.rc_multi_cb[0].rc_handle = 0; in TEST_F()
314 btif_rc_cb.rc_multi_cb[0].rc_handle = 0; in TEST_F()
315 btif_rc_cb.rc_multi_cb[0].rc_addr = RawAddress::kEmpty; in TEST_F()
316 btif_rc_cb.rc_multi_cb[0].rc_state = BTRC_CONNECTION_STATE_CONNECTED; in TEST_F()
[all …]
/packages/modules/Bluetooth/system/btif/src/
Dbtif_rc.cc381 static rc_cb_t btif_rc_cb; variable
417 if ((btif_rc_cb.rc_multi_cb[idx].rc_state != in btif_rc_get_addr_by_handle()
419 (btif_rc_cb.rc_multi_cb[idx].rc_handle == handle)) { in btif_rc_get_addr_by_handle()
421 btif_rc_cb.rc_multi_cb[idx].rc_handle); in btif_rc_get_addr_by_handle()
422 rc_addr = btif_rc_cb.rc_multi_cb[idx].rc_addr; in btif_rc_get_addr_by_handle()
436 if (btif_rc_cb.rc_multi_cb[idx].rc_state == in alloc_device()
438 return (&btif_rc_cb.rc_multi_cb[idx]); in alloc_device()
488 if (btif_rc_cb.rc_multi_cb[index].rc_state != in get_connected_device()
493 return (&btif_rc_cb.rc_multi_cb[index]); in get_connected_device()
500 if ((btif_rc_cb.rc_multi_cb[idx].rc_state != in btif_rc_get_device_by_bda()
[all …]