Home
last modified time | relevance | path

Searched refs:ExceptionCode (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/binder/rust/src/
Derror.rs71 pub use sys::android_c_interface_ExceptionCode as ExceptionCode;
73 fn parse_exception_code(code: i32) -> ExceptionCode { in parse_exception_code() argument
75 e if e == ExceptionCode::NONE as i32 => ExceptionCode::NONE, in parse_exception_code()
76 e if e == ExceptionCode::SECURITY as i32 => ExceptionCode::SECURITY, in parse_exception_code()
77 e if e == ExceptionCode::BAD_PARCELABLE as i32 => ExceptionCode::BAD_PARCELABLE, in parse_exception_code()
78 e if e == ExceptionCode::ILLEGAL_ARGUMENT as i32 => ExceptionCode::ILLEGAL_ARGUMENT, in parse_exception_code()
79 e if e == ExceptionCode::NULL_POINTER as i32 => ExceptionCode::NULL_POINTER, in parse_exception_code()
80 e if e == ExceptionCode::ILLEGAL_STATE as i32 => ExceptionCode::ILLEGAL_STATE, in parse_exception_code()
81 e if e == ExceptionCode::NETWORK_MAIN_THREAD as i32 => ExceptionCode::NETWORK_MAIN_THREAD, in parse_exception_code()
82 e if e == ExceptionCode::UNSUPPORTED_OPERATION as i32 => { in parse_exception_code()
[all …]
Dlib.rs112 pub use error::{ExceptionCode, IntoBinderResult, Status, StatusCode};
Dbinder.rs928 $crate::ExceptionCode::NULL_POINTER,
/frameworks/native/libs/binder/rust/sys/
DBinderBindings.hpp55 enum ExceptionCode { enum
/frameworks/native/libs/binder/rust/tests/
Dserialization.rs22 BinderFeatures, ExceptionCode, Interface, ParcelFileDescriptor, SpIBinder, Status, StatusCode,
290 assert_eq!(status.exception_code(), ExceptionCode::NULL_POINTER); in on_transact()
301 ExceptionCode::NULL_POINTER, in on_transact()