Home
last modified time | relevance | path

Searched refs:hasClients (Results 1 – 7 of 7) 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/tools/aidl/tests/lazy_test/
DLazyTestService.cpp32 lazyRegistrar.setActiveServicesCallback([lazyRegistrar](bool hasClients) mutable -> bool { in setCustomActiveServicesCallback() argument
33 if (hasClients) { in setCustomActiveServicesCallback()
/system/tools/hidl/test/lazy_test/
Dhidl_lazy_test_server.cpp35 lazyRegistrar.setActiveServicesCallback([lazyRegistrar](bool hasClients) mutable -> bool { in setCustomActiveServicesCallback() argument
36 if (hasClients) { in setCustomActiveServicesCallback()
/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.
/system/libhidl/transport/
DHidlLazyUtils.cpp177 bool hasClients = numWithClients != 0; in onClients() local
178 if (hasClients != mPreviousHasClients) { in onClients()
179 handledInCallback = mActiveServicesCallback(hasClients); in onClients()
180 mPreviousHasClients = hasClients; in onClients()