Home
last modified time | relevance | path

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

/system/hwservicemanager/
DHidlService.cpp150 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()
[all …]
DHidlService.h102 void sendClientCallbackNotifications(bool hasClients);
105 void sendClientCallbackNotification(const sp<IClientCallback>& callback, bool hasClients);
/system/libhidl/transport/manager/1.2/
DIClientCallback.hal24 * Upon receiving hasClients false, if the process decides to exit, it is recommended to try to
29 * @param hasClients whether there are currently clients
35 oneway onClients(interface registered, bool hasClients);
DIServiceManager.hal28 * hasClients true. After that, it is called based on the changes in clientele.