/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/ |
H A D | dms_free_install_callback_test.cpp | 26 const std::u16string MOCK_INVALID_DESCRIPTOR = u"invalid descriptor"; 31 DTEST_LOG << "DmsFreeInstallCallbackTest::SetUpTestCase" << std::endl; in SetUpTestCase() 36 DTEST_LOG << "DmsFreeInstallCallbackTest::TearDownTestCase" << std::endl; in TearDownTestCase() 41 DTEST_LOG << "DmsFreeInstallCallbackTest::TearDown" << std::endl; in TearDown() 46 DTEST_LOG << "DmsFreeInstallCallbackTest::SetUp" << std::endl; in SetUp() 60 DTEST_LOG << "DmsFreeInstallCallbackTest DmsFreeInstallCallbackTest_001 begin" << std::endl; in HWTEST_F() 70 DTEST_LOG << "DmsFreeInstallCallbackTest DmsFreeInstallCallbackTest_001 end" << std::endl; in HWTEST_F() 80 DTEST_LOG << "DmsFreeInstallCallbackTest DmsFreeInstallCallbackTest_002 begin" << std::endl; in HWTEST_F() 90 DTEST_LOG << "DmsFreeInstallCallbackTest DmsFreeInstallCallbackTest_002 end" << std::endl; in HWTEST_F() 100 DTEST_LOG << "DmsFreeInstallCallbackTest DmsFreeInstallCallbackTest_003 begin" << std in HWTEST_F() [all...] |
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/type/ |
H A D | sa_short_type_emitter.cpp | 25 std::string SaShortTypeEmitter::EmitCppType(TypeMode mode) const in EmitCppType() 42 std::string SaShortTypeEmitter::EmitRustType(bool pt, TypeMode mode) const in EmitRustType() 47 std::string SaShortTypeEmitter::EmitTsType(TypeMode mode) const in EmitTsType() 52 void SaShortTypeEmitter::EmitCppWriteVar(const std::string &parcelName, const std::string &name, StringBuilder &sb, in EmitCppWriteVar() 53 const std::string &prefix) const in EmitCppWriteVar() 63 void SaShortTypeEmitter::EmitCppReadVar(const std::string &parcelName, const std::string &name, StringBuilder &sb, in EmitCppReadVar() 64 const std::string &prefix, bool emitType) const in EmitCppReadVar() 75 void SaShortTypeEmitter::EmitTsWriteVar(const std [all...] |
/foundation/ability/ability_runtime/test/fuzztest/abilitymgrrdbparserutil_fuzzer/ |
H A D | abilitymgrrdbparserutil_fuzzer.cpp | 59 std::shared_ptr<AbilityRecord> abilityRecord = AbilityRecord::CreateAbilityRecord(abilityRequest); in GetFuzzAbilityToken() 69 std::vector<std::tuple<std::string, std::string, std::string>> list; in DoSomethingInterestingWithMyAPI() 71 std::string jsonStr(data, size); in DoSomethingInterestingWithMyAPI() 73 std::vector<std::string> rootDirList; in DoSomethingInterestingWithMyAPI() 87 std in LLVMFuzzerTestOneInput() [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/mission/ |
H A D | mission.cpp | 22 Mission::Mission(int32_t id, const std::shared_ptr<AbilityRecord> abilityRecord, const std::string &missionName, in Mission() 28 Mission::Mission(const std::shared_ptr<Mission> &mission) in Mission() 46 std::shared_ptr<AbilityRecord> Mission::GetAbilityRecord() const in GetAbilityRecord() 83 void Mission::SetSpecifiedFlag(const std::string &flag) in SetSpecifiedFlag() 88 std::string Mission::GetSpecifiedFlag() const in GetSpecifiedFlag() 93 std::shared_ptr<MissionList> Mission::GetMissionList() in GetMissionList() 98 std::string Mission::GetMissionName() const in GetMissionName() 103 void Mission::SetMissionList(const std::shared_ptr<MissionList> &missionList) in SetMissionList() 138 void Mission::Dump(std [all...] |
/foundation/ability/ability_runtime/test/fuzztest/wantagenthelpertrigger_fuzzer/ |
H A D | wantagenthelpertrigger_fuzzer.cpp | 34 const std::string GET_BUNDLE_INFO_PERMISSION = "ohos.permission.GET_BUNDLE_INFO"; 41 std::shared_ptr<WantParams> extraInfo; in DoSomethingInterestingWithMyAPI() 42 std::shared_ptr<AAFwk::Want> want = std::make_shared<AAFwk::Want>(); in DoSomethingInterestingWithMyAPI() 43 std::vector<std::shared_ptr<AAFwk::Want>> wants; in DoSomethingInterestingWithMyAPI() 53 extraInfo = std::make_shared<WantParams>(*params); in DoSomethingInterestingWithMyAPI() 58 std::shared_ptr<WantAgentInfo> paramInfo; in DoSomethingInterestingWithMyAPI() 61 std::shared_ptr<WantAgent> wantAgent = WantAgentHelper::GetWantAgent(agentInfo); in DoSomethingInterestingWithMyAPI() 82 std in LLVMFuzzerTestOneInput() [all...] |
/foundation/ability/ability_runtime/test/unittest/photo_editor_extension_a_test/ |
H A D | photo_editor_extension_a_test.cpp | 30 const std::string PANEL_TRANSFER_FILE_PATHS = "transferFile"; 31 const std::string PANEL_URI_ONE_PATHS = "file://com.example.testdemo/data/storage/el2/base/haps/test.jpg"; 32 const std::string PANEL_URI_TWO_PATHS = "file://com.hmos.notepad/data/storage/el2/distributedfiles/dir/1.txt"; 62 auto PhotoInfos = std::make_shared<PhotoEditorExtensionContext>(); in HWTEST_F() 63 std::string uri = PANEL_URI_ONE_PATHS; in HWTEST_F() 65 std::shared_ptr<AAFwk::Want> want = std::make_shared<AAFwk::Want>(); in HWTEST_F() 82 auto PhotoInfos = std::make_shared<PhotoEditorExtensionContext>(); in HWTEST_F() 83 const std::shared_ptr<OHOS::Media::PixelMap> image = nullptr; in HWTEST_F() 86 std in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/distributed_ability_runtime/ |
H A D | distributed_client.h | 37 int32_t ContinueMission(const std::string& srcDeviceId, const std::string& dstDeviceId, 42 int32_t NotifyCompleteContinuation(const std::u16string &devId, int32_t sessionId, bool isSuccess, 43 const std::string &callerBundleName); 46 int32_t StartSyncRemoteMissions(const std::string& devId, bool fixConflict, int64_t tag); 47 int32_t StopSyncRemoteMissions(const std::string& devId); 48 int32_t RegisterMissionListener(const std::u16string& devId, const sptr<IRemoteObject>& obj); 49 int32_t RegisterOnListener(const std::string& type, const sptr<IRemoteObject>& obj, int32_t callingUid); 50 int32_t RegisterOffListener(const std::string& type, const sptr<IRemoteObject>& obj, int32_t callingUid); 51 int32_t UnRegisterMissionListener(const std [all...] |
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/aakit/src/ |
H A D | ability_scheduler.cpp | 76 std::vector<std::string> AbilityScheduler::GetFileTypes(const Uri& uri, const std::string& mimeTypeFilter) in GetFileTypes() 78 std::vector<std::string> values; in GetFileTypes() 82 int AbilityScheduler::OpenFile(const Uri& uri, const std::string& mode) in OpenFile() 103 std::shared_ptr<NativeRdb::AbsSharedResultSet> AbilityScheduler::Query( in Query() 104 const Uri& uri, std::vector<std::string>& columns, const NativeRdb::DataAbilityPredicates& predicates) in Query() 109 std [all...] |
/foundation/CastEngine/castengine_cast_framework/service/include/ |
H A D | cast_session_manager_service.h | 31 using SharedRLock = std::shared_lock<std::shared_mutex>; 32 using SharedWLock = std::lock_guard<std::shared_mutex>; 57 int32_t GetCastSession(std::string sessionId, sptr<ICastSessionImpl> &castSession) override; 61 void ReportDeviceFound(const std::vector<CastRemoteDevice> &deviceList); 63 void ReportDeviceOffline(const std::string &deviceId); 64 sptr<ICastSessionImpl> GetCastSessionInner(std::string sessionId); 79 std::shared_mutex mutex_; 80 std [all...] |
/foundation/CastEngine/castengine_wifi_display/services/configuration/include/ |
H A D | config.h | 64 int32_t GetConfig(const std::string &module, SharingDataGroupByModule::Ptr &values); 65 int32_t GetConfig(const std::string &module, const std::string &tag, SharingDataGroupByTag::Ptr &values); 66 int32_t GetConfig(const std::string &module, const std::string &tag, const std::string &key, 70 int32_t SetConfig(const std::string &module, const SharingDataGroupByModule::Ptr &values); 71 int32_t SetConfig(const std::string &module, const std::string &tag, const SharingDataGroupByTag::Ptr &values); 72 int32_t SetConfig(const std [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/indexer/ |
H A D | indexer_item_component.h | 38 const std::u16string& strSection, const std::u16string& strLabel, bool circleMode, bool rotate = false) in IndexerItemComponent() 44 IndexerItemComponent(const std::u16string& strSection, const std::u16string& strLabel, const Dimension& itemSize, in IndexerItemComponent() 56 bool IsCorrectItem(const std::string& indexKey) const; 57 uint32_t AddIndexKey(const std::string& indexKey); 58 bool RemoveIndexKey(const std::string& indexKey); 61 const std::u16string& GetSectionStr() const in GetSectionStr() 66 const std::u16string& GetLabelStr() const in GetLabelStr() 169 uint32_t AddIndexKeyForSharp(const std [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/page/ |
H A D | page_element.h | 34 using SharedTransitionMap = std::unordered_map<ShareId, WeakPtr<SharedTransitionElement>>; 35 using HiddenCallbackMap = std::unordered_map<int32_t, std::function<void(bool)>>; 36 using CardTransitionMap = std::unordered_map<int32_t, WeakPtr<TransformElement>>; 45 using GeometryTransitionMap = std::unordered_map<std::string, GeometryTransitionInfo>; 46 PageElement(int32_t pageId, const std::string& pageUrl, const ComposeId& id); 47 PageElement(int32_t pageId, const std::string& pageUrl, const ComposeId& cardComposeId, const ComposeId& id); 55 std::string GetPageUrl() const in GetPageUrl() 66 int32_t RegisterHiddenCallback(std [all...] |
/foundation/ability/ability_runtime/interfaces/inner_api/auto_fill_manager/include/ |
H A D | auto_fill_extension_callback.h | 38 class AutoFillExtensionCallback : public std::enable_shared_from_this<AutoFillExtensionCallback> { 45 void OnError(int32_t errCode, const std::string &name, const std::string &message); 47 void onRemoteReady(const std::shared_ptr<Ace::ModalUIExtensionProxy> &modalUIExtensionProxy); 50 void SetFillRequestCallback(const std::shared_ptr<IFillRequestCallback> &callback); 51 void SetSaveRequestCallback(const std::shared_ptr<ISaveRequestCallback> &callback); 71 void SetModalUIExtensionProxy(const std::shared_ptr<Ace::ModalUIExtensionProxy>& proxy); 72 std::shared_ptr<Ace::ModalUIExtensionProxy> GetModalUIExtensionProxy(); 76 std::mutex requestCallbackMutex_; 77 std [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | form_frontend_declarative.cpp | 23 std::string FormFrontendDeclarative::GetFormSrcPath(const std::string& uri, const std::string& suffix) const in GetFormSrcPath() 42 UIContentErrorCode FormFrontendDeclarative::RunPage(const std::string& url, const std::string& params) in RunPage() 48 const std::string& url, const std::string& params, const std::string& entryPoint) in RunDynamicPage() 52 std::string urlPath = GetFormSrcPath(url, FILE_TYPE_BIN); in RunDynamicPage() 71 void FormFrontendDeclarative::UpdateData(const std 128 SetErrorEventHandler( std::function<void(const std::string&, const std::string&)>&& errorCallback) SetErrorEventHandler() argument [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_clock_bridge.cpp | 39 std::string keyStr = key->ToString(runtime); in ParseClockConfig() 46 std::string valStr = item->ToString(runtime); in ParseClockConfig() 48 static const LinearMapNode<void (*)(std::string&, JsiClockBridge&)> clockConfigOperators[] = { in ParseClockConfig() 50 [](std::string& valStr, JsiClockBridge& clockBridge) { in ParseClockConfig() 54 [](std::string& valStr, JsiClockBridge& clockBridge) { in ParseClockConfig() 58 [](std::string& valStr, JsiClockBridge& clockBridge) { in ParseClockConfig() 62 [](std::string& valStr, JsiClockBridge& clockBridge) { in ParseClockConfig() 66 [](std::string& valStr, JsiClockBridge& clockBridge) { in ParseClockConfig() 70 [](std::string& valStr, JsiClockBridge& clockBridge) { in ParseClockConfig() 74 [](std in ParseClockConfig() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/camera/ |
H A D | camera_component.h | 42 std::string quality; 43 std::string success; 44 std::string fail; 45 std::string complete; 60 using TakePhotoImpl = std::function<void(const TakePhotoParams&)>; 61 using StartRecorderImpl = std::function<void()>; 62 using CloseRecordImpl = std::function<void(const std::string&)>; 73 takePhotoImpl_ = std::move(takePhotoImpl); in SetTakePhotoImpl() 85 startRecorderImpl_ = std in SetStartRecordImpl() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/form/mock/ |
H A D | mock_form_manager_delegate.cpp | 35 std::string FormManagerDelegate::ConvertRequestInfo(const RequestFormInfo& info) const in ConvertRequestInfo() 37 std::stringstream paramStream; in ConvertRequestInfo() 53 void FormManagerDelegate::OnActionEvent(const std::string& action) {} in OnActionEvent() 55 void FormManagerDelegate::SetFormUtils(const std::shared_ptr<FormUtils>& formUtils) in SetFormUtils() 72 void FormManagerDelegate::DispatchPointerEvent(const std::shared_ptr<MMI::PointerEvent>& pointerEvent, in DispatchPointerEvent() 95 void FormManagerDelegate::OnFormLinkInfoUpdate(const std::vector<std::string>& formLinkInfos) {} in OnFormLinkInfoUpdate() 105 const std::vector<std::string>& params, std in OnAccessibilityDumpChildInfo() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | grid_col_composed_element.cpp | 42 const std::unordered_map<std::string, std::function<std::string(const GridColComposedElement&)>> CREATE_JSON_MAP { 55 std::string("span: ").append(GetGridColSpan())); in Dump() 57 std::string("offset: ").append(GetGridColOffset())); in Dump() 59 std::string("gridColOffset: ").append(GetGridColOffset())); in Dump() 61 std::string("order: ").append(GetGridColOrder())); in Dump() 64 std::unique_ptr<JsonValue> GridColComposedElement::ToJsonObject() const in ToJsonObject() 73 std [all...] |
/foundation/arkui/ace_engine/interfaces/inner_api/ui_session/ |
H A D | ui_content_service_interface.h | 25 using EventCallback = std::function<void(std::string)>; 48 virtual int32_t GetInspectorTree(const std::function<void(std::string, int32_t, bool)>& eventCallback) = 0; 85 const std::function<void(int64_t accessibilityId, const std::string& data)>& eventCallback) = 0; 122 using EventCallback = std::function<void(std::string)>; 139 virtual void ReportClickEvent(const std::string& data) = 0; 144 virtual void ReportRouterChangeEvent(const std [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | install_param.h | 59 std::map<std::string, std::string> pgoParams; 68 std::map<std::string, std::string> hashParams; 70 std::vector<std::string> sharedBundleDirPaths; 91 std::string specifiedDistributionType = ""; 93 std [all...] |
/foundation/barrierfree/accessibility/interfaces/innerkits/aafwk/include/ |
H A D | accessible_ability_client.h | 72 virtual RetError InjectGesture(const std::shared_ptr<AccessibilityGestureInjectPath> &gesturePath) = 0; 95 virtual RetError GetRootBatch(std::vector<AccessibilityElementInfo>& elementInfos) = 0; 104 std::vector<AccessibilityElementInfo>& elementInfos, bool isFilter = false) = 0; 119 virtual RetError GetWindows(std::vector<AccessibilityWindowInfo> &windows) = 0; 127 virtual RetError GetWindows(const uint64_t displayId, std::vector<AccessibilityWindowInfo> &windows) = 0; 156 std::vector<AccessibilityElementInfo> &children) = 0; 165 virtual RetError GetByContent(const AccessibilityElementInfo &elementInfo, const std::string &text, 166 std::vector<AccessibilityElementInfo> &elementInfos) = 0; 200 virtual RetError SearchElementInfoByInspectorKey(const std::string &inspectorKey, 224 const std [all...] |
H A D | accessibility_ui_test_ability.h | 38 static std::shared_ptr<AccessibilityUITestAbility> GetInstance(); 45 virtual RetError RegisterAbilityListener(const std::shared_ptr<AccessibleAbilityListener> &listener) = 0; 84 virtual RetError InjectGesture(const std::shared_ptr<AccessibilityGestureInjectPath> &gesturePath) = 0; 107 virtual RetError GetRootBatch(std::vector<AccessibilityElementInfo>& elementInfos) = 0; 116 std::vector<AccessibilityElementInfo>& elementInfos, bool isFilter = false) = 0; 131 virtual RetError GetWindows(std::vector<AccessibilityWindowInfo> &windows) = 0; 139 virtual RetError GetWindows(const uint64_t displayId, std::vector<AccessibilityWindowInfo> &windows) = 0; 168 std::vector<AccessibilityElementInfo> &children) = 0; 177 virtual RetError GetByContent(const AccessibilityElementInfo &elementInfo, const std::string &text, 178 std [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/ |
H A D | bundle_resource_configuration.cpp | 27 std::shared_ptr<Global::Resource::ResourceManager> resourceManager) in InitResourceGlobalConfig() 33 const std::string &hapPath, in InitResourceGlobalConfig() 34 std::shared_ptr<Global::Resource::ResourceManager> resourceManager) in InitResourceGlobalConfig() 40 std::unique_ptr<Global::Resource::ResConfig> resConfig(Global::Resource::CreateResConfig()); in InitResourceGlobalConfig() 47 std::map<std::string, std::string> configs; in InitResourceGlobalConfig() 66 bool BundleResourceConfiguration::InitResourceGlobalConfig(const std::string &hapPath, in InitResourceGlobalConfig() 67 const std::vector<std in InitResourceGlobalConfig() [all...] |
H A D | resource_info.cpp | 33 std::string ResourceInfo::GetKey() const in GetKey() 35 std::string key = bundleName_; in GetKey() 45 key = std::to_string(appIndex_) + UNDER_LINE + key; in GetKey() 50 void ResourceInfo::ParseKey(const std::string &key) in ParseKey() 53 if (firstPos == std::string::npos) { in ParseKey() 55 moduleName_ = std::string(); in ParseKey() 56 abilityName_ = std::string(); in ParseKey() 66 moduleName_ = std::string(); in ParseKey() 72 moduleName_ = std::string(); in ConvertFromBundleResourceInfo() 73 abilityName_ = std in ConvertFromBundleResourceInfo() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/include/ |
H A D | interface_adapter_classic.h | 72 const RawAddress &device, int rssi, const std::string deviceName, int deviceClass) = 0; 106 virtual void OnDeviceNameChanged(const std::string &deviceName) = 0; 114 virtual void OnDeviceAddrChanged(const std::string &address) = 0; 149 virtual void OnRemoteUuidChanged(const RawAddress &device, const std::vector<Uuid> &uuids) = 0; 158 virtual void OnRemoteNameChanged(const RawAddress &device, const std::string &deviceName) = 0; 167 virtual void OnRemoteAliasChanged(const RawAddress &device, const std::string &alias) = 0; 209 virtual std::string GetAliasName(const RawAddress &device) const = 0; 220 virtual bool SetAliasName(const RawAddress &device, const std::string &name) const = 0; 331 virtual bool SetDevicePin(const RawAddress &device, const std::string &pinCode) const = 0; 362 virtual bool SetHidPnpInfo(const std [all...] |