Searched refs:hasClients (Results 1 – 3 of 3) sorted by relevance
464 bool hasClients = count > 1; // this process holds a strong count in handleServiceClientCallback() local468 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() argument500 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()
61 bool hasClients = false; // notifications sent on true -> false. member80 void sendClientCallbackNotifications(const std::string& serviceName, bool hasClients);
38 void onClients(IBinder registered, boolean hasClients); in onClients() argument