/aosp12/system/security/keystore2/src/ |
H A D | globals.rs | 109 self.devices_by_uuid.values().filter_map(|(asp, _)| asp.get_interface::<T>().ok()).collect() in devices() 170 get_keymint_dev_by_uuid(uuid).map(|(dev, _)| dev)?.get_interface()?; 214 map_binder_status_code(binder::get_interface(&service_name)) in connect_keymint() 223 map_binder_status_code(binder::get_interface("android.security.compat")) in connect_keymint() 307 map_binder_status_code(binder::get_interface(&default_time_stamp_service_name)) in connect_secureclock() 314 map_binder_status_code(binder::get_interface("android.security.compat")) in connect_secureclock() 372 map_binder_status_code(binder::get_interface(&service_name)) in connect_remotely_provisioned_component()
|
H A D | operation.rs | 286 match self.km_op.get_interface() { in prune() 366 self.km_op.get_interface().context("In update: Failed to get KeyMintOperation.")?; in update_aad() 392 self.km_op.get_interface().context("In update: Failed to get KeyMintOperation.")?; in update() 425 self.km_op.get_interface().context("In finish: Failed to get KeyMintOperation.")?; in finish() 466 self.km_op.get_interface().context("In abort: Failed to get KeyMintOperation.")?; in abort()
|
H A D | remote_provisioning.rs | 231 dev.get_interface().context("In get_dev_by_sec_level.") in get_dev_by_sec_level() 245 let rkp_tee_dev: Strong<dyn IRemotelyProvisionedComponent> = dev.get_interface()?; in new_native_binder() 255 let rkp_sb_dev: Strong<dyn IRemotelyProvisionedComponent> = dev.get_interface()?; in new_native_binder()
|
H A D | utils.rs | 107 binder::get_interface("permission")?; in check_device_attestation_permissions() 146 pub fn get_interface<T: FromIBinder + ?Sized>(&self) -> anyhow::Result<binder::Strong<T>> { in get_interface() method
|
H A D | security_level.rs | 311 .get_interface() in create_operation() 538 let km_dev: Strong<dyn IKeyMintDevice> = self.keymint.get_interface()?; in generate_key() 656 self.keymint.get_interface().context("In import_key: Trying to get the KM device")?; in import_key() 766 let km_dev: Strong<dyn IKeyMintDevice> = self.keymint.get_interface()?; in import_wrapped_key() 913 let km_dev: Strong<dyn IKeyMintDevice> = self.keymint.get_interface().context(concat!( in convert_storage_key_to_ephemeral() 977 .get_interface() in delete_key()
|
H A D | shared_secret_negotiation.rs | 180 match map_binder_status_code(binder::get_interface(&service_name)) { in connect_participants() 201 map_binder_status_code(binder::get_interface(COMPAT_PACKAGE_NAME)) in connect_participants()
|
H A D | service.rs | 110 dev.get_interface().context("In get_i_sec_level_by_uuid.") in get_i_sec_level_by_uuid() 126 dev.get_interface().context("In get_security_level.") in get_security_level()
|
H A D | raw_device.rs | 69 km_dev: asp.get_interface()?, in get()
|
H A D | maintenance.rs | 162 .get_interface() in call_with_watchdog()
|
H A D | enforcements.rs | 227 .get_interface() in get_timestamp_token()
|
/aosp12/frameworks/native/libs/binder/rust/src/ |
H A D | lib.rs | 118 pub use proxy::{get_interface, get_service}; 125 pub use super::{add_service, get_interface};
|
H A D | proxy.rs | 658 pub fn get_interface<T: FromIBinder + ?Sized>(name: &str) -> Result<Strong<T>> { in get_interface() function
|
/aosp12/packages/modules/Virtualization/authfs/src/ |
H A D | file.rs | 12 use authfs_aidl_interface::binder::{get_interface, Strong}; 17 get_interface(&service_name).expect("Cannot reach authfs_fd_server binder service") in get_local_binder()
|
/aosp12/packages/modules/Virtualization/vm/src/ |
H A D | main.rs | 21 use android_system_virtmanager::binder::{get_interface, ProcessState, Strong}; 59 let virt_manager = get_interface(VIRT_MANAGER_BINDER_SERVICE_IDENTIFIER) in main()
|
/aosp12/frameworks/native/libs/binder/rust/tests/ |
H A D | ndk_rust_interop.rs | 39 match binder::get_interface(service_name) { in rust_call_ndk() 58 binder::get_interface(service_name); in rust_call_ndk()
|
H A D | integration.rs | 265 binder::get_interface::<dyn ITest>("this_service_does_not_exist").err(), in check_services() 271 binder::get_interface::<dyn ITest>("manager").err(), in check_services() 281 binder::get_interface(service_name).expect("Did not get manager binder service"); in trivial_client() 290 binder::get_interface(service_name).expect("Did not get manager binder service"); in get_selinux_context()
|
/aosp12/system/tools/aidl/tests/rust/ |
H A D | test_client.rs | 40 binder::get_interface(<BpTestService as ITestService::ITestService>::get_descriptor()) in get_test_service() 610 binder::get_interface(<BpFooInterface as IFooInterface::IFooInterface>::get_descriptor()) in test_versioned_interface_version() 620 binder::get_interface(<BpFooInterface as IFooInterface::IFooInterface>::get_descriptor()) in test_versioned_interface_hash() 633 binder::get_interface(<BpFooInterface as IFooInterface::IFooInterface>::get_descriptor()) in test_versioned_known_union_field_is_ok() 642 binder::get_interface(<BpFooInterface as IFooInterface::IFooInterface>::get_descriptor()) in test_versioned_unknown_union_field_triggers_error() 662 binder::get_interface(<BpFooInterface as IFooInterface::IFooInterface>::get_descriptor()) in test_array_of_parcelable_with_new_field() 673 binder::get_interface(<BpFooInterface as IFooInterface::IFooInterface>::get_descriptor()) in test_read_data_correctly_after_parcelable_with_new_field()
|
/aosp12/system/extras/profcollectd/libprofcollectd/ |
H A D | lib.rs | 61 binder::get_interface(&PROFCOLLECTD_SERVICE_NAME) in get_profcollectd_service()
|
/aosp12/system/security/keystore2/src/km_compat/ |
H A D | lib.rs | 46 binder::get_interface(COMPAT_NAME).ok()?; in get_device() 340 match binder::get_interface(COMPAT_NAME) { in test_secure_clock() 361 match binder::get_interface(COMPAT_NAME) { in test_shared_secret()
|
/aosp12/packages/modules/Virtualization/compos/src/ |
H A D | pvm_exec.rs | 46 compos_aidl_interface::binder::get_interface(SERVICE_NAME).expect("Cannot reach compsvc") in get_local_service()
|
/aosp12/system/libvintf/xsd/halManifest/api/ |
H A D | current.txt | 13 method public java.util.List<hal.manifest.Interface> get_interface();
|
/aosp12/system/libvintf/xsd/compatibilityMatrix/api/ |
H A D | current.txt | 56 method public java.util.List<compatibility.matrix.Interface> get_interface();
|
/aosp12/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
H A D | wifi_hal.cpp | 1541 static int get_interface(const char *name, interface_info *info) in get_interface() function 1603 if (get_interface(de->d_name, ifinfo) != WIFI_SUCCESS) { in wifi_init_interfaces() 1658 if (get_interface(ifname, ifinfo) != WIFI_SUCCESS) { in wifi_add_iface_hal_info()
|
/aosp12/hardware/qcom/wlan/qcwcn/wifi_hal/ |
H A D | wifi_hal.cpp | 1805 static int get_interface(const char *name, interface_info *info) in get_interface() function 1860 if (get_interface(de->d_name, ifinfo) != WIFI_SUCCESS) { in wifi_init_interfaces()
|