Prepare for android.hidl.allocator deprecation

The service may still be installed on new devices, and will be installed
with GSI. So it needs to be prepared to start, check if it's registered
in the manifest, and either register itself with hwservicemanager, or
shut down without getting restarted by init.

Test: boot cuttlefish without hwservicemanager
Bug: 218588089
Change-Id: I6aaf155ec22ecbd14a9a248512c13e23525ba360
2 files changed