Home
last modified time | relevance | path

Searched refs:Connection (Results 1 – 17 of 17) sorted by relevance

/system/bt/service/
Dgatt_server.h171 struct Connection { struct
172 Connection(int conn_id, const RawAddress& bdaddr) in Connection() function
174 Connection() : conn_id(-1) { memset(&bdaddr, 0, sizeof(bdaddr)); } in Connection() function
236 std::shared_ptr<Connection> GetConnection(int conn_id, const RawAddress& bda,
251 std::unordered_map<int, std::shared_ptr<Connection>> conn_id_map_;
252 std::unordered_map<std::string, std::vector<std::shared_ptr<Connection>>>
Dgatt_server.cc138 std::shared_ptr<Connection> connection; in SendResponse()
287 std::shared_ptr<Connection> connection(new Connection(conn_id, bda)); in ConnectionCallback()
543 std::shared_ptr<GattServer::Connection> GattServer::GetConnection( in GetConnection()
/system/bt/gd/rust/link/src/acl/
Dcore.rs30 pub struct Connection { struct
55 pub async fn register(&mut self, handle: u16, bt: Bluetooth) -> Connection { in register() argument
64 Register { handle: u16, bt: Bluetooth, fut: oneshot::Sender<Connection> },
120 fut.send(Connection { in provide_acl_dispatch()
/system/security/keystore2/src/database/
Dversioning.rs97 use rusqlite::{Connection, TransactionBehavior, NO_PARAMS};
101 let mut conn = Connection::open_in_memory().unwrap(); in upgrade_database_test()
190 let mut conn = Connection::open_in_memory().unwrap(); in create_or_get_version_new_database()
278 let mut conn = Connection::open_in_memory().unwrap(); in create_or_get_version_legacy_database()
/system/bt/gd/rust/link/src/acl/classic/
Dmod.rs44 ConnectSuccess(Connection),
56 pub struct Connection { struct
74 impl Connection { impl
197 let connection = Connection { in provide_acl_manager()
269 mut core: core::Connection, in run_connection() argument
/system/bt/vendor_libs/test_vendor_lib/scripts/
Dsimple_stack.py107 class Connection(object): class
136 self._connection = Connection(port)
Dsimple_link_layer_socket.py73 class Connection(object): class
103 self._connection = Connection(port)
Dsend_simple_commands.py87 class Connection(object): class
117 self._connection = Connection(port)
Dtest_channel.py62 class Connection(object): class
92 self._connection = Connection(port)
/system/bt/gd/hci/facade/
Dle_acl_manager_facade.cc107 std::map<uint16_t, Connection>::iterator connection; \
258 class Connection : public LeConnectionManagementCallbacks { class in bluetooth::hci::facade::LeAclManagerFacadeService
260 Connection( in Connection() function in bluetooth::hci::facade::LeAclManagerFacadeService::Connection
311 std::map<uint16_t, Connection> acl_connections_;
Dacl_manager_facade.cc103 std::map<uint16_t, Connection>::iterator connection; \
380 class Connection : public ConnectionManagementCallbacks { class in bluetooth::hci::facade::AclManagerFacadeService
382 Connection( in Connection() function in bluetooth::hci::facade::AclManagerFacadeService::Connection
555 std::map<uint16_t, Connection> acl_connections_;
/system/extras/simpleperf/scripts/test/
Dtest_utils.py21 from multiprocessing.connection import Connection
43 progress_conn: Optional[Connection]): argument
Ddo_test.py171 def test_process_entry(tests: List[str], test_options: List[str], conn: mp.connection.Connection): argument
215 self.parent_conn: Optional[mp.connection.Connection] = None
/system/bt/doc/
Dpts_guide.md36 - `PTS_DisableConnUpdates` disables LE Connection updates.
/system/security/keystore2/src/
Dkey_parameter.rs1148 use rusqlite::{params, Connection, NO_PARAMS};
1345 fn init_db() -> Result<Connection> { in init_db()
1346 let db = Connection::open_in_memory().context("Failed to initialize sqlite connection.")?; in init_db()
1363 db: &Connection, in insert_into_keyparameter() argument
1378 fn store_keyparameter(db: &Connection, key_id: i64, kp: &KeyParameter) -> Result<()> { in store_keyparameter() argument
1388 fn query_from_keyparameter(db: &Connection) -> Result<KeyParameter> { in query_from_keyparameter()
Ddatabase.rs90 Connection, OptionalExtension, ToSql, Transaction, TransactionBehavior, NO_PARAMS,
737 conn: Connection,
827 pub struct PerBootDbKeepAlive(Connection);
999 fn make_connection(persistent_file: &str) -> Result<Connection> { in make_connection() argument
1001 Connection::open_in_memory().context("Failed to initialize SQLite connection.")?; in make_connection()
3280 let conn = Connection::open_in_memory()?; in datetime()
/system/security/keystore2/legacykeystore/
Dlib.rs32 params, Connection, OptionalExtension, Transaction, TransactionBehavior, NO_PARAMS,
41 conn: Connection,
47 conn: Connection::open(db_file).context("Failed to initialize SQLite connection.")?, in new()