Home
last modified time | relevance | path

Searched refs:binder (Results 1 – 25 of 50) sorted by relevance

12

/trusty/user/app/storage/test/storage-unittest-aidl/
Daidl-test-inc.mk21 frameworks/native/libs/binder/trusty/rust \
22 frameworks/native/libs/binder/trusty/rust/binder_rpc_server \
23 frameworks/native/libs/binder/trusty/rust/rpcbinder \
Dlib.rs16 use binder::{Status, StatusCode, Strong};
36 use binder::IBinder as _; in ping()
/trusty/user/app/sample/hwcryptohal/server/
Dopaque_key.rs26 use android_hardware_security_see::binder;
27 use binder::binder_impl::Binder;
147 impl TryFrom<&binder::Strong<dyn IOpaqueKey>> for OpaqueKey {
150 fn try_from(value: &binder::Strong<dyn IOpaqueKey>) -> Result<OpaqueKey, Self::Error> { in try_from()
151 let binder = value.as_binder(); in try_from() localVariable
152 let remote = binder.is_remote(); in try_from()
157 binder.try_into().expect("because binder is local this should not fail"); in try_from()
170 ) -> binder::Result<binder::Strong<dyn IOpaqueKey>> { in new_binder()
175 BnOpaqueKey::new_binder(opaque_key, binder::BinderFeatures::default()); in new_binder()
188 ) -> binder::Result<binder::Strong<dyn IOpaqueKey>> { in new_opaque_key_from_raw_bytes()
[all …]
Dhwcrypto_device_key.rs30 use android_hardware_security_see::binder;
31 use binder::StatusCode;
202 impl binder::Interface for HwCryptoKey {}
205 pub(crate) fn new_binder(uuid: Uuid) -> binder::Strong<dyn IHwCryptoKey> { in new_binder()
207 BnHwCryptoKey::new_binder(hwcrypto_device_key, binder::BinderFeatures::default()) in new_binder()
283 ) -> binder::Result<DiceCurrentBoundKeyResult> { in deriveCurrentDicePolicyBoundKey()
289 return Err(binder::Status::new_exception_str( in deriveCurrentDicePolicyBoundKey()
290 binder::ExceptionCode::UNSUPPORTED_OPERATION, in deriveCurrentDicePolicyBoundKey()
301 ) -> binder::Result<DiceBoundKeyResult> { in deriveDicePolicyBoundKey()
305 fn deriveKey(&self, parameters: &DerivedKeyParameters) -> binder::Result<DerivedKey> { in deriveKey()
[all …]
Drules.mk28 frameworks/native/libs/binder/trusty/rust \
29 frameworks/native/libs/binder/trusty/rust/binder_rpc_server \
30 frameworks/native/libs/binder/trusty/rust/rpcbinder \
Dhwcrypto_ipc_server.rs19 use binder::SpIBinder;
58 use binder::{IBinder, Strong};
/trusty/user/app/sample/hwcryptohal/common/
Derr.rs21 use android_hardware_security_see::binder;
87 impl From<HwCryptoError> for binder::Status {
92 binder::Status::new_service_specific_error(HalErrorCode::GENERIC_ERROR, Some(&msg)) in from()
99 binder::Status::new_service_specific_error(code, Some(&msg)) in from()
104 binder::Status::new_service_specific_error( in from()
/trusty/kernel/lib/shared/binder_discover/
Dbinder_discover.cpp39 android::sp<android::IBinder> binder; member
46 : node(BST_NODE_INITIAL_VALUE), port(std::move(port)), binder(ib) {} in DiscoveryTreeNode()
81 ib = containerof(node, DiscoveryTreeNode, node)->binder; in binder_discover_get_service()
92 return srv_fd >= 0 ? android::binder::unique_fd(srv_fd) in binder_discover_get_service()
93 : android::binder::unique_fd(); in binder_discover_get_service()
Drules.mk36 frameworks/native/libs/binder/trusty \
41 frameworks/native/libs/binder/trusty/kernel \
/trusty/user/app/cast-auth/app/
Dcast_auth_impl.h26 android::binder::Status ProvisionKey(
28 android::binder::Status SignHash(const std::vector<uint8_t>& hash,
/trusty/user/app/sample/binder-test/service/
Drules.mk29 frameworks/native/libs/binder/trusty \
30 system/core/trusty/test/binder/aidl \
Dmain.cpp35 using android::binder::Status;
37 using com::android::trusty::binder::test::BnTestService;
38 using com::android::trusty::binder::test::ByteEnum;
39 using com::android::trusty::binder::test::IntEnum;
40 using com::android::trusty::binder::test::ITestService;
41 using com::android::trusty::binder::test::LongEnum;
/trusty/kernel/lib/shared/ibinder/
Drules.mk35 frameworks/native/libs/binder/trusty \
40 frameworks/native/libs/binder/trusty/kernel \
/trusty/user/app/sample/hwcryptokey-test/
Drules.mk28 frameworks/native/libs/binder/trusty/rust \
29 frameworks/native/libs/binder/trusty/rust/rpcbinder \
/trusty/user/app/sample/binder-test/client/
Drules.mk30 frameworks/native/libs/binder/trusty \
31 system/core/trusty/test/binder/aidl \
Dmain.cpp29 using ::android::binder::Status;
31 using com::android::trusty::binder::test::ByteEnum;
32 using com::android::trusty::binder::test::IntEnum;
33 using com::android::trusty::binder::test::ITestService;
34 using com::android::trusty::binder::test::LongEnum;
43 android::binder::unique_fd chan; in BinderTest_SetUp()
56 std::move(chan), []() { return android::binder::unique_fd(); }); in BinderTest_SetUp()
/trusty/user/base/experimental/lib/tidl/
DREADME.md1 # binder-paidl
/trusty/user/base/lib/stats/
Dstats.cpp65 android::sp<android::IBinder> binder; in stats_istats_get_service() local
71 if (int rc = binder_discover_get_service(binder_port, binder); in stats_istats_get_service()
76 IStats::asInterface(binder), stats_istats{}, {1}}; in stats_istats_get_service()
Drules.mk29 frameworks/native/libs/binder/trusty \
/trusty/user/base/make/
Daidl.mk98 frameworks/native/libs/binder/trusty/kernel
102 frameworks/native/libs/binder/trusty
125 frameworks/native/libs/binder/trusty/rust \
/trusty/kernel/lib/shared/device_tree/service/kernel/
Drules.mk38 frameworks/native/libs/binder/trusty/kernel \
/trusty/kernel/lib/shared/device_tree/service/
Drules.mk37 frameworks/native/libs/binder/trusty \
/trusty/kernel/lib/shared/device_tree/client/kernel/
Drules.mk30 frameworks/native/libs/binder/trusty/kernel \
/trusty/kernel/lib/shared/ibinder/include/lib/shared/ibinder/
Dmacros.h24 android::sp<aidl_iface> binder; \
83 return container->binder; \
/trusty/user/base/app/device_tree/
Drules.mk31 frameworks/native/libs/binder/trusty \

12