Searched refs:routerItem (Results 1 - 9 of 9) sorted by relevance
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | hap_module_info.cpp | 340 void to_json(nlohmann::json &jsonObject, const RouterItem &routerItem) in to_json() argument 343 {ROUTER_ITEM_KEY_NAME, routerItem.name}, in to_json() 344 {ROUTER_ITEM_KEY_PAGE_SOURCE_FILE, routerItem.pageSourceFile}, in to_json() 345 {ROUTER_ITEM_KEY_BUILD_FUNCTION, routerItem.buildFunction}, in to_json() 346 {ROUTER_ITEM_KEY_DATA, routerItem.data}, in to_json() 347 {ROUTER_ITEM_KEY_CUSTOM_DATA, routerItem.customData}, in to_json() 348 {ROUTER_ITEM_KEY_OHMURL, routerItem.ohmurl}, in to_json() 349 {ROUTER_ITEM_KEY_BUNDLE_NAME, routerItem.bundleName}, in to_json() 350 {ROUTER_ITEM_KEY_MODULE_NAME, routerItem.moduleName} in to_json() 354 void from_json(const nlohmann::json &jsonObject, RouterItem &routerItem) in from_json() argument [all...] |
H A D | bundle_info.cpp | 361 std::unique_ptr<RouterItem> routerItem(parcel.ReadParcelable<RouterItem>()); in ReadFromParcel() 362 if (!routerItem) { in ReadFromParcel() 366 routerArray.emplace_back(*routerItem); in ReadFromParcel()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_parser.cpp | 336 RouterItem routerItem; in ParseRouterArray() local 341 from_json(object, routerItem); in ParseRouterArray() 344 routerItem.customData = object[ROUTER_ITEM_KEY_CUSTOM_DATA].dump(); in ParseRouterArray() 349 routerArray.emplace_back(routerItem); in ParseRouterArray()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/navigation/ |
H A D | router_map_helper.cpp | 39 for (const auto &routerItem : hapModuleInfo.routerArray) { in MergeRouter() 40 routerArrayList.emplace_back(routerItem); in MergeRouter()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/cj/src/ |
H A D | bundle_manager_convert.cpp | 457 CRouterItem routerItem; in ConvertRouterItem() local 458 routerItem.name = MallocCString(router.name); in ConvertRouterItem() 459 routerItem.pageSourceFile = MallocCString(router.pageSourceFile); in ConvertRouterItem() 460 routerItem.buildFunction = MallocCString(router.buildFunction); in ConvertRouterItem() 461 routerItem.data = ConvertArrDataItem(router.data); in ConvertRouterItem() 462 routerItem.customData = MallocCString(router.customData); in ConvertRouterItem() 463 return routerItem; in ConvertRouterItem()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | json_serializer.h | 152 void to_json(nlohmann::json &jsonObject, const RouterItem &routerItem); 153 void from_json(const nlohmann::json &jsonObject, RouterItem &routerItem);
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/ |
H A D | common_func.h | 182 static void ConvertRouterItem(napi_env env, const RouterItem &routerItem, napi_value value);
|
H A D | common_func.cpp | 1799 void CommonFunc::ConvertRouterItem(napi_env env, const RouterItem &routerItem, napi_value value) in ConvertRouterItem() argument 1803 env, routerItem.name.c_str(), NAPI_AUTO_LENGTH, &nName)); in ConvertRouterItem() 1808 env, routerItem.pageSourceFile.c_str(), NAPI_AUTO_LENGTH, &nPageSourceFile)); in ConvertRouterItem() 1813 env, routerItem.buildFunction.c_str(), NAPI_AUTO_LENGTH, &nBuildFunction)); in ConvertRouterItem() 1818 ConvertRouterDataInfos(env, routerItem.data, nDataArray); in ConvertRouterItem() 1823 env, routerItem.customData.c_str(), NAPI_AUTO_LENGTH, &nCustomData)); in ConvertRouterItem()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/ |
H A D | bms_bundle_data_mgr_test.cpp | 6412 RouterItem routerItem; in HWTEST_F() local 6415 routerItem.name = testString; in HWTEST_F() 6416 routerItem.pageSourceFile = testString; in HWTEST_F() 6417 routerItem.buildFunction = testString; in HWTEST_F() 6418 routerItem.data.emplace(testString, testString); in HWTEST_F() 6419 routerItem.customData = testString; in HWTEST_F() 6420 routerItem.ohmurl = testString; in HWTEST_F() 6421 routerItem.bundleName = testString; in HWTEST_F() 6422 routerItem.moduleName = testString; in HWTEST_F() 6424 bool result = routerItem in HWTEST_F() [all...] |
Completed in 22 milliseconds