Home
last modified time | relevance | path

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

/frameworks/av/media/bufferpool/2.0/tests/
Dallocator.h29 class TestBufferPoolAllocator : public BufferPoolAllocator {
31 TestBufferPoolAllocator() {} in TestBufferPoolAllocator() function
33 ~TestBufferPoolAllocator() override {} in ~TestBufferPoolAllocator()
Dallocator.cpp124 ResultStatus TestBufferPoolAllocator::allocate( in allocate()
149 bool TestBufferPoolAllocator::compatible(const std::vector<uint8_t> &newParams, in compatible()
164 bool TestBufferPoolAllocator::Fill(const native_handle_t *handle, const unsigned char val) { in Fill()
182 bool TestBufferPoolAllocator::Verify(const native_handle_t *handle, const unsigned char val) { in Verify()
Dsingle.cpp60 mAllocator = std::make_shared<TestBufferPoolAllocator>(); in SetUp()
150 ASSERT_TRUE(TestBufferPoolAllocator::Fill(allocHandle, 0x77)); in TEST_F()
156 ASSERT_TRUE(TestBufferPoolAllocator::Verify(recvHandle, 0x77)); in TEST_F()
Dmulti.cpp94 mAllocator = std::make_shared<TestBufferPoolAllocator>(); in SetUp()
164 if (!TestBufferPoolAllocator::Verify(rhandle, 0x77)) { in doReceiver()
200 ASSERT_TRUE(TestBufferPoolAllocator::Fill(shandle, 0x77)); in TEST_F()
/frameworks/av/media/bufferpool/1.0/vts/
Dallocator.h29 class TestBufferPoolAllocator : public BufferPoolAllocator {
31 TestBufferPoolAllocator() {} in TestBufferPoolAllocator() function
33 ~TestBufferPoolAllocator() override {} in ~TestBufferPoolAllocator()
Dallocator.cpp124 ResultStatus TestBufferPoolAllocator::allocate( in allocate()
149 bool TestBufferPoolAllocator::compatible(const std::vector<uint8_t> &newParams, in compatible()
164 bool TestBufferPoolAllocator::Fill(const native_handle_t *handle, const unsigned char val) { in Fill()
182 bool TestBufferPoolAllocator::Verify(const native_handle_t *handle, const unsigned char val) { in Verify()
Dsingle.cpp60 mAllocator = std::make_shared<TestBufferPoolAllocator>(); in SetUp()
150 ASSERT_TRUE(TestBufferPoolAllocator::Fill(allocHandle, 0x77)); in TEST_F()
156 ASSERT_TRUE(TestBufferPoolAllocator::Verify(recvHandle, 0x77)); in TEST_F()
Dmulti.cpp94 mAllocator = std::make_shared<TestBufferPoolAllocator>(); in SetUp()
164 if (!TestBufferPoolAllocator::Verify(rhandle, 0x77)) { in doReceiver()
200 ASSERT_TRUE(TestBufferPoolAllocator::Fill(shandle, 0x77)); in TEST_F()