Lines Matching refs:fromExceptionCode
519 return Status::fromExceptionCode(Status::EX_SECURITY, "App UIDs cannot add services."); in addService()
528 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Null binder."); in addService()
533 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Invalid service name."); in addService()
539 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "VINTF declaration error."); in addService()
552 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Couldn't linkToDeath."); in addService()
612 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied."); in listServices()
657 return Status::fromExceptionCode(Status::EX_SECURITY, "isolated app"); in registerForNotifications()
662 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Invalid service name."); in registerForNotifications()
666 return Status::fromExceptionCode(Status::EX_NULL_POINTER, "Null callback."); in registerForNotifications()
673 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Couldn't link to death."); in registerForNotifications()
710 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Nothing to unregister."); in unregisterForNotifications()
757 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied."); in getDeclaredInstances()
805 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied."); in getUpdatableNames()
902 return Status::fromExceptionCode(Status::EX_NULL_POINTER, "Callback null."); in registerClientCallback()
915 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Service doesn't exist."); in registerClientCallback()
921 return Status::fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION, in registerClientCallback()
929 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Service mismatch."); in registerClientCallback()
936 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Couldn't linkToDeath."); in registerClientCallback()
1066 return Status::fromExceptionCode(Status::EX_NULL_POINTER, "Null service."); in tryUnregisterService()
1079 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Service not registered."); in tryUnregisterService()
1085 return Status::fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION, in tryUnregisterService()
1094 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, in tryUnregisterService()
1103 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, in tryUnregisterService()
1120 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, in tryUnregisterService()
1133 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied for service."); in canAddService()
1140 return Status::fromExceptionCode(Status::EX_SECURITY, in canAddService()
1150 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied for service."); in canFindService()
1157 return Status::fromExceptionCode(Status::EX_SECURITY, in canFindService()
1167 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied."); in getServiceDebugInfo()