Home
last modified time | relevance | path

Searched refs:ExportModelCache (Results 1 - 13 of 13) sorted by relevance

/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest/src/
H A Dhdi_model_prepare_test.cpp71 EXPECT_EQ(V2_0::NNRT_ReturnCode::NNRT_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F()
134 EXPECT_EQ(V2_0::NNRT_ReturnCode::NNRT_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F()
180 EXPECT_EQ(V2_0::NNRT_ReturnCode::NNRT_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F()
652 EXPECT_EQ(V2_0::NNRT_ReturnCode::NNRT_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F()
H A Dhdi_model_run_test.cpp374 EXPECT_EQ(V2_0::NNRT_ReturnCode::NNRT_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F()
/test/xts/hats/ai/nnrt/hdi/v1_0/nnrtFunctionTest/src/
H A Dhdi_model_prepare_test.cpp70 EXPECT_EQ(HDF_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F()
131 EXPECT_EQ(HDF_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F()
175 EXPECT_EQ(HDF_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F()
H A Dhdi_model_run_test.cpp375 EXPECT_EQ(HDF_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F()
/test/xts/acts/ai/neural_network_runtime/v2_0/common/
H A Dmock_idevice.h112 int32_t ExportModelCache(std::vector<SharedBuffer>& modelCache) override;
H A Dmock_idevice.cpp270 LOGE("[Mock_Device]::ExportModelCache failed, Map fd to address failed: %{public}s.", strerror(errno)); in MemoryCopy()
277 LOGE("[Mock_Device]ExportModelCache failed . Please try again."); in MemoryCopy()
281 LOGE("[Mock_Device]ExportModelCache failed, failed to memcpy_s data type."); in MemoryCopy()
307 int32_t MockIPreparedModel::ExportModelCache(std::vector<SharedBuffer>& modelCache) in ExportModelCache() function in OHOS::HDI::Nnrt::V2_0::MockIPreparedModel
310 LOGE("[NNRtTest] The parameters of ExportModelCache should be an empty vector."); in ExportModelCache()
324 LOGE("[Mock_Device]::ExportModelCache failed, Map fd to address failed: %{public}s.", strerror(errno)); in ExportModelCache()
331 LOGE("[Mock_Device]ExportModelCache failed . Please try again."); in ExportModelCache()
335 LOGE("[Mock_Device]ExportModelCache failed, failed to memcpy_s data type."); in ExportModelCache()
/test/xts/acts/ai/neural_network_runtime/v1_0/common/
H A Dmock_idevice.h109 int32_t ExportModelCache(std::vector<SharedBuffer>& modelCache) override;
H A Dmock_idevice.cpp252 LOGE("[Mock_Device]::ExportModelCache failed, Map fd to address failed: %{public}s.", strerror(errno)); in MemoryCopy()
259 LOGE("[Mock_Device]ExportModelCache failed . Please try again."); in MemoryCopy()
263 LOGE("[Mock_Device]ExportModelCache failed, failed to memcpy_s data type."); in MemoryCopy()
282 int32_t MockIPreparedModel::ExportModelCache(std::vector<SharedBuffer>& modelCache) in ExportModelCache() function in OHOS::HDI::Nnrt::V1_0::MockIPreparedModel
285 LOGE("[NNRtTest] The parameters of ExportModelCache should be an empty vector."); in ExportModelCache()
299 LOGE("[Mock_Device]::ExportModelCache failed, Map fd to address failed: %{public}s.", strerror(errno)); in ExportModelCache()
306 LOGE("[Mock_Device]ExportModelCache failed . Please try again."); in ExportModelCache()
310 LOGE("[Mock_Device]ExportModelCache failed, failed to memcpy_s data type."); in ExportModelCache()
/test/xts/acts/ai/nncore/opstest/include/
H A Dmock_idevice.h112 int32_t ExportModelCache(std::vector<SharedBuffer>& modelCache) override;
/test/xts/acts/ai/nncore/common/
H A Dmock_idevice.h110 int32_t ExportModelCache(std::vector<SharedBuffer>& modelCache) override;
H A Dmock_idevice.cpp283 int32_t MockIPreparedModel::ExportModelCache(std::vector<SharedBuffer>& modelCache) in ExportModelCache() function in OHOS::HDI::Nnrt::V2_0::MockIPreparedModel
286 LOGE("[NNRtTest] The parameters of ExportModelCache should be an empty vector."); in ExportModelCache()
300 LOGE("[Mock_Device]::ExportModelCache failed, Map fd to address failed: %{public}s.", strerror(errno)); in ExportModelCache()
307 LOGE("[Mock_Device]ExportModelCache failed . Please try again."); in ExportModelCache()
311 LOGE("[Mock_Device]ExportModelCache failed, failed to memcpy_s data type."); in ExportModelCache()
/test/xts/acts/ai/nncore/opstest/src/
H A Dmock_idevice.cpp275 LOGE("[mock_idevice] ExportModelCache failed, please try again."); in MemoryCopy()
280 LOGE("[mock_idevice] ExportModelCache failed, failed to memcpy_s datat type."); in MemoryCopy()
306 int32_t MockIPreparedModel::ExportModelCache(std::vector<SharedBuffer>& modelCache) in ExportModelCache() function in OHOS::HDI::Nnrt::V2_1::MockIPreparedModel
309 LOGE("[NNRtTest] The parameters of ExportModelCache should be an empty vector."); in ExportModelCache()
325 LOGE("[mock_idevice]::ExportModelCache failed, Map fd to address failed:%{public}s.", strerror(errno)); in ExportModelCache()
332 LOGE("[NNRtTest] ExportModelCache failed, failed to memcpy_s data type."); in ExportModelCache()
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest_additional/src/
H A Dhdi_model_prepare_test.cpp385 * @tc.desc : call ExportModelCache,mode = V2_0::PERFORMANCE_NONE,priority = V2_0::PRIORITY_NONE;
406 EXPECT_EQ(V2_0::NNRT_ReturnCode::NNRT_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F()
449 * @tc.desc : call ExportModelCache,mode = V2_0::PERFORMANCE_NONE,priority = V2_0::PRIORITY_LOW;
470 EXPECT_EQ(V2_0::NNRT_ReturnCode::NNRT_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F()
513 * @tc.desc : call ExportModelCache,mode = V2_0::PERFORMANCE_NONE,priority = V2_0::PRIORITY_MEDIUM;
534 EXPECT_EQ(V2_0::NNRT_ReturnCode::NNRT_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F()
577 * @tc.desc : call ExportModelCache,mode = V2_0::PERFORMANCE_NONE,priority = V2_0::PRIORITY_HIGH;
598 EXPECT_EQ(V2_0::NNRT_ReturnCode::NNRT_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F()
641 * @tc.desc : call ExportModelCache,mode = V2_0::PERFORMANCE_LOW,priority = V2_0::PRIORITY_NONE;
662 EXPECT_EQ(V2_0::NNRT_ReturnCode::NNRT_SUCCESS, iPreparedModel->ExportModelCache(modelCach in HWTEST_F()
[all...]

Completed in 83 milliseconds