Searched refs:TestBufferPoolAllocator (Results 1 – 10 of 10) sorted by relevance
/frameworks/av/media/module/bufferpool/1.0/vts/ |
D | allocator.h | 29 class TestBufferPoolAllocator : public BufferPoolAllocator { 31 TestBufferPoolAllocator() {} in TestBufferPoolAllocator() function 33 ~TestBufferPoolAllocator() override {} in ~TestBufferPoolAllocator()
|
D | allocator.cpp | 124 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()
|
D | single.cpp | 60 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()
|
D | multi.cpp | 96 mAllocator = std::make_shared<TestBufferPoolAllocator>(); in SetUp() 166 if (!TestBufferPoolAllocator::Verify(rhandle, 0x77)) { in doReceiver() 203 ASSERT_TRUE(TestBufferPoolAllocator::Fill(shandle, 0x77)); in TEST_F()
|
/frameworks/av/media/module/bufferpool/2.0/tests/ |
D | allocator.h | 41 class TestBufferPoolAllocator : public BufferPoolAllocator { 43 TestBufferPoolAllocator() {} in TestBufferPoolAllocator() function 45 ~TestBufferPoolAllocator() override {} in ~TestBufferPoolAllocator()
|
D | allocator.cpp | 142 ResultStatus TestBufferPoolAllocator::allocate( in allocate() 167 bool TestBufferPoolAllocator::compatible(const std::vector<uint8_t> &newParams, in compatible() 182 bool TestBufferPoolAllocator::Fill(const native_handle_t *handle, const unsigned char val) { in Fill() 200 bool TestBufferPoolAllocator::Verify(const native_handle_t *handle, const unsigned char val) { in Verify() 222 bool TestBufferPoolAllocator::MapMemoryForMutex(const native_handle_t *handle, void **mem) { in MapMemoryForMutex() 235 bool TestBufferPoolAllocator::UnmapMemoryForMutex(void *mem) { in UnmapMemoryForMutex()
|
D | cond.cpp | 97 mAllocator = std::make_shared<TestBufferPoolAllocator>(); in SetUp() 174 if (!TestBufferPoolAllocator::MapMemoryForMutex(rhandle, &mem)) { in doReceiver() 187 (void)TestBufferPoolAllocator::UnmapMemoryForMutex(mem); in doReceiver() 228 ASSERT_TRUE(TestBufferPoolAllocator::MapMemoryForMutex(shandle, &mem)); in TEST_F() 251 (void)TestBufferPoolAllocator::UnmapMemoryForMutex(mem); in TEST_F()
|
D | single.cpp | 60 mAllocator = std::make_shared<TestBufferPoolAllocator>(); in SetUp() 158 ASSERT_TRUE(TestBufferPoolAllocator::Fill(allocHandle, 0x77)); in TEST_F() 164 ASSERT_TRUE(TestBufferPoolAllocator::Verify(recvHandle, 0x77)); in TEST_F()
|
D | BufferpoolUnitTest.cpp | 100 mAllocator = std::make_shared<TestBufferPoolAllocator>(); in setupBufferpoolManager() 201 if (!TestBufferPoolAllocator::Verify(receiveHandle, message.data.memsetValue)) { in doReceiver() 331 ASSERT_TRUE(TestBufferPoolAllocator::Fill(handle, i)); in TEST_F() 364 ASSERT_TRUE(TestBufferPoolAllocator::Verify(recvHandle, i)) in TEST_F() 413 ASSERT_TRUE(TestBufferPoolAllocator::Fill(handle, i)) in TEST_F() 477 ASSERT_TRUE(TestBufferPoolAllocator::Fill(allocHandle, 0x77)); in TEST_F() 501 ASSERT_TRUE(TestBufferPoolAllocator::Fill(allocHandle, 0x88)); in TEST_F()
|
D | multi.cpp | 94 mAllocator = std::make_shared<TestBufferPoolAllocator>(); in SetUp() 168 if (!TestBufferPoolAllocator::Verify(rhandle, 0x77)) { in doReceiver() 207 ASSERT_TRUE(TestBufferPoolAllocator::Fill(shandle, 0x77)); in TEST_F()
|