Lines Matching refs:Status
34 using ::android::binder::Status;
119 Status ServiceManager::getService(const std::string& name, sp<IBinder>* outBinder) { in getService()
122 return Status::ok(); in getService()
125 Status ServiceManager::checkService(const std::string& name, sp<IBinder>* outBinder) { in checkService()
128 return Status::ok(); in checkService()
182 Status ServiceManager::addService(const std::string& name, const sp<IBinder>& binder, bool allowIso… in addService()
187 return Status::fromExceptionCode(Status::EX_SECURITY); in addService()
191 return Status::fromExceptionCode(Status::EX_SECURITY); in addService()
195 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT); in addService()
200 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT); in addService()
206 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT); in addService()
213 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in addService()
232 return Status::ok(); in addService()
235 Status ServiceManager::listServices(int32_t dumpPriority, std::vector<std::string>* outList) { in listServices()
237 return Status::fromExceptionCode(Status::EX_SECURITY); in listServices()
258 return Status::ok(); in listServices()
261 Status ServiceManager::registerForNotifications( in registerForNotifications()
266 return Status::fromExceptionCode(Status::EX_SECURITY); in registerForNotifications()
271 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT); in registerForNotifications()
275 return Status::fromExceptionCode(Status::EX_NULL_POINTER); in registerForNotifications()
280 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in registerForNotifications()
293 return Status::ok(); in registerForNotifications()
295 Status ServiceManager::unregisterForNotifications( in unregisterForNotifications()
300 return Status::fromExceptionCode(Status::EX_SECURITY); in unregisterForNotifications()
312 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in unregisterForNotifications()
315 return Status::ok(); in unregisterForNotifications()
318 Status ServiceManager::isDeclared(const std::string& name, bool* outReturn) { in isDeclared()
322 return Status::fromExceptionCode(Status::EX_SECURITY); in isDeclared()
330 return Status::ok(); in isDeclared()
381 Status ServiceManager::registerClientCallback(const std::string& name, const sp<IBinder>& service, in registerClientCallback()
384 return Status::fromExceptionCode(Status::EX_NULL_POINTER); in registerClientCallback()
389 return Status::fromExceptionCode(Status::EX_SECURITY); in registerClientCallback()
395 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT); in registerClientCallback()
400 return Status::fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION); in registerClientCallback()
406 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT); in registerClientCallback()
411 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in registerClientCallback()
416 return Status::ok(); in registerClientCallback()
516 Status ServiceManager::tryUnregisterService(const std::string& name, const sp<IBinder>& binder) { in tryUnregisterService()
518 return Status::fromExceptionCode(Status::EX_NULL_POINTER); in tryUnregisterService()
523 return Status::fromExceptionCode(Status::EX_SECURITY); in tryUnregisterService()
530 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in tryUnregisterService()
535 return Status::fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION); in tryUnregisterService()
543 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in tryUnregisterService()
548 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in tryUnregisterService()
563 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in tryUnregisterService()
568 return Status::ok(); in tryUnregisterService()