ad645828c0b1e4d0c84d96f9a1e574916c259be1 |
|
22-Jul-2017 |
Steven Moreland <smoreland@google.com> |
Implement @1.1::IServiceManager This adds the ability to unregisterServiceNotifications. By doing this, we can avoid unnecessary memory from being held and also avoid unnecessary IPC calls. Test: hidl_test Test: boot a marlin Bug: 63940457 Merged-In: I949a3fb50a5210138b623ab1654dc3e7a5f15e1c Change-Id: I949a3fb50a5210138b623ab1654dc3e7a5f15e1c
/system/hwservicemanager/HidlService.h
|
7fafc144d14c9acfd9152a51dfb5ca3d87b995d4 |
|
06-Mar-2017 |
Martijn Coenen <maco@google.com> |
Consistently deal with onRegistration() transport errors. In all cases, we remove the registered callback from our internal state when a call into it fails. We also register death recipients for each of the registered callbacks. Because of this, a registration callback failing should be an extremely rare event: it can only happen if a callback is attempted right after the process dies, but before we have processed the death notification. Therefore, log registration callbacks failing as errors, as it may mean there's more going on. Bug: 31632518 Bug: 34643534 Test: hidl_test; adb shell stop; manually killing processes with listeners Change-Id: I73be10c2c56d1a343f875960535a165531b5c235
/system/hwservicemanager/HidlService.h
|
cdf9472ffbd015938a99e3658b21bfb9758dca97 |
|
21-Mar-2017 |
Steven Moreland <smoreland@google.com> |
Keep track of service pids. Test: internal boots, hidl_test, lshal works Bug: 36414311 Change-Id: I500354d98fec88d770bcb8a0d4c73cd89834d3ba
/system/hwservicemanager/HidlService.h
|
ee531a829e99f427dac47383f70d6a1c0fd1ca84 |
|
04-Feb-2017 |
Yifan Hong <elsk@google.com> |
Allow passthrough service manager to register client PIDs. Test: lshal Bug: 34712252 Change-Id: I54a615385f49b7bcb853811682d40e5b74c9acf7
/system/hwservicemanager/HidlService.h
|
6eb3f65e8bc4b855eef7f4e6a28bb2a095f9df65 |
|
01-Feb-2017 |
Yifan Hong <elsk@google.com> |
Use getReferenceInfo for refcount of service. Bug: 34777099 Test: lshal Change-Id: I00342ee7d57918320e62f82d772f4abd8b13a3db
/system/hwservicemanager/HidlService.h
|
83c49f6da8ff75a36525633d3a5d8679de883054 |
|
25-Jan-2017 |
Yifan Hong <elsk@google.com> |
Add debugDump() to IServiceManager. Also clean up ServiceManager by adding forEachExistingService() method. Bug: 34642756 Bug: 34712252 Test: adb shell lshal Change-Id: Ie4320083ee836c1fd7cfe56b2e4761c012a7351f
/system/hwservicemanager/HidlService.h
|
72103a0ad5abf7ec79f0ca7558330b131810e6d3 |
|
18-Jan-2017 |
Martijn Coenen <maco@google.com> |
Unregister service notification callbacks that are gone. Bug: 33818175 Test: hidl_test Change-Id: Icc2bc70c8d423aaa99ba8df41e0cefdc19217b9d
/system/hwservicemanager/HidlService.h
|
d544cf6502ff3a9958887b683f0500edcebd8cb8 |
|
05-Jan-2017 |
Steven Moreland <smoreland@google.com> |
hwservicemanager: remove unsafe casts Version x.(y+1) of a service must inherit from version x.y, so the information of supported versions is already contained in the interface chain. Because of this, we no longer need to parse interface names, we can store interfaces using the version as a key, and we no longer need a multimap. Bug: 34085897 Test: hidl_test Change-Id: I6a2ed9899ef1cb9a7ea37b6a3e8092fb9f09544d
/system/hwservicemanager/HidlService.h
|
b3a90f0de29292ec4288484c3e66b225d86bdc15 |
|
23-Nov-2016 |
Yifan Hong <elsk@google.com> |
Use IBase instead of IBinder. Also fix to use the correct logging lib. Test: kill hwservicemanager, then hidl_test Change-Id: Ie56781fbb0b5f8408224e6967efee425a0058f87
/system/hwservicemanager/HidlService.h
|
2173d3c8d6f5a5a78bd145063ac177d7f0657d33 |
|
10-Nov-2016 |
Steven Moreland <smoreland@google.com> |
Add registeration for service notifications. - useful for when you're not sure when a hal will be started up (perhaps usb camera). - useful for waiting for a service to start up (once you receive a death notification) Bug: 30804608 Test: hidl_test Change-Id: I1dc2398460d9d9d2bc35b6bb3b4d544dd6634713
/system/hwservicemanager/HidlService.h
|