Home
last modified time | relevance | path

Searched defs:Error (Results 1 – 25 of 124) sorted by relevance

12345

/aosp12/frameworks/base/tools/streaming_proto/
H A DErrors.h11 struct Error struct
38 vector<Error> m_errors; argument
H A DErrors.cpp13 Error::Error() in Error() function in android::stream_proto::Error
17 Error::Error(const Error& that) in Error() function in android::stream_proto::Error
24 Error::Error(const string& f, int l, const char* m) in Error() function in android::stream_proto::Error
/aosp12/art/libdexfile/external/include/art_api/
H A Ddex_file_support.h80 struct Error { struct
89 ADexFile_Error Code() { in Code() argument
93 ADexFile_Error const self; argument
96 static Error Create(const void* address, in Create() argument
/aosp12/system/security/keystore2/src/
H A Derror.rs44 pub enum Error { enum
63 impl Error { implementation
80 pub fn map_km_error<T>(r: BinderResult<T>) -> Result<T, Error> { in map_km_error() argument
108 pub fn map_rem_prov_error<T>(r: BinderResult<T>) -> Result<T, Error> { in map_rem_prov_error() argument
118 pub fn map_binder_status<T>(r: BinderResult<T>) -> Result<T, Error> { in map_binder_status() argument
133 pub fn map_binder_status_code<T>(r: Result<T, StatusCode>) -> Result<T, Error> { in map_binder_status_code() argument
196 F1: FnOnce(anyhow::Error) -> anyhow::Error, in map_err_with()
H A Dkey_parameter.rs217 type Error = PrimitiveError; typedef
219 fn try_into(self) -> Result<i64, Self::Error> { in try_into()
227 type Error = PrimitiveError; typedef
229 fn try_into(self) -> Result<i32, Self::Error> { in try_into()
237 type Error = PrimitiveError; typedef
239 fn try_into(self) -> Result<Vec<u8>, Self::Error> { in try_into()
/aosp12/system/security/keystore2/src/crypto/
H A Dzvec.rs34 pub fn new(size: usize) -> Result<Self, Error> { in new() argument
93 type Error = Error; typedef
95 fn try_from(v: &[u8]) -> Result<Self, Self::Error> { in try_from() argument
105 type Error = Error; typedef
107 fn try_from(mut v: Vec<u8>) -> Result<Self, Self::Error> { in try_from() argument
H A Dlib.rs65 pub fn generate_random_data(size: usize) -> Result<Vec<u8>, Error> { in generate_random_data() argument
183 pub fn derive_key(&self, salt: Option<&[u8]>, key_length: usize) -> Result<ZVec, Error> { in derive_key() argument
217 pub fn try_clone(&self) -> Result<Password<'static>, Error> { in try_clone() argument
223 pub fn hkdf_extract(secret: &[u8], salt: &[u8]) -> Result<ZVec, Error> { in hkdf_extract() argument
253 pub fn hkdf_expand(out_len: usize, prk: &[u8], info: &[u8]) -> Result<ZVec, Error> { in hkdf_expand() argument
316 pub fn ecdh_compute_key(pub_key: &EC_POINT, priv_key: &ECKey) -> Result<ZVec, Error> { in ecdh_compute_key() argument
348 pub fn ec_key_marshal_private_key(key: &ECKey) -> Result<ZVec, Error> { in ec_key_marshal_private_key() argument
364 pub fn ec_key_parse_private_key(buf: &[u8]) -> Result<ECKey, Error> { in ec_key_parse_private_key() argument
383 pub fn ec_point_point_to_oct(point: &EC_POINT) -> Result<Vec<u8>, Error> { in ec_point_point_to_oct() argument
401 pub fn ec_point_oct_to_point(buf: &[u8]) -> Result<OwnedECPoint, Error> { in ec_point_oct_to_point() argument
[all …]
/aosp12/system/bt/gd/rust/hci/custom_types/
H A Dlib.rs46 type Error = InvalidAddressError; typedef
48 fn try_from(slice: &[u8]) -> Result<Self, Self::Error> { in try_from() argument
90 type Error = InvalidClassOfDeviceError; typedef
92 fn try_from(slice: &[u8]) -> Result<Self, Self::Error> { in try_from() argument
/aosp12/frameworks/base/libs/hwui/utils/
H A DResult.h25 struct Error { struct
34 Result(Error<E>&& error) : result(std::forward<Error<E>>(error)) {} in Result() argument
/aosp12/frameworks/base/cmds/idmap2/libidmap2/
H A DResult.cpp26 Error::Error(const char* fmt, ...) { in Error() function in android::idmap2::Error
34 Error::Error(const Error& parent, const char* fmt, ...) : msg_(parent.msg_) { in Error() function in android::idmap2::Error
/aosp12/packages/modules/Virtualization/vm/src/
H A Drun.rs38 ) -> Result<(), Error> { in command_run() argument
61 fn wait_for_vm(vm: Strong<dyn IVirtualMachine>) -> Result<(), Error> { in wait_for_vm() argument
79 fn wait_for_death(binder: &mut impl IBinder, dead: AtomicFlag) -> Result<DeathRecipient, Error> { in wait_for_death() argument
H A Dmain.rs70 fn command_stop(virt_manager: Strong<dyn IVirtManager>, cid: u32) -> Result<(), Error> { in command_stop() argument
79 fn command_list(virt_manager: Strong<dyn IVirtManager>) -> Result<(), Error> { in command_list() argument
/aosp12/system/teeui/libteeui/include/teeui/
H A Derror.h43 constexpr Error() noexcept : v_(OK) {} in Error() function
44 constexpr Error(error_e v) noexcept : v_(v) {} in Error() function
/aosp12/packages/modules/Virtualization/virtmanager/src/
H A Dconfig.rs43 pub fn validate(&self) -> Result<(), Error> { in validate() argument
54 pub fn load(file: &File) -> Result<VmConfig, Error> { in load() argument
/aosp12/system/libbase/include/android-base/
H A Dresult.h121 Error() : errno_(0), append_errno_(false) {} in Error() function
123 Error(int errno_to_append) : errno_(errno_to_append), append_errno_(true) {} in Error() function
167 Error(bool append_errno, int errno_to_append, const std::string& message) in Error() function
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
H A DMockHWC2.h44 using Error = hal::Error; variable
/aosp12/art/test/ErroneousInit/
H A DErroneousInit.java20 throw new Error(); in Error() method
/aosp12/frameworks/native/libs/vr/libpdx_uds/
H A Dipc_helper_tests.cpp153 TEST_F(SendTest, Error) { in TEST_F() argument
205 TEST_F(RecvTest, Error) { in TEST_F() argument
274 TEST_F(SendMessageTest, Error) { in TEST_F() argument
345 TEST_F(RecvMessageTest, Error) { in TEST_F() argument
/aosp12/frameworks/base/tools/aapt2/
H A DDiagnostics.h71 enum class Level { Note, Warn, Error }; enumerator
75 virtual void Error(const DiagMessage& message) { in Error() function
/aosp12/frameworks/base/core/java/android/service/autofill/
H A DSavedDatasetsInfoCallback.java45 @interface Error { annotation
/aosp12/hardware/interfaces/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/1/android/hardware/biometrics/face/
H A DError.aidl36 enum Error { enum
/aosp12/hardware/interfaces/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/current/android/hardware/biometrics/face/
H A DError.aidl36 enum Error { enum
/aosp12/hardware/interfaces/biometrics/face/aidl/android/hardware/biometrics/face/
H A DError.aidl21 enum Error { enum
/aosp12/hardware/interfaces/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/1/android/hardware/biometrics/fingerprint/
H A DError.aidl36 enum Error { enum
/aosp12/hardware/interfaces/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/
H A DError.aidl36 enum Error { enum

12345