Lines Matching refs:ServiceManager
307 ServiceManager::Service::~Service() { in ~Service()
319 ServiceManager::ServiceManager(std::unique_ptr<Access>&& access) : mAccess(std::move(access)) { in ServiceManager() function in android::ServiceManager
335 ServiceManager::~ServiceManager() { in ~ServiceManager()
350 Status ServiceManager::getService(const std::string& name, sp<IBinder>* outBinder) { in getService()
356 Status ServiceManager::checkService(const std::string& name, sp<IBinder>* outBinder) { in checkService()
362 sp<IBinder> ServiceManager::tryGetService(const std::string& name, bool startIfNotFound) { in tryGetService()
415 Status ServiceManager::addService(const std::string& name, const sp<IBinder>& binder, bool allowIso… in addService()
449 binder->linkToDeath(sp<ServiceManager>::fromExisting(this)) != OK) { in addService()
507 Status ServiceManager::listServices(int32_t dumpPriority, std::vector<std::string>* outList) { in listServices()
533 Status ServiceManager::registerForNotifications( in registerForNotifications()
562 sp<ServiceManager>::fromExisting(this))) { in registerForNotifications()
579 Status ServiceManager::unregisterForNotifications( in unregisterForNotifications()
603 Status ServiceManager::isDeclared(const std::string& name, bool* outReturn) { in isDeclared()
618 binder::Status ServiceManager::getDeclaredInstances(const std::string& interface, std::vector<std::… in getDeclaredInstances()
641 Status ServiceManager::updatableViaApex(const std::string& name, in updatableViaApex()
657 Status ServiceManager::getUpdatableNames([[maybe_unused]] const std::string& apexName, in getUpdatableNames()
681 Status ServiceManager::getConnectionInfo(const std::string& name, in getConnectionInfo()
697 void ServiceManager::removeRegistrationCallback(const wp<IBinder>& who, in removeRegistrationCallback()
718 void ServiceManager::binderDied(const wp<IBinder>& who) { in binderDied()
744 void ServiceManager::tryStartService(const Access::CallingContext& ctx, const std::string& name) { in tryStartService()
759 Status ServiceManager::registerClientCallback(const std::string& name, const sp<IBinder>& service, in registerClientCallback()
792 IInterface::asBinder(cb)->linkToDeath(sp<ServiceManager>::fromExisting(this))) { in registerClientCallback()
816 void ServiceManager::removeClientCallback(const wp<IBinder>& who, in removeClientCallback()
835 ssize_t ServiceManager::Service::getNodeStrongRefCount() { in getNodeStrongRefCount()
842 void ServiceManager::handleClientCallbacks() { in handleClientCallbacks()
848 bool ServiceManager::handleServiceClientCallback(size_t knownClients, in handleServiceClientCallback()
893 void ServiceManager::sendClientCallbackNotifications(const std::string& serviceName, in sendClientCallbackNotifications()
920 Status ServiceManager::tryUnregisterService(const std::string& name, const sp<IBinder>& binder) { in tryUnregisterService()
985 Status ServiceManager::getServiceDebugInfo(std::vector<ServiceDebugInfo>* outReturn) { in getServiceDebugInfo()
1002 void ServiceManager::clear() { in clear()