Home
last modified time | relevance | path

Searched refs:kCapacity (Results 1 – 1 of 1) sorted by relevance

/hardware/google/av/codec2/tests/vndk/
DC2BufferTest.cpp345 constexpr size_t kCapacity = 1024u * 1024u; in TEST_F() local
347 allocateLinear(kCapacity); in TEST_F()
350 mapLinear(0u, kCapacity, &addr); in TEST_F()
353 for (size_t i = 0; i < kCapacity; ++i) { in TEST_F()
360 mapLinear(kCapacity / 3, kCapacity / 3, &addr); in TEST_F()
362 for (size_t i = 0; i < kCapacity / 3; ++i) { in TEST_F()
363 ASSERT_EQ((i + kCapacity / 3) % 100, addr[i]) << " at i = " << i; in TEST_F()
368 constexpr size_t kCapacity = 1024u * 1024u; in TEST_F() local
374 kCapacity, in TEST_F()
382 ASSERT_EQ(kCapacity, writeView.capacity()); in TEST_F()
[all …]