dynamic services: fix extra sends

Before this change, hwservicemanager sometimes sent out client service
notifications for services which did not currently have known clients.
This is because HidlService always compared the number of clients
reported to the driver w/ '1', representing the service as held by
hwservicemanager. However, in tryUnregister calls and addClientCallback
calls, there are actually two known clients.

So, in this CL, the number of known clients is always piped through from
ServiceManager to HidlService.

Bug: 140310064
Test: hidl_lazy_test
Test: hidl_lazy_test (with hwservicemanager and the test modified to run
    ms rather than every 5s. This allows many more iterations to be
    tested at a time).
Test: hwservicemanager_test
Change-Id: I1d98aef29bf6ccfb5088f525c250874d3f2254f1
(cherry picked from commit f083ee34c8fbd591aa67d3753e51d0aa2fe4df5b)
Merged-In: I1d98aef29bf6ccfb5088f525c250874d3f2254f1
5 files changed