Home
last modified time | relevance | path

Searched refs:connection_type (Results 1 – 25 of 33) sorted by relevance

12

/packages/modules/Bluetooth/system/gd/metrics/
Dmetrics_state.cc50 LeConnectionType connection_type, in AddStateChangedEvent() argument
57 common::ToHexString(connection_type).c_str(), in AddStateChangedEvent()
69 input_connection_type = connection_type; in AddStateChangedEvent()
81 LeConnectionType connection_type = GetLeConnectionTypeFromCID(connection_type_cid); in AddStateChangedEvent() local
82 if (connection_type != LeConnectionType::CONNECTION_TYPE_UNSPECIFIED) { in AddStateChangedEvent()
84 input_connection_type = connection_type; in AddStateChangedEvent()
170 LeConnectionType connection_type, in AddStateChangedEvent() argument
176 common::ToHexString(connection_type).c_str(), in AddStateChangedEvent()
182 common::ToHexString(connection_type).c_str(), in AddStateChangedEvent()
190 origin_type, connection_type, transaction_state, argument_list); in AddStateChangedEvent()
[all …]
Dmetrics_state_unittest.cc22 LeConnectionType connection_type = LeConnectionType::CONNECTION_TYPE_UNSPECIFIED; variable
46 connection_type = session_options.transaction_type; in LogMetricBluetoothLESession()
98 ASSERT_EQ(connection_type, LeConnectionType::CONNECTION_TYPE_LE_ACL); in TEST()
125 ASSERT_EQ(connection_type, LeConnectionType::CONNECTION_TYPE_LE_ACL); in TEST()
163 ASSERT_EQ(connection_type, LeConnectionType::CONNECTION_TYPE_LE_ACL); in TEST()
189 ASSERT_EQ(connection_type, LeConnectionType::CONNECTION_TYPE_LE_ACL); in TEST()
Dmetrics_state.h85 LeConnectionType connection_type,
100 LeConnectionType connection_type,
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dround_robin_scheduler.cc42 void RoundRobinScheduler::Register(ConnectionType connection_type, uint16_t handle, in Register() argument
45 acl_queue_handler acl_queue_handler = {connection_type, std::move(queue), false, 0}; in Register()
93 auto connection_type = fragments_to_send_.front().first; in start_round_robin() local
94 … bool classic_buffer_full = acl_packet_credits_ == 0 && connection_type == ConnectionType::CLASSIC; in start_round_robin()
95 bool le_buffer_full = le_acl_packet_credits_ == 0 && connection_type == ConnectionType::LE; in start_round_robin()
97 LOG_WARN("Buffer of connection_type %d is full", connection_type); in start_round_robin()
147 ConnectionType connection_type = acl_queue_handler->second.connection_type_; in buffer_packet() local
148 size_t mtu = connection_type == ConnectionType::CLASSIC ? hci_mtu_ : le_hci_mtu_; in buffer_packet()
157connection_type, AclBuilder::Create(handle, packet_boundary_flag, broadcast_flag, std::move(packet… in buffer_packet()
164 connection_type, in buffer_packet()
[all …]
Dround_robin_scheduler.h48 void Register(ConnectionType connection_type, uint16_t handle,
/packages/modules/Bluetooth/system/gd/metrics/chromeos/
Dmetrics.cc59 ConnectionType connection_type; in LogMetricsBondCreateAttempt() local
68 connection_type = ToPairingDeviceType(addr_string, device_type); in LogMetricsBondCreateAttempt()
75 connection_type, in LogMetricsBondCreateAttempt()
82 .SetDeviceType((int64_t)connection_type) in LogMetricsBondCreateAttempt()
89 ConnectionType connection_type; in LogMetricsBondStateChanged() local
99 connection_type = ToPairingDeviceType(addr_string, device_type); in LogMetricsBondStateChanged()
110 connection_type, in LogMetricsBondStateChanged()
117 .SetDeviceType((int64_t)connection_type) in LogMetricsBondStateChanged()
/packages/modules/Bluetooth/system/bta/test/common/
Dbta_gatt_api_mock.cc42 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport, in BTA_GATTC_Open() argument
45 gatt_interface->Open(client_if, remote_bda, connection_type, transport, in BTA_GATTC_Open()
50 tBTM_BLE_CONN_TYPE connection_type, bool opportunistic) { in BTA_GATTC_Open() argument
52 gatt_interface->Open(client_if, remote_bda, connection_type, opportunistic); in BTA_GATTC_Open()
Dbta_gatt_api_mock.h34 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport,
37 tBTM_BLE_CONN_TYPE connection_type, bool opportunistic) = 0;
67 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport,
72 tBTM_BLE_CONN_TYPE connection_type, bool opportunistic));
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_api.cc137 tBTM_BLE_CONN_TYPE connection_type, bool opportunistic) { in BTA_GATTC_Open() argument
139 BTA_GATTC_Open(client_if, remote_bda, connection_type, BT_TRANSPORT_LE, in BTA_GATTC_Open()
145 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport, in BTA_GATTC_Open() argument
157 .connection_type = connection_type, in BTA_GATTC_Open()
168 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport, in BTA_GATTC_Open() argument
170 BTA_GATTC_Open(client_if, remote_bda, BLE_ADDR_PUBLIC, connection_type, in BTA_GATTC_Open()
Dbta_gatts_api.cc321 p_buf->connection_type = BTM_BLE_DIRECT_CONNECTION; in BTA_GATTS_Open()
323 p_buf->connection_type = BTM_BLE_BKG_CONNECT_ALLOW_LIST; in BTA_GATTS_Open()
Dbta_gatts_int.h112 tBTM_BLE_CONN_TYPE connection_type; member
/packages/modules/Bluetooth/system/test/mock/
Dmock_bta_gattc_api.cc112 tBTM_BLE_CONN_TYPE connection_type, bool opportunistic) { in BTA_GATTC_Open() argument
116 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport, in BTA_GATTC_Open() argument
122 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport, in BTA_GATTC_Open() argument
Dmock_stack_gatt_api.cc205 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport, in GATT_Connect() argument
209 gatt_if, bd_addr, addr_type, connection_type, transport, opportunistic, in GATT_Connect()
261 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport, in GATT_Connect() argument
265 gatt_if, bd_addr, 0, connection_type, transport, opportunistic, 0); in GATT_Connect()
Dmock_main_shim_metrics_api.h313 android::bluetooth::le::LeConnectionType connection_type,
319 android::bluetooth::le::LeConnectionType connection_type,
327 android::bluetooth::le::LeConnectionType connection_type, in operator()
331 body(raw_address, origin_type, connection_type, transaction_state, in operator()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_api.cc1402 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport, in GATT_Connect() argument
1405 return GATT_Connect(gatt_if, bd_addr, connection_type, transport, in GATT_Connect()
1410 tBLE_ADDR_TYPE addr_type, tBTM_BLE_CONN_TYPE connection_type, in GATT_Connect() argument
1420 bool is_direct = (connection_type == BTM_BLE_DIRECT_CONNECTION); in GATT_Connect()
1454 if (connection_type == BTM_BLE_BKG_CONNECT_ALLOW_LIST) { in GATT_Connect()
1463 if (connection_type == BTM_BLE_BKG_CONNECT_ALLOW_LIST) { in GATT_Connect()
1491 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport, in GATT_Connect() argument
1493 return GATT_Connect(gatt_if, bd_addr, BLE_ADDR_PUBLIC, connection_type, in GATT_Connect()
/packages/modules/Bluetooth/system/main/shim/
Dmetrics_api.cc162 android::bluetooth::le::LeConnectionType connection_type, in LogMetricBluetoothLEConnectionMetricEvent() argument
167 …bluetooth::os::LogMetricBluetoothLEConnectionMetricEvent(address, origin_type, connection_type, tr… in LogMetricBluetoothLEConnectionMetricEvent()
Dmetrics_api.h229 android::bluetooth::le::LeConnectionType connection_type,
/packages/modules/Bluetooth/system/btif/src/
Dbtif_sock_l2cap.cc754 int connection_type = in btsock_l2cap_server_listen() local
760 BTA_JvGetChannelId(connection_type, sock->id, 0); in btsock_l2cap_server_listen()
773 BTA_JvL2capStartServer(connection_type, sock->security, 0, in btsock_l2cap_server_listen()
809 int connection_type = in btsock_l2cap_listen_or_connect() local
822 connection_type, sock->security, 0, std::move(ertm_info), channel, in btsock_l2cap_listen_or_connect()
/packages/modules/Bluetooth/system/bta/include/
Dbta_gatt_api.h478 tBTM_BLE_CONN_TYPE connection_type, bool opportunistic);
480 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport,
484 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport,
/packages/modules/Bluetooth/system/stack/include/
Dgatt_api.h1207 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport,
1210 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport,
1213 tBLE_ADDR_TYPE addr_type, tBTM_BLE_CONN_TYPE connection_type,
/packages/modules/Bluetooth/system/gd/os/android/
Dmetrics.cc518 android::bluetooth::le::LeConnectionType connection_type, in LogMetricBluetoothLEConnectionMetricEvent() argument
522 address, origin_type, connection_type, transaction_state, argument_list); in LogMetricBluetoothLEConnectionMetricEvent()
/packages/modules/Bluetooth/system/gd/os/linux/
Dmetrics.cc129 android::bluetooth::le::LeConnectionType connection_type, in LogMetricBluetoothLEConnectionMetricEvent() argument
/packages/modules/Bluetooth/system/gd/os/host/
Dmetrics.cc129 android::bluetooth::le::LeConnectionType connection_type, in LogMetricBluetoothLEConnectionMetricEvent() argument
/packages/modules/Bluetooth/system/gd/os/
Dmetrics.h332 LeConnectionType connection_type,
/packages/modules/Bluetooth/system/gd/os/chromeos/
Dmetrics.cc188 android::bluetooth::le::LeConnectionType connection_type, in LogMetricBluetoothLEConnectionMetricEvent() argument

12