Commit graph

722 commits

Author SHA1 Message Date
Keun Soo Yim
0500fb47b7 fix: add missing Android.mk links
Test: mma
Change-Id: I8324b5c8bd8392ff75c86b8473b748c41b6375ca
2016-12-28 13:20:09 -08:00
Zhuoyao Zhang
c57e359d1a Update Android.bp and vts/Android.mk for Hidl HALs
* Using update-makefiles.sh to add make rule for profiler in Android.bp
* Remove make rule for profiler in vts/Android.mk.

Bug:31930023
Test: mma
Change-Id: Iea834d8610501c2fce63f65742db31bafb85c0b8
2016-12-22 17:09:12 -08:00
Tri Vo
73111c058e stop/start framework before/after test.
Bug: 33618936
Test: make vts -j64 && vts-tradefed run commandAndExit vts
-l VERBOSE -m SensorsHidlTargetTest
Change-Id: I25405af879ab77f60f2f495d9d63c6db30254aaa
2016-12-22 14:12:51 -08:00
Keun Soo Yim
516e8193b3 regen makefiles and delete old vts driver build rules
Test: mma
Change-Id: I71c4fd68ea6d7a2fac2457b87c82c10490dfb05e
2016-12-21 13:25:46 -08:00
Nick Vaccaro
d133e4c326 Sensors: MultiHal: Add HIDL-based Multi-Hal
Add the ability to use more than a single sensor HAL
to the HIDL sensor service.

Bug: 32022308
Change-Id: I99866adbbbee6d93350327aaaba136682ae069ae
2016-12-16 11:12:11 -08:00
Yifan Hong
f35ee3b192 Revert "Revert "Update makefiles for Java package path.""
This reverts commit a8789f27cb.

Change-Id: I69980b580a556188ba868bb096ae1590b01759f5
2016-12-13 22:20:16 +00:00
Yifan Hong
a8789f27cb Revert "Update makefiles for Java package path."
This reverts commit ab0792ccdc.

Change-Id: I47fc272d9fa8875e3d7ccb10cb748c738fbf8135
2016-12-13 22:18:34 +00:00
Yifan Hong
ab0792ccdc Update makefiles for Java package path.
use V1_0 instead of 1.0.

Bug: 33554192

Test: hidl_test_java
Change-Id: Ic2d95265df10914a60a5bb743d75e839948838c3
2016-12-13 11:32:56 -08:00
Peng Xu
bba9d9a18f Added sensor target VTS test
Initial submission of Sensor VTS test, including the following
test cases:

 * SensorListValid
 * NormalAccelerometerStreamingOperation
 * NormalGyroscopeStreamingOperation
 * AccelerometerSamplingPeriodHotSwitchOperation
 * AccelerometerBatchingOperation

One thing to note is that runtime has to be stopped to prevent
sensor service from stealing samples (which causes test failure).

Test: m vts -j32 &&
      adb shell stop &&
      vts-tradefed run commandAndExit vts \
          --skip-all-system-status-check \
          --primary-abi-only \
          --skip-preconditions \
          --module SensorsHidlTargetTest
      vts-tradefed run commandAndExit vts \
          --skip-all-system-status-check \
          --primary-abi-only \
          --skip-preconditions \
          --module SensorsHidlTest
      adb shell start

Test: # alternative, faster way to run target test only
      m sensors_hidl_hal_test -j32  &&
      TOUT=$T/out/target/product/${TARGET_PRODUCT}
      TEST=data/nativetest/sensors_hidl_hal_test/sensors_hidl_hal_test
      adb push ${TOUT}/${TEST} /${TEST} && \
      adb shell ${TEST}

Change-Id: I3e26aa550f4cdec2cebb847f47d63ed33a527210
2016-12-05 17:26:54 -08:00
Yifan Hong
501839495f Update makefiles for hidlizing IBase.
A new dependency android.hidl.base@1.0 is added for
all projects.

Test: mma

Change-Id: Ia70d0eb0d74de06475a339698386d383d491a43a
2016-12-03 01:01:14 -08:00
Steven Moreland
bbff14d4bb Merge "Update makefiles for logging." 2016-11-22 17:25:36 +00:00
Keun Soo Yim
8a36c0b01c move VTS HIDL HAL tests to the corresponding interface directories
Bug: 32783461
Test: vts-tradefed; run vts-hal-hidl
Change-Id: Iead44eaf65dcd4de2286267467c4a4a322a88205
2016-11-21 19:16:12 -08:00
Steven Moreland
f8d68ec855 Update makefiles for logging.
Bug: 32943424
Test: pass
Change-Id: Ic88ce6adf04e0e36db53e4cc06ac2ec5a90c011c
2016-11-21 16:28:54 -08:00
Yifan Hong
6b920e43d3 Split libhidl into base and transport.
Bug: 32756130

Test: mma
Change-Id: Id21cf23abe2910f26bb7895511862443b93dc112
2016-11-18 00:00:54 -08:00
Steven Moreland
cefd01cd41 Sensors: cleanup includes in default implemenation
Test: compiles
Change-Id: Ib0aa43c186a4626117ed6b19a3881cb1822a5cdc
2016-11-07 19:20:19 -08:00
Colin Cross
2332ea3588 Merge "Support genrules with multiple tools" 2016-11-07 18:49:56 +00:00
Colin Cross
b785f5b82e Support genrules with multiple tools
To allow genrules with more than one tool, rename the tool property to
tools and make it an array, replace $tool with $(location <label>),
and use $() for other variables for consistency.

Bug: 31948427
Test: compare build.ninja
Change-Id: I3d714f70a2af0dc60faeee10e09b6ed166601f1d
2016-11-04 22:49:15 -07:00
Nick Vaccaro
a02a8dcdcb Add low latency offbody detect sensor type
Adds new SENSOR_TYPE_LOW_LATENCY_OFFBODY_DETECT sensor type

Bug: 32492601
Test: no
Change-Id: If811d13d5b2708496b981ddfb1e887c677836103
2016-11-04 14:38:32 -07:00
Steven Moreland
fcd74ebcdc Running update makefiles.
https://android-review.googlesource.com/#/c/298160/

Test: pass
Change-Id: I14fcde2d3aacc8f8cd9221f2d69e2feae9ae1226
2016-11-02 10:24:33 -07:00
Steven Moreland
69727778a7 Stop all these merge conflicts.
Test: mma -j64
Change-Id: I319198af32adf1fef180c5c2c22ba4b360fa7609
2016-10-26 12:04:37 +02:00
Steven Moreland
22566b8913 Use defaultPassthroughServiceImplementation.
Bug: 32279541
Bug: 32282345

Test: mma
Change-Id: Ic0222963c99bea41de7637e5f20c19d7c541cb97
2016-10-21 19:33:06 +00:00
Andreas Huber
db49a41180 sensor HAL v3
Bug: 32021636
Test: no
Change-Id: I7a4c5c47f8621209daef5af4d0dcbb806a236e41
2016-10-13 09:21:46 -07:00