Home
last modified time | relevance | path

Searched refs:routerArray (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_navigation_test/
H A Dbms_bundle_navigation_test.cpp946 EXPECT_EQ(info.routerArray.size(), 2);
964 EXPECT_EQ(info.routerArray.size(), 1);
988 ASSERT_EQ(info.routerArray.size(), 1);
1013 ASSERT_EQ(info.routerArray.size(), 1);
1038 ASSERT_EQ(info.routerArray.size(), 1);
1059 ASSERT_EQ(info.routerArray.size(), 1);
1061 EXPECT_EQ(info.routerArray[0].ohmurl,
1087 ASSERT_EQ(info.routerArray.size(), 1);
1114 ASSERT_EQ(info.routerArray.size(), 1);
1141 ASSERT_EQ(info.routerArray.size(), 1);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/navigation/
H A Drouter_map_helper.cpp39 for (const auto &routerItem : hapModuleInfo.routerArray) { in MergeRouter()
46 MergeRouter(routerArrayList, info.routerArray, moduleNameSet); in MergeRouter()
63 std::vector<RouterItem>& routerArray, const std::set<std::string>& moduleNameSet) in MergeRouter()
77 routerArray.clear(); in MergeRouter()
79 if ((i == 0) || (routerArraySorted[i].name != routerArray[routerArray.size() - 1].name)) { in MergeRouter()
80 routerArray.emplace_back(routerArraySorted[i]); in MergeRouter()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/navigation/
H A Drouter_map_helper.h30 std::vector<RouterItem>& routerArray, const std::set<std::string>& moduleNameSet);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_parser.h104 const std::string &configFile, std::vector<RouterItem> &routerArray) const;
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dbundle_info.cpp359 CONTAINER_SECURITY_VERIFY(parcel, routerArraySize, &routerArray); in ReadFromParcel()
366 routerArray.emplace_back(*routerItem); in ReadFromParcel()
483 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, routerArray.size()); in Marshalling()
484 for (auto &router : routerArray) { in Marshalling()
690 {BUNDLE_INFO_ROUTER_ARRAY, bundleInfo.routerArray}, in to_json()
1062 bundleInfo.routerArray, in from_json()
H A Dhap_module_info.cpp656 CONTAINER_SECURITY_VERIFY(parcel, routerArraySize, &routerArray); in ReadFromParcel()
663 routerArray.emplace_back(*routerItem); in ReadFromParcel()
793 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, routerArray.size()); in Marshalling()
794 for (auto &router : routerArray) { in Marshalling()
861 {HAP_MODULE_INFO_ROUTER_ARRAY, hapModuleInfo.routerArray}, in to_json()
1299 hapModuleInfo.routerArray, in from_json()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dnavigation_route_ohos.cpp55 allRouteItems_ = bundleInfo.routerArray; in InitRouteMap()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_parser.cpp306 const std::string &jsonString, std::vector<RouterItem> &routerArray) const in ParseRouterArray()
345 routerArray.emplace_back(routerItem); in ParseRouterArray()
H A Dbundle_data_mgr.cpp2813 if (bundleParser.ParseRouterArray(routerMapString, hapModuleInfo.routerArray) != ERR_OK) { in ProcessBundleRouterMap()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dbundle_info.h162 std::vector<RouterItem> routerArray; member
H A Dhap_module_info.h178 std::vector<RouterItem> routerArray; member
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/
H A Dacts_bms_kit_system_test.cpp770 ASSERT_EQ(bundleInfo.hapModuleInfos[PERMS_INDEX_ZERO].routerArray.size(), PERMS_INDEX_TWO);
772 …EXPECT_EQ(bundleInfo.hapModuleInfos[PERMS_INDEX_ZERO].routerArray[PERMS_INDEX_ZERO].pageSourceFile,
774 … EXPECT_EQ(bundleInfo.hapModuleInfos[PERMS_INDEX_ZERO].routerArray[PERMS_INDEX_ZERO].buildFunction,
778 … EXPECT_EQ(bundleInfo.hapModuleInfos[PERMS_INDEX_ZERO].routerArray[PERMS_INDEX_ONE].pageSourceFile,
780 … EXPECT_EQ(bundleInfo.hapModuleInfos[PERMS_INDEX_ZERO].routerArray[PERMS_INDEX_ONE].buildFunction,
782 …EXPECT_EQ(bundleInfo.hapModuleInfos[PERMS_INDEX_ZERO].routerArray[PERMS_INDEX_ONE].data.size(), 2);
815 EXPECT_TRUE(bundleInfo.hapModuleInfos[PERMS_INDEX_ZERO].routerArray.empty());
1329 ASSERT_EQ(bundleInfo.hapModuleInfos[PERMS_INDEX_ZERO].routerArray.size(), PERMS_INDEX_TWO);
1333 … EXPECT_EQ(bundleInfo.hapModuleInfos[PERMS_INDEX_ZERO].routerArray[PERMS_INDEX_ZERO].buildFunction,
1339 … EXPECT_EQ(bundleInfo.hapModuleInfos[PERMS_INDEX_ZERO].routerArray[PERMS_INDEX_ONE].buildFunction,
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/
H A Dcommon_func.cpp1768 for (size_t idx = 0; idx < hapModuleInfo.routerArray.size(); idx++) { in ConvertHapModuleInfo()
1771 ConvertRouterItem(env, hapModuleInfo.routerArray[idx], nRouterItem); in ConvertHapModuleInfo()
1960 for (size_t idx = 0; idx < bundleInfo.routerArray.size(); idx++) { in ConvertBundleInfo()
1963 ConvertRouterItem(env, bundleInfo.routerArray[idx], nRouterItem); in ConvertBundleInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/
H A Dbms_bundle_data_storage_database_test.cpp1228 "routerArray": [],