Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/system/gd/metrics/
Dmetrics_state.cc51 LeConnectionType connection_type, in AddStateChangedEvent() argument
64 input_connection_type = connection_type; in AddStateChangedEvent()
76 LeConnectionType connection_type = GetLeConnectionTypeFromCID(connection_type_cid); in AddStateChangedEvent() local
77 if (connection_type != LeConnectionType::CONNECTION_TYPE_UNSPECIFIED) { in AddStateChangedEvent()
79 input_connection_type = connection_type; in AddStateChangedEvent()
163 LeConnectionType connection_type, in AddStateChangedEvent() argument
169 common::ToHexString(connection_type), in AddStateChangedEvent()
177 common::ToHexString(connection_type), in AddStateChangedEvent()
185 origin_type, connection_type, transaction_state, argument_list); in AddStateChangedEvent()
193 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.cc44 void RoundRobinScheduler::Register(ConnectionType connection_type, uint16_t handle, in Register() argument
49 acl_queue_handler acl_queue_handler = {connection_type, std::move(queue), false, 0}; in Register()
99 auto connection_type = fragments_to_send_.front().first; in start_round_robin() local
100 … bool classic_buffer_full = acl_packet_credits_ == 0 && connection_type == ConnectionType::CLASSIC; in start_round_robin()
101 bool le_buffer_full = le_acl_packet_credits_ == 0 && connection_type == ConnectionType::LE; in start_round_robin()
103 log::warn("Buffer of connection_type {} is full", connection_type); in start_round_robin()
153 ConnectionType connection_type = acl_queue_handler->second.connection_type_; in buffer_packet() local
154 size_t mtu = connection_type == ConnectionType::CLASSIC ? hci_mtu_ : le_hci_mtu_; in buffer_packet()
163connection_type, AclBuilder::Create(handle, packet_boundary_flag, broadcast_flag, std::move(packet… in buffer_packet()
170 connection_type, in buffer_packet()
[all …]
Dround_robin_scheduler.h49 void Register(ConnectionType connection_type, uint16_t handle,
/packages/modules/Bluetooth/system/gd/metrics/chromeos/
Dmetrics.cc60 ConnectionType connection_type; in LogMetricsBondCreateAttempt() local
69 connection_type = ToPairingDeviceType(addr_string, device_type); in LogMetricsBondCreateAttempt()
76 (int)connection_type, in LogMetricsBondCreateAttempt()
83 .SetDeviceType((int64_t)connection_type) in LogMetricsBondCreateAttempt()
90 ConnectionType connection_type; in LogMetricsBondStateChanged() local
100 connection_type = ToPairingDeviceType(addr_string, device_type); in LogMetricsBondStateChanged()
114 (int)connection_type, in LogMetricsBondStateChanged()
121 .SetDeviceType((int64_t)connection_type) in LogMetricsBondStateChanged()
/packages/modules/Bluetooth/system/bta/test/common/
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));
Dbta_gatt_api_mock.cc46 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport, in BTA_GATTC_Open() argument
49 gatt_interface->Open(client_if, remote_bda, connection_type, transport, in BTA_GATTC_Open()
54 tBTM_BLE_CONN_TYPE connection_type, bool opportunistic) { in BTA_GATTC_Open() argument
56 gatt_interface->Open(client_if, remote_bda, connection_type, opportunistic); in BTA_GATTC_Open()
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_gatt_client.cc98 tBTM_BLE_CONN_TYPE connection_type, bool opportunistic) { in __anon3962861c0802()
102 connection_type, (opportunistic) ? 'T' : 'F')); in __anon3962861c0802()
103 BTA_GATTC_Open(client_if, remote_bda, connection_type, opportunistic); in __anon3962861c0802()
Dbta_dm_gatt_client.h43 tBTM_BLE_CONN_TYPE connection_type,
Dbta_dm_disc.cc122 tBTM_BLE_CONN_TYPE connection_type,
152 tBTM_BLE_CONN_TYPE connection_type, bool opportunistic) { in __anon788b21910902() argument
153 BTA_GATTC_Open(client_if, remote_bda, connection_type, opportunistic); in __anon788b21910902()
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_api.cc140 tBTM_BLE_CONN_TYPE connection_type, bool opportunistic) { in BTA_GATTC_Open() argument
143 BTA_GATTC_Open(client_if, remote_bda, connection_type, BT_TRANSPORT_LE, in BTA_GATTC_Open()
149 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport, in BTA_GATTC_Open() argument
160 .connection_type = connection_type, in BTA_GATTC_Open()
172 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport, in BTA_GATTC_Open() argument
174 BTA_GATTC_Open(client_if, remote_bda, BLE_ADDR_PUBLIC, connection_type, in BTA_GATTC_Open()
Dbta_gatts_api.cc324 p_buf->connection_type = BTM_BLE_DIRECT_CONNECTION; in BTA_GATTS_Open()
326 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_stack_gatt_api.cc204 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport, in GATT_Connect() argument
208 gatt_if, bd_addr, addr_type, connection_type, transport, opportunistic, in GATT_Connect()
260 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport, in GATT_Connect() argument
264 gatt_if, bd_addr, 0, connection_type, transport, opportunistic, 0); in GATT_Connect()
Dmock_main_shim_metrics_api.h357 android::bluetooth::le::LeConnectionType connection_type,
370 android::bluetooth::le::LeConnectionType connection_type, in operator()
374 body(raw_address, origin_type, connection_type, transaction_state, in operator()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_api.cc1395 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport, in GATT_Connect() argument
1399 return GATT_Connect(gatt_if, bd_addr, connection_type, transport, in GATT_Connect()
1404 tBLE_ADDR_TYPE addr_type, tBTM_BLE_CONN_TYPE connection_type, in GATT_Connect() argument
1414 bool is_direct = (connection_type == BTM_BLE_DIRECT_CONNECTION); in GATT_Connect()
1465 if (connection_type == BTM_BLE_BKG_CONNECT_ALLOW_LIST) { in GATT_Connect()
1474 if (connection_type == BTM_BLE_BKG_CONNECT_ALLOW_LIST) { in GATT_Connect()
1502 tBLE_ADDR_TYPE addr_type, tBTM_BLE_CONN_TYPE connection_type, in GATT_Connect() argument
1506 return GATT_Connect(gatt_if, bd_addr, addr_type, connection_type, transport, in GATT_Connect()
1511 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport, in GATT_Connect() argument
1513 return GATT_Connect(gatt_if, bd_addr, BLE_ADDR_PUBLIC, connection_type, in GATT_Connect()
/packages/modules/Bluetooth/system/stack/include/
Dgatt_api.h1200 tBTM_BLE_CONN_TYPE connection_type,
1203 tBTM_BLE_CONN_TYPE connection_type,
1208 tBTM_BLE_CONN_TYPE connection_type,
1212 tBTM_BLE_CONN_TYPE connection_type,
/packages/modules/Bluetooth/system/main/shim/
Dmetrics_api.cc183 android::bluetooth::le::LeConnectionType connection_type, in LogMetricBluetoothLEConnectionMetricEvent() argument
188 …bluetooth::os::LogMetricBluetoothLEConnectionMetricEvent(address, origin_type, connection_type, tr… in LogMetricBluetoothLEConnectionMetricEvent()
Dmetrics_api.h265 android::bluetooth::le::LeConnectionType connection_type,
/packages/modules/Bluetooth/system/bta/include/
Dbta_gatt_api.h501 tBTM_BLE_CONN_TYPE connection_type, bool opportunistic);
503 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport,
507 tBTM_BLE_CONN_TYPE connection_type, tBT_TRANSPORT transport,
/packages/modules/Bluetooth/system/btif/src/
Dbtif_sock_l2cap.cc803 tBTA_JV_CONN_TYPE connection_type = in btsock_l2cap_server_listen() local
809 BTA_JvGetChannelId(connection_type, sock->id, 0); in btsock_l2cap_server_listen()
822 BTA_JvL2capStartServer(connection_type, sock->security, std::move(ertm_info), in btsock_l2cap_server_listen()
873 tBTA_JV_CONN_TYPE connection_type = sock->is_le_coc in btsock_l2cap_listen_or_connect() local
886 BTA_JvL2capConnect(connection_type, sock->security, std::move(ertm_info), in btsock_l2cap_listen_or_connect()
/packages/modules/adb/proto/
Ddevices.proto54 ConnectionType connection_type = 7; field
/packages/modules/Bluetooth/system/gd/os/linux/
Dmetrics.cc147 android::bluetooth::le::LeConnectionType connection_type, in LogMetricBluetoothLEConnectionMetricEvent() argument
/packages/modules/Bluetooth/system/gd/os/android/
Dmetrics.cc563 android::bluetooth::le::LeConnectionType connection_type, in LogMetricBluetoothLEConnectionMetricEvent() argument
567 address, origin_type, connection_type, transaction_state, argument_list); in LogMetricBluetoothLEConnectionMetricEvent()

12