Home
last modified time | relevance | path

Searched refs:exception_code (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/binder/rust/src/
Derror.rs217 pub fn exception_code(&self) -> ExceptionCode { in exception_code() method
280 let self_code = self.exception_code(); in eq()
281 let other_code = other.exception_code(); in eq()
470 assert_eq!(status.exception_code(), ExceptionCode::SERVICE_SPECIFIC); in make_service_specific_error()
483 assert_eq!(status.exception_code(), ExceptionCode::ILLEGAL_STATE); in make_exception()
493 assert_eq!(status.exception_code(), ExceptionCode::ILLEGAL_STATE); in make_exception_null()
505 assert_eq!(status.exception_code(), ExceptionCode::SERVICE_SPECIFIC); in convert_to_service_specific_exception()
520 assert_eq!(status.exception_code(), ExceptionCode::SERVICE_SPECIFIC); in convert_to_service_specific_exception_with()
535 assert_eq!(status.exception_code(), ExceptionCode::ILLEGAL_STATE); in convert_to_binder_exception()
552 assert_eq!(status.exception_code(), ExceptionCode::ILLEGAL_STATE); in convert_to_binder_exception_with()
/frameworks/native/libs/binder/rust/tests/
Dserialization.rs290 assert_eq!(status.exception_code(), ExceptionCode::NULL_POINTER); in on_transact()