Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DUtils.cpp47 std::unique_ptr<TestAshmem> TestAshmem::create(uint32_t size) { in create()
48 auto ashmem = std::make_unique<TestAshmem>(size); in create()
52 void TestAshmem::initialize(uint32_t size) { in initialize()
145 mInputMemory = TestAshmem::create(inputSize); in createRequest()
146 mOutputMemory = TestAshmem::create(outputSize); in createRequest()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DUtils.h80 class TestAshmem : public TestMemoryBase {
85 static std::unique_ptr<TestAshmem> create(uint32_t size, bool aidlReadonly = false);
90 TestAshmem(uint32_t size, bool aidlReadonly) { initialize(size, aidlReadonly); } in TestAshmem() function
DUtils.cpp102 std::unique_ptr<TestAshmem> TestAshmem::create(uint32_t size, bool aidlReadonly) { in create()
103 auto ashmem = std::make_unique<TestAshmem>(size, aidlReadonly); in create()
123 void TestAshmem::initialize(uint32_t size, bool aidlReadonly) { in initialize()
223 mInputMemory = TestAshmem::create(inputSize); in createRequest()
224 mOutputMemory = TestAshmem::create(outputSize); in createRequest()
DGeneratedTestHarness.cpp438 mInputMemory = TestAshmem::create(std::max<size_t>(inputSize, 1), /*aidlReadonly=*/true); in createRequest()
439 mOutputMemory = TestAshmem::create(std::max<size_t>(outputSize, 1), /*aidlReadonly=*/false); in createRequest()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/include/1.0/
DUtils.h50 class TestAshmem : public TestMemoryBase {
52 static std::unique_ptr<TestAshmem> create(uint32_t size);
57 TestAshmem(uint32_t size) { initialize(size); } in TestAshmem() function
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp445 mInputMemory = TestAshmem::create(std::max<size_t>(inputSize, 1)); in createRequest()
446 mOutputMemory = TestAshmem::create(std::max<size_t>(outputSize, 1)); in createRequest()