Searched refs:hasClients (Results 1 – 4 of 4) sorted by relevance
150 bool hasClients = count > 1; // this process holds a strong count in forceHandleClientCallbacks() local154 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() argument227 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()[all …]
96 void sendClientCallbackNotifications(bool hasClients);99 void sendClientCallbackNotification(const sp<IClientCallback>& callback, bool hasClients);
24 * Upon receiving hasClients false, if the process decides to exit, it is recommended to try to29 * @param hasClients whether there are currently clients35 oneway onClients(interface registered, bool hasClients);
28 * hasClients true. After that, it is called based on the changes in clientele.