/packages/modules/Bluetooth/system/gd/rust/linux/service/src/ |
D | iface_bluetooth_gatt.rs | 38 fn on_client_registered(&mut self, status: GattStatus, scanner_id: i32) { in on_client_registered() 46 client_id: i32, in on_client_connection_state() 84 handle: i32, in on_characteristic_read() 91 fn on_characteristic_write(&mut self, addr: RawAddress, status: GattStatus, handle: i32) { in on_characteristic_write() 105 handle: i32, in on_descriptor_read() 112 fn on_descriptor_write(&mut self, addr: RawAddress, status: GattStatus, handle: i32) { in on_descriptor_write() 117 fn on_notify(&mut self, addr: RawAddress, handle: i32, value: Vec<u8>) { in on_notify() 122 fn on_read_remote_rssi(&mut self, addr: RawAddress, rssi: i32, status: GattStatus) { in on_read_remote_rssi() 127 fn on_configure_mtu(&mut self, addr: RawAddress, mtu: i32, status: GattStatus) { in on_configure_mtu() 135 interval: i32, in on_connection_updated() [all …]
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | bluetooth_gatt.rs | 128 fn remove(&mut self, id: i32) { in remove() 142 fn set_client_id(&mut self, uuid: &Uuid, id: i32) { in set_client_id() 148 fn add_connection(&mut self, client_id: i32, conn_id: i32, address: &RawAddress) { in add_connection() 156 fn remove_connection(&mut self, _client_id: i32, conn_id: i32) { in remove_connection() 160 fn get_conn_id_from_address(&self, client_id: i32, address: &RawAddress) -> Option<i32> { in get_conn_id_from_address() 167 fn get_client_ids_from_address(&self, address: &RawAddress) -> Vec<i32> { in get_client_ids_from_address() 275 fn remove(&mut self, id: i32) { in remove() 288 fn set_server_id(&mut self, uuid: &Uuid, id: i32) { in set_server_id() 302 fn add_connection(&mut self, server_id: i32, conn_id: i32, address: &RawAddress) { in add_connection() 310 fn remove_connection(&mut self, conn_id: i32) { in remove_connection() [all …]
|
D | dis.rs | 164 fn on_server_registered(&mut self, status: GattStatus, server_id: i32) { in on_server_registered() 181 trans_id: i32, in on_characteristic_read_request() 182 offset: i32, in on_characteristic_read_request() 184 handle: i32, in on_characteristic_read_request() 198 fn on_service_removed(&mut self, _status: GattStatus, _handle: i32) {} in on_service_removed() 199 fn on_server_connection_state(&mut self, _server_id: i32, _connected: bool, _addr: RawAddress) { in on_server_connection_state() 204 _trans_id: i32, in on_descriptor_read_request() 205 _offset: i32, in on_descriptor_read_request() 207 _handle: i32, in on_descriptor_read_request() 213 _trans_id: i32, in on_characteristic_write_request() [all …]
|
D | bluetooth_adv.rs | 102 reg_id: i32, in on_advertising_set_started() 103 advertiser_id: i32, in on_advertising_set_started() 104 tx_power: i32, in on_advertising_set_started() 109 fn on_own_address_read(&mut self, advertiser_id: i32, address_type: i32, address: RawAddress); in on_own_address_read() 113 fn on_advertising_set_stopped(&mut self, advertiser_id: i32); in on_advertising_set_stopped() 119 advertiser_id: i32, in on_advertising_enabled() 125 fn on_advertising_data_set(&mut self, advertiser_id: i32, status: AdvertisingStatus); in on_advertising_data_set() 129 fn on_scan_response_data_set(&mut self, advertiser_id: i32, status: AdvertisingStatus); in on_scan_response_data_set() 135 advertiser_id: i32, in on_advertising_parameters_updated() 136 tx_power: i32, in on_advertising_parameters_updated() [all …]
|
D | battery_service.rs | 458 fn on_client_registered(&mut self, status: GattStatus, client_id: i32) { in on_client_registered() 474 client_id: i32, in on_client_connection_state() 508 handle: i32, in on_characteristic_read() 521 fn on_notify(&mut self, addr: RawAddress, handle: i32, value: Vec<u8>) { in on_notify() 548 fn on_characteristic_write(&mut self, _addr: RawAddress, _status: GattStatus, _handle: i32) {} in on_characteristic_write() 556 _handle: i32, in on_descriptor_read() 561 fn on_descriptor_write(&mut self, _addr: RawAddress, _status: GattStatus, _handle: i32) {} in on_descriptor_write() 563 fn on_read_remote_rssi(&mut self, _addr: RawAddress, _rssi: i32, _status: GattStatus) {} in on_read_remote_rssi() 565 fn on_configure_mtu(&mut self, _addr: RawAddress, _mtu: i32, _status: GattStatus) {} in on_configure_mtu() 570 _interval: i32, in on_connection_updated() [all …]
|
D | socket_manager.rs | 91 fn make_l2cap_channel(flags: i32, is_le: bool) -> Self { in make_l2cap_channel() 107 flags: i32, in make_rfcomm_channel() 109 channel: Option<i32>, in make_rfcomm_channel() 123 fn make_default_rfcomm_channel(flags: i32, name: String, uuid: Uuid) -> Self { in make_default_rfcomm_channel() 220 fn make_l2cap_channel(flags: i32, device: BluetoothDevice, psm: i32, is_le: bool) -> Self { in make_l2cap_channel() 237 fn make_rfcomm_channel(flags: i32, device: BluetoothDevice, uuid: Uuid) -> Self { in make_rfcomm_channel() 338 channel: Option<i32>, in listen_using_rfcomm() 341 flags: Option<i32>, in listen_using_rfcomm() 349 psm: i32, in create_insecure_l2cap_channel() 357 psm: i32, in create_insecure_l2cap_le_channel() [all …]
|
/packages/modules/Virtualization/android/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/mgmt/src/ |
D | bluetooth_manager_dbus.rs | 32 fn start(&mut self, hci_interface: i32) { in start() 37 fn stop(&mut self, hci_interface: i32) { in stop() 67 fn get_default_adapter(&mut self) -> i32 { in get_default_adapter() 72 fn set_desired_default_adapter(&mut self, hci_interface: i32) { in set_desired_default_adapter() 94 fn on_hci_device_changed(&mut self, hci_interface: i32, present: bool) {} in on_hci_device_changed() 97 fn on_hci_enabled_changed(&mut self, hci_interface: i32, enabled: bool) {} in on_hci_enabled_changed() 100 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() 63 fn on_hci_device_changed(&mut self, hci_interface: i32, present: bool); in on_hci_device_changed() 66 fn on_hci_enabled_changed(&mut self, hci_interface: i32, enabled: bool); in on_hci_enabled_changed() 73 fn on_default_adapter_changed(&mut self, hci_interface: i32); in on_default_adapter_changed()
|
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/linux/client/src/ |
D | callbacks.rs | 79 fn on_hci_device_changed(&mut self, hci_interface: i32, present: bool) { in on_hci_device_changed() 89 fn on_hci_enabled_changed(&mut self, hci_interface: i32, enabled: bool) { in on_hci_enabled_changed() 93 fn on_default_adapter_changed(&mut self, hci_interface: i32) { in on_default_adapter_changed() 326 fn on_sdp_record_created(&mut self, record: BtSdpRecord, handle: i32) { in on_sdp_record_created() 561 reg_id: i32, in on_advertising_set_started() 562 advertiser_id: i32, in on_advertising_set_started() 563 tx_power: i32, in on_advertising_set_started() 590 fn on_own_address_read(&mut self, advertiser_id: i32, address_type: i32, address: RawAddress) { in on_own_address_read() 599 fn on_advertising_set_stopped(&mut self, advertiser_id: i32) { in on_advertising_set_stopped() 605 advertiser_id: i32, in on_advertising_enabled() [all …]
|
D | dbus_iface.rs | 83 fn make_object_path(idx: i32, name: &str) -> dbus::Path { in make_object_path() 665 fn on_sdp_record_created(&mut self, record: BtSdpRecord, handle: i32) {} in on_sdp_record_created() 1163 fn start(&mut self, hci_interface: i32) { in start() 1168 fn stop(&mut self, hci_interface: i32) { in stop() 1198 fn get_default_adapter(&mut self) -> i32 { in get_default_adapter() 1203 fn set_desired_default_adapter(&mut self, adapter: i32) { in set_desired_default_adapter() 1229 fn on_hci_device_changed(&mut self, hci_interface: i32, present: bool) {} in on_hci_device_changed() 1232 fn on_hci_enabled_changed(&mut self, hci_interface: i32, enabled: bool) {} in on_hci_enabled_changed() 1235 fn on_default_adapter_changed(&mut self, hci_interface: i32) {} in on_default_adapter_changed() 1251 reg_id: i32, in on_advertising_set_started() [all …]
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/ |
D | le_audio.rs | 147 fn group_add_node(self: Pin<&mut LeAudioClientIntf>, group_id: i32, addr: RawAddress); in group_add_node() 148 fn group_remove_node(self: Pin<&mut LeAudioClientIntf>, group_id: i32, addr: RawAddress); in group_remove_node() 149 fn group_set_active(self: Pin<&mut LeAudioClientIntf>, group_id: i32); in group_set_active() 152 group_id: i32, in set_codec_config_preference() 156 fn set_ccid_information(self: Pin<&mut LeAudioClientIntf>, ccid: i32, context_type: i32); in set_ccid_information() 160 group_id: i32, in send_audio_profile_preferences() 188 fn le_audio_group_status_callback(group_id: i32, group_status: BtLeAudioGroupStatus); in le_audio_group_status_callback() 191 group_id: i32, in le_audio_group_node_status_callback() 196 group_id: i32, in le_audio_audio_conf_callback() 210 group_id: i32, in le_audio_audio_group_codec_conf_callback() [all …]
|
D | gatt.rs | 112 fn read_phy(self: Pin<&mut GattClientIntf>, client_if: i32, bt_addr: RawAddress) -> i32; in read_phy() 120 server_if: i32, in server_read_phy() 122 ) -> i32; in server_read_phy() 127 fn read_phy_callback(client_if: i32, addr: RawAddress, tx_phy: u8, rx_phy: u8, status: u8); in read_phy_callback() 130 server_if: i32, in server_read_phy_callback() 185 batch_scan_full_max: i32, in BatchscanConfigStorage() 186 batch_scan_trunc_max: i32, in BatchscanConfigStorage() 187 batch_scan_notify_threshold: i32, in BatchscanConfigStorage() 191 scan_mode: i32, in BatchscanEnable() 194 addr_type: i32, in BatchscanEnable() [all …]
|
D | csis.rs | 50 fn lock_group(self: Pin<&mut CsisClientIntf>, group_id: i32, lock: bool); in lock_group() 59 group_id: i32, in csis_device_available_callback() 60 group_size: i32, in csis_device_available_callback() 61 rank: i32, in csis_device_available_callback() 64 fn csis_set_member_available_callback(addr: RawAddress, group_id: i32); in csis_set_member_available_callback() 66 group_id: i32, in csis_group_lock_changed_callback() 203 pub fn lock_group(&mut self, group_id: i32, lock: bool) { in lock_group()
|
D | hfp.rs | 101 fn try_into(self) -> Result<i32, Self::Error> { in try_into() 126 fn try_into(self) -> Result<i32, Self::Error> { in try_into() 197 fn init(self: Pin<&mut HfpIntf>) -> i32; in init() 203 disabled_codecs: i32, in connect_audio() 204 ) -> i32; in connect_audio() 205 fn set_active_device(self: Pin<&mut HfpIntf>, bt_addr: RawAddress) -> i32; in set_active_device() 206 fn set_volume(self: Pin<&mut HfpIntf>, volume: i8, bt_addr: RawAddress) -> i32; in set_volume() 209 fn disconnect_audio(self: Pin<&mut HfpIntf>, bt_addr: RawAddress) -> i32; in disconnect_audio() 255 total_num_decoded_frames: i32, in hfp_debug_dump_callback() 480 disabled_codecs: i32, in connect_audio() [all …]
|
/packages/modules/Virtualization/tests/vm_accessor/accessor/src/ |
D | run.rs | 144 fn on_payload_started(&self, _cid: i32) { in on_payload_started() 148 fn on_payload_ready(&self, _cid: i32) { in on_payload_ready() 152 fn on_payload_finished(&self, _cid: i32, exit_code: i32) { in on_payload_finished() 156 fn on_error(&self, _cid: i32, error_code: ErrorCode, message: &str) { in on_error()
|
/packages/modules/Virtualization/tests/testapk/src/native/ |
D | testbinary.rs | 68 fn addInteger(&self, a: i32, b: i32) -> BinderResult<i32> { in addInteger() 109 fn getUid(&self) -> BinderResult<i32> { in getUid() 118 fn getFilePermissions(&self, _: &str) -> BinderResult<i32> { in getFilePermissions() 121 fn getMountFlags(&self, _: &str) -> BinderResult<i32> { in getMountFlags() 124 fn getPageSize(&self) -> BinderResult<i32> { in getPageSize()
|
/packages/modules/Virtualization/libs/bssl/src/ |
D | err.rs | 103 fn get_reason(packed_error: u32) -> i32 { in get_reason() 109 fn get_lib(packed_error: u32) -> i32 { in get_lib() 114 fn map_to_reason_code(reason: i32, lib: i32) -> ReasonCode { in map_to_reason_code() 138 fn map_library_reason_code(reason: i32, lib: i32) -> Option<ReasonCode> { in map_library_reason_code()
|
/packages/modules/Virtualization/android/virtmgr/src/ |
D | atom.rs | 96 fn get_num_vcpus(cpu_options: &CpuOptions) -> i32 { in get_num_vcpus() 172 uid: i32, in write_vm_booted_stats() 200 uid: i32, in write_vm_exited_stats_sync() 203 exit_signal: Option<i32>, in write_vm_exited_stats_sync()
|
/packages/modules/Virtualization/libs/libcompos_common/ |
D | compos_client.rs | 245 fn on_payload_started(&self, cid: i32) { in on_payload_started() 249 fn on_payload_ready(&self, cid: i32) { in on_payload_ready() 253 fn on_payload_finished(&self, cid: i32, exit_code: i32) { in on_payload_finished() 257 fn on_error(&self, cid: i32, error_code: ErrorCode, message: &str) { in on_error() 261 fn on_died(&self, cid: i32, death_reason: DeathReason) { in on_died()
|
/packages/modules/Virtualization/android/virtualizationservice/src/maintenance/ |
D | vmdb.rs | 138 fn schema_version(&mut self) -> Result<i32> { in schema_version() 218 pub fn add_vm_id(&mut self, vm_id: &VmId, user_id: i32, app_id: i32) -> Result<()> { in add_vm_id() 253 pub fn vm_ids_for_app(&mut self, user_id: i32, app_id: i32) -> Result<Vec<VmId>> { in vm_ids_for_app() 291 pub fn count_vm_ids_for_app(&mut self, user_id: i32, app_id: i32) -> Result<usize> { in count_vm_ids_for_app() 302 user_id: i32, in oldest_vm_ids_for_app() 303 app_id: i32, in oldest_vm_ids_for_app() 319 pub fn get_all_owners(&mut self) -> Result<Vec<(i32, i32)>> { in get_all_owners() argument 397 fn show_contents_for_app(db: &VmIdDb, user_id: i32, app_id: i32, count: usize) { in show_contents_for_app()
|
/packages/modules/Virtualization/libs/libvmclient/src/ |
D | lib.rs | 184 fn on_payload_started(&self, cid: i32) {} in on_payload_started() 188 fn on_payload_ready(&self, cid: i32) {} in on_payload_ready() 192 fn on_payload_finished(&self, cid: i32, exit_code: i32) {} in on_payload_finished() 196 fn on_error(&self, cid: i32, error_code: ErrorCode, message: &str) {} in on_error() 200 fn on_died(&self, cid: i32, death_reason: DeathReason) {} in on_died() 250 pub fn cid(&self) -> i32 { in cid() 399 fn onPayloadFinished(&self, cid: i32, exit_code: i32) -> BinderResult<()> { in onPayloadFinished() 407 fn onError(&self, cid: i32, error_code: AidlErrorCode, message: &str) -> BinderResult<()> { in onError() 416 fn onDied(&self, cid: i32, reason: AidlDeathReason) -> BinderResult<()> { in onDied()
|
/packages/modules/Virtualization/tests/vm_accessor/accessor_vm/src/ |
D | main.rs | 61 fn add(&self, a: i32, b: i32) -> binder::Result<i32> { in add()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/ |
D | btif.rs | 49 impl From<BtTransport> for i32 { implementation 287 fn into(self) -> i32 { in into() 1294 pub fn enable(&self) -> i32 { in enable() 1298 pub fn disable(&self) -> i32 { in disable() 1302 pub fn get_adapter_properties(&self) -> i32 { in get_adapter_properties() 1306 pub fn get_adapter_property(&self, prop: BtPropertyType) -> i32 { in get_adapter_property() 1311 pub fn set_adapter_property(&self, prop: BluetoothProperty) -> i32 { in set_adapter_property() 1321 pub fn get_remote_device_properties(&self, addr: &mut RawAddress) -> i32 { in get_remote_device_properties() 1330 ) -> i32 { in get_remote_device_property() 1340 ) -> i32 { in set_remote_device_property() [all …]
|