Searched refs:TestAshmem (Results 1 – 6 of 6) sorted by relevance
/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
D | Utils.cpp | 47 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/ |
D | Utils.h | 80 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
|
D | Utils.cpp | 102 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()
|
D | GeneratedTestHarness.cpp | 438 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/ |
D | Utils.h | 50 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/ |
D | GeneratedTestHarness.cpp | 445 mInputMemory = TestAshmem::create(std::max<size_t>(inputSize, 1)); in createRequest() 446 mOutputMemory = TestAshmem::create(std::max<size_t>(outputSize, 1)); in createRequest()
|