/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/device_registrar/ |
H A D | device_registrar_test.cpp | 56 virtual int32_t IsPerformanceModeSupported(bool& isSupported) = 0; 120 OH_NN_ReturnCode IsPerformanceModeSupported(bool& isSupported) override 171 MOCK_METHOD1(IsPerformanceModeSupported, int32_t(bool&));
|
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/device_registrar/ |
H A D | device_registrar_test.cpp | 56 virtual int32_t IsPerformanceModeSupported(bool& isSupported) = 0; 120 OH_NN_ReturnCode IsPerformanceModeSupported(bool& isSupported) override 171 MOCK_METHOD1(IsPerformanceModeSupported, int32_t(bool&));
|
/foundation/ai/neural_network_runtime/test/unittest/common/v2_0/ |
H A D | mock_idevice.h | 37 MOCK_METHOD1(IsPerformanceModeSupported, int32_t(bool&));
|
H A D | compilation_mock_idevice.cpp | 87 OH_NN_ReturnCode HDIDeviceV2_0::IsPerformanceModeSupported(bool& isSupported) in IsPerformanceModeSupported() function in OHOS::NeuralNetworkRuntime::HDIDeviceV2_0
|
/foundation/ai/neural_network_runtime/test/unittest/common/v1_0/ |
H A D | mock_idevice.h | 37 MOCK_METHOD1(IsPerformanceModeSupported, int32_t(bool&));
|
H A D | compilation_mock_idevice.cpp | 87 OH_NN_ReturnCode HDIDeviceV1_0::IsPerformanceModeSupported(bool& isSupported) in IsPerformanceModeSupported() function in OHOS::NeuralNetworkRuntime::HDIDeviceV1_0
|
/foundation/ai/neural_network_runtime/test/fuzztest/ |
H A D | nnrt_device_impl.h | 66 int32_t IsPerformanceModeSupported(bool& isSupported)
in IsPerformanceModeSupported() function in OHOS::HDI::Nnrt::V2_0::NnrtDeviceImpl
|
/foundation/ai/neural_network_runtime/test/unittest/common/v2_1/ |
H A D | mock_idevice.h | 37 MOCK_METHOD1(IsPerformanceModeSupported, int32_t(bool&));
|
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | hdi_device_v1_0.h | 42 OH_NN_ReturnCode IsPerformanceModeSupported(bool& isSupported) override;
|
H A D | device.h | 46 virtual OH_NN_ReturnCode IsPerformanceModeSupported(bool& isSupported) = 0;
|
H A D | hdi_device_v2_0.h | 42 OH_NN_ReturnCode IsPerformanceModeSupported(bool& isSupported) override;
|
H A D | hdi_device_v2_1.h | 42 OH_NN_ReturnCode IsPerformanceModeSupported(bool& isSupported) override;
|
H A D | hdi_device_v1_0.cpp | 200 OH_NN_ReturnCode HDIDeviceV1_0::IsPerformanceModeSupported(bool& isSupported) in IsPerformanceModeSupported() function in OHOS::NeuralNetworkRuntime::HDIDeviceV1_0 202 auto ret = m_iDevice->IsPerformanceModeSupported(isSupported); in IsPerformanceModeSupported()
|
H A D | hdi_device_v2_1.cpp | 243 OH_NN_ReturnCode HDIDeviceV2_1::IsPerformanceModeSupported(bool& isSupported) in IsPerformanceModeSupported() function in OHOS::NeuralNetworkRuntime::HDIDeviceV2_1 245 auto ret = m_iDevice->IsPerformanceModeSupported(isSupported); in IsPerformanceModeSupported()
|
H A D | hdi_device_v2_0.cpp | 248 OH_NN_ReturnCode HDIDeviceV2_0::IsPerformanceModeSupported(bool& isSupported) in IsPerformanceModeSupported() function in OHOS::NeuralNetworkRuntime::HDIDeviceV2_0 250 auto ret = m_iDevice->IsPerformanceModeSupported(isSupported); in IsPerformanceModeSupported()
|
H A D | nncompiler.cpp | 185 OH_NN_ReturnCode ret = m_device->IsPerformanceModeSupported(isSupportedPerformance); in SetPerformance()
|
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/include/ |
H A D | nnrt_device_service.h | 48 int32_t IsPerformanceModeSupported(bool& isSupported) override;
|
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/include/ |
H A D | nnrt_device_service.h | 48 int32_t IsPerformanceModeSupported(bool& isSupported) override;
|
/foundation/ai/neural_network_runtime/test/unittest/components/nn_compiler/ |
H A D | nn_compiler_test.cpp | 50 MOCK_METHOD1(IsPerformanceModeSupported, OH_NN_ReturnCode(bool&)); 394 EXPECT_CALL(*((MockIDevice *) device.get()), IsPerformanceModeSupported(::testing::_)) in HWTEST_F() 418 EXPECT_CALL(*((MockIDevice *) device.get()), IsPerformanceModeSupported(::testing::_)) in HWTEST_F()
|
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/hdi_device/ |
H A D | hdi_device_test.cpp | 600 * @tc.desc: Verify the IsPerformanceModeSupported function return success. 610 EXPECT_CALL(*((V1_0::MockIDevice *)device.GetRefPtr()), IsPerformanceModeSupported(::testing::_)) in HWTEST_F() 615 OH_NN_ReturnCode result = hdiDevice->IsPerformanceModeSupported(newIsSupported); in HWTEST_F() 622 * @tc.desc: Verify the IsPerformanceModeSupported function return unavailable device. 632 EXPECT_CALL(*((V1_0::MockIDevice *)device.GetRefPtr()), IsPerformanceModeSupported(::testing::_)) in HWTEST_F() 634 OH_NN_ReturnCode result = hdiDevice->IsPerformanceModeSupported(isSupported); in HWTEST_F()
|
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/ |
H A D | nnrt_device_service.cpp | 87 int32_t NnrtDeviceService::IsPerformanceModeSupported(bool& isSupported) in IsPerformanceModeSupported() function in OHOS::HDI::Nnrt::V1_0::NnrtDeviceService
|
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/hdi_device/ |
H A D | hdi_device_test.cpp | 62 MOCK_METHOD1(IsPerformanceModeSupported, int32_t(bool&)); 742 * @tc.desc: Verify the IsPerformanceModeSupported function return success. 752 EXPECT_CALL(*((V2_0::MockIDevice *)device.GetRefPtr()), IsPerformanceModeSupported(::testing::_)) in HWTEST_F() 757 OH_NN_ReturnCode result = hdiDevice->IsPerformanceModeSupported(newIsSupported); in HWTEST_F() 764 * @tc.desc: Verify the IsPerformanceModeSupported function return unavailable device. 774 EXPECT_CALL(*((V2_0::MockIDevice *)device.GetRefPtr()), IsPerformanceModeSupported(::testing::_)) in HWTEST_F() 776 OH_NN_ReturnCode result = hdiDevice->IsPerformanceModeSupported(isSupported); in HWTEST_F() 2114 * @tc.desc: Verify the IsPerformanceModeSupported function return success. 2124 EXPECT_CALL(*((V2_1::MockIDevice *)device.GetRefPtr()), IsPerformanceModeSupported(::testing::_)) in HWTEST_F() 2129 OH_NN_ReturnCode result = hdiDevice->IsPerformanceModeSupported(newIsSupporte in HWTEST_F() [all...] |
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/src/ |
H A D | nnrt_device_service.cpp | 88 int32_t NnrtDeviceService::IsPerformanceModeSupported(bool& isSupported) in IsPerformanceModeSupported() function in OHOS::HDI::Nnrt::V2_0::NnrtDeviceService
|
/foundation/ai/neural_network_runtime/test/unittest/components/nn_compiled_cache/ |
H A D | nn_compiled_cache_test.cpp | 49 MOCK_METHOD1(IsPerformanceModeSupported, OH_NN_ReturnCode(bool&));
|
/foundation/ai/neural_network_runtime/test/unittest/components/nn_backend/ |
H A D | nn_backend_test.cpp | 47 MOCK_METHOD1(IsPerformanceModeSupported, OH_NN_ReturnCode(bool&));
|