commit | d544cf6502ff3a9958887b683f0500edcebd8cb8 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed Jan 04 15:24:32 2017 -0800 |
committer | Steven Moreland <smoreland@google.com> | Fri Jan 06 11:41:31 2017 -0800 |
tree | 9142cd7afcd19ace5ac1b1cd5b6333374b51c9e3 | |
parent | 7b02bf9599142a2fc04102537f60c28dd8483e8b [diff] |
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