/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_navigation_test/ |
H A D | bms_bundle_navigation_test.cpp | 946 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 D | router_map_helper.cpp | 39 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 D | router_map_helper.h | 30 std::vector<RouterItem>& routerArray, const std::set<std::string>& moduleNameSet);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_parser.h | 104 const std::string &configFile, std::vector<RouterItem> &routerArray) const;
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | bundle_info.cpp | 359 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 D | hap_module_info.cpp | 656 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 D | navigation_route_ohos.cpp | 55 allRouteItems_ = bundleInfo.routerArray; in InitRouteMap()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_parser.cpp | 306 const std::string &jsonString, std::vector<RouterItem> &routerArray) const in ParseRouterArray() 345 routerArray.emplace_back(routerItem); in ParseRouterArray()
|
H A D | bundle_data_mgr.cpp | 2813 if (bundleParser.ParseRouterArray(routerMapString, hapModuleInfo.routerArray) != ERR_OK) { in ProcessBundleRouterMap()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | bundle_info.h | 162 std::vector<RouterItem> routerArray; member
|
H A D | hap_module_info.h | 178 std::vector<RouterItem> routerArray; member
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/ |
H A D | acts_bms_kit_system_test.cpp | 770 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 D | common_func.cpp | 1768 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 D | bms_bundle_data_storage_database_test.cpp | 1228 "routerArray": [],
|