Searched refs:new_binder_exception (Results 1 – 1 of 1) sorted by relevance
52 fn new_binder_exception<T: AsRef<str>>(exception: ExceptionCode, message: T) -> Status { in new_binder_exception() function58 new_binder_exception(ExceptionCode::ILLEGAL_ARGUMENT, format!("Invalid offset: {}", offset)) in validate_and_cast_offset()64 Err(new_binder_exception( in validate_and_cast_size()70 new_binder_exception(ExceptionCode::ILLEGAL_ARGUMENT, format!("Invalid size: {}", size)) in validate_and_cast_size()154 Err(new_binder_exception(ExceptionCode::UNSUPPORTED_OPERATION, "Unsupported")) in readFsverityMerkleTree()183 Err(new_binder_exception(ExceptionCode::UNSUPPORTED_OPERATION, "Unsupported")) in readFsveritySignature()193 new_binder_exception(ExceptionCode::ILLEGAL_ARGUMENT, "Invalid offset") in writeFile()197 return Err(new_binder_exception( in writeFile()215 return Err(new_binder_exception( in resize()