Home
last modified time | relevance | path

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

/frameworks/av/media/utils/tests/
Dshared_memory_allocator_tests.cpp210 const auto memory2 = allocator.allocate(NamedAllocRequest{{kPageSize}, "allocation_2"}); in TEST() local
212 EXPECT_TRUE(primary_allocator->owns(memory2)); in TEST()
213 allocator.deallocate(memory2); in TEST()
214 EXPECT_FALSE(primary_allocator->owns(memory2)); in TEST()
264 const auto memory2 = in TEST() local
266 validate_block(memory2); in TEST()
268 EXPECT_TRUE(fallback_allocator.owns(memory2)); in TEST()
269 EXPECT_FALSE(primary_allocator->owns(memory2)); in TEST()
270 EXPECT_TRUE(secondary_allocator->owns(memory2)); in TEST()
278 ASSERT_TRUE(secondary_allocations.find(memory2) != secondary_allocations.end()); in TEST()
[all …]