Where is the implementation of method registerAsService()
in Android HIDL.
To register a service we are supposed to call this method. But where is the implementation of this method?
Where is the implementation of method registerAsService()
in Android HIDL.
To register a service we are supposed to call this method. But where is the implementation of this method?
Copyright © 2021 Jogjafile Inc.
It is implemented in the generated code of your interface.
All it does is call
registerAsServiceInternal()
insystem/libhidl/transport/include/hidl/ServiceManagement.h
.See system/libhidl/transport/ServiceManagement.cpp