Home
last modified time | relevance | path

Searched refs:Status (Results 1 – 14 of 14) sorted by relevance

/trusty/user/app/storage/
Daidl_service.cpp63 using ::android::binder::Status;
96 static Status status_from_storage_err(storage_err err) { in status_from_storage_err()
99 return Status::ok(); in status_from_storage_err()
101 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in status_from_storage_err()
103 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT); in status_from_storage_err()
105 return Status::fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION); in status_from_storage_err()
107 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in status_from_storage_err()
109 return Status::fromServiceSpecificError(ISecureStorage::ERR_NOT_FOUND); in status_from_storage_err()
111 return Status::fromServiceSpecificError( in status_from_storage_err()
114 return Status::fromServiceSpecificError( in status_from_storage_err()
[all …]
/trusty/kernel/lib/shared/device_tree/service/
Ddevice_tree_service.cpp75 Status DeviceTree::get_compatible_nodes_from_list( in get_compatible_nodes_from_list()
80 return Status::fromServiceSpecificError( in get_compatible_nodes_from_list()
88 return Status::fromServiceSpecificError( in get_compatible_nodes_from_list()
96 return Status::fromServiceSpecificError(IDeviceTree::ERROR_NO_MEMORY); in get_compatible_nodes_from_list()
100 return Status::ok(); in get_compatible_nodes_from_list()
103 Status NodeIterator::get_next_node(sp<INode>* node) { in get_next_node()
106 return Status::fromServiceSpecificError( in get_next_node()
123 return Status::fromServiceSpecificError( in get_next_node()
138 return Status::fromServiceSpecificError( in get_next_node()
152 return Status::fromServiceSpecificError(IDeviceTree::ERROR_NO_MEMORY); in get_next_node()
[all …]
/trusty/user/app/sample/binder-test/service/
Dmain.cpp35 using android::binder::Status;
44 Status ReverseArray(const std::vector<T>& input, in ReverseArray()
51 return Status::ok(); in ReverseArray()
56 Status RepeatBoolean(bool token, bool* _aidl_return) override { in RepeatBoolean()
59 Status RepeatByte(int8_t token, int8_t* _aidl_return) override { in RepeatByte()
62 Status RepeatChar(char16_t token, char16_t* _aidl_return) override { in RepeatChar()
65 Status RepeatInt(int32_t token, int32_t* _aidl_return) override { in RepeatInt()
68 Status RepeatLong(int64_t token, int64_t* _aidl_return) override { in RepeatLong()
71 Status RepeatFloat(float token, float* _aidl_return) override { in RepeatFloat()
74 Status RepeatDouble(double token, double* _aidl_return) override { in RepeatDouble()
[all …]
/trusty/kernel/lib/shared/device_tree/service/include/lib/shared/device_tree/service/
Ddevice_tree_service.h21 using android::binder::Status;
36 Status get_next_prop(Property* prop);
49 Status get_name(std::string* node_name);
51 Status get_subnode(const std::string& node_name, sp<INode>* node);
53 Status get_subnodes(sp<INodeIterator>* node_iter);
55 Status get_props(sp<IPropIterator>* prop_iter);
57 Status get_prop(const std::string& prop_name, Property* prop);
86 Status get_next_node(sp<INode>* node);
100 Status get_compatible_nodes_from_list(
/trusty/user/app/cast-auth/app/
Dcast_auth_impl.cc45 using android::binder::Status;
73 Status CastAuthImpl::ProvisionKey(const std::vector<uint8_t>& wrappedKey) { in ProvisionKey()
78 return Status::fromServiceSpecificError(ERR_BAD_STATE); in ProvisionKey()
94 return Status::fromServiceSpecificError(rc); in ProvisionKey()
100 return Status::fromServiceSpecificError(ERR_NO_MEMORY); in ProvisionKey()
105 return Status::fromServiceSpecificError(ERR_NOT_VALID); in ProvisionKey()
109 return Status::fromServiceSpecificError(rc); in ProvisionKey()
111 return Status::ok(); in ProvisionKey()
114 Status CastAuthImpl::SignHash(const std::vector<uint8_t>& hash, in SignHash()
121 return Status::fromServiceSpecificError(rc); in SignHash()
[all …]
Dcast_auth_impl.h26 android::binder::Status ProvisionKey(
28 android::binder::Status SignHash(const std::vector<uint8_t>& hash,
/trusty/user/app/sample/stats-test/relayer/
Drelayer.cpp43 using binder::Status;
55 Status setInterface(const sp<frameworks::stats::IStats>& istats) { in setInterface()
61 return Status::ok(); in setInterface()
73 Status setInterface(const sp<trusty::stats::tz::IStats>& istats) { in setInterface()
90 return Status::ok(); in setInterface()
99 Status reportVendorAtom(const VendorAtom& vendorAtom) { in reportVendorAtom()
108 Status rc = mIStats->reportVendorAtom(vendorAtom); in reportVendorAtom()
123 return Status::ok(); in reportVendorAtom()
/trusty/user/app/sample/hwcryptohal/common/
Derr.rs87 impl From<HwCryptoError> for binder::Status { implementation
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/user/app/storage/test/storage-unittest-aidl/
Dlib.rs16 use binder::{Status, StatusCode, Strong};
30 fn start_session(properties: &FileProperties) -> Result<Strong<dyn IStorageSession>, Status> { in start_session() argument
/trusty/user/app/sample/hwcryptohal/server/
Dhwcrypto_device_key.rs289 return Err(binder::Status::new_exception_str( in deriveCurrentDicePolicyBoundKey()
308 return Err(binder::Status::new_exception_str( in deriveKey()
318 .ok_or(binder::Status::new_exception_str( in deriveKey()
335 binder::Status::new_exception_str( in deriveKey()
342 return Err(binder::Status::new_exception_str( in deriveKey()
363 Err(binder::Status::new_exception_str( in deriveKey()
Dopaque_key.rs294 Err(binder::Status::new_exception_str( in exportWrappedKey()
305 Err(binder::Status::new_exception_str( in getPublicKey()
/trusty/user/app/sample/stats-test/consumer/
Dconsumer.cpp41 using android::binder::Status;
224 Status reportVendorAtom(const VendorAtom& vendorAtom) { in reportVendorAtom()
282 return Status::ok(); in reportVendorAtom()
/trusty/user/app/sample/binder-test/client/
Dmain.cpp29 using ::android::binder::Status;
74 Status (ITestService::*func)(T, U*), in CheckRepeat()
95 Status (ITestService::*func)(const std::vector<T>&, in CheckReverse()
/trusty/kernel/lib/shared/device_tree/client/
Ddevice_tree.cpp75 static int from_binder_status(android::binder::Status status) { in from_binder_status()