Home
last modified time | relevance | path

Searched refs:RustCallbacks (Results 1 – 3 of 3) sorted by relevance

/system/bt/gd/rust/topshim/src/
Dbtif.rs110 callbacks: Box<RustCallbacks>, in Initialize() argument
184 type RustCallbacks; typedef
190 fn adapter_state_changed_callback(cb: &RustCallbacks, state: i32); in adapter_state_changed_callback() argument
192 cb: &RustCallbacks, in adapter_properties_callback() argument
198 cb: &RustCallbacks, in remote_device_properties_callback() argument
205 cb: &RustCallbacks, in device_found_callback() argument
209 fn discovery_state_changed_callback(cb: &RustCallbacks, state: i32); in discovery_state_changed_callback() argument
211 cb: &RustCallbacks, in pin_request_callback() argument
218 cb: &RustCallbacks, in ssp_request_callback() argument
226 cb: &RustCallbacks, in bond_state_changed_callback() argument
[all …]
/system/bt/gd/rust/topshim/btif/
Dbtif_shim.h28 struct RustCallbacks;
40 bool Initialize(::rust::Box<RustCallbacks> callbacks, ::rust::Vec<::rust::String> initFlags);
68 ::rust::Box<RustCallbacks>& GetCallbacks() { in GetCallbacks()
75 std::unique_ptr<::rust::Box<RustCallbacks>> callbacks_;
Dbtif_shim.cc195 bool BluetoothIntf::Initialize(::rust::Box<RustCallbacks> callbacks, ::rust::Vec<::rust::String> in… in Initialize()
198 callbacks_ = std::make_unique<::rust::Box<RustCallbacks>>(std::move(callbacks)); in Initialize()