No description
Find a file
Michael Butler fd14e27b89 Fix RS HIDL server, pass data by bytes instead of by elements.
Our current stack:
  API->API_TO_HAL_translator->HAL
          ->HAL_TO_Implementation_translator->Implementation

  For most APIs:
  - API passes objectCount.
  - HAL expects objectCount.
  - Implementation expects objectCount.

  For APIs like ScriptGroupCreate:
  - API passes byteCount. And unfortunately, these APIs are part of
    NDK, we could not make them also passing objectCount like others.
  - HAL expects objectCount.
  - Implementation expects byteCount.

  So that both API_TO_HAL_translator and
  HAL_TO_Implementation_translator should correctly convert input
  objectCount/byteCount to byteCount/objectCount.

  This CL only fixes the HAL_TO_Implementation_translator part,
  whereas aosp/356395 fixes the API_TO_HAL_translator part. Both
  parts were mistakenly using byteCount as objectCount, causing
  potential out-of-bound access.

Bug: 36404879
Test: mm on angler
Change-Id: I28541a8926aeafece40e2a3f664bda67e26a34a2
2017-03-29 17:09:57 -07:00
bluetooth Bluetooth: No power off before power on 2017-03-13 20:29:07 +00:00
boot Remove viral dependency on libhwbinder. 2017-02-24 12:01:06 -08:00
configstore configstore: build configstore-utils as header library 2017-03-12 07:15:48 +09:00
ir Change vts target base test class name 2017-03-10 00:42:13 -08:00
nfc Change vts target base test class name 2017-03-10 00:42:13 -08:00
radio Change vts target base test class name 2017-03-10 00:42:13 -08:00
renderscript Fix RS HIDL server, pass data by bytes instead of by elements. 2017-03-29 17:09:57 -07:00
tests Add hidl_default and make modules use hidl_default. 2017-03-08 16:22:00 -08:00
wifi wifi: Link the new libcld80211 library 2017-03-13 20:34:29 +00:00
Android.bp Add hidl_default and make modules use hidl_default. 2017-03-08 16:22:00 -08:00
CleanSpec.mk Bluetooth: move to vendor partition. 2017-02-28 01:34:46 +00:00
MODULE_LICENSE_APACHE2 Apache2 module license. 2016-08-30 11:28:36 -07:00
NOTICE Apache2 module license. 2016-08-30 11:28:36 -07:00
update-makefiles.sh Make update-makefiles.sh exit if any of the hidl invocations fail 2016-12-22 21:59:26 +00:00