commit | 1638531dfbb242a48cd59441a8bab1b0b484f9b9 | [log] [tgz] |
---|---|---|
author | Stan Rokita <srok@google.com> | Tue Sep 10 14:54:36 2019 -0700 |
committer | Stan Rokita <srok@google.com> | Wed Sep 11 07:43:20 2019 -0700 |
tree | e9141d6b94bb67fdb4ac9bfbe2d5e9b91f542d58 | |
parent | d909580269eca0faee37bccc5823c002c3e0e829 [diff] |
MultiHal 2.0 - proxying api calls helper methods Create getSubHalForSensorHandle method which will get the proper subhal pointer by getting the subhal list index from the first byte of the sensor handle. Create the zeroOutFirstByte static helper method that will return a version of the sensor handle without the first byte when passed a handle. Test: Tested compilation. Bug: 136511617 Change-Id: I7d07003e1903aa1d8abaf904b778248c7b352653