Home
last modified time | relevance | path

Searched refs:routerItem (Results 1 - 9 of 9) sorted by relevance

/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dhap_module_info.cpp340 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 Dbundle_info.cpp361 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 Dbundle_parser.cpp336 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 Drouter_map_helper.cpp39 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 Dbundle_manager_convert.cpp457 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 Djson_serializer.h152 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 Dcommon_func.h182 static void ConvertRouterItem(napi_env env, const RouterItem &routerItem, napi_value value);
H A Dcommon_func.cpp1799 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 Dbms_bundle_data_mgr_test.cpp6412 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