Steven Moreland
7f4e21adda
Merge "Update makefies: no 'types'" am: 4ee5ec1469
am: bab622f6a6
...
am: 7224bc9bcf
Change-Id: I434939e0770afa436c532a945542fce30a71ef7d
2019-03-04 16:05:59 -08:00
Steven Moreland
a878aee9ab
Update makefies: no 'types'
...
Bug: 123976090
Test: N/A
Change-Id: I30fb04c81889b62775e1b764b965fdb0f893de17
2019-03-04 11:27:17 -08:00
Keun Soo YIM
68ae05dd2d
pack VTS cc_test binaries as general-tests
...
Test: make general-tests
Bug: 120093339
Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-12-07 10:49:56 -08:00
Keun Soo YIM
ff84c37bc1
pack VTS cc_test binaries as general-tests
...
Test: make general-tests
Bug: 120093339
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-11-27 16:11:41 -08:00
Brian Stack
9c1867eec8
Update member variables to use mNamingConvention
...
Bug: 115969174
Test: Builds
Change-Id: Id4334d9060a3110d13debcfaf1bebc9dddd321c5
2018-11-07 17:26:01 -08:00
Arthur Ishiguro
e8f98ff983
Merge "Updates EventPayload documentation for (Geomag)-RV" am: 79189993ec
am: d60adf2dd9
...
am: f81482a5f6
Change-Id: I8e3668e3da2c73b5265dfd4d8927692854f94216
2018-11-05 17:57:47 -08:00
Arthur Ishiguro
79189993ec
Merge "Updates EventPayload documentation for (Geomag)-RV"
2018-11-06 01:28:23 +00:00
Arthur Ishiguro
d3881ea7fa
Updates EventPayload documentation for (Geomag)-RV
...
The former HAL documentation incorrectly documented (Geomag)-RV
sensor data as Vec4, although an accuracy field is expected according
to the Android sensor docs. Former default HAL implementation has set
the accuracy value to zero, preventing apps from getting this value.
This change guides OEMs to use the Vec4 + accuracy when converting
(Geomag)-RV sensor events. The default HAL implementation passes
this extra data now (ag/5224072), but clients of the former
implementation will still get the data it needs if assuming
the Vec4 sensor data format.
Bug: 116874058
Test: Compile only
Change-Id: I6a5c8a48dd372c3d4682ed5329f7f87862746cb9
2018-11-05 11:01:57 -08:00
Arthur Ishiguro
fa2fcddb09
Adds conversion for quaternion data with accuracy
...
Also applies formatter.
Bug: 116874058
Test: Compile and verify apps can receive the accuracy
field
Change-Id: I2535a5a9315ac3d343dcdf6010d3ae74288dfcd4
2018-11-01 17:33:22 -07:00
TreeHugger Robot
6624eeeff5
Merge "Adds conversion for quaternion data with accuracy"
2018-10-10 23:54:25 +00:00
Arthur Ishiguro
41c5b89b24
Adds conversion for quaternion data with accuracy
...
Also applies formatter.
Bug: 116874058
Test: Compile and verify apps can receive the accuracy
field
Change-Id: I2535a5a9315ac3d343dcdf6010d3ae74288dfcd4
2018-10-10 15:31:59 -07:00
Brian Stack
085f505014
Extract SensorsHidlTestBase and reformat
...
Bug: 111070257
Test: Builds
Change-Id: I35956b9dab56e97d716aa6605dab328cdd5446d3
2018-10-09 11:44:10 -07:00
Brian Stack
0c102a998f
Refactor SensorsTestSharedMemory
...
Extracts SensorsTestSharedMemory so that it can be used by other
versions of the sensors tests.
Bug: 111070257
Test: Build
Change-Id: I03df7462302d4ab0ea647e0d7688a46bf0e06dc1
2018-10-09 11:43:24 -07:00
Brian Stack
a60a6ae08f
Refactor SensorEventsChecker
...
Move SensorEventsChecker and derived classes into their own file.
Bug: 111070257
Test: Builds and passes VtsHalSensorsV1_0Target tests
Change-Id: I1d41c6edd71e6970ee0599ae21667c88dd5f1c4e
2018-10-05 10:03:43 -07:00
Brian Stack
bc5a39bd24
Create SensorsHidlEnvironmentBase
...
Move common parts of SensorsHidlEnvironment into a base class so they
can be reused with other versions of sensors tests.
Bug: 111070257
Test: Builds
Change-Id: I1e04e734d00308adff35b9c16de1499573a84b03
2018-10-05 10:03:43 -07:00
Brian Stack
f0dbf813b2
Extract SensorsHidlEnvironment
...
Extract SensorsHidlEnvironment from VtsHalSensorsV1_0TargetTest to
allow it to be used with multiple versions of testing
Bug: 111070257
Test: Builds and passes VtsHalSensorsV1_0Target tests
Change-Id: I4c2a968a7817d2a9783c358abe4066574add4e72
2018-10-05 10:03:43 -07:00
Brian Stack
eb755f55bb
Move GrallocWrapper to common directory
...
Moves GrallocWrapper to a common directory so that it is able to be
used by different versions of Sensors HAL VTS testing.
Bug: 111070257
Test: Builds
Change-Id: I3b110a8b45a870d762c9ed09063115afa31e6ce3
2018-10-05 10:03:32 -07:00
Brian Duddie
70c148b739
Update sensors OWNERS files
...
Reflect changes in team membership.
Fixes: 74439746
Test: n/a
Change-Id: I936b9dd9229024989bc6100a4fe396e822d53369
2018-08-09 19:56:18 +00:00
Peng Xu
f183230f46
Merge "Ignore meta sensor events when checking values" into oreo-vts-dev am: d09fdd6ca1
am: bfc5b817e7
...
am: 5b2f3f3c7c
Change-Id: Ic1d04b1a252274715b4f9a7168ffaf141e305c5b
2018-04-10 14:41:34 -07:00
Peng Xu
bfc5b817e7
Merge "Ignore meta sensor events when checking values" into oreo-vts-dev
...
am: d09fdd6ca1
Change-Id: I4623dce53e1cc5102d943c21944820c108466157
2018-04-10 14:21:57 -07:00
Peng Xu
23c91a2b54
Ignore meta sensor events when checking values
...
Bug: 68729931
Test: verified by vendor, see b/68729931#comment5
Change-Id: I0f729c33409e409f0a64d9d4f609215cffde71f5
2018-03-21 17:58:41 -07:00
Zhuoyao Zhang
b6371e782d
Merge "Convert sensors HAL test to use VtsHalHidlTargetTestEnvBase" am: edf1e2f589
am: a4b6a6da27
...
am: 2ec4182501
Change-Id: I339d8312c2321a56e263d8b9a6836639762c58ad
2018-01-24 23:00:08 +00:00
Zhuoyao Zhang
733ee1654e
Convert sensors HAL test to use VtsHalHidlTargetTestEnvBase
...
Bug: 64203181
Test: make vts
vts-tradefed run vts -m VtsHalSensorsV1_0Target
Change-Id: I1f7e3a8adf58bbeeb0928185a61f16610dd76223
2018-01-24 09:35:55 -08:00
Peng Xu
c9c4ba222b
Skip direct report test if sensor is not available
...
Skip SensorsHidlTest.*AshmemDirectReportOperation* tests if sensor
is not available on device.
Bug: 64230704
Test: compiles and test pass for a pixel device with mag sensor
masked in hal.
Merged-In: I9bfbea6301891eaa2b272bd3d15b0e237799b5d6
Change-Id: I9bfbea6301891eaa2b272bd3d15b0e237799b5d6
(cherry picked from commit 31e5bf8d93
)
2018-01-23 22:21:04 +00:00
Xin Li
bb9e38fef9
Merge commit '1a06284b24f5eb7bb9c1fea0817da8898b3b1bff' from
...
oc-mr1-dev-plus-aosp into stage-aosp-master
Change-Id: I2a044eb8c9981d0a8198ffe2df55559afbd76341
Merged-In: I4fb9f18884f7ef21162015a0032c4431444f7025
2017-11-14 12:08:38 -08:00
Steven Moreland
8db261bc99
Updating makefiles for hidl_interface.
...
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
2017-11-13 10:00:18 -08:00
Steven Moreland
a1169dd600
Update makefiles for hidl_interface.
...
Bug: 35570956
Test: manual
Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375
2017-11-10 09:06:55 -08:00
Steven Moreland
d28c1bdf62
Merge "Automatic mk -> bp." am: e5fd969f19
am: 72c720a4e3
...
am: 26013bf6ac
Change-Id: Id936fb4806d122045c771c951220361efeef10c6
2017-11-07 21:24:49 +00:00
Steven Moreland
26013bf6ac
Merge "Automatic mk -> bp." am: e5fd969f19
...
am: 72c720a4e3
Change-Id: Icfc8b46117e94461906806023852836a0ace3a55
2017-11-07 21:21:40 +00:00
Steven Moreland
90e3a50f03
Automatic mk -> bp.
...
Automatic mk -> bp conversion for all modules here
which can be converted and built automatically.
Test: Soong resolves all dependencies
Bug: 37512442
Change-Id: Ib789212cb88d55731397c600d132e7c672c0d8be
2017-11-03 16:30:28 +00:00
Peng Xu
25e47b1747
Fix flakiness of sensor VTS test cases
...
* Correction of testBatchingOperation wait logic.
* Enlarge buffer size for direct report testing.
Original cl links: ag/3053316 and ag/2759224
Bug: 64732324
Bug: 63529148
Bug: 67439052
Test: testBatchingOperation passes consistently
Test: direct report tests pass on 2016 pixel device
Merged-In: Id4e8075e249f3658f5683d53d6dc8403ee32bc4a
Merged-In: Ibe1d076c24dc2cfe61dfd19aa5055c9075aa9e14
Change-Id: Id4e8075e249f3658f5683d53d6dc8403ee32bc4a
2017-10-13 21:06:42 +00:00
Peng Xu
213c36d71d
Enlarge buffer size for direct report testing am: 3c01fef56c
...
am: b0fe06a06b
Change-Id: I06edfcd55eaa52c962f5ff6bda4060d3df9c4efe
2017-10-12 17:05:02 +00:00
Peng Xu
b0fe06a06b
Enlarge buffer size for direct report testing
...
am: 3c01fef56c
Change-Id: I9fce07b88a1ddb12a91554b823d9290c2571eaef
2017-10-12 17:04:03 +00:00
Peng Xu
3c01fef56c
Enlarge buffer size for direct report testing
...
This change is part of "Sensor direct report test - gralloc support".
Bug: 67439052
Test: vts test no longer fail on sailfish device
Change-Id: Id67a2a181b2d8847e2b1b9dbe46f5186e97e8563
Merged-In: Ibe1d076c24dc2cfe61dfd19aa5055c9075aa9e14
2017-10-12 00:26:12 +00:00
Steven Moreland
1d7374c5e1
Update for Soong java makefiles. am: c3e80fa01e
am: 0fff75dee1
am: 6c811964a1
...
am: 116161d94e
Change-Id: I33643636e2511de77fdf7de57777eb67edee2e52
2017-10-11 16:39:21 +00:00
Steven Moreland
116161d94e
Update for Soong java makefiles. am: c3e80fa01e
am: 0fff75dee1
...
am: 6c811964a1
Change-Id: I85ccbb4a15cd18938607f5bca4e065b9d7e0182b
2017-10-11 16:31:07 +00:00
Steven Moreland
c3e80fa01e
Update for Soong java makefiles.
...
Test: pass
Bug: 33420795
Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
2017-10-10 23:07:20 +00:00
Peng Xu
6e05d03f9a
Merge "Replace sys_nice capability with rlimit rtprio" am: b74728a92e
am: 6d1326ed8a
am: a959fb8a7b
...
am: 2739a3e614
Change-Id: Ib2120ac0b645e175dcf8a7d0926d53c5216d45af
2017-10-06 20:43:31 +00:00
Peng Xu
2739a3e614
Merge "Replace sys_nice capability with rlimit rtprio" am: b74728a92e
am: 6d1326ed8a
...
am: a959fb8a7b
Change-Id: I1cbd518bf3179b71790ce40b2d1f2bf299cfdecf
2017-10-06 20:37:30 +00:00
Peng Xu
b74728a92e
Merge "Replace sys_nice capability with rlimit rtprio"
2017-10-06 20:13:35 +00:00
Peng Xu
db1ad9a8a9
Replace sys_nice capability with rlimit rtprio
...
rlimit rtprio is more specific and thus preferred.
Test: HubConnection thread get rtprio in sailfish
Bug: 37291237
Change-Id: I3c7a06cb2964dc3ccb4c3f6fcb4eb33561296af1
2017-10-05 15:03:56 -07:00
Steven Moreland
70bfb9d250
Merge "Update for hidl adapter module defaults." am: 988c977079
am: 861651985f
am: b53e6ad535
...
am: 9a17f41f6f
Change-Id: I78d9292068b372238554fd9d35128e69f5b5f9d2
2017-10-04 21:54:11 +00:00
Steven Moreland
9a17f41f6f
Merge "Update for hidl adapter module defaults." am: 988c977079
am: 861651985f
...
am: b53e6ad535
Change-Id: I23269fb7a9bdd352e670a80f390527d9eef31412
2017-10-04 21:51:00 +00:00
Steven Moreland
527fd76a0e
Update for hidl adapter module defaults.
...
Test: pass
Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
2017-10-04 12:47:03 -07:00
Steven Moreland
91799c6cc7
Merge "Fix typo in update makefiles." am: 9960148420
am: f07e364ce3
am: 71a193a425
...
am: 9fdd241905
Change-Id: I1c852fa6600fecc44d5afd1a65a5f51c43ecf71c
2017-09-27 00:02:52 +00:00
Steven Moreland
9fdd241905
Merge "Fix typo in update makefiles." am: 9960148420
am: f07e364ce3
...
am: 71a193a425
Change-Id: I45ae43f07323254212532acbf0f891d11143b05f
2017-09-26 23:58:51 +00:00
Steven Moreland
a5299ee739
Fix typo in update makefiles.
...
Bug: 37518178
Test: pass
Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
2017-09-26 21:59:43 +00:00
Steven Moreland
7741c0e17b
Update makefiles for hidl adapter. am: 26a0bb2762
am: 73949c1d7e
am: b94d0c7290
...
am: 97228c0b7d
Change-Id: Ic4b459b7c1a4325453945b0b00db8f44e4e77c26
2017-09-26 13:36:09 +00:00
Steven Moreland
97228c0b7d
Update makefiles for hidl adapter. am: 26a0bb2762
am: 73949c1d7e
...
am: b94d0c7290
Change-Id: If766cffbcc003cc0cc5eb98969b924aa918fff44
2017-09-26 12:53:13 +00:00
Peng Xu
a10ba7868a
Augment HotSwitchOperation to test slow to fast case am: 44256a7fbd
am: 9c0f6da04d
...
am: 7a93acc52d
Change-Id: I6f784ed202793f5726804ddac4d7e59156e6d739
2017-09-26 12:11:03 +00:00