Lines Matching refs:Status
34 using ::android::binder::Status;
183 Status ServiceManager::getService(const std::string& name, sp<IBinder>* outBinder) { in getService()
186 return Status::ok(); in getService()
189 Status ServiceManager::checkService(const std::string& name, sp<IBinder>* outBinder) { in checkService()
192 return Status::ok(); in checkService()
246 Status ServiceManager::addService(const std::string& name, const sp<IBinder>& binder, bool allowIso… in addService()
251 return Status::fromExceptionCode(Status::EX_SECURITY); in addService()
255 return Status::fromExceptionCode(Status::EX_SECURITY); in addService()
259 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT); in addService()
264 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT); in addService()
270 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT); in addService()
278 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in addService()
298 return Status::ok(); in addService()
301 Status ServiceManager::listServices(int32_t dumpPriority, std::vector<std::string>* outList) { in listServices()
303 return Status::fromExceptionCode(Status::EX_SECURITY); in listServices()
324 return Status::ok(); in listServices()
327 Status ServiceManager::registerForNotifications( in registerForNotifications()
332 return Status::fromExceptionCode(Status::EX_SECURITY); in registerForNotifications()
337 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT); in registerForNotifications()
341 return Status::fromExceptionCode(Status::EX_NULL_POINTER); in registerForNotifications()
348 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in registerForNotifications()
361 return Status::ok(); in registerForNotifications()
363 Status ServiceManager::unregisterForNotifications( in unregisterForNotifications()
368 return Status::fromExceptionCode(Status::EX_SECURITY); in unregisterForNotifications()
380 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in unregisterForNotifications()
383 return Status::ok(); in unregisterForNotifications()
386 Status ServiceManager::isDeclared(const std::string& name, bool* outReturn) { in isDeclared()
390 return Status::fromExceptionCode(Status::EX_SECURITY); in isDeclared()
398 return Status::ok(); in isDeclared()
401 binder::Status ServiceManager::getDeclaredInstances(const std::string& interface, std::vector<std::… in getDeclaredInstances()
418 return Status::fromExceptionCode(Status::EX_SECURITY); in getDeclaredInstances()
421 return Status::ok(); in getDeclaredInstances()
424 Status ServiceManager::updatableViaApex(const std::string& name, in updatableViaApex()
429 return Status::fromExceptionCode(Status::EX_SECURITY); in updatableViaApex()
437 return Status::ok(); in updatableViaApex()
493 Status ServiceManager::registerClientCallback(const std::string& name, const sp<IBinder>& service, in registerClientCallback()
496 return Status::fromExceptionCode(Status::EX_NULL_POINTER); in registerClientCallback()
501 return Status::fromExceptionCode(Status::EX_SECURITY); in registerClientCallback()
507 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT); in registerClientCallback()
512 return Status::fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION); in registerClientCallback()
518 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT); in registerClientCallback()
524 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in registerClientCallback()
529 return Status::ok(); in registerClientCallback()
629 Status ServiceManager::tryUnregisterService(const std::string& name, const sp<IBinder>& binder) { in tryUnregisterService()
631 return Status::fromExceptionCode(Status::EX_NULL_POINTER); in tryUnregisterService()
636 return Status::fromExceptionCode(Status::EX_SECURITY); in tryUnregisterService()
643 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in tryUnregisterService()
648 return Status::fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION); in tryUnregisterService()
656 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in tryUnregisterService()
661 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in tryUnregisterService()
676 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in tryUnregisterService()
681 return Status::ok(); in tryUnregisterService()
684 Status ServiceManager::getServiceDebugInfo(std::vector<ServiceDebugInfo>* outReturn) { in getServiceDebugInfo()
686 return Status::fromExceptionCode(Status::EX_SECURITY); in getServiceDebugInfo()
698 return Status::ok(); in getServiceDebugInfo()