• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/interfaces


Commit MetaInfo

修订版b0fe06a06b664de5421e85eabafccfb0d0a65457 (tree)
时间2017-10-13 02:04:03
作者Peng Xu <pengxu@goog...>
Commiterandroid-build-merger

Log Message

Enlarge buffer size for direct report testing
am: 3c01fef56c

Change-Id: I9fce07b88a1ddb12a91554b823d9290c2571eaef

更改概述

差异

--- 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) {
12241224 void SensorsHidlTest::testDirectReportOperation(
12251225 SensorType type, SharedMemType memType, RateLevel rate, const SensorEventsChecker &checker) {
12261226 constexpr size_t kEventSize = static_cast<size_t>(SensorsEventFormatOffset::TOTAL_LENGTH);
1227- constexpr size_t kNEvent = 500;
1227+ constexpr size_t kNEvent = 4096;
12281228 constexpr size_t kMemSize = kEventSize * kNEvent;
12291229
12301230 constexpr float kNormalNominal = 50;