Enlarge buffer size for direct report testing

am: 3c01fef56c

Change-Id: I9fce07b88a1ddb12a91554b823d9290c2571eaef
This commit is contained in:
Peng Xu 2017-10-12 17:04:03 +00:00 committed by android-build-merger
commit b0fe06a06b

View file

@ -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;