Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-interfaces: Commit

hardware/interfaces


Commit MetaInfo

Révision3c01fef56c7f4f6b5e408622c06c0b790c57c90c (tree)
l'heure2017-10-12 09:26:12
AuteurPeng Xu <pengxu@goog...>
CommiterPeng Xu

Message de Log

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

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.