Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DUtils.cpp145 mInputMemory = TestAshmem::create(inputSize); in createRequest()
148 mInputMemory = TestBlobAHWB::create(inputSize); in createRequest()
151 EXPECT_NE(mInputMemory, nullptr); in createRequest()
153 hidl_vec<hidl_memory> pools = {mInputMemory->getHidlMemory(), mOutputMemory->getHidlMemory()}; in createRequest()
156 uint8_t* inputPtr = mInputMemory->getPointer(); in createRequest()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DUtils.cpp240 mInputMemory = TestAshmem::create(inputSize); in createRequest()
243 mInputMemory = TestBlobAHWB::create(inputSize); in createRequest()
246 CHECK_NE(mInputMemory, nullptr); in createRequest()
249 auto copiedInputMemory = utils::clone(*mInputMemory->getAidlMemory()); in createRequest()
261 uint8_t* inputPtr = mInputMemory->getPointer(); in createRequest()
DUtils.h135 std::unique_ptr<TestMemoryBase> mInputMemory, mOutputMemory;
DGeneratedTestHarness.cpp385 std::unique_ptr<TestMemoryBase> mInputMemory, mOutputMemory; member in aidl::android::hardware::neuralnetworks::vts::functional::ExecutionContext
482 mInputMemory = TestBlobAHWB::create(std::max<size_t>(inputSize, 1)); in createRequest()
485 mInputMemory = TestAshmem::create(std::max<size_t>(inputSize, 1), /*aidlReadonly=*/true); in createRequest()
488 CHECK_NE(mInputMemory, nullptr); in createRequest()
493 auto copiedInputMemory = utils::clone(*mInputMemory->getAidlMemory()); in createRequest()
507 uint8_t* inputPtr = mInputMemory->getPointer(); in createRequest()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp356 std::unique_ptr<TestMemoryBase> mInputMemory, mOutputMemory; member in android::hardware::neuralnetworks::V1_3::vts::functional::ExecutionContextV1_3
442 mInputMemory = TestBlobAHWB::create(std::max<size_t>(inputSize, 1)); in createRequest()
445 mInputMemory = TestAshmem::create(std::max<size_t>(inputSize, 1)); in createRequest()
448 EXPECT_NE(mInputMemory, nullptr); in createRequest()
450 pools[kInputPoolIndex].hidlMemory(mInputMemory->getHidlMemory()); in createRequest()
457 uint8_t* inputPtr = mInputMemory->getPointer(); in createRequest()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/include/1.0/
DUtils.h99 std::unique_ptr<TestMemoryBase> mInputMemory, mOutputMemory;