Home
last modified time | relevance | path

Searched refs:IsPerformanceModeSupported (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.cpp56 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 Ddevice_registrar_test.cpp56 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 Dmock_idevice.h37 MOCK_METHOD1(IsPerformanceModeSupported, int32_t(bool&));
H A Dcompilation_mock_idevice.cpp87 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 Dmock_idevice.h37 MOCK_METHOD1(IsPerformanceModeSupported, int32_t(bool&));
H A Dcompilation_mock_idevice.cpp87 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 Dnnrt_device_impl.h66 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 Dmock_idevice.h37 MOCK_METHOD1(IsPerformanceModeSupported, int32_t(bool&));
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dhdi_device_v1_0.h42 OH_NN_ReturnCode IsPerformanceModeSupported(bool& isSupported) override;
H A Ddevice.h46 virtual OH_NN_ReturnCode IsPerformanceModeSupported(bool& isSupported) = 0;
H A Dhdi_device_v2_0.h42 OH_NN_ReturnCode IsPerformanceModeSupported(bool& isSupported) override;
H A Dhdi_device_v2_1.h42 OH_NN_ReturnCode IsPerformanceModeSupported(bool& isSupported) override;
H A Dhdi_device_v1_0.cpp200 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 Dhdi_device_v2_1.cpp243 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 Dhdi_device_v2_0.cpp248 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 Dnncompiler.cpp185 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 Dnnrt_device_service.h48 int32_t IsPerformanceModeSupported(bool& isSupported) override;
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/include/
H A Dnnrt_device_service.h48 int32_t IsPerformanceModeSupported(bool& isSupported) override;
/foundation/ai/neural_network_runtime/test/unittest/components/nn_compiler/
H A Dnn_compiler_test.cpp50 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 Dhdi_device_test.cpp600 * @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 Dnnrt_device_service.cpp87 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 Dhdi_device_test.cpp62 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 Dnnrt_device_service.cpp88 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 Dnn_compiled_cache_test.cpp49 MOCK_METHOD1(IsPerformanceModeSupported, OH_NN_ReturnCode(bool&));
/foundation/ai/neural_network_runtime/test/unittest/components/nn_backend/
H A Dnn_backend_test.cpp47 MOCK_METHOD1(IsPerformanceModeSupported, OH_NN_ReturnCode(bool&));

Completed in 22 milliseconds

12