Home
last modified time | relevance | path

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

/frameworks/av/media/utils/tests/
Dshared_memory_allocator_tests.cpp39 struct ValidateForwarding { struct
124 ASSERT_EQ(SnoopingAllocator<ValidateForwarding<0>>::alignment(), in TEST()
125 ValidateForwarding<0>::alignment()); in TEST()
187 ASSERT_EQ(IndirectAllocator<ValidateForwarding<0>>::alignment(), in TEST()
188 ValidateForwarding<0>::alignment()); in TEST()
217 PolicyAllocator allocator2{ValidateForwarding<0>{}, SizePolicy<kMaxPageSize>{}}; in TEST()
218 EXPECT_TRUE(allocator2.owns(ValidateForwarding<0>::owned)); in TEST()
219 EXPECT_FALSE(allocator2.owns(ValidateForwarding<0>::not_owned)); in TEST()
220 EXPECT_TRUE(allocator2.dump().find(ValidateForwarding<0>::dump_string) != std::string::npos); in TEST()
221 ASSERT_EQ(decltype(allocator2)::alignment(), ValidateForwarding<0>::alignment()); in TEST()
[all …]