/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | bluetooth_gatt.rs | 101 fn remove(&mut self, id: i32) { in remove() 105 fn set_client_id(&mut self, uuid: &Uuid128Bit, id: i32) { in set_client_id() 114 fn add_connection(&mut self, client_id: i32, conn_id: i32, address: &String) { in add_connection() 122 fn remove_connection(&mut self, _client_id: i32, conn_id: i32) { in remove_connection() 126 fn get_conn_id_from_address(&self, client_id: i32, address: &String) -> Option<i32> { in get_conn_id_from_address() 142 fn unregister_scanner(&self, scanner_id: i32); in unregister_scanner() 144 fn start_scan(&self, scanner_id: i32, settings: ScanSettings, filters: Vec<ScanFilter>); in start_scan() 145 fn stop_scan(&self, scanner_id: i32); in stop_scan() 156 fn unregister_client(&mut self, client_id: i32); in unregister_client() 161 client_id: i32, in client_connect() [all …]
|
D | bluetooth_media.rs | 47 sample_rate: i32, in set_audio_config() 48 bits_per_sample: i32, in set_audio_config() 49 channel_mode: i32, in set_audio_config() 51 fn set_volume(&mut self, volume: i32); in set_volume() 74 fn on_absolute_volume_changed(&self, volume: i32); in on_absolute_volume_changed() 513 sample_rate: i32, in set_audio_config() 514 bits_per_sample: i32, in set_audio_config() 515 channel_mode: i32, in set_audio_config() 527 fn set_volume(&mut self, volume: i32) { in set_volume()
|
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/ |
D | iface_bluetooth_gatt.rs | 33 fn on_client_registered(&self, status: i32, scanner_id: i32) { in on_client_registered() 40 status: i32, in on_client_connection_state() 41 client_id: i32, in on_client_connection_state() 59 fn on_search_complete(&self, addr: String, services: Vec<BluetoothGattService>, status: i32) { in on_search_complete() 64 fn on_characteristic_read(&self, addr: String, status: i32, handle: i32, value: Vec<u8>) { in on_characteristic_read() 69 fn on_characteristic_write(&self, addr: String, status: i32, handle: i32) { in on_characteristic_write() 74 fn on_execute_write(&self, addr: String, status: i32) { in on_execute_write() 79 fn on_descriptor_read(&self, addr: String, status: i32, handle: i32, value: Vec<u8>) { in on_descriptor_read() 84 fn on_descriptor_write(&self, addr: String, status: i32, handle: i32) { in on_descriptor_write() 89 fn on_notify(&self, addr: String, handle: i32, value: Vec<u8>) { in on_notify() [all …]
|
D | iface_bluetooth_media.rs | 65 fn on_absolute_volume_changed(&self, volume: i32) { in on_absolute_volume_changed() 116 sample_rate: i32, in set_audio_config() 117 bits_per_sample: i32, in set_audio_config() 118 channel_mode: i32, in set_audio_config() 124 fn set_volume(&mut self, volume: i32) { in set_volume()
|
D | main.rs | 30 fn get_adapter_index(args: &Vec<String>) -> i32 { in get_adapter_index() 43 fn make_object_name(idx: i32, name: &str) -> String { in make_object_name()
|
/packages/modules/Virtualization/authfs/fd_server/src/ |
D | aidl.rs | 79 pub fn new_binder(fd_pool: BTreeMap<i32, FdConfig>) -> Strong<dyn IVirtFdService> { in new_binder() 88 fn handle_fd<F, R>(&self, id: i32, handle_fn: F) -> BinderResult<R> in handle_fd() 99 fn insert_new_fd<F>(&self, fd: i32, create_fn: F) -> BinderResult<i32> in insert_new_fd() 101 F: FnOnce(&mut FdConfig) -> BinderResult<(i32, FdConfig)>, in insert_new_fd() 121 fn readFile(&self, id: i32, offset: i64, size: i32) -> BinderResult<Vec<u8>> { in readFile() 136 fn readFsverityMerkleTree(&self, id: i32, offset: i64, size: i32) -> BinderResult<Vec<u8>> { in readFsverityMerkleTree() 200 fn writeFile(&self, id: i32, buf: &[u8], offset: i64) -> BinderResult<i32> { in writeFile() 218 fn resize(&self, id: i32, size: i64) -> BinderResult<()> { in resize() 259 fn openFileInDirectory(&self, dir_fd: i32, file_path: &str) -> BinderResult<i32> { in openFileInDirectory() 284 fn createFileInDirectory(&self, dir_fd: i32, basename: &str, mode: i32) -> BinderResult<i32> { in createFileInDirectory() [all …]
|
D | main.rs | 56 fn parse_arg_ro_fds(arg: &str) -> Result<(i32, FdConfig)> { in parse_arg_ro_fds() 76 fn parse_arg_rw_fds(arg: &str) -> Result<(i32, FdConfig)> { in parse_arg_rw_fds() 85 fn parse_arg_ro_dirs(arg: &str) -> Result<(i32, FdConfig)> { in parse_arg_ro_dirs() 90 fn parse_arg_rw_dirs(arg: &str) -> Result<(i32, FdConfig)> { in parse_arg_rw_dirs()
|
D | fsverity.rs | 42 fn read_metadata(fd: i32, metadata_type: u64, offset: u64, buf: &mut [u8]) -> io::Result<usize> { in read_metadata() 55 pub fn read_merkle_tree(fd: i32, offset: u64, buf: &mut [u8]) -> io::Result<usize> { in read_merkle_tree() 60 pub fn read_signature(fd: i32, buf: &mut [u8]) -> io::Result<usize> { in read_signature()
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
D | dbus_iface.rs | 38 fn make_object_path(idx: i32, name: &str) -> dbus::Path { in make_object_path() 489 fn start(&mut self, hci_interface: i32) { in start() 494 fn stop(&mut self, hci_interface: i32) { in stop() 547 fn on_hci_device_changed(&self, hci_interface: i32, present: bool) {} in on_hci_device_changed() 550 fn on_hci_enabled_changed(&self, hci_interface: i32, enabled: bool) {} in on_hci_enabled_changed() 576 fn unregister_scanner(&self, _scanner_id: i32) { in unregister_scanner() 580 fn start_scan(&self, _scanner_id: i32, _settings: ScanSettings, _filters: Vec<ScanFilter>) { in start_scan() 584 fn stop_scan(&self, _scanner_id: i32) { in stop_scan() 599 fn unregister_client(&mut self, client_id: i32) { in unregister_client() 606 client_id: i32, in client_connect() [all …]
|
D | callbacks.rs | 43 fn on_hci_device_changed(&self, hci_interface: i32, present: bool) { in on_hci_device_changed() 53 fn on_hci_enabled_changed(&self, hci_interface: i32, enabled: bool) { in on_hci_enabled_changed() 317 fn on_client_registered(&self, status: i32, client_id: i32) { in on_client_registered() 324 status: i32, in on_client_connection_state() 325 client_id: i32, in on_client_connection_state() 358 fn on_search_complete(&self, addr: String, services: Vec<BluetoothGattService>, status: i32) { in on_search_complete() 367 fn on_characteristic_read(&self, addr: String, status: i32, handle: i32, value: Vec<u8>) { in on_characteristic_read() 377 fn on_characteristic_write(&self, addr: String, status: i32, handle: i32) { in on_characteristic_write() 386 fn on_execute_write(&self, addr: String, status: i32) { in on_execute_write() 390 fn on_descriptor_read(&self, addr: String, status: i32, handle: i32, value: Vec<u8>) { in on_descriptor_read() [all …]
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/ |
D | gatt.rs | 114 fn read_phy(self: Pin<&mut GattClientIntf>, client_if: i32, bt_addr: RustRawAddress) in read_phy() 121 client_if: i32, in read_phy_callback() 163 batch_scan_full_max: i32, in BatchscanConfigStorage() 164 batch_scan_trunc_max: i32, in BatchscanConfigStorage() 165 batch_scan_notify_threshold: i32, in BatchscanConfigStorage() 169 scan_mode: i32, in BatchscanEnable() 172 addr_type: i32, in BatchscanEnable() 173 discard_rule: i32, in BatchscanEnable() 176 fn BatchscanReadReports(self: Pin<&mut BleScannerIntf>, scanner_id: u8, scan_mode: i32); in BatchscanReadReports() 232 client_if: i32, in gdscan_on_batch_scan_reports() [all …]
|
D | hfp.rs | 51 fn try_into(self) -> Result<i32, Self::Error> { in try_into() 77 fn init(self: Pin<&mut HfpIntf>) -> i32; in init() 78 fn connect(self: Pin<&mut HfpIntf>, bt_addr: RustRawAddress) -> i32; in connect() 79 fn connect_audio(self: Pin<&mut HfpIntf>, bt_addr: RustRawAddress) -> i32; in connect_audio() 80 fn disconnect(self: Pin<&mut HfpIntf>, bt_addr: RustRawAddress) -> i32; in disconnect() 81 fn disconnect_audio(self: Pin<&mut HfpIntf>, bt_addr: RustRawAddress) -> i32; in disconnect_audio() 161 pub fn connect_audio(&mut self, addr: RawAddress) -> i32 { in connect_audio() 169 pub fn disconnect_audio(&mut self, addr: RawAddress) -> i32 { in disconnect_audio()
|
D | a2dp.rs | 166 fn init(self: &A2dpIntf) -> i32; in init() 167 fn connect(self: &A2dpIntf, bt_addr: RustRawAddress) -> i32; in connect() 168 fn disconnect(self: &A2dpIntf, bt_addr: RustRawAddress) -> i32; in disconnect() 169 fn set_silence_device(self: &A2dpIntf, bt_addr: RustRawAddress, silent: bool) -> i32; in set_silence_device() 170 fn set_active_device(self: &A2dpIntf, bt_addr: RustRawAddress) -> i32; in set_active_device() 175 ) -> i32; in config_codec() 185 fn init(self: &A2dpSinkIntf) -> i32; in init() 186 fn connect(self: &A2dpSinkIntf, bt_addr: RustRawAddress) -> i32; in connect() 187 fn disconnect(self: &A2dpSinkIntf, bt_addr: RustRawAddress) -> i32; in disconnect() 188 fn set_active_device(self: &A2dpSinkIntf, bt_addr: RustRawAddress) -> i32; in set_active_device() [all …]
|
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/ |
D | iface_bluetooth_manager.rs | 12 fn start(&mut self, hci_interface: i32); in start() 15 fn stop(&mut self, hci_interface: i32); in stop() 35 fn on_hci_device_changed(&self, hci_interface: i32, present: bool); in on_hci_device_changed() 36 fn on_hci_enabled_changed(&self, hci_interface: i32, enabled: bool); in on_hci_enabled_changed()
|
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/bin/btmanagerd/ |
D | bluetooth_manager_dbus.rs | 25 fn start(&mut self, hci_interface: i32) { in start() 30 fn stop(&mut self, hci_interface: i32) { in stop() 66 fn on_hci_device_changed(&self, hci_interface: i32, present: bool) {} in on_hci_device_changed() 69 fn on_hci_enabled_changed(&self, hci_interface: i32, enabled: bool) {} in on_hci_enabled_changed()
|
D | bluetooth_manager.rs | 31 pub(crate) fn callback_hci_device_change(&mut self, hci_device: i32, present: bool) { in callback_hci_device_change() 45 pub(crate) fn callback_hci_enabled_change(&mut self, hci_device: i32, enabled: bool) { in callback_hci_enabled_change() 72 fn start(&mut self, hci_interface: i32) { in start() 86 fn stop(&mut self, hci_interface: i32) { in stop()
|
D | config_util.rs | 82 pub fn modify_hci_n_enabled(n: i32, enabled: bool) -> bool { in modify_hci_n_enabled() 96 fn modify_hci_n_enabled_internal(config: String, n: i32, enabled: bool) -> Option<String> { in modify_hci_n_enabled_internal() 126 fn hci_devices_string_to_int(devices: Vec<String>) -> Vec<i32> { in hci_devices_string_to_int()
|
/packages/modules/Virtualization/compos/common/ |
D | compos_client.rs | 199 pub fn cid(&self) -> i32 { in cid() 276 fn try_new_vsock_fd(&self) -> Result<i32> { in try_new_vsock_fd() 282 fn new_vsock_fd(&self) -> i32 { in new_vsock_fd() 325 fn set_ready(&self, cid: i32) { in set_ready() 335 fn wait_until_ready(&self) -> Result<i32> { in wait_until_ready() 357 fn onDied(&self, cid: i32, reason: DeathReason) -> BinderResult<()> { in onDied() 365 cid: i32, in onPayloadStarted() 383 fn onPayloadFinished(&self, cid: i32, exit_code: i32) -> BinderResult<()> { in onPayloadFinished() 391 fn onError(&self, cid: i32, error_code: i32, message: &str) -> BinderResult<()> { in onError()
|
/packages/modules/Virtualization/compos/src/ |
D | compsvc.rs | 107 system_dir_fd: i32, in odrefresh() 108 output_dir_fd: i32, in odrefresh() 109 staging_dir_fd: i32, in odrefresh()
|
/packages/modules/Virtualization/apkdmverity/src/ |
D | dm.rs | 50 fn dm_dev_create(dm: &DeviceMapper, ioctl: *mut DmIoctl) -> Result<i32> { in dm_dev_create() 56 fn dm_dev_suspend(dm: &DeviceMapper, ioctl: *mut DmIoctl) -> Result<i32> { in dm_dev_suspend() 62 fn dm_table_load(dm: &DeviceMapper, ioctl: *mut DmIoctl) -> Result<i32> { in dm_table_load() 69 fn dm_dev_remove(dm: &DeviceMapper, ioctl: *mut DmIoctl) -> Result<i32> { in dm_dev_remove()
|
D | loopdevice.rs | 46 fn loop_ctl_get_free(ctrl_file: &File) -> Result<i32> { in loop_ctl_get_free() 53 fn loop_configure(device_file: &File, config: &loop_config) -> Result<i32> { in loop_configure() 59 fn loop_clr_fd(device_file: &File) -> Result<i32> { in loop_clr_fd()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/ |
D | btif.rs | 43 impl From<BtTransport> for i32 { implementation 920 pub fn enable(&self) -> i32 { in enable() 924 pub fn disable(&self) -> i32 { in disable() 928 pub fn get_adapter_properties(&self) -> i32 { in get_adapter_properties() 932 pub fn get_adapter_property(&self, prop: BtPropertyType) -> i32 { in get_adapter_property() 937 pub fn set_adapter_property(&self, prop: BluetoothProperty) -> i32 { in set_adapter_property() 942 pub fn get_remote_device_properties(&self, addr: &mut RawAddress) -> i32 { in get_remote_device_properties() 951 ) -> i32 { in get_remote_device_property() 961 ) -> i32 { in set_remote_device_property() 967 pub fn get_remote_services(&self, addr: &mut RawAddress, transport: BtTransport) -> i32 { in get_remote_services() [all …]
|
/packages/modules/Bluetooth/system/gd/rust/shim/src/ |
D | message_loop_thread.rs | 23 fn main_message_loop_thread_start(thread: &mut MessageLoopThread) -> i32; in main_message_loop_thread_start() 53 pub fn main_message_loop_thread_start(thread: &mut MessageLoopThread) -> i32 { in main_message_loop_thread_start()
|
/packages/modules/Virtualization/vm/src/ |
D | run.rs | 265 _cid: i32, in onPayloadStarted() 288 fn onPayloadFinished(&self, _cid: i32, exit_code: i32) -> BinderResult<()> { in onPayloadFinished() 293 fn onError(&self, _cid: i32, error_code: i32, message: &str) -> BinderResult<()> { in onError() 298 fn onDied(&self, _cid: i32, reason: DeathReason) -> BinderResult<()> { in onDied()
|
/packages/modules/Virtualization/authfs/src/ |
D | main.rs | 189 remote_fd: i32, in new_remote_verified_file_entry() 203 remote_fd: i32, in new_remote_unverified_file_entry() 212 remote_fd: i32, in new_remote_new_verified_file_entry() 223 remote_fd: i32, in new_remote_new_verified_dir_entry()
|