diff options
author | Peng Xu | 2017-10-12 12:04:03 -0500 |
---|---|---|
committer | android-build-merger | 2017-10-12 12:04:03 -0500 |
commit | b0fe06a06b664de5421e85eabafccfb0d0a65457 (patch) | |
tree | fe1f49f493b1f5c9b7b2e64ccc58f58d2c43e071 | |
parent | 5b122a7408df97b0dbd4316cdfead1712c7acb0e (diff) | |
parent | 3c01fef56c7f4f6b5e408622c06c0b790c57c90c (diff) | |
download | platform-hardware-interfaces-b0fe06a06b664de5421e85eabafccfb0d0a65457.tar.gz platform-hardware-interfaces-b0fe06a06b664de5421e85eabafccfb0d0a65457.tar.xz platform-hardware-interfaces-b0fe06a06b664de5421e85eabafccfb0d0a65457.zip |
Enlarge buffer size for direct report testing
am: 3c01fef56c
Change-Id: I9fce07b88a1ddb12a91554b823d9290c2571eaef
-rw-r--r-- | sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp | 2 |
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 98b4994a..9c47db6f 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) { | |||
1224 | void SensorsHidlTest::testDirectReportOperation( | 1224 | void SensorsHidlTest::testDirectReportOperation( |
1225 | SensorType type, SharedMemType memType, RateLevel rate, const SensorEventsChecker &checker) { | 1225 | SensorType type, SharedMemType memType, RateLevel rate, const SensorEventsChecker &checker) { |
1226 | constexpr size_t kEventSize = static_cast<size_t>(SensorsEventFormatOffset::TOTAL_LENGTH); | 1226 | constexpr size_t kEventSize = static_cast<size_t>(SensorsEventFormatOffset::TOTAL_LENGTH); |
1227 | constexpr size_t kNEvent = 500; | 1227 | constexpr size_t kNEvent = 4096; |
1228 | constexpr size_t kMemSize = kEventSize * kNEvent; | 1228 | constexpr size_t kMemSize = kEventSize * kNEvent; |
1229 | 1229 | ||
1230 | constexpr float kNormalNominal = 50; | 1230 | constexpr float kNormalNominal = 50; |