Home
last modified time | relevance | path

Searched refs:strList (Results 1 - 19 of 19) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/plugin/
H A Dplugin_pattern.cpp353 void PluginPattern::SplitString(const std::string& str, char tag, std::vector<std::string>& strList) const in SplitString()
359 strList.push_back(subStr); in SplitString()
367 strList.push_back(subStr); in SplitString()
393 std::vector<std::string> strList; in GetPackagePathByWant() local
394 pluginPattern->SplitString(info.bundleName, '/', strList); in GetPackagePathByWant()
403 packagePathStr = GerPackagePathByBms(weak, info, strList, userIds); in GetPackagePathByWant()
439 std::vector<std::string> strList; in GetAbilityNameByWant() local
440 pluginPattern->SplitString(info.pluginName, '&', strList); in GetAbilityNameByWant()
441 if (strList.empty()) { in GetAbilityNameByWant()
445 if (strList in GetAbilityNameByWant()
468 GerPackagePathByBms(const WeakPtr<PluginPattern>& weak, RequestPluginInfo& info, const std::vector<std::string>& strList, const std::vector<int32_t>& userIds) const GerPackagePathByBms() argument
[all...]
H A Dplugin_pattern.h80 void SplitString(const std::string& str, char tag, std::vector<std::string>& strList) const;
86 const std::vector<std::string>& strList, const std::vector<int32_t>& userIds) const;
/foundation/arkui/ace_engine/frameworks/core/components/plugin/
H A Dplugin_element.cpp321 std::vector<std::string> strList; in GetPackagePathByWant() local
322 pluginElement->SplitString(info.bundleName, '/', strList); in GetPackagePathByWant()
331 packagePathStr = GetPackagePathByBms(weak, info, strList, userIds); in GetPackagePathByWant()
340 std::vector<std::string> strList; in GetModuleNameByWant() local
341 pluginElement->SplitString(info.pluginName, '&', strList); in GetModuleNameByWant()
342 if (strList.empty()) { in GetModuleNameByWant()
346 if (strList.size() == 1) { in GetModuleNameByWant()
353 if (strList[0].rfind(".js") != std::string::npos) { in GetModuleNameByWant()
354 info.source = strList[0]; in GetModuleNameByWant()
356 info.abilityName = strList[ in GetModuleNameByWant()
362 GetPackagePathByBms(const WeakPtr<PluginElement>& weak, RequestPluginInfo& info, const std::vector<std::string>& strList, const std::vector<int32_t>& userIds) const GetPackagePathByBms() argument
430 SplitString(const std::string& str, char tag, std::vector<std::string>& strList) SplitString() argument
[all...]
H A Dplugin_element.h57 void SplitString(const std::string& str, char tag, std::vector<std::string>& strList);
65 const std::vector<std::string>& strList, const std::vector<int32_t>& userIds) const;
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_drag_modifier.cpp51 std::vector<const char*>& strList, std::vector<std::string>& keepStr) in SetDragEventProperty()
78 strList.push_back(keepStr[index].c_str()); in SetDragEventProperty()
81 event.dragEvent.dataTypes = strList.data(); in SetDragEventProperty()
98 std::vector<const char*> strList; in SetOnDragDrop()
101 SetDragEventProperty(info, event, strList, keepStr); in SetOnDragDrop()
131 std::vector<const char*> strList; in SetOnDragStart()
134 SetDragEventProperty(info, event, strList, keepStr); in SetOnDragStart()
163 std::vector<const char*> strList; in SetOnDragEnter()
166 SetDragEventProperty(info, event, strList, keepStr); in SetOnDragEnter()
194 std::vector<const char*> strList; in SetOnDragMove()
50 SetDragEventProperty(const RefPtr<OHOS::Ace::DragEvent>& info, ArkUINodeEvent& event, std::vector<const char*>& strList, std::vector<std::string>& keepStr) SetDragEventProperty() argument
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_interactable_view.cpp392 std::vector<std::string> strList; in GetRemoteMessageEventCallback()
393 SplitString(ability, '/', strList); in GetRemoteMessageEventCallback()
394 if (strList.size() <= 1) { in GetRemoteMessageEventCallback()
397 int32_t result = PluginManager::GetInstance().StartAbility(strList[0], strList[1], params); in GetRemoteMessageEventCallback()
431 void JSInteractableView::SplitString(const std::string& str, char tag, std::vector<std::string>& strList) in SplitString() argument
437 strList.push_back(subStr); in SplitString()
445 strList.push_back(subStr); in SplitString()
H A Djs_interactable_view.h60 static void SplitString(const std::string& str, char tag, std::vector<std::string>& strList);
/foundation/ability/ability_runtime/services/appdfr/src/
H A Dappfreeze_manager.cpp342 std::vector<std::string> strList; in BinderParser() local
345 strList.push_back(tmpstr); in BinderParser()
357 if (strList.size() >= 7) { // 7: valid array size in BinderParser()
359 std::string server = SplitPhase(strList[2], 0); in BinderParser()
361 std::string client = SplitPhase(strList[0], 0); in BinderParser()
363 std::string wait = SplitPhase(strList[5], 1); in BinderParser()
/foundation/communication/netstack/test/unittest/utils/common_utils/
H A DNetStackCommonUtilsTest.cpp72 std::vector<std::string> strList = Split(str, STATUS_LINE_SEP, STATUS_LINE_ELEM_NUM); in HWTEST_F() local
74 EXPECT_STREQ(strList[0].data(), "fine"); in HWTEST_F()
75 EXPECT_STREQ(strList[1].data(), "today"); in HWTEST_F()
76 EXPECT_EQ(strList.size(), 2); in HWTEST_F()
/foundation/communication/netstack/test/unittest/websocket_test/
H A DNetStackCommonUtilsTest.cpp72 std::vector<std::string> strList = Split(str, STATUS_LINE_SEP, STATUS_LINE_ELEM_NUM); in HWTEST_F() local
74 EXPECT_STREQ(strList[0].data(), "fine"); in HWTEST_F()
75 EXPECT_STREQ(strList[1].data(), "today"); in HWTEST_F()
76 EXPECT_EQ(strList.size(), 2); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/pattern/plugin/
H A Dplugin_pattern_test_ng.cpp116 std::vector<std::string> strList; in HWTEST_F() local
134 std::vector<std::string> strList; in HWTEST_F() local
135 pattern->SplitString("/com.example.providerTest/assets", '/', strList); in HWTEST_F()
/foundation/ability/form_fwk/frameworks/js/napi/formHost/
H A Dnapi_form_host.h114 bool GetStringsValue(napi_env env, napi_value object, std::vector<std::string> &strList);
H A Dnapi_form_host.cpp1499 bool NapiFormHost::GetStringsValue(napi_env env, napi_value array, std::vector<std::string> &strList) in GetStringsValue() argument
1512 strList.push_back(itemStr); in GetStringsValue()
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/
H A Djs_napi_common_ability.h142 bool GetStringsValue(napi_env env, napi_value object, std::vector<std::string> &strList);
H A Djs_napi_common.cpp1087 bool JsNapiCommon::GetStringsValue(napi_env env, napi_value object, std::vector<std::string> &strList) in GetStringsValue() argument
1105 strList.push_back(itemStr); in GetStringsValue()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/distributedWant/
H A Ddistributed_want_params.cpp1074 std::vector<std::string> strList; in ReadFromParcelArrayLong()
1076 strList.push_back(std::to_string(value[i])); in ReadFromParcelArrayLong()
1078 return SetArray<std::string, AAFwk::String>(AAFwk::g_IID_IString, strList, ao); in ReadFromParcelArrayLong()
/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dwant_params.cpp1111 std::vector<std::string> strList; in ReadFromParcelArrayLong()
1113 strList.push_back(std::to_string(value[i])); in ReadFromParcelArrayLong()
1115 return SetArray<std::string, String>(g_IID_IString, strList, ao); in ReadFromParcelArrayLong()
/foundation/ability/form_fwk/frameworks/js/napi/form_host/
H A Djs_form_host.cpp442 bool GetStringsValue(napi_env env, napi_value array, std::vector<std::string> &strList) in GetStringsValue() argument
461 strList.push_back(itemStr); in GetStringsValue()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_common_bridge.cpp4724 std::vector<const char*> strList; in SetAllowDrop() local
4728 strList.push_back(keepStr[i].c_str()); in SetAllowDrop()
4730 GetArkUINodeModifiers()->getCommonModifier()->setAllowDrop(nativeNode, strList.data(), strList.size()); in SetAllowDrop()

Completed in 39 milliseconds