Commit graph

2489 commits

Author SHA1 Message Date
Zhuoyao Zhang
e9b43bbe2d Update Andriod.bp for hals.
* Add driver/profiler build rule for all hals.

Test: mma
Change-Id: I98325f7af14fec7dd1bb64b1668de8c7c20ace92
2017-02-03 10:03:01 -08:00
Martijn Coenen
ed6138f749 Fix vehicle HAL breakage.
Test: builds again
Change-Id: I03b4f35ca47fef7f1cc7d79d3bbbac20c1bd8541
2017-02-03 09:15:25 +01:00
Zhuoyao Zhang
3590cc105e Merge "Support driver/profiler for all hals." am: a0ff9aca7a am: 2b741f188b am: fa531574ab
am: 3d5c20def5

Change-Id: Iccc715c11e0d380706d4bbb30ba2514dcf16b2ba
2017-02-03 02:23:34 +00:00
TreeHugger Robot
e03c4c18c1 Merge "Convert Vehicle Property to integer" 2017-02-03 02:17:41 +00:00
TreeHugger Robot
c56b125778 Merge "Teach Vehicle HAL a way to indicate which subset of OBD2 sensors are valid for a given frame." 2017-02-03 01:14:30 +00:00
Zhuoyao Zhang
3d5c20def5 Merge "Support driver/profiler for all hals." am: a0ff9aca7a am: 2b741f188b
am: fa531574ab

Change-Id: I61d081162c6711b68be892f813bf938616cd9e14
2017-02-03 00:50:50 +00:00
Zhuoyao Zhang
fa531574ab Merge "Support driver/profiler for all hals." am: a0ff9aca7a
am: 2b741f188b

Change-Id: Ie1cc3de7d8c3d3530586d00936146f8f5cda0910
2017-02-03 00:48:07 +00:00
Zhuoyao Zhang
2b741f188b Merge "Support driver/profiler for all hals."
am: a0ff9aca7a

Change-Id: I15c0dfb56548ab7945f2bdb85b7c22a9e5f73075
2017-02-03 00:46:39 +00:00
Zhuoyao Zhang
a0ff9aca7a Merge "Support driver/profiler for all hals." 2017-02-03 00:43:03 +00:00
Chia-I Wu
e4b6f6a70d Merge "graphics: get rid of BINDERIZED" 2017-02-02 22:49:31 +00:00
Roshan Pius
72ba47424f Merge "wifi: Add scanning mac oui setter" am: fc5a779766 am: 2666dcea2e am: 7a7c31c68c
am: dfa48d443b

Change-Id: I5e81b5a0118b20f480e51f0e3129e825f1cd5fbf
2017-02-02 19:59:23 +00:00
Roshan Pius
dfa48d443b Merge "wifi: Add scanning mac oui setter" am: fc5a779766 am: 2666dcea2e
am: 7a7c31c68c

Change-Id: If40d91359a2f941475b119ba2569963b5155734d
2017-02-02 19:53:56 +00:00
Roshan Pius
7a7c31c68c Merge "wifi: Add scanning mac oui setter" am: fc5a779766
am: 2666dcea2e

Change-Id: I3d4194b7142d0ec6088dbd2a012f465811d32743
2017-02-02 19:49:55 +00:00
Roshan Pius
2666dcea2e Merge "wifi: Add scanning mac oui setter"
am: fc5a779766

Change-Id: I6531cee9a0b5aeb645f28877919a50b06ee1c6a8
2017-02-02 19:41:24 +00:00
Treehugger Robot
fc5a779766 Merge "wifi: Add scanning mac oui setter" 2017-02-02 19:28:07 +00:00
Chia-I Wu
19942e7767 Merge changes from topic 'hwc-vts'
* changes:
  graphics: add composer tests to VTS
  graphics: add basic target-side tests for IComposer
2017-02-02 17:38:45 +00:00
Chia-I Wu
16624b69d6 graphics: get rid of BINDERIZED
It is always on now and all buffers be cloned and registered.
Clients (SF) should make use of the buffer caching mechanism and
pass each unique buffer once, to avoid the overhead.

Test: manual
Change-Id: I74ccbf74e110c8b413a66cfc60044b71ba3f44e3
2017-02-02 09:19:49 -08:00
Yuexi Ma
4a1c7b5748 vts files for radio hal am: faad7891fb am: aab4a5b8cf am: ef6fd71304
am: e98e1361a7  -s ours

Change-Id: Ic38b86135eb1dc3163bd636bd2c5398390a0995c
2017-02-02 16:55:22 +00:00
Zhuoyao Zhang
bd752892b3 Support driver/profiler for all hals.
* Update the make file to generate driver/profiler for hals.

Test: mma
Change-Id: I2a91d913b05beb8e1ecf28a205852f848ef1f5ee
2017-02-01 20:53:21 -08:00
Yuexi Ma
e98e1361a7 vts files for radio hal am: faad7891fb am: aab4a5b8cf
am: ef6fd71304

Change-Id: Ic7dbd05f1c865f437f7aeb80ba5d24d958953be8
2017-02-02 01:29:03 +00:00
Yuexi Ma
ef6fd71304 vts files for radio hal am: faad7891fb
am: aab4a5b8cf

Change-Id: I06546460624a23dc87b33184e675b8c396fa7492
2017-02-02 01:24:32 +00:00
Craig Donner
f5589bdf8d Remove assertion that VR hal is remote
Bug: 34258263
Test: manual with vts-tradefed on Pixel XL
Change-Id: I20731f0f85d6862a07e09db6ab0eda53523e58e4
2017-02-01 17:22:35 -08:00
Yuexi Ma
aab4a5b8cf vts files for radio hal
am: faad7891fb

Change-Id: I20b2ded113957974de68b5ea2544bfc997f5ae81
2017-02-02 01:22:01 +00:00
Pavel Maltsev
8e624b323c Convert Vehicle Property to integer
This make sense for easier extending Vehicle Hal interface
by OEMs and creating new versions.

Test: adb shell "su system /data/nativetest/android.hardware.vehicle@2.0-manager-unit-tests/android.hardware.vehicle@2.0-manager-unit-tests" ; ENABLE_TREBLE=true make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VehicleHidlTest -l INFO

Change-Id: I02415a1c180a6d24fded48a1583f7cb150419820
Fix: b/34894217
2017-02-01 16:41:14 -08:00
Yuexi Ma
faad7891fb vts files for radio hal
Merged-In:I8bce0b3ce4874442638e4967b4b88fcd60497729
Test: mma
Change-Id: I8bce0b3ce4874442638e4967b4b88fcd60497729
(cherry picked from commit 689c6fb1b5)
2017-02-01 15:30:07 -08:00
Chia-I Wu
b00f59df0f graphics: add composer tests to VTS
Test: vts-tradefed run vts -m HalGraphicsComposerHidlTargetTest
Change-Id: I2e695787865d3bb855076acae18fa135064036ab
2017-02-01 15:07:29 -08:00
Chia-I Wu
fed07e87ea graphics: add basic target-side tests for IComposer
Add graphics_composer_hidl_hal_test.

Test: manual execution
Change-Id: I38c2fcd5cfb27dcd0299df389cbf84fe4056de1b
2017-02-01 15:07:29 -08:00
Roshan Pius
795bb81596 wifi: Add scanning mac oui setter
Bug: 34886995
Test: Compiles
Change-Id: I55d4cf55d1832f27de975f97c2e739012ddacc28
2017-02-01 21:57:40 +00:00
Enrico Granata
adcb7c7371 Teach Vehicle HAL a way to indicate which subset of OBD2 sensors are valid for a given frame.
We are now using the "bytes" element of VehiclePropValue::RawValue as a storage place for a bitmask that indicates
which sensor indices, among those defined, actually map to valid values in the int32Values and floatValues respectively.

Test: make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VehicleHidlTest -l INFO
Test: adb root && adb push out/target/product/bat/data/nativetest/android.hardware.vehicle@2.0-manager-unit-tests/android.hardware.vehicle@2.0-manager-unit-tests /data/nativetest/android.hardware.vehicle@2.0-manager-unit-tests/android.hardware.vehicle@2.0-manager-unit-tests && adb shell /data/nativetest/android.hardware.vehicle@2.0-manager-unit-tests/android.hardware.vehicle@2.0-manager-unit-tests | grep Obd2
Change-Id: I4e9a116555001d2577d50d50009f75d8f78603b0
2017-02-01 10:34:58 -08:00
Ryan Campbell
adbf844ad8 Build the gatekeeper tests with coverage flags.
Build gatekeeper test with coverage so that coverage can be measured
on coverage runs.

Test: make
Bug: 32021941
Change-Id: I61ad6e975875b3d5f12abe922a81bdff641db5fb
2017-02-01 09:51:19 -08:00
Ryan Campbell
1dd2a4206a Merge "Update gatekeeper makefile with profiler." 2017-02-01 16:59:42 +00:00
Michael Wright
bbd6adda5a Merge "Remove PowerHint::DISABLE_TOUCH" 2017-02-01 16:27:05 +00:00
Yin-Chia Yeh
e466fc9c9f Merge "Camera: add a missing hidl_cb call" 2017-02-01 08:47:59 +00:00
Yin-Chia Yeh
2cee1b38c8 Merge "Camera: call setCallback before open_legacy" 2017-02-01 08:47:27 +00:00
Etan Cohen
31f40bb469 Merge "Wi-Fi/NAN HAL/service fixups" am: 7f1c9647b8 am: cc195e0c67 am: 2ea0959e5c
am: ab42f95376

Change-Id: I933127293e1d7eabaf507eb1c08ac5ca5a5c6127
2017-02-01 05:44:24 +00:00
Etan Cohen
ab42f95376 Merge "Wi-Fi/NAN HAL/service fixups" am: 7f1c9647b8 am: cc195e0c67
am: 2ea0959e5c

Change-Id: Ie495df29d6be1a813c13cce19ade9b21fdb8057f
2017-02-01 05:41:51 +00:00
Etan Cohen
2ea0959e5c Merge "Wi-Fi/NAN HAL/service fixups" am: 7f1c9647b8
am: cc195e0c67

Change-Id: Ie3a36500aa1901be8a8d9094c45ee6af517e046f
2017-02-01 05:39:23 +00:00
Etan Cohen
cc195e0c67 Merge "Wi-Fi/NAN HAL/service fixups"
am: 7f1c9647b8

Change-Id: I9cf88ab989a4365c15cc3a48aa446e1452e3efe0
2017-02-01 05:37:22 +00:00
Etan Cohen
7f1c9647b8 Merge "Wi-Fi/NAN HAL/service fixups" 2017-02-01 05:33:17 +00:00
Jiyong Park
5fe8d8f11b Merge "configstore: add configstore@1.0 HAL" 2017-02-01 04:23:11 +00:00
TreeHugger Robot
4d1629a2fc Merge "Build VR HIDL service." 2017-02-01 04:02:45 +00:00
TreeHugger Robot
8783e9cd01 Merge "Camera: work with vintf toggle." 2017-02-01 02:55:21 +00:00
Yin-Chia Yeh
fca2e74209 Camera: call setCallback before open_legacy
Some open_legacy implementations require a valid callback.

Test: the failing open_legacy call succeeds
Bug: 34854786
Change-Id: I461c7622bdf46a7cb7febfb7eeeb083288b4af03
2017-01-31 17:40:23 -08:00
Ryan Campbell
3918972881 Update gatekeeper makefile with profiler.
Update gatekeeper makefile.

Test: cd hardware/interfaces; mma
Bug: 34178574
Change-Id: Ifd01ee488890c0680c8792b29e3e42e0ee263ea2
2017-01-31 17:19:53 -08:00
Ryan Campbell
f16a70a9ac Increase timeout for gatekeeper tests.
Increase gatekeeper test timeout from 1m to 5m. Remove unnecessary
py files.

Test: make vts; run vts -m HalGatekeeperHidlTargetBasicTest
Bug: 34858043
Change-Id: I654c17f33ebd44c07ebbdc8310329220079a3e36
2017-01-31 17:13:16 -08:00
Jiyong Park
200825e359 configstore: add configstore@1.0 HAL
This change adds configstore@1.0 HAL which provides static configuration values
to the framework. As a first attempt, a configuration item in the
surfaceflinger (VSYNC_EVENT_PHASE_OFFSET_NS) is choosen and converted to
a HAL function named vsyncEventPhaseoffsetNs().

Design doc: go/design-confighal

Bug: 34314793
Test: build & run. make sure that configstore is up and running.
$ ps -A | grep configstore
Change-Id: Ibc70b14176d2e0144a5745d71ceba49ebc3ca706
2017-02-01 09:53:17 +09:00
Steven Moreland
7fd6ad80ee Camera: work with vintf toggle.
Camera is currently compiled separately in passthrough and binderized
modes. Until that is resolved, adding a call to internal hidl logic.

Bug: 34817742
Test: camera starts up and works and respects binderization toggle in
both modes on marlin.
Change-Id: I20733cbc82a68a1da1c4f1b3754aef2887ca718a
2017-01-31 16:48:52 -08:00
Craig Donner
df9c9fa0ac Build VR HIDL service.
Bug: 31442830
Test: manual
Change-Id: I91ec1d9305f4c0a9b80433b5a208ca059cefc767
2017-01-31 16:30:53 -08:00
Yin-Chia Yeh
ff0bc02a1c Camera: add a missing hidl_cb call
Test: no fatal error from calling get_device_1_0
Bug: 30985004
Change-Id: I6f1cfce903773d22ff5bb21a6db98d3f4ffa0697
2017-01-31 16:12:35 -08:00
Etan Cohen
4bbc209282 Wi-Fi/NAN HAL/service fixups
Fixes related to debugging during integration with
framework. Changes are due to errors in original
definition.

Bug: 32315992
Test: integration (sl4a) tests
Change-Id: I5c427e4d0f8677a611eb6d9abfa641a7f8406e31
2017-01-31 14:39:57 -08:00