Home
last modified time | relevance | path

Searched refs:GetVendorName (Results 1 - 25 of 30) sorted by relevance

12

/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/device_registrar/
H A Ddevice_registrar_test.cpp46 virtual int32_t GetVendorName(std::string& name) = 0;
91 OH_NN_ReturnCode GetVendorName(std::string& name) override
166 MOCK_METHOD1(GetVendorName, int32_t(std::string&));
206 EXPECT_CALL(*mockIDevice, GetVendorName(::testing::_)) in Get()
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/device_registrar/
H A Ddevice_registrar_test.cpp46 virtual int32_t GetVendorName(std::string& name) = 0;
91 OH_NN_ReturnCode GetVendorName(std::string& name) override
166 MOCK_METHOD1(GetVendorName, int32_t(std::string&));
206 EXPECT_CALL(*mockIDevice, GetVendorName(::testing::_)) in Get()
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dregister_hdi_device_v1_0.cpp45 hdiRet = iDevice->GetVendorName(vendorName); in HDIDeviceV1_0Creator()
H A Dhdi_device_v1_0.h34 OH_NN_ReturnCode GetVendorName(std::string& name) override;
H A Ddevice.h38 virtual OH_NN_ReturnCode GetVendorName(std::string& name) = 0;
H A Dregister_hdi_device_v2_0.cpp52 ret = iDevice->GetVendorName(vendorName); in HDIDeviceV2_0Creator()
H A Dhdi_device_v2_0.h34 OH_NN_ReturnCode GetVendorName(std::string& name) override;
H A Dhdi_device_v2_1.h34 OH_NN_ReturnCode GetVendorName(std::string& name) override;
H A Dnnbackend.cpp59 ret = m_device->GetVendorName(vendorName); in GetBackendName()
H A Dhdi_device_v1_0.cpp103 OH_NN_ReturnCode HDIDeviceV1_0::GetVendorName(std::string& name) in GetVendorName() function in OHOS::NeuralNetworkRuntime::HDIDeviceV1_0
105 auto ret = m_iDevice->GetVendorName(name); in GetVendorName()
H A Dhdi_device_v2_1.cpp139 OH_NN_ReturnCode HDIDeviceV2_1::GetVendorName(std::string& name) in GetVendorName() function in OHOS::NeuralNetworkRuntime::HDIDeviceV2_1
141 auto ret = m_iDevice->GetVendorName(name); in GetVendorName()
H A Dhdi_device_v2_0.cpp144 OH_NN_ReturnCode HDIDeviceV2_0::GetVendorName(std::string& name) in GetVendorName() function in OHOS::NeuralNetworkRuntime::HDIDeviceV2_0
146 auto ret = m_iDevice->GetVendorName(name); in GetVendorName()
/foundation/ai/neural_network_runtime/test/unittest/common/v2_0/
H A Dmock_idevice.h32 MOCK_METHOD1(GetVendorName, int32_t(std::string&));
/foundation/ai/neural_network_runtime/test/unittest/common/v1_0/
H A Dmock_idevice.h32 MOCK_METHOD1(GetVendorName, int32_t(std::string&));
/foundation/ai/neural_network_runtime/test/fuzztest/
H A Dnnrt_device_impl.h36 int32_t GetVendorName(std::string& name) in GetVendorName() function in OHOS::HDI::Nnrt::V2_0::NnrtDeviceImpl
/foundation/ai/neural_network_runtime/test/unittest/common/v2_1/
H A Dmock_idevice.h32 MOCK_METHOD1(GetVendorName, int32_t(std::string&));
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/include/
H A Dnnrt_device_service.h38 int32_t GetVendorName(std::string& name) override;
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/include/
H A Dnnrt_device_service.h38 int32_t GetVendorName(std::string& name) override;
/foundation/ai/neural_network_runtime/test/unittest/components/nn_backend/
H A Dnn_backend_test.cpp40 MOCK_METHOD1(GetVendorName, OH_NN_ReturnCode(std::string&));
135 EXPECT_CALL(*((MockIDevice *) device.get()), GetVendorName(::testing::_)) in HWTEST_F()
158 EXPECT_CALL(*((MockIDevice *) device.get()), GetVendorName(::testing::_)) in HWTEST_F()
184 EXPECT_CALL(*((MockIDevice *) device.get()), GetVendorName(::testing::_)) in HWTEST_F()
/foundation/ai/neural_network_runtime/test/unittest/components/nn_compiled_cache/
H A Dnn_compiled_cache_test.cpp42 MOCK_METHOD1(GetVendorName, OH_NN_ReturnCode(std::string&));
132 EXPECT_CALL(*((MockIDevice *) device.get()), GetVendorName(::testing::_)) in Creator()
196 EXPECT_CALL(*((MockIDevice *) device.get()), GetVendorName(::testing::_)) in Creator2()
/foundation/ai/neural_network_runtime/test/unittest/components/nn_tensor/
H A Dnn_tensor_test.cpp48 MOCK_METHOD1(GetVendorName, OH_NN_ReturnCode(std::string&));
257 EXPECT_CALL(*((MockIDevice *) device.get()), GetVendorName(::testing::_)) in Creator()
424 EXPECT_CALL(*((MockIDevice *) device.get()), GetVendorName(::testing::_)) in Creator3()
489 EXPECT_CALL(*((MockIDevice *) device.get()), GetVendorName(::testing::_)) in Creator4()
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/device_manager/
H A Ddevice_manager_test.cpp46 EXPECT_CALL(*device, GetVendorName(::testing::_)) in MockInit()
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/hdi_device/
H A Dhdi_device_test.cpp173 * @tc.desc: Verify the GetVendorName function validate vendor name success.
182 EXPECT_CALL(*((V1_0::MockIDevice *)device.GetRefPtr()), GetVendorName(::testing::_)) in HWTEST_F()
187 OH_NN_ReturnCode result = hdiDevice->GetVendorName(newVendorName); in HWTEST_F()
194 * @tc.desc: Verify the GetVendorName function return unavailable device.
203 EXPECT_CALL(*((V1_0::MockIDevice *)device.GetRefPtr()), GetVendorName(::testing::_)) in HWTEST_F()
205 OH_NN_ReturnCode result = hdiDevice->GetVendorName(vendorName); in HWTEST_F()
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/
H A Dnnrt_device_service.cpp51 int32_t NnrtDeviceService::GetVendorName(std::string& name) in GetVendorName() function in OHOS::HDI::Nnrt::V1_0::NnrtDeviceService
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/hdi_device/
H A Dhdi_device_test.cpp57 MOCK_METHOD1(GetVendorName, int32_t(std::string&));
304 * @tc.desc: Verify the GetVendorName function validate vendor name success.
313 EXPECT_CALL(*((V2_0::MockIDevice *)device.GetRefPtr()), GetVendorName(::testing::_)) in HWTEST_F()
318 OH_NN_ReturnCode result = hdiDevice->GetVendorName(newVendorName); in HWTEST_F()
325 * @tc.desc: Verify the GetVendorName function return unavailable device.
334 EXPECT_CALL(*((V2_0::MockIDevice *)device.GetRefPtr()), GetVendorName(::testing::_)) in HWTEST_F()
336 OH_NN_ReturnCode result = hdiDevice->GetVendorName(vendorName); in HWTEST_F()
1678 * @tc.desc: Verify the GetVendorName function validate vendor name success.
1687 EXPECT_CALL(*((V2_1::MockIDevice *)device.GetRefPtr()), GetVendorName(::testing::_)) in HWTEST_F()
1692 OH_NN_ReturnCode result = hdiDevice->GetVendorName(newVendorNam in HWTEST_F()
[all...]

Completed in 19 milliseconds

12