| /packages/modules/Bluetooth/system/gd/rust/linux/service/src/ |
| D | iface_bluetooth_gatt.rs | 40 fn on_client_registered(&mut self, status: GattStatus, scanner_id: i32) { in on_client_registered() 48 client_id: i32, in on_client_connection_state() 80 handle: i32, in on_characteristic_read() 87 fn on_characteristic_write(&mut self, addr: String, status: GattStatus, handle: i32) { in on_characteristic_write() 101 handle: i32, in on_descriptor_read() 108 fn on_descriptor_write(&mut self, addr: String, status: GattStatus, handle: i32) { in on_descriptor_write() 113 fn on_notify(&mut self, addr: String, handle: i32, value: Vec<u8>) { in on_notify() 118 fn on_read_remote_rssi(&mut self, addr: String, rssi: i32, status: GattStatus) { in on_read_remote_rssi() 123 fn on_configure_mtu(&mut self, addr: String, mtu: i32, status: GattStatus) { in on_configure_mtu() 131 interval: i32, in on_connection_updated() [all …]
|
| /packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
| D | bluetooth_gatt.rs | 135 fn remove(&mut self, id: i32) { in remove() 149 fn set_client_id(&mut self, uuid: &Uuid128Bit, id: i32) { in set_client_id() 158 fn add_connection(&mut self, client_id: i32, conn_id: i32, address: &String) { in add_connection() 171 fn remove_connection(&mut self, _client_id: i32, conn_id: i32) { in remove_connection() 175 fn get_conn_id_from_address(&self, client_id: i32, address: &String) -> Option<i32> { in get_conn_id_from_address() 278 fn remove(&mut self, id: i32) { in remove() 291 fn set_server_id(&mut self, uuid: &Uuid128Bit, id: i32) { in set_server_id() 305 fn add_connection(&mut self, server_id: i32, conn_id: i32, address: &String) { in add_connection() 318 fn remove_connection(&mut self, conn_id: i32) { in remove_connection() 322 fn get_conn_id_from_address(&self, server_id: i32, address: &String) -> Option<i32> { in get_conn_id_from_address() [all …]
|
| D | dis.rs | 162 fn on_server_registered(&mut self, status: GattStatus, server_id: i32) { in on_server_registered() 179 trans_id: i32, in on_characteristic_read_request() 180 offset: i32, in on_characteristic_read_request() 182 handle: i32, in on_characteristic_read_request() 196 fn on_service_removed(&mut self, _status: GattStatus, _handle: i32) {} in on_service_removed() 197 fn on_server_connection_state(&mut self, _server_id: i32, _connected: bool, _addr: String) {} in on_server_connection_state() 201 _trans_id: i32, in on_descriptor_read_request() 202 _offset: i32, in on_descriptor_read_request() 204 _handle: i32, in on_descriptor_read_request() 210 _trans_id: i32, in on_characteristic_write_request() [all …]
|
| D | battery_service.rs | 389 fn on_client_registered(&mut self, status: GattStatus, client_id: i32) { in on_client_registered() 403 client_id: i32, in on_client_connection_state() 437 handle: i32, in on_characteristic_read() 450 fn on_notify(&mut self, addr: String, handle: i32, value: Vec<u8>) { in on_notify() 470 fn on_characteristic_write(&mut self, _addr: String, _status: GattStatus, _handle: i32) {} in on_characteristic_write() 478 _handle: i32, in on_descriptor_read() 483 fn on_descriptor_write(&mut self, _addr: String, _status: GattStatus, _handle: i32) {} in on_descriptor_write() 485 fn on_read_remote_rssi(&mut self, _addr: String, _rssi: i32, _status: GattStatus) {} in on_read_remote_rssi() 487 fn on_configure_mtu(&mut self, _addr: String, _mtu: i32, _status: GattStatus) {} in on_configure_mtu() 492 _interval: i32, in on_connection_updated() [all …]
|
| D | socket_manager.rs | 89 fn make_l2cap_channel(flags: i32, is_le: bool) -> Self { in make_l2cap_channel() 105 flags: i32, in make_rfcomm_channel() 107 channel: Option<i32>, in make_rfcomm_channel() 121 fn make_default_rfcomm_channel(flags: i32, name: String, uuid: Uuid) -> Self { in make_default_rfcomm_channel() 217 fn make_l2cap_channel(flags: i32, device: BluetoothDevice, psm: i32, is_le: bool) -> Self { in make_l2cap_channel() 234 fn make_rfcomm_channel(flags: i32, device: BluetoothDevice, uuid: Uuid) -> Self { in make_rfcomm_channel() 332 channel: Option<i32>, in listen_using_rfcomm() 335 flags: Option<i32>, in listen_using_rfcomm() 343 psm: i32, in create_insecure_l2cap_channel() 351 psm: i32, in create_insecure_l2cap_le_channel() [all …]
|
| D | suspend.rs | 36 fn suspend(&mut self, suspend_type: SuspendType, suspend_id: i32); in suspend() 50 fn on_suspend_ready(&mut self, suspend_id: i32); in on_suspend_ready() 53 fn on_resumed(&mut self, suspend_id: i32); in on_resumed() 152 pub(crate) fn suspend_ready(&mut self, suspend_id: i32) { in suspend_ready() 158 pub(crate) fn resume_ready(&mut self, suspend_id: i32) { in resume_ready() 193 fn suspend(&mut self, suspend_type: SuspendType, suspend_id: i32) { in suspend()
|
| D | bluetooth_adv.rs | 95 reg_id: i32, in on_advertising_set_started() 96 advertiser_id: i32, in on_advertising_set_started() 97 tx_power: i32, in on_advertising_set_started() 102 fn on_own_address_read(&mut self, advertiser_id: i32, address_type: i32, address: String); in on_own_address_read() 106 fn on_advertising_set_stopped(&mut self, advertiser_id: i32); in on_advertising_set_stopped() 112 advertiser_id: i32, in on_advertising_enabled() 118 fn on_advertising_data_set(&mut self, advertiser_id: i32, status: AdvertisingStatus); in on_advertising_data_set() 122 fn on_scan_response_data_set(&mut self, advertiser_id: i32, status: AdvertisingStatus); in on_scan_response_data_set() 128 advertiser_id: i32, in on_advertising_parameters_updated() 129 tx_power: i32, in on_advertising_parameters_updated() [all …]
|
| /packages/modules/Virtualization/authfs/fd_server/src/ |
| D | aidl.rs | 76 pub fn new_binder(fd_pool: BTreeMap<i32, FdConfig>) -> Strong<dyn IVirtFdService> { in new_binder() 85 fn handle_fd<F, R>(&self, id: i32, handle_fn: F) -> BinderResult<R> in handle_fd() 96 fn insert_new_fd<F>(&self, fd: i32, create_fn: F) -> BinderResult<i32> in insert_new_fd() 98 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 …]
|
| /packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
| D | dbus_iface.rs | 65 fn make_object_path(idx: i32, name: &str) -> dbus::Path { in make_object_path() 554 fn on_sdp_record_created(&mut self, record: BtSdpRecord, handle: i32) {} in on_sdp_record_created() 991 fn start(&mut self, hci_interface: i32) { in start() 996 fn stop(&mut self, hci_interface: i32) { in stop() 1026 fn get_default_adapter(&mut self) -> i32 { in get_default_adapter() 1031 fn set_desired_default_adapter(&mut self, adapter: i32) { in set_desired_default_adapter() 1046 fn on_hci_device_changed(&mut self, hci_interface: i32, present: bool) {} in on_hci_device_changed() 1049 fn on_hci_enabled_changed(&mut self, hci_interface: i32, enabled: bool) {} in on_hci_enabled_changed() 1052 fn on_default_adapter_changed(&mut self, hci_interface: i32) {} in on_default_adapter_changed() 1068 reg_id: i32, in on_advertising_set_started() [all …]
|
| D | callbacks.rs | 62 fn on_hci_device_changed(&mut self, hci_interface: i32, present: bool) { in on_hci_device_changed() 72 fn on_hci_enabled_changed(&mut self, hci_interface: i32, enabled: bool) { in on_hci_enabled_changed() 76 fn on_default_adapter_changed(&mut self, hci_interface: i32) { in on_default_adapter_changed() 275 fn on_sdp_record_created(&mut self, record: BtSdpRecord, handle: i32) { in on_sdp_record_created() 491 reg_id: i32, in on_advertising_set_started() 492 advertiser_id: i32, in on_advertising_set_started() 493 tx_power: i32, in on_advertising_set_started() 520 fn on_own_address_read(&mut self, advertiser_id: i32, address_type: i32, address: String) { in on_own_address_read() 529 fn on_advertising_set_stopped(&mut self, advertiser_id: i32) { in on_advertising_set_stopped() 535 advertiser_id: i32, in on_advertising_enabled() [all …]
|
| /packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/ |
| D | bluetooth_manager_dbus.rs | 31 fn start(&mut self, hci_interface: i32) { in start() 36 fn stop(&mut self, hci_interface: i32) { in stop() 66 fn get_default_adapter(&mut self) -> i32 { in get_default_adapter() 71 fn set_desired_default_adapter(&mut self, hci_interface: i32) { in set_desired_default_adapter() 82 fn on_hci_device_changed(&mut self, hci_interface: i32, present: bool) {} in on_hci_device_changed() 85 fn on_hci_enabled_changed(&mut self, hci_interface: i32, enabled: bool) {} in on_hci_enabled_changed() 88 fn on_default_adapter_changed(&mut self, hci_interface: i32) {} in on_default_adapter_changed()
|
| D | iface_bluetooth_manager.rs | 23 fn start(&mut self, hci_interface: i32); in start() 26 fn stop(&mut self, hci_interface: i32); in stop() 46 fn get_default_adapter(&mut self) -> i32; in get_default_adapter() 49 fn set_desired_default_adapter(&mut self, hci_interface: i32); in set_desired_default_adapter() 55 fn on_hci_device_changed(&mut self, hci_interface: i32, present: bool); in on_hci_device_changed() 58 fn on_hci_enabled_changed(&mut self, hci_interface: i32, enabled: bool); in on_hci_enabled_changed() 65 fn on_default_adapter_changed(&mut self, hci_interface: i32); in on_default_adapter_changed()
|
| D | bluetooth_manager.rs | 36 pub(crate) fn callback_hci_device_change(&mut self, hci_device: i32, present: bool) { in callback_hci_device_change() 42 pub(crate) fn callback_hci_enabled_change(&mut self, hci_device: i32, enabled: bool) { in callback_hci_enabled_change() 54 pub(crate) fn callback_default_adapter_change(&mut self, hci_device: i32) { in callback_default_adapter_change() 66 fn start(&mut self, hci_interface: i32) { in start() 86 fn stop(&mut self, hci_interface: i32) { in stop() 164 fn get_default_adapter(&mut self) -> i32 { in get_default_adapter() 168 fn set_desired_default_adapter(&mut self, adapter_index: i32) { in set_desired_default_adapter()
|
| D | dbus_iface.rs | 58 fn suspend(&mut self, _suspend_type: SuspendType, suspend_id: i32) { in suspend() 81 fn on_suspend_ready(&mut self, suspend_id: i32) {} in on_suspend_ready() 83 fn on_resumed(&mut self, suspend_id: i32) {} in on_resumed()
|
| /packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/ |
| D | gatt.rs | 141 fn read_phy(self: Pin<&mut GattClientIntf>, client_if: i32, bt_addr: RawAddress) -> i32; in read_phy() 149 server_if: i32, in server_read_phy() 151 ) -> i32; in server_read_phy() 156 fn read_phy_callback(client_if: i32, addr: RawAddress, tx_phy: u8, rx_phy: u8, status: u8); in read_phy_callback() 159 server_if: i32, in server_read_phy_callback() 209 batch_scan_full_max: i32, in BatchscanConfigStorage() 210 batch_scan_trunc_max: i32, in BatchscanConfigStorage() 211 batch_scan_notify_threshold: i32, in BatchscanConfigStorage() 215 scan_mode: i32, in BatchscanEnable() 218 addr_type: i32, in BatchscanEnable() [all …]
|
| D | socket.rs | 154 channel: i32, in listen() 155 flags: i32, in listen() 156 calling_uid: i32, in listen() 191 channel: i32, in connect() 192 flags: i32, in connect() 193 calling_uid: i32, in connect()
|
| D | hfp.rs | 56 fn try_into(self) -> Result<i32, Self::Error> { in try_into() 125 fn init(self: Pin<&mut HfpIntf>) -> i32; in init() 132 ) -> i32; in connect_audio() 133 fn set_active_device(self: Pin<&mut HfpIntf>, bt_addr: RawAddress) -> i32; in set_active_device() 134 fn set_volume(self: Pin<&mut HfpIntf>, volume: i8, bt_addr: RawAddress) -> i32; in set_volume() 136 fn disconnect_audio(self: Pin<&mut HfpIntf>, bt_addr: RawAddress) -> i32; in disconnect_audio() 335 pub fn connect_audio(&mut self, addr: RawAddress, sco_offload: bool, force_cvsd: bool) -> i32 { in connect_audio() 340 pub fn set_active_device(&mut self, addr: RawAddress) -> i32 { in set_active_device() 345 pub fn set_volume(&mut self, volume: i8, addr: RawAddress) -> i32 { in set_volume() 355 pub fn disconnect_audio(&mut self, addr: RawAddress) -> i32 { in disconnect_audio()
|
| D | a2dp.rs | 189 fn init(self: &A2dpIntf) -> i32; in init() 192 fn set_silence_device(self: &A2dpIntf, bt_addr: RawAddress, silent: bool) -> i32; in set_silence_device() 193 fn set_active_device(self: &A2dpIntf, bt_addr: RawAddress) -> i32; in set_active_device() 198 ) -> i32; in config_codec() 209 fn init(self: &A2dpSinkIntf) -> i32; in init() 210 fn connect(self: &A2dpSinkIntf, bt_addr: RawAddress) -> i32; in connect() 211 fn disconnect(self: &A2dpSinkIntf, bt_addr: RawAddress) -> i32; in disconnect() 212 fn set_active_device(self: &A2dpSinkIntf, bt_addr: RawAddress) -> i32; in set_active_device() 367 pub fn set_audio_config(&self, sample_rate: i32, bits_per_sample: i32, channel_mode: i32) { in set_audio_config()
|
| /packages/modules/Virtualization/vmclient/src/ |
| D | lib.rs | 154 fn on_payload_started(&self, cid: i32) {} in on_payload_started() 158 fn on_payload_ready(&self, cid: i32) {} in on_payload_ready() 162 fn on_payload_finished(&self, cid: i32, exit_code: i32) {} in on_payload_finished() 166 fn on_error(&self, cid: i32, error_code: ErrorCode, message: &str) {} in on_error() 170 fn on_died(&self, cid: i32, death_reason: DeathReason) {} in on_died() 207 pub fn cid(&self) -> i32 { in cid() 351 fn onPayloadFinished(&self, cid: i32, exit_code: i32) -> BinderResult<()> { in onPayloadFinished() 359 fn onError(&self, cid: i32, error_code: AidlErrorCode, message: &str) -> BinderResult<()> { in onError() 368 fn onDied(&self, cid: i32, reason: AidlDeathReason) -> BinderResult<()> { in onDied()
|
| /packages/modules/Virtualization/compos/common/ |
| D | compos_client.rs | 249 fn on_payload_started(&self, cid: i32) { in on_payload_started() 253 fn on_payload_ready(&self, cid: i32) { in on_payload_ready() 257 fn on_payload_finished(&self, cid: i32, exit_code: i32) { in on_payload_finished() 261 fn on_error(&self, cid: i32, error_code: ErrorCode, message: &str) { in on_error() 265 fn on_died(&self, cid: i32, death_reason: DeathReason) { in on_died()
|
| /packages/modules/Bluetooth/system/gd/rust/topshim/src/ |
| D | btif.rs | 49 impl From<BtTransport> for i32 { implementation 266 fn into(self) -> i32 { in into() 1123 pub fn enable(&self) -> i32 { in enable() 1127 pub fn disable(&self) -> i32 { in disable() 1131 pub fn get_adapter_properties(&self) -> i32 { in get_adapter_properties() 1135 pub fn get_adapter_property(&self, prop: BtPropertyType) -> i32 { in get_adapter_property() 1140 pub fn set_adapter_property(&self, prop: BluetoothProperty) -> i32 { in set_adapter_property() 1146 pub fn get_remote_device_properties(&self, addr: &mut RawAddress) -> i32 { in get_remote_device_properties() 1155 ) -> i32 { in get_remote_device_property() 1165 ) -> i32 { in set_remote_device_property() [all …]
|
| D | sysprop.rs | 22 fn into(self) -> (Vec<u8>, i32) { in into() argument 45 pub fn get_i32(prop: PropertyI32) -> i32 { in get_i32()
|
| /packages/modules/Virtualization/virtualizationmanager/src/ |
| D | atom.rs | 164 uid: i32, in write_vm_booted_stats() 187 uid: i32, in write_vm_exited_stats_sync() 190 exit_signal: Option<i32>, in write_vm_exited_stats_sync()
|
| /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()
|
| /packages/modules/Virtualization/vm/src/ |
| D | run.rs | 329 fn on_payload_started(&self, _cid: i32) { in on_payload_started() 333 fn on_payload_ready(&self, _cid: i32) { in on_payload_ready() 337 fn on_payload_finished(&self, _cid: i32, exit_code: i32) { in on_payload_finished() 341 fn on_error(&self, _cid: i32, error_code: ErrorCode, message: &str) { in on_error()
|