Searched refs:TestAshmem (Results 1 – 5 of 5) sorted by relevance
/packages/modules/NeuralNetworks/runtime/test/ |
D | SupportLibraryTestUtils.h | 32 class TestAshmem { 34 TestAshmem(::android::base::unique_fd fd, std::unique_ptr<::android::base::MappedFile> mapped, in TestAshmem() function 39 static std::unique_ptr<TestAshmem> createFrom(const NnApiSupportLibrary* nnapi, in createFrom() 45 static std::unique_ptr<TestAshmem> createFrom(const NnApiSupportLibrary* nnapi, in createFrom() 63 return std::make_unique<TestAshmem>(std::move(managedFd), std::move(mappedFile), in createFrom()
|
D | TestUtils.h | 35 class TestAshmem { 37 TestAshmem(::android::base::unique_fd fd, std::unique_ptr<::android::base::MappedFile> mapped, in TestAshmem() function 42 static std::unique_ptr<TestAshmem> createFrom(const test_helper::TestBuffer& buffer) { in createFrom() 47 static std::unique_ptr<TestAshmem> createFrom(const void* data, uint32_t length) { in createFrom() 70 return std::make_unique<TestAshmem>(std::move(managedFd), std::move(mappedFile), in createFrom()
|
D | TestMemoryDomain.cpp | 459 auto ashmem1 = TestAshmem::createFrom(&initValue1, sizeof(float)); in TEST_F() 460 auto ashmem2 = TestAshmem::createFrom(&initValue2, sizeof(float)); in TEST_F()
|
D | TestGenerated.cpp | 205 auto ashmem = TestAshmem::createFrom(operand.data); in createRequestWithDeviceMemories() 236 auto ashmem = TestAshmem::createFrom(output); in copyResultsFromDeviceMemories()
|
D | SupportLibraryTestGenerated.cpp | 321 auto ashmem = TestAshmem::createFrom(mNnApi.get(), operand.data); in computeWithDeviceMemories() 349 auto ashmem = TestAshmem::createFrom(mNnApi.get(), output); in computeWithDeviceMemories()
|