Searched refs:Hci (Results 1 – 7 of 7) sorted by relevance
/system/bt/gd/rust/shim/src/ |
D | hci.rs | 24 pub struct Hci { struct 29 impl Hci { impl 36 hci: &mut Hci, in hci_send_command() argument 53 pub fn hci_send_acl(hci: &mut Hci, data: &[u8]) { in hci_send_acl() argument 65 pub fn hci_register_event(hci: &mut Hci, event: u8) { in hci_register_event() argument 72 pub fn hci_register_le_event(hci: &mut Hci, subevent: u8) { in hci_register_le_event() argument 79 pub fn hci_set_acl_callback(hci: &mut Hci, cb: cxx::UniquePtr<ffi::u8SliceCallback>) { in hci_set_acl_callback() argument 83 pub fn hci_set_evt_callback(hci: &mut Hci, cb: cxx::UniquePtr<ffi::u8SliceCallback>) { in hci_set_evt_callback() argument 87 pub fn hci_set_le_evt_callback(hci: &mut Hci, cb: cxx::UniquePtr<ffi::u8SliceCallback>) { in hci_set_le_evt_callback() argument
|
D | bridge.rs | 11 type Hci; typedef 19 fn get_hci(stack: &mut Stack) -> Box<Hci>; in get_hci() argument 23 fn hci_set_acl_callback(hci: &mut Hci, callback: UniquePtr<u8SliceCallback>); in hci_set_acl_callback() argument 24 fn hci_set_evt_callback(hci: &mut Hci, callback: UniquePtr<u8SliceCallback>); in hci_set_evt_callback() argument 25 fn hci_set_le_evt_callback(hci: &mut Hci, callback: UniquePtr<u8SliceCallback>); in hci_set_le_evt_callback() argument 27 fn hci_send_command(hci: &mut Hci, data: &[u8], callback: UniquePtr<u8SliceOnceCallback>); in hci_send_command() argument 28 fn hci_send_acl(hci: &mut Hci, data: &[u8]); in hci_send_acl() argument 29 fn hci_register_event(hci: &mut Hci, event: u8); in hci_register_event() argument 30 fn hci_register_le_event(hci: &mut Hci, subevent: u8); in hci_register_le_event() argument
|
D | stack.rs | 4 use crate::hci::Hci; 59 pub fn get_hci(stack: &mut Stack) -> Box<Hci> { in get_hci() argument 63 Box::new(Hci::new( in get_hci()
|
/system/bt/gd/rust/hci/src/ |
D | controller_facade.rs | 4 use crate::Hci; 22 async fn provide_facade(exports: Arc<ControllerExports>, hci: Hci) -> ControllerFacadeService { in provide_facade() 31 hci: Hci,
|
D | lib.rs | 44 parts Hci => provide_hci, 50 struct Hci { struct 57 async fn provide_hci(control: ControlHal, rt: Arc<Runtime>) -> Hci { in provide_hci() argument 78 Hci { raw_commands, commands, events: EventRegistry { evt_handlers, le_evt_handlers } } in provide_hci()
|
/system/bt/main/shim/ |
D | stack.h | 62 ::rust::Box<rust::Hci>* GetRustHci() { return rust_hci_; } in GetRustHci() 78 ::rust::Box<rust::Hci>* rust_hci_ = nullptr;
|
D | stack.cc | 83 rust_hci_ = new ::rust::Box<rust::Hci>(rust::get_hci(**rust_stack_)); in StartEverything()
|