Lines Matching refs:Status
33 binder::Status Ok() { in Ok()
34 return binder::Status::ok(); in Ok()
37 binder::Status Exception(uint32_t code, const std::string& msg) { in Exception()
38 return binder::Status::fromExceptionCode(code, String8(msg.c_str())); in Exception()
41 binder::Status CheckPermission(const char* permission) { in CheckPermission()
49 return Exception(binder::Status::EX_SECURITY, in CheckPermission()
54 binder::Status CheckUidOrRoot(uid_t expectedUid) { in CheckUidOrRoot()
59 return Exception(binder::Status::EX_SECURITY, in CheckUidOrRoot()
64 binder::Status CheckArgumentId(const std::string& id) { in CheckArgumentId()
66 return Exception(binder::Status::EX_ILLEGAL_ARGUMENT, "Missing ID"); in CheckArgumentId()
70 return Exception(binder::Status::EX_ILLEGAL_ARGUMENT, in CheckArgumentId()
77 binder::Status CheckArgumentPath(const std::string& path) { in CheckArgumentPath()
79 return Exception(binder::Status::EX_ILLEGAL_ARGUMENT, "Missing path"); in CheckArgumentPath()
82 return Exception(binder::Status::EX_ILLEGAL_ARGUMENT, in CheckArgumentPath()
86 return Exception(binder::Status::EX_ILLEGAL_ARGUMENT, in CheckArgumentPath()
91 return Exception(binder::Status::EX_ILLEGAL_ARGUMENT, in CheckArgumentPath()
98 binder::Status CheckArgumentHex(const std::string& hex) { in CheckArgumentHex()
102 return Exception(binder::Status::EX_ILLEGAL_ARGUMENT, in CheckArgumentHex()