Lines Matching refs:hasClients
150 bool hasClients = (size_t)count > knownClientCount; in forceHandleClientCallbacks() local
154 if (!mHasClients && !hasClients) { in forceHandleClientCallbacks()
162 if (hasClients && !mHasClients) { in forceHandleClientCallbacks()
168 if (!hasClients && mHasClients && isCalledOnInterval) { in forceHandleClientCallbacks()
226 void HidlService::sendClientCallbackNotifications(bool hasClients) { in sendClientCallbackNotifications() argument
227 CHECK(hasClients != mHasClients) << "Record shows: " << mHasClients in sendClientCallbackNotifications()
228 << " so we can't tell clients again that we have client: " << hasClients; in sendClientCallbackNotifications()
230 LOG(INFO) << "Notifying " << string() << " they have clients: " << hasClients; in sendClientCallbackNotifications()
233 sendClientCallbackNotification(cb, hasClients); in sendClientCallbackNotifications()
237 mHasClients = hasClients; in sendClientCallbackNotifications()
240 …HidlService::sendClientCallbackNotification(const sp<IClientCallback>& callback, bool hasClients) { in sendClientCallbackNotification() argument
241 Return<void> ret = callback->onClients(getService(), hasClients); in sendClientCallbackNotification()