/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | ability_auto_startup_data_manager.h | 41 int32_t DeleteAutoStartupData(const std::string &bundleName, int32_t accessTokenId); 47 int32_t GetCurrentAppAutoStartupData(const std::string &bundleName, 48 std::vector<AutoStartupInfo> &infoList, const std::string &accessTokenId); 54 bool isAutoStartup, bool isEdmForce, const std::string &abilityTypeName); 59 bool IsEqual(nlohmann::json &jsonObject, const std::string &key, 60 const std::string &value, bool checkEmpty = false); 61 bool IsEqual(nlohmann::json &jsonObject, const std::string &key, int32_t value); 63 bool IsEqual(const DistributedKv::Key &key, const std::string &accessTokenId);
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_data_ability_impl.cpp | 35 std::vector<std::string> DataAbilityImpl::GetFileTypes(const Uri& uri, const std::string& mimeTypeFilter) in GetFileTypes() 38 std::vector<std::string> types; in GetFileTypes() 45 int DataAbilityImpl::OpenFile(const Uri& uri, const std::string& mode) in OpenFile() 71 const Uri& uri, std::vector<std::string>& columns, const NativeRdb::DataAbilityPredicates& predicates) in Query() 75 std::string("Test")); in Query() 79 std::string DataAbilityImpl::GetType(const Uri& uri) in GetType() 82 std::string type("type"); in GetType()
|
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/ |
H A D | web_javascript_result_callback.h | 19 #include <string> 40 const std::string& method, const std::string& object_name, int32_t routing_id, int32_t object_id) override; 43 const std::string& method, const std::string& object_name, 46 bool HasJavaScriptObjectMethods(int32_t object_id, const std::string& method_name) override; 55 const std::string& objectName, 56 const std::string& objectMethod,
|
/foundation/arkui/ace_engine/frameworks/core/components/search/ |
H A D | search_component.h | 34 ACE_DEFINE_COMPONENT_EVENT(OnSubmit, void(const std::string&)); 35 ACE_DEFINE_COMPONENT_EVENT(OnChange, void(const std::string&)); 50 const std::string& GetSearchText() const; 51 void SetSearchText(const std::string& searchText); 53 const std::string& GetCloseIconSrc() const; 54 void SetCloseIconSrc(const std::string& closeIconSrc); 65 void SetSubmitEvent(const std::function<void(const std::string&)>& event); 66 const std::function<void(const std::string&)>& GetSubmitEvent() const;
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/xcomponent/ |
H A D | xcomponent_declaration.cpp | 29 bool XComponentDeclaration::SetSpecializedAttr(const std::pair<std::string, std::string>& attr) in SetSpecializedAttr() 31 static const LinearMapNode<void (*)(XComponentDeclaration&, const std::string&)> xComponentAttrOperators[] = { in SetSpecializedAttr() 34 [](XComponentDeclaration& declaration, const std::string& libraryName) { in SetSpecializedAttr() 40 [](XComponentDeclaration& declaration, const std::string& name) { in SetSpecializedAttr() 46 [](XComponentDeclaration& declaration, const std::string& type) { in SetSpecializedAttr() 62 bool XComponentDeclaration::SetSpecializedEvent(int32_t pageId, const std::string& eventId, const std::string& event) in SetSpecializedEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/ |
H A D | calendar_event_hub.h | 19 #include <string> 27 using DialogEvent = std::function<void(const std::string&)>; 30 using SelectedChangeEvent = std::function<void(const std::string&)>; 31 using RequestDataEvent = std::function<void(const std::string&)>; 45 void UpdateSelectedChangeEvent(const std::string& info) const in UpdateSelectedChangeEvent() 61 void UpdateRequestDataEvent(const std::string& info) const in UpdateRequestDataEvent() 73 void FireDialogChangeEvent(const std::string& info) const in FireDialogChangeEvent() 86 void FireDialogAcceptEvent(const std::string& info) const in FireDialogAcceptEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
H A D | grid_utils.cpp | 21 const std::string UNIT_AUTO = "auto"; 25 std::string GridUtils::ParseArgs(const std::string& args) in ParseArgs() 27 if (args.empty() || args.find(UNIT_AUTO) == std::string::npos) { in ParseArgs() 30 std::string rowsArgs; in ParseArgs() 31 std::vector<std::string> strs; in ParseArgs() 33 std::string current; in ParseArgs() 38 if (strs[i] == std::string(UNIT_AUTO)) { in ParseArgs()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/option/ |
H A D | option_view.h | 19 #include <string> 28 std::string value; 35 const std::function<void()>& onClickFunc, int32_t index, const std::string& icon = ""); 40 static RefPtr<FrameNode> CreateText(const std::string& value, const RefPtr<FrameNode>& parent); 41 static RefPtr<FrameNode> CreateIcon(const std::string& icon, const RefPtr<FrameNode>& parent, 44 const std::function<void()>& onClickFunc, const std::string& icon = ""); 48 static void CreateOption(bool optionsHasIcon, const std::string& value, const std::string& icon,
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_tabs.h | 29 DOMTabs(NodeId nodeId, const std::string& nodeName); 52 const std::string& GetTabEventId() const in GetTabEventId() 57 const std::string& GetTabEventType() const in GetTabEventType() 83 bool SetSpecializedAttr(const std::pair<std::string, std::string>& attr) override; 84 bool AddSpecializedEvent(int32_t pageId, const std::string& event) override; 97 std::string tabEventId_; 98 std::string tabEventType_;
|
H A D | dom_tool_bar_item.h | 35 DOMToolBarItem(NodeId nodeId, const std::string& nodeName); 61 bool SetSpecializedAttr(const std::pair<std::string, std::string>& attr) override; 62 bool SetSpecializedStyle(const std::pair<std::string, std::string>& style) override; 63 bool AddSpecializedEvent(int32_t pageId, const std::string& event) override; 83 std::string value_; 84 std::string icon_;
|
H A D | dom_dialog.h | 28 DOMDialog(NodeId nodeId, const std::string& nodeName); 36 void CallSpecializedMethod(const std::string& method, const std::string& args) override; 40 bool SetSpecializedStyle(const std::pair<std::string, std::string>& style) override; 41 bool AddSpecializedEvent(int32_t pageId, const std::string& event) override; 45 bool SetSpecializedAttr(const std::pair<std::string, std::string>& attr) override;
|
/foundation/arkui/ace_engine/frameworks/component_test/core/ |
H A D | component_test_matcher_impl.h | 36 explicit MatchText(const std::string& text) : text_(text), matchType(MatchType::EQUALS), isCheck(true) {}; in MatchText() 37 MatchText(const std::string& text, MatchType matchType) : text_(text), matchType(matchType), isCheck(true) {}; in MatchText() 38 std::string text_; 45 explicit MatchString(const std::string& value) : value(value), isCheck(true) {}; in MatchString() 46 std::string value; 63 void SetText(const std::string& text, MatchType matchType = MatchType::EQUALS); 64 void SetId(const std::string& id); 65 void SetType(const std::string& type);
|
/foundation/arkui/ace_engine/frameworks/bridge/common/manifest/ |
H A D | manifest_appinfo.cpp | 24 const std::string APP_NAME_PREFIX = "$string:"; 26 std::string ParseI18nAppName(std::string& rawAppName) in ParseI18nAppName() 48 auto ret = themeConstants->GetResourceIdByName(resourceName, "string", resId); in ParseI18nAppName() 57 const std::string& ManifestAppInfo::GetAppID() const in GetAppID() 62 const std::string& ManifestAppInfo::GetAppName() const in GetAppName() 67 const std::string& ManifestAppInfo::GetIcon() const in GetIcon() 72 const std::string& ManifestAppInfo::GetVersionName() const in GetVersionName() 82 const std::string [all...] |
/foundation/arkui/ace_engine/test/mock/core/common/ |
H A D | mock_clipboard.h | 34 const std::function<void(bool hasData)>& callback, const std::vector<std::string>& mimeTypes) override; 35 void SetData(const std::string& data, CopyOptions copyOption, bool isDragData) override; 36 void GetData(const std::function<void(const std::string&)>& callback, bool syncMode) override; 39 void AddImageRecord(const RefPtr<PasteDataMix>& pasteData, const std::string& uri) override; 40 void AddTextRecord(const RefPtr<PasteDataMix>& pasteData, const std::string& selectedStr) override; 45 void GetData(const std::function<void(const std::string&, bool isLastRecord)>& textCallback, 47 const std::function<void(const std::string&, bool isLastRecord)>& urlCallback, bool syncMode = false) override; 49 const std::function<void(std::vector<std::vector<uint8_t>>&, const std::string&, bool&)>& callback,
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | checkboxGroup_composed_element.cpp | 24 const std::unordered_map<std::string,
25 std::function<std::string(const CheckboxGroupComposedElement&)>> CREATE_JSON_MAP {
36 DumpLog::GetInstance().AddDesc(std::string("group: ").append(GetGroupName()));
in Dump() 37 DumpLog::GetInstance().AddDesc(std::string("selectAll: ").append(GetSelectAll()));
in Dump() 38 DumpLog::GetInstance().AddDesc(std::string("selectedColor: ").append(GetSelectedColor()));
in Dump() 50 std::string CheckboxGroupComposedElement::GetGroupName() const
in GetGroupName() 59 std::string CheckboxGroupComposedElement::GetSelectAll() const
in GetSelectAll() 66 std::string CheckboxGroupComposedElement::GetSelectedColor() const
in GetSelectedColor()
|
H A D | stack_composed_element.cpp | 24 const std::unordered_map<std::string, std::function<std::string(const StackComposedElement&)>> CREATE_JSON_MAP { 33 DumpLog::GetInstance().AddDesc(std::string("alignContent: ").append(GetAlignContent())); in Dump() 34 DumpLog::GetInstance().AddDesc(std::string("stackFit: ").append(GetStackFit())); in Dump() 35 DumpLog::GetInstance().AddDesc(std::string("overflow: ").append(GetOverflow())); in Dump() 47 std::string StackComposedElement::GetAlignContent() const in GetAlignContent() 53 std::string StackComposedElement::GetStackFit() const in GetStackFit() 60 std::string StackComposedElement::GetOverflow() const in GetOverflow()
|
H A D | hyperlink_composed_element.cpp | 24 const std::unordered_map<std::string, std::function<std::string(const HyperlinkComposedElement&)>> CREATE_JSON_MAP { 36 std::string("address: ").append(GetAddress())); in Dump() 38 std::string("content: ").append(GetContent())); in Dump() 40 std::string("color: ").append(GetColor())); in Dump() 52 std::string HyperlinkComposedElement::GetAddress() const in GetAddress() 61 std::string HyperlinkComposedElement::GetContent() const in GetContent() 70 std::string HyperlinkComposedElement::GetColor() const in GetColor()
|
H A D | refresh_composed_element.cpp | 25 const std::unordered_map<std::string, std::function<std::string(const RefreshComposedElement&)>> CREATE_JSON_MAP { 36 std::string("refreshing: ").append(GetRefreshing())); in Dump() 38 std::string("offset: ").append(GetRefreshOffset())); in Dump() 40 std::string("friction: ").append(GetFriction())); in Dump() 52 std::string RefreshComposedElement::GetRefreshing() const in GetRefreshing() 65 std::string RefreshComposedElement::GetRefreshOffset() const in GetRefreshOffset() 78 std::string RefreshComposedElement::GetFriction() const in GetFriction()
|
H A D | radio_composed_element.cpp | 24 const std::unordered_map<std::string, std::function<std::string(const RadioComposedElement&)>> CREATE_JSON_MAP { 33 DumpLog::GetInstance().AddDesc(std::string("value: ").append(GetValue())); in Dump() 34 DumpLog::GetInstance().AddDesc(std::string("checked: ").append(GetChecked())); in Dump() 46 std::string RadioComposedElement::GetValue() const in GetValue() 57 std::string RadioComposedElement::GetChecked() const in GetChecked() 64 std::string RadioComposedElement::GetWidth() const in GetWidth() 76 std::string RadioComposedElement::GetHeight() const in GetHeight()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_stop.cpp | 46 bool SvgStop::ParseAndSetSpecializedAttr(const std::string& name, const std::string& value) in ParseAndSetSpecializedAttr() 48 static const LinearMapNode<void (*)(const std::string&, SvgStopAttribute&)> attrs[] = { in ParseAndSetSpecializedAttr() 50 [](const std::string& val, SvgStopAttribute& attribute) { in ParseAndSetSpecializedAttr() 54 [](const std::string& val, SvgStopAttribute& attribute) { in ParseAndSetSpecializedAttr() 64 [](const std::string& val, SvgStopAttribute& attribute) { in ParseAndSetSpecializedAttr() 68 [](const std::string& val, SvgStopAttribute& attribute) { in ParseAndSetSpecializedAttr() 73 [](const std::string& val, SvgStopAttribute& attribute) { in ParseAndSetSpecializedAttr()
|
/foundation/barrierfree/accessibility/services/aams/include/ |
H A D | accessibility_short_key_dialog.h | 38 explicit ShortkeyAbilityConnection(const std::string commandStr) in ShortkeyAbilityConnection() 48 std::string GetCommandString(); 51 std::string commandStr_; 56 explicit ReConfirmAbilityConnection(const std::string commandStr) in ReConfirmAbilityConnection() 66 std::string GetCommandString(); 69 std::string commandStr_; 80 bool ConnectExtensionAbility(const AAFwk::Want &want, const std::string commandStr, ShortKeyDialogType dialogType); 82 std::string BuildStartCommand();
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/ |
H A D | classic_utils.cpp | 25 std::string ClassicUtils::IntToHexString(uint8_t value) in IntToHexString() 34 std::string ClassicUtils::ConvertIntToHexString(const std::vector<uint8_t> &value) in ConvertIntToHexString() 36 std::string strs; in ConvertIntToHexString() 44 void ClassicUtils::ConvertHexStringToInt(const std::string &str, std::vector<uint8_t> &value) in ConvertHexStringToInt() 52 std::string ClassicUtils::ConvertUuidToString(const std::vector<Uuid> &uuids) in ConvertUuidToString() 54 std::string uuidStr = ""; in ConvertUuidToString() 71 std::vector<Uuid> ClassicUtils::ConvertStringToUuid(const std::string &value) in ConvertStringToUuid() 81 std::string uuidStr = value.substr(startPos, (index - startPos)); in ConvertStringToUuid()
|
/foundation/bundlemanager/bundle_framework/test/resource/bmssystemtestability/abilitySrc/thirdPageDemo4/src/ |
H A D | pageAbilityDemo.cpp | 21 const std::string BUNDLE_DATA_ROOT_PATH = "/data/app/el2/100/base/"; 26 const std::string appName = "com.third.hiworld.example1"; in OnStart() 27 const std::string testCacheDir1 = BUNDLE_DATA_ROOT_PATH + appName + "/cache/testDir1"; in OnStart() 28 const std::string testCacheDir2 = BUNDLE_DATA_ROOT_PATH + appName + "/cache/testDir2"; in OnStart() 29 const std::string testCacheFileNamE1 = testCacheDir1 + "/name1.txt"; in OnStart() 30 const std::string testCacheFileNamE2 = testCacheDir2 + "/name2.txt"; in OnStart() 73 void PageAbilityDemo::CreateFile(const std::string &path) const in CreateFile() 83 void PageAbilityDemo::CreateDir(const std::string &path) const in CreateDir()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/driverinstaller_fuzzer/ |
H A D | driverinstaller_fuzzer.cpp | 36 std::string bundleName(reinterpret_cast<const char*>(data), size); in DoSomethingInterestingWithMyAPI() 37 std::string moduleName(reinterpret_cast<const char*>(data), size); in DoSomethingInterestingWithMyAPI() 38 std::string fileName(reinterpret_cast<const char*>(data), size); in DoSomethingInterestingWithMyAPI() 39 std::string destinedDir(reinterpret_cast<const char*>(data), size); in DoSomethingInterestingWithMyAPI() 47 std::unordered_multimap<std::string, std::string> dirMap; in DoSomethingInterestingWithMyAPI() 50 std::unordered_map<std::string, InnerBundleInfo> newInfos; in DoSomethingInterestingWithMyAPI() 54 std::string srcPath(reinterpret_cast<const char*>(data), size); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/distributed_bundle_framework/services/dbms/test/unittest/distributed_bms_host_test/ |
H A D | mock_distributed_bms_interface.cpp | 29 const std::string &localeInfo, RemoteAbilityInfo &remoteAbilityInfo) in GetRemoteAbilityInfo() 41 const std::string &localeInfo, std::vector<RemoteAbilityInfo> &remoteAbilityInfos) in GetRemoteAbilityInfos() 53 const std::string &localeInfo, RemoteAbilityInfo &remoteAbilityInfo) in GetAbilityInfo() 65 const std::string &localeInfo, std::vector<RemoteAbilityInfo> &remoteAbilityInfos) in GetAbilityInfos() 71 const std::string &networkId, const std::string &bundleName, DistributedBundleInfo &distributedBundleInfo) in GetDistributedBundleInfo() 76 int32_t MockDistributedBmsHost::GetDistributedBundleName(const std::string &networkId, uint32_t accessTokenId, in GetDistributedBundleName() 77 std::string &bundleName) in GetDistributedBundleName()
|