Home
last modified time | relevance | path

Searched refs:hasClients (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/cmds/servicemanager/
DServiceManager.cpp464 bool hasClients = count > 1; // this process holds a strong count in handleServiceClientCallback() local
468 if (!service.hasClients && !hasClients) { in handleServiceClientCallback()
478 if (hasClients && !service.hasClients) { in handleServiceClientCallback()
484 if (!hasClients && service.hasClients) { in handleServiceClientCallback()
492 … ServiceManager::sendClientCallbackNotifications(const std::string& serviceName, bool hasClients) { in sendClientCallbackNotifications() argument
500 CHECK(hasClients != service.hasClients) << "Record shows: " << service.hasClients in sendClientCallbackNotifications()
501 << " so we can't tell clients again that we have client: " << hasClients; in sendClientCallbackNotifications()
503 LOG(INFO) << "Notifying " << serviceName << " they have clients: " << hasClients; in sendClientCallbackNotifications()
510 callback->onClients(service.binder, hasClients); in sendClientCallbackNotifications()
513 service.hasClients = hasClients; in sendClientCallbackNotifications()
DServiceManager.h61 bool hasClients = false; // notifications sent on true -> false. member
80 void sendClientCallbackNotifications(const std::string& serviceName, bool hasClients);
/frameworks/native/libs/binder/aidl/android/os/
DIClientCallback.aidl38 void onClients(IBinder registered, boolean hasClients); in onClients() argument