commit | 3c01fef56c7f4f6b5e408622c06c0b790c57c90c | [log] [tgz] |
---|---|---|
author | Peng Xu <pengxu@google.com> | Tue Oct 10 18:19:18 2017 -0700 |
committer | Peng Xu <pengxu@google.com> | Thu Oct 12 00:26:12 2017 +0000 |
tree | c0b01123ab0d646e7f395af7131bc58a3279974e | |
parent | ce607879baf84d5b3a8df95a609ad06204c56711 [diff] |
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
diff --git a/sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp b/sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp index a6f6852..e4736bc 100644 --- a/sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp +++ b/sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp
@@ -1224,7 +1224,7 @@ 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;