Replace individual methods with a consolidated CEC nativeSendmessage
It saves us from having to add numerous native methods to HdmiCecService. A new native method that reports physical address was added in consequence to be able to build the message in Java side. Other changes: - Substituted more concrete type (cec_device_type_t) to int. - Fixed the issue about byte endianness in handling physical address/vendor id. The bytes of variable mPhysicalAddress in native service were being reversed previously but still worked because they were reversed again when copied out to outgoing messages. Vendor id had a bug of bytes being reversed. In order to fix the issue, the way they are copied to byte array was changed so that it becomes independent to byte endianness. - CL's for header/HAL implementation changes are: https://googleplex-android-review.git.corp.google.com/#/c/437667 https://googleplex-android-review.git.corp.google.com/#/c/437668 Change-Id: Id1ac683fe54597a2c707f30492c7f86e5392504d
Loading
Please register or sign in to comment