Lines Matching refs:fromExceptionCode
419 return Status::fromExceptionCode(Status::EX_SECURITY, "App UIDs cannot add services."); in addService()
423 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied."); in addService()
427 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Null binder."); in addService()
432 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Invalid service name."); in addService()
438 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "VINTF declaration error."); in addService()
451 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Couldn't linkToDeath."); in addService()
509 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied."); in listServices()
538 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux"); in registerForNotifications()
548 return Status::fromExceptionCode(Status::EX_SECURITY, "isolated app"); in registerForNotifications()
553 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Invalid service name."); in registerForNotifications()
557 return Status::fromExceptionCode(Status::EX_NULL_POINTER, "Null callback."); in registerForNotifications()
564 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Couldn't link to death."); in registerForNotifications()
584 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied."); in unregisterForNotifications()
597 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Nothing to unregister."); in unregisterForNotifications()
607 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied."); in isDeclared()
635 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied."); in getDeclaredInstances()
646 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied."); in updatableViaApex()
675 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied."); in getUpdatableNames()
686 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied."); in getConnectionInfo()
762 return Status::fromExceptionCode(Status::EX_NULL_POINTER, "Callback null."); in registerClientCallback()
767 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied."); in registerClientCallback()
774 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Service doesn't exist."); in registerClientCallback()
780 return Status::fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION, in registerClientCallback()
788 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Service mismatch."); in registerClientCallback()
795 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Couldn't linkToDeath."); in registerClientCallback()
922 return Status::fromExceptionCode(Status::EX_NULL_POINTER, "Null service."); in tryUnregisterService()
927 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied."); in tryUnregisterService()
934 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Service not registered."); in tryUnregisterService()
940 return Status::fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION, in tryUnregisterService()
949 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, in tryUnregisterService()
958 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, in tryUnregisterService()
975 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, in tryUnregisterService()
987 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied."); in getServiceDebugInfo()