Home
last modified time | relevance | path

Searched defs:PyResult (Results 1 – 12 of 12) sorted by relevance

/aosp_15_r20/external/python/bumble/rust/src/wrapper/device/
Dmod.rs70 pub fn load_from_file(&mut self, device_config: &path::Path) -> PyResult<()> { in load_from_file()
191 pub async fn power_on(&self) -> PyResult<()> { in power_on()
215 callback: impl Fn(Python, Connection) -> PyResult<()> + Send + 'static, in on_connection()
229 pub async fn start_scanning(&self, filter_duplicates: bool) -> PyResult<()> { in start_scanning()
244 callback: impl Fn(Python, Advertisement) -> PyResult<()> + Send + 'static, in on_advertisement()
258 pub fn set_advertising_data(&mut self, adv_data: AdvertisementDataBuilder) -> PyResult<()> { in set_advertising_data()
282 pub async fn start_advertising(&mut self, auto_restart: bool) -> PyResult<()> { in start_advertising()
313 ) -> PyResult<()> { in start_advertising_extended()
392 pub async fn stop_advertising(&mut self) -> PyResult<()> { in stop_advertising()
409 pub async fn stop_advertising_extended(&mut self) -> PyResult<()> { in stop_advertising_extended()
[all …]
/aosp_15_r20/external/python/bumble/rust/src/wrapper/
Dl2cap.rs30 pub fn write(&mut self, data: &[u8]) -> PyResult<()> { in write()
35 pub async fn drain(&mut self) -> PyResult<()> { in drain()
48 callback: impl Fn(Python) -> PyResult<()> + Send + 'static, in on_close()
62 callback: impl Fn(Python, &[u8]) -> PyResult<()> + Send + 'static, in set_sink()
75 pub async fn disconnect(&mut self) -> PyResult<()> { in disconnect()
Dgatt_client.rs28 pub async fn discover_characteristics(&mut self) -> PyResult<()> { in discover_characteristics()
46 callback: impl Fn(Python, &PyTuple) -> PyResult<()> + Send + 'static, in subscribe()
Dmod.rs82 fn set_opt_item<K: ToPyObject, V: ToPyObject>(&self, key: K, value: Option<V>) -> PyResult<()>; in set_opt_item()
86 fn set_opt_item<K: ToPyObject, V: ToPyObject>(&self, key: K, value: Option<V>) -> PyResult<()> { in set_opt_item()
Dlogging.rs32 pub fn py_logging_basic_config(log_level: impl Into<String>) -> PyResult<()> { in py_logging_basic_config()
Dhost.rs56 pub async fn reset(&mut self, driver_factory: DriverFactory) -> PyResult<()> { in reset()
Dtransport.rs39 pub async fn close(&mut self) -> PyResult<()> { in close()
/aosp_15_r20/external/python/bumble/rust/src/cli/firmware/
Drtk.rs28 pub(crate) async fn download(dl: Download) -> PyResult<()> { in download()
167 pub(crate) fn parse(firmware_path: &path::Path) -> PyResult<()> { in parse()
179 pub(crate) async fn info(transport: &str, force: bool) -> PyResult<()> { in info()
203 pub(crate) async fn load(transport: &str, force: bool) -> PyResult<()> { in load()
219 pub(crate) async fn drop(transport: &str) -> PyResult<()> { in drop()
/aosp_15_r20/external/python/bumble/rust/src/wrapper/drivers/
Drtk.rs62 pub async fn drop_firmware(host: &mut Host) -> PyResult<()> { in drop_firmware()
74 pub async fn download_firmware(&mut self) -> PyResult<()> { in download_firmware()
/aosp_15_r20/external/python/bumble/rust/src/cli/l2cap/
Dserver_bridge.rs44 pub async fn start(args: &Args, device: &mut Device) -> PyResult<()> { in start()
107 ) -> PyResult<()> { in proxy_data_between_l2cap_and_tcp()
Dmod.rs40 ) -> PyResult<()> { in run()
129 ) -> PyResult<()> { in proxy_tcp_rx_to_l2cap_tx()
Dclient_bridge.rs50 pub async fn start(args: &Args, device: &mut Device) -> PyResult<()> { in start()
116 ) -> PyResult<()> { in proxy_data_between_tcp_and_l2cap()