Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-interfaces: Commit

hardware/interfaces


Commit MetaInfo

Révision213c36d71d099b53e9846d320968a36d56b12ef3 (tree)
l'heure2017-10-13 02:05:02
AuteurPeng Xu <pengxu@goog...>
Commiterandroid-build-merger

Message de Log

Enlarge buffer size for direct report testing am: 3c01fef56c
am: b0fe06a06b

Change-Id: I06edfcd55eaa52c962f5ff6bda4060d3df9c4efe

Change Summary

Modification

--- 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;
Afficher sur ancien navigateur de dépôt.