Home
last modified time | relevance | path

Searched refs:kDevice (Results 1 – 24 of 24) sorted by relevance

/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DBasicTests.cpp36 Return<DeviceStatus> status = kDevice->getStatus(); in TEST_P()
44 Return<void> ret = kDevice->getCapabilities_1_2([](ErrorStatus status, in TEST_P()
69 kDevice->getVersionString([](ErrorStatus status, const hidl_string& version) { in TEST_P()
78 Return<void> ret = kDevice->getType([](ErrorStatus status, DeviceType type) { in TEST_P()
100 Return<void> ret = kDevice->getSupportedExtensions( in TEST_P()
121 Return<void> ret = kDevice->getNumberOfCacheFilesNeeded( in TEST_P()
238 Return<void> supportedOpsReturn = kDevice->getSupportedOperations_1_2( in TEST_P()
251 Return<ErrorStatus> prepareLaunchReturn = kDevice->prepareModel_1_2( in TEST_P()
DVtsHalNeuralnetworks.cpp89 ASSERT_NE(kDevice, nullptr); in SetUp()
159 validateFailure(kDevice, model, request); in TEST_P()
161 validateEverything(kDevice, model, request); in TEST_P()
DVtsHalNeuralnetworks.h36 const sp<IDevice> kDevice = getData(GetParam()); variable
DGeneratedTestHarness.h37 const sp<IDevice> kDevice = getData(std::get<NamedDevice>(GetParam())); variable
DGeneratedTestHarness.cpp386 ASSERT_NE(kDevice, nullptr); in SetUp()
409 Execute(kDevice, kTestModel, /*testDynamicOutputShape=*/false); in TEST_P()
413 Execute(kDevice, kTestModel, /*testDynamicOutputShape=*/true); in TEST_P()
DCompilationCachingTests.cpp223 : kDevice(std::move(device)), kOperandType(type) {} in CompilationCachingTestBase()
227 ASSERT_NE(kDevice.get(), nullptr); in SetUp()
237 Return<void> ret = kDevice->getNumberOfCacheFilesNeeded( in SetUp()
304 Return<void> supportedCall = kDevice->getSupportedOperations_1_2( in isModelFullySupported()
325 kDevice->prepareModel_1_2(model, ExecutionPreference::FAST_SINGLE_ANSWER, in saveModelToCache()
369 Return<ErrorStatus> prepareLaunchStatus = kDevice->prepareModelFromCache( in prepareModelFromCache()
402 const sp<IDevice> kDevice; member in android::hardware::neuralnetworks::V1_2::vts::functional::CompilationCachingTestBase
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DBasicTests.cpp32 Return<DeviceStatus> status = kDevice->getStatus(); in TEST_P()
40 kDevice->getCapabilities([](ErrorStatus status, const Capabilities& capabilities) { in TEST_P()
157 Return<void> supportedOpsReturn = kDevice->getSupportedOperations( in TEST_P()
170 Return<ErrorStatus> prepareLaunchReturn = kDevice->prepareModel(model, preparedModelCallback); in TEST_P()
DVtsHalNeuralnetworks.cpp83 ASSERT_NE(kDevice, nullptr); in SetUp()
135 validateEverything(kDevice, model, request); in TEST_P()
DVtsHalNeuralnetworks.h36 const sp<IDevice> kDevice = getData(GetParam()); variable
DGeneratedTestHarness.h33 const sp<IDevice> kDevice = getData(std::get<NamedDevice>(GetParam())); variable
DGeneratedTestHarness.cpp156 ASSERT_NE(kDevice, nullptr); in SetUp()
176 Execute(kDevice, kTestModel); in TEST_P()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DBasicTests.cpp37 Return<DeviceStatus> status = kDevice->getStatus(); in TEST_P()
45 kDevice->getCapabilities_1_1([](ErrorStatus status, const Capabilities& capabilities) { in TEST_P()
164 Return<void> supportedOpsReturn = kDevice->getSupportedOperations_1_1( in TEST_P()
177 Return<ErrorStatus> prepareLaunchReturn = kDevice->prepareModel_1_1( in TEST_P()
DVtsHalNeuralnetworks.cpp86 ASSERT_NE(kDevice, nullptr); in SetUp()
138 validateEverything(kDevice, model, request); in TEST_P()
DVtsHalNeuralnetworks.h35 const sp<IDevice> kDevice = getData(GetParam()); variable
DGeneratedTestHarness.h33 const sp<IDevice> kDevice = getData(std::get<NamedDevice>(GetParam())); variable
DGeneratedTestHarness.cpp164 ASSERT_NE(kDevice, nullptr); in SetUp()
184 Execute(kDevice, kTestModel); in TEST_P()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DBasicTests.cpp37 Return<DeviceStatus> status = kDevice->getStatus(); in TEST_P()
45 Return<void> ret = kDevice->getCapabilities_1_3([](ErrorStatus status, in TEST_P()
183 Return<void> supportedOpsReturn = kDevice->getSupportedOperations_1_3( in TEST_P()
196 Return<ErrorStatus> prepareLaunchReturn = kDevice->prepareModel_1_3( in TEST_P()
DCompilationCachingTests.cpp226 : kDevice(std::move(device)), kOperandType(type) {} in CompilationCachingTestBase()
230 ASSERT_NE(kDevice.get(), nullptr); in SetUp()
240 Return<void> ret = kDevice->getNumberOfCacheFilesNeeded( in SetUp()
307 Return<void> supportedCall = kDevice->getSupportedOperations_1_3( in isModelFullySupported()
327 Return<ErrorStatus> prepareLaunchStatus = kDevice->prepareModel_1_3( in saveModelToCache()
372 Return<ErrorStatus> prepareLaunchStatus = kDevice->prepareModelFromCache_1_3( in prepareModelFromCache()
405 const sp<IDevice> kDevice; member in android::hardware::neuralnetworks::V1_3::vts::functional::CompilationCachingTestBase
459 EvaluatePreparedModel(kDevice, preparedModel, testModel, /*testKind=*/TestKind::GENERAL); in TEST_P()
521 EvaluatePreparedModel(kDevice, preparedModel, testModel, /*testKind=*/TestKind::GENERAL); in TEST_P()
542 EvaluatePreparedModel(kDevice, preparedModel, testModel, /*testKind=*/TestKind::GENERAL); in TEST_P()
[all …]
DGeneratedTestHarness.cpp108 : kDevice(device), kPreparedModel(preparedModel), kTestModel(testModel) {} in DeviceMemoryAllocator()
144 const auto ret = kDevice->allocate({}, {kPreparedModel}, inputRoles, outputRoles, cb); in allocateInternal()
183 const sp<IDevice> kDevice; member in android::hardware::neuralnetworks::V1_3::vts::functional::__anon404ff7050111::DeviceMemoryAllocator
340 : kDevice(std::move(device)), kPreparedModel(std::move(preparedModel)) {} in ExecutionContextV1_3()
354 const sp<IDevice> kDevice; member in android::hardware::neuralnetworks::V1_3::vts::functional::ExecutionContextV1_3
367 DeviceMemoryAllocator allocator(kDevice, kPreparedModel, testModel); in createRequest()
928 ASSERT_NE(kDevice, nullptr); in SetUp()
963 Execute(kDevice, kTestModel, TestKind::GENERAL); in TEST_P()
967 Execute(kDevice, kTestModel, TestKind::DYNAMIC_SHAPE); in TEST_P()
971 Execute(kDevice, kTestModel, TestKind::MEMORY_DOMAIN); in TEST_P()
[all …]
DVtsHalNeuralnetworks.cpp94 ASSERT_NE(kDevice, nullptr); in SetUp()
183 validateFailure(kDevice, model, request); in TEST_P()
185 validateEverything(kDevice, model, request); in TEST_P()
DVtsHalNeuralnetworks.h36 const sp<IDevice> kDevice = getData(GetParam()); variable
DGeneratedTestHarness.h37 const sp<IDevice> kDevice = getData(std::get<NamedDevice>(GetParam())); variable
DMemoryDomainTests.cpp237 : kDevice(std::move(device)), in MemoryDomainTestBase()
245 ASSERT_NE(kDevice, nullptr); in SetUp()
253 createPreparedModel(kDevice, model, &preparedModel, /*reportSkipping=*/false); in createConvPreparedModel()
261 createPreparedModel(kDevice, model, &preparedModel, /*reportSkipping=*/false); in createAddPreparedModel()
267 const sp<IDevice> kDevice; member in android::hardware::neuralnetworks::V1_3::vts::functional::MemoryDomainTestBase
330 const auto ret = kDevice->allocate( in validateAllocate()
636 const auto ret = kDevice->allocate( in allocateBuffer()
DQualityOfServiceTests.cpp304 runTests(kDevice, kTestModel); in TEST_P()