Loading neuralnetworks/1.0/vts/functional/GeneratedTestHarness.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -154,6 +154,8 @@ void Execute(const sp<IDevice>& device, const TestModel& testModel) { void GeneratedTestBase::SetUp() { testing::TestWithParam<GeneratedTestParam>::SetUp(); ASSERT_NE(kDevice, nullptr); const bool deviceIsResponsive = kDevice->ping().isOk(); ASSERT_TRUE(deviceIsResponsive); } std::vector<NamedModel> getNamedModels(const FilterFn& filter) { Loading neuralnetworks/1.0/vts/functional/VtsHalNeuralnetworks.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -81,6 +81,8 @@ void createPreparedModel(const sp<IDevice>& device, const Model& model, void NeuralnetworksHidlTest::SetUp() { testing::TestWithParam<NeuralnetworksHidlTestParam>::SetUp(); ASSERT_NE(kDevice, nullptr); const bool deviceIsResponsive = kDevice->ping().isOk(); ASSERT_TRUE(deviceIsResponsive); } static NamedDevice makeNamedDevice(const std::string& name) { Loading neuralnetworks/1.1/vts/functional/GeneratedTestHarness.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -162,6 +162,8 @@ void Execute(const sp<IDevice>& device, const TestModel& testModel) { void GeneratedTestBase::SetUp() { testing::TestWithParam<GeneratedTestParam>::SetUp(); ASSERT_NE(kDevice, nullptr); const bool deviceIsResponsive = kDevice->ping().isOk(); ASSERT_TRUE(deviceIsResponsive); } std::vector<NamedModel> getNamedModels(const FilterFn& filter) { Loading neuralnetworks/1.1/vts/functional/VtsHalNeuralnetworks.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,8 @@ void createPreparedModel(const sp<IDevice>& device, const Model& model, void NeuralnetworksHidlTest::SetUp() { testing::TestWithParam<NeuralnetworksHidlTestParam>::SetUp(); ASSERT_NE(kDevice, nullptr); const bool deviceIsResponsive = kDevice->ping().isOk(); ASSERT_TRUE(deviceIsResponsive); } static NamedDevice makeNamedDevice(const std::string& name) { Loading neuralnetworks/1.2/vts/functional/CompilationCachingTests.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -225,6 +225,8 @@ class CompilationCachingTestBase : public testing::Test { void SetUp() override { testing::Test::SetUp(); ASSERT_NE(kDevice.get(), nullptr); const bool deviceIsResponsive = kDevice->ping().isOk(); ASSERT_TRUE(deviceIsResponsive); // Create cache directory. The cache directory and a temporary cache file is always created // to test the behavior of prepareModelFromCache, even when caching is not supported. Loading Loading
neuralnetworks/1.0/vts/functional/GeneratedTestHarness.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -154,6 +154,8 @@ void Execute(const sp<IDevice>& device, const TestModel& testModel) { void GeneratedTestBase::SetUp() { testing::TestWithParam<GeneratedTestParam>::SetUp(); ASSERT_NE(kDevice, nullptr); const bool deviceIsResponsive = kDevice->ping().isOk(); ASSERT_TRUE(deviceIsResponsive); } std::vector<NamedModel> getNamedModels(const FilterFn& filter) { Loading
neuralnetworks/1.0/vts/functional/VtsHalNeuralnetworks.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -81,6 +81,8 @@ void createPreparedModel(const sp<IDevice>& device, const Model& model, void NeuralnetworksHidlTest::SetUp() { testing::TestWithParam<NeuralnetworksHidlTestParam>::SetUp(); ASSERT_NE(kDevice, nullptr); const bool deviceIsResponsive = kDevice->ping().isOk(); ASSERT_TRUE(deviceIsResponsive); } static NamedDevice makeNamedDevice(const std::string& name) { Loading
neuralnetworks/1.1/vts/functional/GeneratedTestHarness.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -162,6 +162,8 @@ void Execute(const sp<IDevice>& device, const TestModel& testModel) { void GeneratedTestBase::SetUp() { testing::TestWithParam<GeneratedTestParam>::SetUp(); ASSERT_NE(kDevice, nullptr); const bool deviceIsResponsive = kDevice->ping().isOk(); ASSERT_TRUE(deviceIsResponsive); } std::vector<NamedModel> getNamedModels(const FilterFn& filter) { Loading
neuralnetworks/1.1/vts/functional/VtsHalNeuralnetworks.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,8 @@ void createPreparedModel(const sp<IDevice>& device, const Model& model, void NeuralnetworksHidlTest::SetUp() { testing::TestWithParam<NeuralnetworksHidlTestParam>::SetUp(); ASSERT_NE(kDevice, nullptr); const bool deviceIsResponsive = kDevice->ping().isOk(); ASSERT_TRUE(deviceIsResponsive); } static NamedDevice makeNamedDevice(const std::string& name) { Loading
neuralnetworks/1.2/vts/functional/CompilationCachingTests.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -225,6 +225,8 @@ class CompilationCachingTestBase : public testing::Test { void SetUp() override { testing::Test::SetUp(); ASSERT_NE(kDevice.get(), nullptr); const bool deviceIsResponsive = kDevice->ping().isOk(); ASSERT_TRUE(deviceIsResponsive); // Create cache directory. The cache directory and a temporary cache file is always created // to test the behavior of prepareModelFromCache, even when caching is not supported. Loading