summaryrefslogtreecommitdiffstats
path: root/sensors/1.0
diff options
context:
space:
mode:
authorKeun Soo Yim <yim@google.com>2017-01-23 17:42:11 -0800
committerKeun Soo Yim <yim@google.com>2017-01-24 15:53:33 +0000
commitb7dc8aef89f0c583736dc89409aa5c4d521b674b (patch)
treef219501a8584aab16c487ba009a3a3d4f18ee8be /sensors/1.0
parentf24b37b655e758b9dd084275766ba2c0af8d82ba (diff)
downloadplatform_hardware_interfaces-b7dc8aef89f0c583736dc89409aa5c4d521b674b.tar.gz
platform_hardware_interfaces-b7dc8aef89f0c583736dc89409aa5c4d521b674b.tar.bz2
platform_hardware_interfaces-b7dc8aef89f0c583736dc89409aa5c4d521b674b.zip
regenerate types.vts file for sensors and update its test.
Test: make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module SensorsHidlTest -l INFO Bug: 34378195 Change-Id: Ib4e83728d6725304c52b0c4f61def413eb7962f0
Diffstat (limited to 'sensors/1.0')
-rw-r--r--sensors/1.0/vts/functional/vts/testcases/hal/sensors/hidl/host/SensorsHidlTest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sensors/1.0/vts/functional/vts/testcases/hal/sensors/hidl/host/SensorsHidlTest.py b/sensors/1.0/vts/functional/vts/testcases/hal/sensors/hidl/host/SensorsHidlTest.py
index db210d9b61..3c7fbbbcc6 100644
--- a/sensors/1.0/vts/functional/vts/testcases/hal/sensors/hidl/host/SensorsHidlTest.py
+++ b/sensors/1.0/vts/functional/vts/testcases/hal/sensors/hidl/host/SensorsHidlTest.py
@@ -84,7 +84,7 @@ class SensorsHidlTest(base_test_with_webdb.BaseTestWithWebDbClass):
logging.info("PERMISSION_DENIED: %s", sensors_types.PERMISSION_DENIED)
logging.info("INVALID_OPERATION: %s", sensors_types.INVALID_OPERATION)
asserts.assertEqual(sensors_types.OK, 0);
- asserts.assertEqual(sensors_types.BAD_VALUE, 1);
+ asserts.assertEqual(sensors_types.BAD_VALUE, -22);
logging.info("sensor types:")
logging.info("SENSOR_TYPE_ACCELEROMETER: %s", sensors_types.SENSOR_TYPE_ACCELEROMETER)