Lines Matching full:clients
45 Status onClients(const sp<IBinder>& service, bool clients) override;
55 bool clients = false; member
77 * - Some services have clients.
84 // count of services with clients
95 // Callback used to report if there are services with clients
186 // Attempt a shutdown in case the number of clients hit 0 while the flag was on in forcePersist()
215 // Must restart. Otherwise, clients will never be able to get a hold of this service. in reRegisterLocked()
240 // have no clients. in maybeTryShutdownLocked()
246 Status ClientCounterCallbackImpl::onClients(const sp<IBinder>& service, bool clients) { in onClients() argument
249 if (registered.clients == clients) { in onClients()
250 LOG_ALWAYS_FATAL("Process already thought %s had clients: %d but servicemanager has " in onClients()
251 "notified has clients: %d", name.c_str(), registered.clients, clients); in onClients()
253 registered.clients = clients; in onClients()
255 // update cache count of clients in onClients()
260 if (registered.clients) numWithClients++; in onClients()
265 … ALOGI("Process has %zu (of %zu available) client(s) in use after notification %s has clients: %d", in onClients()
266 mNumConnectedServices, mRegisteredServices.size(), name.c_str(), clients); in onClients()
273 ALOGI("Trying to shut down the service. No clients in use for any service in process."); in tryShutdownLocked()
276 ALOGI("Unregistered all clients and exiting"); in tryShutdownLocked()