Home
last modified time | relevance | path

Searched refs:rust (Results 1 – 25 of 128) sorted by relevance

123456

/packages/modules/DnsResolver/tests/
Ddoh_frontend.cpp40 rust::frontend_delete(mRustDoh); in ~DohFrontend()
47 mRustDoh = rust::frontend_new(mAddress.c_str(), mService.c_str(), mBackendAddress.c_str(), in startServer()
55 rust::frontend_set_certificate(mRustDoh, kCertificate); in startServer()
56 rust::frontend_set_private_key(mRustDoh, kPrivatekey); in startServer()
58 return rust::frontend_start(mRustDoh); in startServer()
65 return rust::frontend_stop(mRustDoh); in stopServer()
72 rust::Stats stats; in queries()
73 rust::frontend_stats(mRustDoh, &stats); in queries()
81 rust::Stats stats; in connections()
82 rust::frontend_stats(mRustDoh, &stats); in connections()
[all …]
/packages/modules/Bluetooth/
DCargo.toml19 "system/gd/rust/shim",
20 "system/gd/rust/topshim",
21 "system/gd/rust/linux/mgmt",
22 "system/gd/rust/linux/service",
23 "system/gd/rust/linux/stack",
24 "system/gd/rust/linux/client",
25 "system/gd/rust/linux/utils",
29 "system/gd/rust/shim",
30 "system/gd/rust/topshim",
31 "system/gd/rust/linux/mgmt",
[all …]
/packages/modules/Bluetooth/system/rust/src/connection/ffi/
Dconnection_shim.h40 void RegisterRustCallbacks(::rust::Box<LeAclManagerCallbackShim> callbacks);
49 ::rust::Fn<void(uint8_t client_id, core::AddressWithType address)>
51 ::rust::Fn<void(uint8_t client_id, core::AddressWithType address)>
53 ::rust::Fn<void(uint8_t client_id, core::AddressWithType address)>
55 ::rust::Fn<void(uint8_t client_id, core::AddressWithType address)>
57 ::rust::Fn<void(uint8_t client_id)> remove_client,
58 ::rust::Fn<void(core::AddressWithType address)>
62 ::rust::Fn<void(uint8_t client_id, core::AddressWithType address)>
64 ::rust::Fn<void(uint8_t client_id, core::AddressWithType address)>
66 ::rust::Fn<void(uint8_t client_id, core::AddressWithType address)>
[all …]
Dconnection_shim.cc54 using BoxedLeAclManagerCallbackShim = ::rust::Box<LeAclManagerCallbackShim>;
159 ::rust::Fn<void(uint8_t client_id, core::AddressWithType address)> in RegisterRustApis()
161 ::rust::Fn<void(uint8_t client_id, core::AddressWithType address)> in RegisterRustApis()
163 ::rust::Fn<void(uint8_t client_id, core::AddressWithType address)> in RegisterRustApis()
165 ::rust::Fn<void(uint8_t client_id, core::AddressWithType address)> in RegisterRustApis()
167 ::rust::Fn<void(uint8_t client_id)> remove_client, in RegisterRustApis()
168 ::rust::Fn<void(core::AddressWithType address)> in RegisterRustApis()
/packages/modules/Bluetooth/system/stack/arbiter/
Dacl_arbiter.cc36 ::rust::Fn<void(uint8_t tcb_idx, uint8_t advertiser)> on_le_connect;
37 ::rust::Fn<void(uint8_t tcb_idx)> on_le_disconnect;
38 ::rust::Fn<InterceptAction(uint8_t tcb_idx, ::rust::Vec<uint8_t> buffer)>
40 ::rust::Fn<void(uint8_t tcb_idx)> on_outgoing_mtu_req;
41 ::rust::Fn<void(uint8_t tcb_idx, size_t mtu)> on_incoming_mtu_resp;
42 ::rust::Fn<void(uint8_t tcb_idx, size_t mtu)> on_incoming_mtu_req;
74 auto vec = ::rust::Vec<uint8_t>(); in InterceptAttPacket()
104 ::rust::Vec<uint8_t> buffer) { in SendPacketToPeer()
130 ::rust::Fn<void(uint8_t tcb_idx, uint8_t advertiser)> on_le_connect, in StoreCallbacksFromRust()
131 ::rust::Fn<void(uint8_t tcb_idx)> on_le_disconnect, in StoreCallbacksFromRust()
[all …]
Dacl_arbiter.h50 void SendPacketToPeer(uint8_t tcb_idx, ::rust::Vec<uint8_t> buffer);
59 ::rust::Fn<void(uint8_t tcb_idx, uint8_t advertiser)> on_le_connect,
60 ::rust::Fn<void(uint8_t tcb_idx)> on_le_disconnect,
61 ::rust::Fn<InterceptAction(uint8_t tcb_idx, ::rust::Vec<uint8_t> buffer)>
63 ::rust::Fn<void(uint8_t tcb_idx)> on_outgoing_mtu_req,
64 ::rust::Fn<void(uint8_t tcb_idx, size_t mtu)> on_incoming_mtu_resp,
65 ::rust::Fn<void(uint8_t tcb_idx, size_t mtu)> on_incoming_mtu_req);
67 void SendPacketToPeer(uint8_t tcb_idx, ::rust::Vec<uint8_t> buffer);
/packages/modules/Bluetooth/system/gd/rust/topshim/hfp/
Dhfp_shim.cc29 namespace rusty = ::bluetooth::topshim::rust;
33 namespace rust { namespace
54 rusty::hfp_vendor_specific_at_command_callback(::rust::String{at_string}, *addr); in vendor_specific_at_command_cb()
78 rusty::hfp_dial_call_callback(::rust::String{number}, *addr); in dial_call_cb()
137 ::rust::String{pkt_status_in_hex}, in debug_dump_cb()
138 ::rust::String{pkt_status_in_binary}); in debug_dump_cb()
154 topshim::rust::internal::connection_state_cb(state, bd_addr); in ConnectionStateCallback()
159 topshim::rust::internal::audio_state_cb(state, bd_addr); in AudioStateCallback()
166 topshim::rust::internal::answer_call_cb(bd_addr); in AnswerCallCallback()
170 topshim::rust::internal::hangup_call_cb(bd_addr); in HangupCallCallback()
[all …]
/packages/modules/Bluetooth/system/gd/rust/topshim/btav/
Dbtav_shim.h29 namespace rust {
46 int config_codec(RawAddress addr, ::rust::Vec<A2dpCodecConfig> codec_preferences) const;
75 void set_playback_status(const ::rust::String& status);
78 …const ::rust::String& title, const ::rust::String& artist, const ::rust::String& album, int64_t le…
80 uint16_t add_player(const ::rust::String& name, bool browsing_supported);
Dbtav_shim.cc30 namespace rusty = ::bluetooth::topshim::rust;
178 namespace rust { namespace
212 static ::rust::Vec<A2dpCodecConfig> to_rust_codec_config_vec(const std::vector<btav_a2dp_codec_conf… in to_rust_codec_config_vec()
213 ::rust::Vec<A2dpCodecConfig> rconfigs; in to_rust_codec_config_vec()
243 ::rust::Vec<A2dpCodecConfig> lcaps = to_rust_codec_config_vec(codecs_local_capabilities); in audio_config_cb()
244 ::rust::Vec<A2dpCodecConfig> scaps = to_rust_codec_config_vec(codecs_selectable_capabilities); in audio_config_cb()
295 int A2dpIntf::config_codec(RawAddress addr, ::rust::Vec<A2dpCodecConfig> codec_preferences) const { in config_codec()
370 void AvrcpIntf::set_playback_status(const ::rust::String& status) { in set_playback_status()
385 …const ::rust::String& title, const ::rust::String& artist, const ::rust::String& album, int64_t le… in set_metadata()
389 uint16_t AvrcpIntf::add_player(const ::rust::String& name, bool browsing_supported) { in add_player()
/packages/modules/Bluetooth/system/gd/rust/topshim/gatt/
Dgatt_ble_advertiser_shim.h26 namespace rust {
55 void SetData(uint8_t adv_id, bool set_scan_rsp, ::rust::Vec<uint8_t> data);
60 ::rust::Vec<uint8_t> advertise_data,
61 ::rust::Vec<uint8_t> scan_response_data,
66 ::rust::Vec<uint8_t> advertise_data,
67 ::rust::Vec<uint8_t> scan_response_data,
69 ::rust::Vec<uint8_t> periodic_data,
73 void SetPeriodicAdvertisingData(uint8_t adv_id, ::rust::Vec<uint8_t> data);
Dgatt_ble_advertiser_shim.cc36 namespace rust { namespace
38 namespace rusty = ::bluetooth::topshim::rust;
92 void BleAdvertiserIntf::SetData(uint8_t adv_id, bool set_scan_rsp, ::rust::Vec<uint8_t> data) { in SetData()
116 ::rust::Vec<uint8_t> advertise_data, in StartAdvertising()
117 ::rust::Vec<uint8_t> scan_response_data, in StartAdvertising()
136 ::rust::Vec<uint8_t> advertise_data, in StartAdvertisingSet()
137 ::rust::Vec<uint8_t> scan_response_data, in StartAdvertisingSet()
139 ::rust::Vec<uint8_t> periodic_data, in StartAdvertisingSet()
169 void BleAdvertiserIntf::SetPeriodicAdvertisingData(uint8_t adv_id, ::rust::Vec<uint8_t> data) { in SetPeriodicAdvertisingData()
/packages/modules/Bluetooth/system/gd/rust/topshim/btif/
Dbtif_shim.h25 namespace rust {
32 void Convert(::rust::Vec<::rust::String>& flags);
41 std::unique_ptr<InitFlags> ConvertFlags(::rust::Vec<::rust::String> flags);
Dbtif_shim.cc29 namespace rust { namespace
42 void InitFlags::Convert(::rust::Vec<::rust::String>& initFlags) { in Convert()
56 std::unique_ptr<InitFlags> ConvertFlags(::rust::Vec<::rust::String> flags) { in ConvertFlags()
/packages/modules/Virtualization/virtualizationservice/
DAndroid.bp27 "android.hardware.security.rkp-V3-rust",
28 "android.system.virtualizationcommon-rust",
29 "android.system.virtualizationmaintenance-rust",
30 "android.system.virtualizationservice-rust",
31 "android.system.virtualizationservice_internal-rust",
32 "android.system.virtualmachineservice-rust",
33 "android.os.permissions_aidl-rust",
/packages/modules/Bluetooth/system/gd/common/
Dinit_flags.h29 rust::Vec<rust::String> rusted_flags = rust::Vec<rust::String>(); in Load()
31 rusted_flags.push_back(rust::String(*flags)); in Load()
/packages/modules/Bluetooth/system/gd/rust/topshim/le_audio/
Dle_audio_shim.cc29 namespace rusty = ::bluetooth::topshim::rust;
33 namespace rust { namespace
75 static ::rust::vec<BtLeAudioCodecConfig> to_rust_btle_audio_codec_config_vec( in to_rust_btle_audio_codec_config_vec()
77 ::rust::vec<BtLeAudioCodecConfig> rconfigs; in to_rust_btle_audio_codec_config_vec()
260 topshim::rust::internal::initialized_cb(); in OnInitialized()
265 topshim::rust::internal::connection_state_cb(state, address); in OnConnectionState()
270 topshim::rust::internal::group_status_cb(group_id, group_status); in OnGroupStatus()
280 topshim::rust::internal::group_node_status_cb(bd_addr, group_id, node_status); in OnGroupNodeStatus()
296 topshim::rust::internal::audio_conf_cb( in OnAudioConf()
305 topshim::rust::internal::sink_audio_location_available_cb(address, snk_audio_locations); in OnSinkAudioLocationAvailable()
[all …]
/packages/modules/Virtualization/virtualizationmanager/
DAndroid.bp27 "android.system.virtualizationcommon-rust",
28 "android.system.virtualizationservice-rust",
29 "android.system.virtualizationservice_internal-rust",
30 "android.system.virtualmachineservice-rust",
31 "android.os.permissions_aidl-rust",
74 "packagemanager_aidl-rust",
/packages/modules/Bluetooth/system/gd/rust/topshim/vc/
Dvc_shim.cc28 namespace rusty = ::bluetooth::topshim::rust;
32 namespace rust { namespace
98 topshim::rust::internal::connection_state_cb(state, address); in OnConnectionState()
109 topshim::rust::internal::volume_state_cb(address, volume, mute, is_autonomous); in OnVolumeStateChanged()
116 topshim::rust::internal::group_volume_state_cb(group_id, volume, mute, is_autonomous); in OnGroupVolumeStateChanged()
121 topshim::rust::internal::device_available_cb(address, num_offset); in OnDeviceAvailable()
131 topshim::rust::internal::ext_audio_out_volume_offset_cb(address, ext_output_id, offset); in OnExtAudioOutVolumeOffsetChanged()
141 topshim::rust::internal::ext_audio_out_location_cb(address, ext_output_id, location); in OnExtAudioOutLocationChanged()
151 topshim::rust::internal::ext_audio_out_description_cb(address, ext_output_id, descr); in OnExtAudioOutDescriptionChanged()
/packages/modules/Bluetooth/tools/rootcanal/rust/
DCMakeLists.txt11 INPUT ${ROOTCANAL_ROOT}/rust/lmp_packets.pdl
17 INPUT ${ROOTCANAL_ROOT}/rust/llcp_packets.pdl
22 corrosion_import_crate(MANIFEST_PATH ${ROOTCANAL_ROOT}/rust/Cargo.toml FLAGS
36 # Make sure we have the rust packets generated before we build them.
42 PUBLIC ${ROOTCANAL_ROOT}/rust/include)
/packages/modules/Bluetooth/system/gd/rust/topshim/csis/
Dcsis_shim.cc29 namespace rusty = ::bluetooth::topshim::rust;
33 namespace rust { namespace
105 topshim::rust::internal::connection_state_cb(addr, state); in OnConnectionState()
120 topshim::rust::internal::device_available_cb(addr, group_id, group_size, rank, uuid); in OnDeviceAvailable()
125 topshim::rust::internal::set_member_available_cb(addr, group_id); in OnSetMemberAvailable()
129 topshim::rust::internal::group_lock_changed_cb(group_id, locked, status); in OnGroupLockChanged()
/packages/modules/Bluetooth/system/main/shim/
DBUILD.gn27 "//bt/system/gd/rust/shim",
39 "//bt/system/gd/rust/shim:libbluetooth_rust_interop",
40 "//bt/system/gd/rust/topshim:libbluetooth_topshim",
74 "//bt/system/gd/rust/shim",
87 "//bt/system/gd/rust/shim:libbluetooth_rust_interop",
88 "//bt/system/gd/rust/topshim:libbluetooth_topshim",
/packages/modules/Virtualization/virtualizationservice/aidl/
DAndroid.bp29 rust: {
54 rust: {
79 rust: {
100 rust: {
128 rust: {
/packages/modules/Virtualization/microdroid_manager/
DAndroid.bp16 "android.system.virtualizationcommon-rust",
17 "android.system.virtualizationservice-rust",
18 "android.system.virtualmachineservice-rust",
19 "android.system.virtualization.payload-rust",
/packages/modules/Virtualization/compos/verify/native/
Dverify_native.h21 bool verify(rust::Slice<const uint8_t> public_key, rust::Slice<const uint8_t> signature,
22 rust::Slice<const uint8_t> data);
/packages/modules/Virtualization/compos/composd/
DAndroid.bp12 "android.system.composd-rust",
13 "android.system.virtualizationservice-rust",
14 "compos_aidl_interface-rust",

123456