mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 21:37:44 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user