summaryrefslogtreecommitdiffstats
path: root/sensors
Commit message (Collapse)AuthorAgeFilesLines
* Add profiling for sensors, light, and power HALs.Tri Vo2017-01-104-0/+111
| | | | | Test: make vts Change-Id: I564f3066dd61eacb4e138133d8df62840e24e99d
* Fix VTS paths on 32-bit targetHsin-Yi Chen2017-01-051-2/+2
| | | | | | | | | Decide target_basepaths by device's bitness. On 32-bit target, do not include */lib64. Bug: 33930594 Test: vts-tradefed run commandAndExit vts -m VibratorHidlTest -l INFO Change-Id: I340ded1d763dc194da461ecf183c6a2ff5f5ee6f
* Merge "stop/start framework before/after test."Keun Soo Yim2016-12-291-0/+1
|\
| * stop/start framework before/after test.Tri Vo2016-12-221-0/+1
| | | | | | | | | | | | | | Bug: 33618936 Test: make vts -j64 && vts-tradefed run commandAndExit vts -l VERBOSE -m SensorsHidlTargetTest Change-Id: I25405af879ab77f60f2f495d9d63c6db30254aaa
* | fix: add missing Android.mk linksKeun Soo Yim2016-12-281-1/+2
| | | | | | | | | | Test: mma Change-Id: I8324b5c8bd8392ff75c86b8473b748c41b6375ca
* | Update Android.bp and vts/Android.mk for Hidl HALsZhuoyao Zhang2016-12-222-35/+46
|/ | | | | | | | | * 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
* regen makefiles and delete old vts driver build rulesKeun Soo Yim2016-12-212-30/+58
| | | | | Test: mma Change-Id: I71c4fd68ea6d7a2fac2457b87c82c10490dfb05e
* Sensors: MultiHal: Add HIDL-based Multi-HalNick Vaccaro2016-12-163-17/+32
| | | | | | | | Add the ability to use more than a single sensor HAL to the HIDL sensor service. Bug: 32022308 Change-Id: I99866adbbbee6d93350327aaaba136682ae069ae
* Revert "Revert "Update makefiles for Java package path.""Yifan Hong2016-12-132-2/+2
| | | | | | This reverts commit a8789f27cb89496675483b83c76f271474085d62. Change-Id: I69980b580a556188ba868bb096ae1590b01759f5
* Revert "Update makefiles for Java package path."Yifan Hong2016-12-132-2/+2
| | | | | | This reverts commit ab0792ccdc52958b9bd524e7025d5e38ea0bb0d6. Change-Id: I47fc272d9fa8875e3d7ccb10cb748c738fbf8135
* Update makefiles for Java package path.Yifan Hong2016-12-132-2/+2
| | | | | | | | | use V1_0 instead of 1.0. Bug: 33554192 Test: hidl_test_java Change-Id: Ic2d95265df10914a60a5bb743d75e839948838c3
* Added sensor target VTS testPeng Xu2016-12-0515-0/+1866
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Update makefiles for hidlizing IBase.Yifan Hong2016-12-032-3/+7
| | | | | | | | | A new dependency android.hidl.base@1.0 is added for all projects. Test: mma Change-Id: Ia70d0eb0d74de06475a339698386d383d491a43a
* Merge "Update makefiles for logging."Steven Moreland2016-11-221-0/+1
|\
| * Update makefiles for logging.Steven Moreland2016-11-211-0/+1
| | | | | | | | | | | | Bug: 32943424 Test: pass Change-Id: Ic88ce6adf04e0e36db53e4cc06ac2ec5a90c011c
* | move VTS HIDL HAL tests to the corresponding interface directoriesKeun Soo Yim2016-11-211-0/+19
|/ | | | | | Bug: 32783461 Test: vts-tradefed; run vts-hal-hidl Change-Id: Iead44eaf65dcd4de2286267467c4a4a322a88205
* Split libhidl into base and transport.Yifan Hong2016-11-183-5/+10
| | | | | | | Bug: 32756130 Test: mma Change-Id: Id21cf23abe2910f26bb7895511862443b93dc112
* Sensors: cleanup includes in default implemenationSteven Moreland2016-11-073-1/+3
| | | | | Test: compiles Change-Id: Ib0aa43c186a4626117ed6b19a3881cb1822a5cdc
* Merge "Support genrules with multiple tools"Colin Cross2016-11-071-4/+4
|\
| * Support genrules with multiple toolsColin Cross2016-11-041-4/+4
| | | | | | | | | | | | | | | | | | | | 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
* | Add low latency offbody detect sensor typeNick Vaccaro2016-11-041-0/+23
|/ | | | | | | | Adds new SENSOR_TYPE_LOW_LATENCY_OFFBODY_DETECT sensor type Bug: 32492601 Test: no Change-Id: If811d13d5b2708496b981ddfb1e887c677836103
* Running update makefiles.Steven Moreland2016-11-021-4/+4
| | | | | | | https://android-review.googlesource.com/#/c/298160/ Test: pass Change-Id: I14fcde2d3aacc8f8cd9221f2d69e2feae9ae1226
* Stop all these merge conflicts.Steven Moreland2016-10-263-0/+48
| | | | | Test: mma -j64 Change-Id: I319198af32adf1fef180c5c2c22ba4b360fa7609
* Use defaultPassthroughServiceImplementation.Steven Moreland2016-10-211-31/+7
| | | | | | | | Bug: 32279541 Bug: 32282345 Test: mma Change-Id: Ic0222963c99bea41de7637e5f20c19d7c541cb97
* sensor HAL v3Andreas Huber2016-10-1311-0/+2067
Bug: 32021636 Test: no Change-Id: I7a4c5c47f8621209daef5af4d0dcbb806a236e41