Home
last modified time | relevance | path

Searched refs:GATT_INVALID_CONN_ID (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_disc.cc209 bta_dm_gatt_disc_complete((uint16_t)GATT_INVALID_CONN_ID, in bta_dm_disc_remove_device()
349 if (bta_dm_discovery_cb.conn_id != GATT_INVALID_CONN_ID && in bta_dm_disc_result()
583 if (conn_id != GATT_INVALID_CONN_ID && status == GATT_SUCCESS) { in bta_dm_gatt_disc_complete()
606 if (conn_id != GATT_INVALID_CONN_ID) { in bta_dm_gatt_disc_complete()
618 bta_dm_discovery_cb.conn_id = GATT_INVALID_CONN_ID; in bta_dm_gatt_disc_complete()
640 if (bta_dm_discovery_cb.conn_id != GATT_INVALID_CONN_ID) in bta_dm_close_gatt_conn()
644 bta_dm_discovery_cb.conn_id = GATT_INVALID_CONN_ID; in bta_dm_close_gatt_conn()
661 bta_dm_discovery_cb.conn_id != GATT_INVALID_CONN_ID) { in btm_dm_start_gatt_discovery()
714 bta_dm_gatt_disc_complete(GATT_INVALID_CONN_ID, p_data->status); in bta_dm_proc_open_evt()
746 bta_dm_discovery_cb.conn_id = GATT_INVALID_CONN_ID; in bta_dm_gattc_callback()
[all …]
Dbta_dm_disc_legacy.cc221 bta_dm_gatt_disc_complete((uint16_t)GATT_INVALID_CONN_ID, in bta_dm_disc_remove_device()
853 if (conn_id == GATT_INVALID_CONN_ID) { in bta_dm_search_cmpl()
904 if (conn_id != GATT_INVALID_CONN_ID && in bta_dm_search_cmpl()
1825 if (conn_id != GATT_INVALID_CONN_ID) { in bta_dm_gatt_disc_complete()
1837 bta_dm_search_cb.conn_id = GATT_INVALID_CONN_ID; in bta_dm_gatt_disc_complete()
1860 if (bta_dm_search_cb.conn_id != GATT_INVALID_CONN_ID) in bta_dm_close_gatt_conn()
1864 bta_dm_search_cb.conn_id = GATT_INVALID_CONN_ID; in bta_dm_close_gatt_conn()
1883 bta_dm_search_cb.conn_id != GATT_INVALID_CONN_ID) { in btm_dm_start_gatt_discovery()
1941 bta_dm_gatt_disc_complete(GATT_INVALID_CONN_ID, p_data->status); in bta_dm_proc_open_evt()
1983 bta_dm_search_cb.conn_id = GATT_INVALID_CONN_ID; in bta_dm_gattc_callback()
[all …]
/packages/modules/Bluetooth/system/bta/vc/
Ddevices.h72 connection_id(GATT_INVALID_CONN_ID), in VolumeControlDevice()
98 if (connection_id == GATT_INVALID_CONN_ID) in DebugDump()
114 bool IsConnected() { return connection_id != GATT_INVALID_CONN_ID; } in IsConnected()
Ddevice.cc59 connection_id = GATT_INVALID_CONN_ID; in Disconnect()
Ddevices_test.cc199 device->connection_id = GATT_INVALID_CONN_ID; in TEST_F()
/packages/modules/Bluetooth/system/bta/has/
Dhas_types.h93 uint16_t conn_id = GATT_INVALID_CONN_ID;
105 bool IsConnected() const { return conn_id != GATT_INVALID_CONN_ID; } in IsConnected()
196 conn_id = GATT_INVALID_CONN_ID; in ConnectionCleanUp()
Dhas_client.cc235 if (conn_id != GATT_INVALID_CONN_ID) { in Disconnect()
893 if (device.conn_id != GATT_INVALID_CONN_ID) in CleanUp()
931 if (device.conn_id == GATT_INVALID_CONN_ID) { in WriteAllNeededCcc()
1581 if (device.conn_id != GATT_INVALID_CONN_ID) { in DoDisconnectCleanUp()
1685 if (device->conn_id == GATT_INVALID_CONN_ID) return true; in LoadHasDetailsFromStorage()
Dhas_client_test.cc807 if (conn_id != GATT_INVALID_CONN_ID) { in TestDisconnect()
1245 TestDisconnect(test_address, GATT_INVALID_CONN_ID); in TEST_F()
1266 TestDisconnect(test_address, GATT_INVALID_CONN_ID); in TEST_F()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_attr.cc125 uint16_t conn_id = GATT_INVALID_CONN_ID; in gatt_profile_find_conn_id_by_bd_addr()
133 if (conn_id == GATT_INVALID_CONN_ID) { in gatt_profile_find_conn_id_by_bd_addr()
905 if (conn_id == GATT_INVALID_CONN_ID) return false; in gatt_cl_read_sr_supp_feat_req()
953 if (conn_id == GATT_INVALID_CONN_ID) return false; in gatt_cl_read_sirk_req()
997 if (conn_id == GATT_INVALID_CONN_ID) return false; in gatt_profile_get_eatt_support()
Dgatt_api.cc456 return (tGATT_STATUS)GATT_INVALID_CONN_ID; in GATTS_HandleValueIndication()
559 return (tGATT_STATUS)GATT_INVALID_CONN_ID; in GATTS_HandleValueNotification()
652 return (tGATT_STATUS)GATT_INVALID_CONN_ID; in GATTS_SendRsp()
Dgatt_main.cc1083 if (conn_id == GATT_INVALID_CONN_ID) { in gatt_send_srv_chg_ind()
Dgatt_utils.cc1762 : GATT_INVALID_CONN_ID; in gatt_le_disconnect_complete_notify_user()
/packages/modules/Bluetooth/system/bta/le_audio/
Ddevices.h123 conn_id_(GATT_INVALID_CONN_ID), in address_()
137 GATT_INVALID_CONN_ID}) {} in address_()
Ddevices.cc1018 << (conn_id_ == GATT_INVALID_CONN_ID ? "" : std::to_string(conn_id_)) in Dump()
1054 if (conn_id_ == GATT_INVALID_CONN_ID) return; in DisconnectAcl()
1096 if (conn_id_ == GATT_INVALID_CONN_ID) { in ActivateConfiguredAses()
Dclient.cc703 if (leAudioDevice->conn_id_ != GATT_INVALID_CONN_ID) in group_add_node()
1716 if (leAudioDevice->conn_id_ == GATT_INVALID_CONN_ID) { in DisconnectDevice()
2044 if (leAudioDevice->conn_id_ != GATT_INVALID_CONN_ID) { in OnGattConnected()
2215 (leAudioDevice->conn_id_ == GATT_INVALID_CONN_ID)) { in OnEncryptionComplete()
2428 leAudioDevice->conn_id_ = GATT_INVALID_CONN_ID; in OnGattDisconnected()
2597 if (leAudioDevice->conn_id_ != GATT_INVALID_CONN_ID) { in OnServiceChangeEvent()
2651 if (!leAudioDevice || (leAudioDevice->conn_id_ == GATT_INVALID_CONN_ID)) { in OnGattServiceDiscoveryDone()
3237 leAudioDevice->conn_id_ == GATT_INVALID_CONN_ID) { in restartAttachToTheStream()
Ddevice_groups.cc103 return (dev->conn_id_ != GATT_INVALID_CONN_ID) && in NumOfConnected()
121 return (dev->conn_id_ != GATT_INVALID_CONN_ID) && in NumOfAvailableForDirection()
Dle_audio_client_test.cc532 ASSERT_NE(conn_id, GATT_INVALID_CONN_ID); in InjectConnectedEvent()
575 ASSERT_NE(conn_id, GATT_INVALID_CONN_ID); in InjectDisconnectedEvent()
598 ASSERT_NE(conn_id, GATT_INVALID_CONN_ID); in InjectPhyChangedEvent()
617 ASSERT_NE(conn_id, GATT_INVALID_CONN_ID); in InjectSearchCompleteEvent()
635 ASSERT_NE(conn_id, GATT_INVALID_CONN_ID); in InjectNotificationEvent()
783 ASSERT_NE(conn_id, GATT_INVALID_CONN_ID); in SetUpMockGatt()
2889 ASSERT_NE(handle, GATT_INVALID_CONN_ID); in SetUp()
Ddevices_test.cc2323 device1->conn_id_ = GATT_INVALID_CONN_ID; in TEST_P()
/packages/modules/Bluetooth/system/stack/srvc/
Dsrvc_dis.cc462 conn_id = GATT_INVALID_CONN_ID; in DIS_ReadDISInfo()
468 if (conn_id == GATT_INVALID_CONN_ID) { in DIS_ReadDISInfo()
/packages/modules/Bluetooth/system/bta/csis/
Dcsis_types.h98 uint16_t conn_id = GATT_INVALID_CONN_ID;
107 bool IsConnected() const { return (conn_id != GATT_INVALID_CONN_ID); } in IsConnected()
Dcsis_client_test.cc542 if (conn_id != GATT_INVALID_CONN_ID) { in TestDisconnect()
766 TestDisconnect(test_address, GATT_INVALID_CONN_ID); in TEST_F()
Dcsis_client.cc1716 device->conn_id = GATT_INVALID_CONN_ID; in DoDisconnectCleanUp()
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_act.cc292 p_msg->api_conn.remote_bda, GATT_INVALID_CONN_ID, in bta_gattc_process_api_open()
429 GATT_INVALID_CONN_ID, BT_TRANSPORT_LE, 0); in bta_gattc_init_bk_conn()
438 p_data->remote_bda, GATT_INVALID_CONN_ID, in bta_gattc_init_bk_conn()
/packages/modules/Bluetooth/system/stack/include/
Dgatt_api.h314 #define GATT_INVALID_CONN_ID 0xFFFF macro
/packages/modules/Bluetooth/system/bta/hh/
Dbta_hh_le.cc1208 p_cb->conn_id = GATT_INVALID_CONN_ID; in bta_hh_le_close()
1807 if (p_cb->conn_id == GATT_INVALID_CONN_ID) { in bta_hh_le_api_disc_act()

12