summaryrefslogtreecommitdiffstats
path: root/sensors/1.0
diff options
context:
space:
mode:
authorPeng Xu <pengxu@google.com>2017-10-10 18:19:18 -0700
committerPeng Xu <pengxu@google.com>2017-10-12 00:26:12 +0000
commit3c01fef56c7f4f6b5e408622c06c0b790c57c90c (patch)
treec0b01123ab0d646e7f395af7131bc58a3279974e /sensors/1.0
parentce607879baf84d5b3a8df95a609ad06204c56711 (diff)
downloadandroid_hardware_interfaces-3c01fef56c7f4f6b5e408622c06c0b790c57c90c.tar.gz
android_hardware_interfaces-3c01fef56c7f4f6b5e408622c06c0b790c57c90c.tar.bz2
android_hardware_interfaces-3c01fef56c7f4f6b5e408622c06c0b790c57c90c.zip
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
Diffstat (limited to 'sensors/1.0')
-rw-r--r--sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp b/sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp
index a6f6852a8..e4736bcd0 100644
--- a/sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp
+++ b/sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp
@@ -1224,7 +1224,7 @@ TEST_F(SensorsHidlTest, MagnetometerBatchingOperation) {
void SensorsHidlTest::testDirectReportOperation(
SensorType type, SharedMemType memType, RateLevel rate, const SensorEventsChecker &checker) {
constexpr size_t kEventSize = static_cast<size_t>(SensorsEventFormatOffset::TOTAL_LENGTH);
- constexpr size_t kNEvent = 500;
+ constexpr size_t kNEvent = 4096;
constexpr size_t kMemSize = kEventSize * kNEvent;
constexpr float kNormalNominal = 50;