/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | form_module_preloader.h | 33 static bool CreateFormModuleList(const std::string& bundleName, std::unordered_set<std::string>& formModuleList, 34 const std::map<std::string, std::string>* hapPathMap); 41 static bool GetNewFormModuleList(const std::string& bundleName, std::unordered_set<std::string>& formModuleList, 42 const std [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/ |
H A D | test_case_factory.cpp | 22 std::unordered_map<std::string, std::function<std::shared_ptr<TestBase>()>> FunctionalMap = { 23 {"drawrect", []() -> std::shared_ptr<TestBase> {return std::make_shared<DrawRectTest>();}}, 24 {"drawpath", []() -> std::shared_ptr<TestBase> {return std::make_shared<DrawPathTest>();}}, 25 {"drawtextblob", []() -> std::shared_ptr<TestBase> {return std [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | mock_installd_host_impl.cpp | 32 ErrCode InstalldHostImpl::CreateBundleDir(const std::string &bundleDir)
in CreateBundleDir() 37 ErrCode InstalldHostImpl::ExtractModuleFiles(const std::string &srcModulePath, const std::string &targetPath,
in ExtractModuleFiles() 38 const std::string &targetSoPath, const std::string &cpuAbi)
in ExtractModuleFiles() 43 ErrCode InstalldHostImpl::ExtractHnpFiles(const std::string &hnpPackageInfo, const ExtractParam &extractParam)
in ExtractHnpFiles() 48 ErrCode InstalldHostImpl::ProcessBundleInstallNative(const std::string &userId, const std::string &hnpRootPath,
in ProcessBundleInstallNative() 49 const std::string &hapPath, const std in ProcessBundleInstallNative() 245 ExtractDriverSoFiles(const std::string &srcPath, const std::unordered_multimap<std::string, std::string> &dirMap) ExtractDriverSoFiles() argument [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/mock/include/ |
H A D | rdb_store_impl.h | 39 std::pair<int, int64_t> Insert(const std::string &table, const Row &row, Resolution resolution) override;
40 std::pair<int, int64_t> BatchInsert(const std::string& table, const ValuesBuckets& values) override;
41 std::pair<int, int> Update(const std::string &table, const Row &row, const std::string &where, const Values &args,
43 int Delete(int &deletedRows, const std::string &table, const std::string &whereClause, const Values &args) override;
44 std [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/ |
H A D | wifi_config_center.h | 39 using ChannelsTable = std::map<BandType, std::vector<int32_t>>; 48 std::unique_ptr<WifiScanConfig>& GetWifiScanConfig(); 74 void SetStaIfaceName(const std::string &ifaceName, int instId = 0); 76 std::string GetStaIfaceName(int instId = 0); 112 std::map<int, WifiLinkedInfo> GetAllWifiLinkedInfo(); 118 int SetMacAddress(const std::string &macAddress, int instId = 0); 120 int GetMacAddress(std::string &macAddress, int instId = 0); 128 std::string GetConnectTimeoutBssid(int instId = 0); 130 int SetConnectTimeoutBssid(std [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | extension_record_manager.h | 32 class ExtensionRecordManager : public std::enable_shared_from_this<ExtensionRecordManager> { 34 using ExtensionAbilityRecordMap = std::map<int32_t, std::shared_ptr<ExtensionRecord>>; 35 using PreLoadUIExtensionMapKey = std::tuple<std::string, std::string, std::string, std::string>; 37 std::map<PreLoadUIExtensionMapKey, std [all...] |
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/ |
H A D | backup_file_utils.h | 29 bool GetValidPath(std::string &filePath); 32 bool ConvertCurrentPath(std::string &curPath, std::string &resultPath); 33 std::map<std::string, std::string> pathMap = {}; 34 std::mutex mapMutex; 38 static int32_t FillMetadata(std::unique_ptr<Metadata> &data); 39 static std::string GarbleFilePath(const std [all...] |
H A D | upgrade_restore.h | 31 UpgradeRestore(const std::string &galleryAppName, const std::string &mediaAppName, int32_t sceneCode); 32 UpgradeRestore(const std::string &galleryAppName, const std::string &mediaAppName, int32_t sceneCode, 33 const std::string &dualDirName); 35 int32_t Init(const std::string &backupRestorePath, const std::string &upgradePath, bool isUpgrade) override; 36 std::vector<FileInfo> QueryFileInfos(int32_t offset); 37 NativeRdb::ValuesBucket GetInsertValue(const FileInfo &fileInfo, const std::string &newPath, 39 std [all...] |
/foundation/multimodalinput/input/tools/event_inject/src/ |
H A D | injection_tools_help_func.cpp | 69 std::cout << "invalid command" << std::endl; in CheckInjectionCommand() 80 std::cout << "Please enter options or parameters" << std::endl; in SelectOptions() 89 std::string inputOptions = argv[optind]; in SelectOptions() 99 std::cout << "More than one short option is not supported" << std::endl; in SelectOptions() 106 std::cout << "Nonstandard input parameters" << std::endl; in SelectOptions() 116 std in SendEventOption() [all...] |
/foundation/resourceschedule/device_usage_statistics/services/common/include/ |
H A D | bundle_active_constant.h | 95 const std::string PACKAGE_LOG_TABLE = "PackageLog"; 96 const std::string PACKAGE_LOG_TABLE_INDEX_PREFIX = "PackageLogIndex"; 97 const std::string EVENT_LOG_TABLE = "DeviceEventLog"; 98 const std::string EVENT_LOG_TABLE_INDEX_PREFIX = "DeviceEventLogIndex"; 99 const std::string DURATION_LOG_TABLE = "DurationLog"; 100 const std::string BUNDLE_HISTORY_LOG_TABLE = "BundleHistoryLog"; 101 const std::string BUNDLE_HISTORY_LOG_TABLE_INDEX_PREFIX = "BundleHistoryLogIndex"; 102 const std::string MODULE_RECORD_LOG_TABLE = "ModuleRecordLog"; 103 const std::string MODULE_RECORD_LOG_TABLE_INDEX_PREFIX = "ModuleRecordLogIndex"; 104 const std [all...] |
/foundation/distributeddatamgr/data_share/interfaces/inner_api/common/include/ |
H A D | datashare_abs_predicates.h | 41 virtual DataShareAbsPredicates *EqualTo(const std::string &field, const SingleValue &value) = 0; 49 virtual DataShareAbsPredicates *NotEqualTo(const std::string &field, const SingleValue &value) = 0; 57 virtual DataShareAbsPredicates *GreaterThan(const std::string &field, const SingleValue &value) = 0; 65 virtual DataShareAbsPredicates *LessThan(const std::string &field, const SingleValue &value) = 0; 73 virtual DataShareAbsPredicates *GreaterThanOrEqualTo(const std::string &field, const SingleValue &value) = 0; 81 virtual DataShareAbsPredicates *LessThanOrEqualTo(const std::string &field, const SingleValue &value) = 0; 89 virtual DataShareAbsPredicates *In(const std::string &field, const MutliValue &value) = 0; 97 virtual DataShareAbsPredicates *NotIn(const std::string &field, const MutliValue &value) = 0; 125 virtual DataShareAbsPredicates *Contains(const std::string &field, const std [all...] |
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/2.0/include/ |
H A D | dscreen.h | 45 virtual void OnRegResult(const std::shared_ptr<DScreen> &dScreen, 46 const std::string &reqId, const int32_t status, const std::string &data) = 0; 47 virtual void OnUnregResult(const std::shared_ptr<DScreen> &dScreen, 48 const std::string &reqId, const int32_t status, const std::string &data) = 0; 53 Task(TaskType taskType, const std::string &taskId, const std::string &taskParam) : taskType_(taskType), in Task() 55 Task(TaskType taskType, const std::string &taskParam) : taskType_(taskType), in Task() 63 std in GetTaskType() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | inner_bundle_info.h | 51 std::string moduleName; 52 std::string moduleType; 60 std::string name; 61 std::string grantMode = Profile::DEFINEPERMISSION_GRANT_MODE_SYSTEM_GRANT; 62 std::string availableLevel = Profile::DEFINEPERMISSION_AVAILABLE_LEVEL_DEFAULT_VALUE; 63 std::string label; 64 std::string description; 65 std::string availableType; 90 std::string name; 91 std 291 AddModuleAbilityInfo(const std::map<std::string, AbilityInfo> &abilityInfos) AddModuleAbilityInfo() argument 298 AddModuleExtensionInfos(const std::map<std::string, ExtensionAbilityInfo> &extensionInfos) AddModuleExtensionInfos() argument 309 AddModuleSkillInfo(const std::map<std::string, std::vector<Skill>> &skillInfos) AddModuleSkillInfo() argument 315 AddModuleExtensionSkillInfos(const std::map<std::string, std::vector<Skill>> &extensionSkillInfos) AddModuleExtensionSkillInfos() argument 326 AddModuleFormInfo(const std::map<std::string, std::vector<FormInfo>> &formInfos) AddModuleFormInfo() argument 337 AddModuleCommonEvent(const std::map<std::string, CommonEventInfo> &commonEvents) AddModuleCommonEvent() argument 348 AddModuleShortcutInfo(const std::map<std::string, ShortcutInfo> &shortcutInfos) AddModuleShortcutInfo() argument 359 AddInnerModuleInfo(const std::map<std::string, InnerModuleInfo> &innerModuleInfos) AddInnerModuleInfo() argument 1971 UpdateDataGroupInfos(const std::unordered_map<std::string, std::vector<DataGroupInfo>> &dataGroupInfos) UpdateDataGroupInfos() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_event_hub.h | 33 std::string insertValue; 39 std::string deleteValue; 44 std::string value; 73 std::string GetText() const in GetText() 77 void SetText(std::string text) in SetText() 83 std::string text_; 93 void SetOnInputFilterError(const std::function<void(const std::string&)>& onInputFilterError) in SetOnInputFilterError() 98 void FireOnInputFilterError(const std::string& value) const in FireOnInputFilterError() 106 void SetOnEditChanged(std 145 SetOnChange(std::function<void(const std::string&, PreviewText&)>&& func) SetOnChange() argument 246 SetOnPasteWithEvent(std::function<void(const std::string&, NG::TextCommonEvent&)>&& func) SetOnPasteWithEvent() argument [all...] |
/foundation/ability/form_fwk/services/include/ |
H A D | form_item_info.h | 43 std::string GetPackageName() const; 48 void SetPackageName(const std::string &packageName); 53 std::string GetProviderBundleName() const; 58 void SetProviderBundleName(const std::string &providerBundleName); 63 std::string GetHostBundleName() const; 68 void SetHostBundleName(const std::string &hostBundleName); 73 std::string GetModuleName() const; 78 void SetModuleName(const std::string &moduleName); 83 std::string GetAbilityName() const; 88 void SetAbilityName(const std [all...] |
/foundation/resourceschedule/work_scheduler/services/native/include/ |
H A D | work_scheduler_service.h | 46 public std::enable_shared_from_this<WorkSchedulerService> { 102 int32_t ObtainAllWorks(std::list<std::shared_ptr<WorkInfo>>& workInfos) override; 110 int32_t GetWorkStatus(int32_t &workId, std::shared_ptr<WorkInfo>& workInfo) override; 117 int32_t GetAllRunningWorks(std::list<std::shared_ptr<WorkInfo>>& workInfos) override; 142 int32_t Dump(int32_t fd, const std::vector<std::u16string>& args) override; 160 int32_t CreateNodeDir(std::string dir); 167 int32_t CreateNodeFile(std [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
H A D | connection_pool.h | 36 class ConnectionPool : public std::enable_shared_from_this<ConnectionPool> {
38 using SharedConn = std::shared_ptr<Connection>;
39 using SharedConns = std::vector<SharedConn>;
40 static constexpr std::chrono::milliseconds INVALID_TIME = std::chrono::milliseconds(0);
41 static std::shared_ptr<ConnectionPool> Create(const RdbStoreConfig &config, int &errCode);
43 static std::pair<RebuiltType, std::shared_ptr<ConnectionPool>> HandleDataCorruption
45 std::pair<int32_t, std [all...] |
H A D | rdb_store_impl.h | 84 std::pair<int, int64_t> Insert(const std::string &table, const Row &row, Resolution resolution) override;
85 std::pair<int, int64_t> BatchInsert(const std::string& table, const ValuesBuckets& values) override;
86 std::pair<int, int> Update(const std::string &table, const Row &row, const std::string &where, const Values &args,
88 int Delete(int &deletedRows, const std::string &table, const std::string &whereClause, const Values &args) override;
89 std [all...] |
/foundation/filemanagement/app_file_service/services/backup_sa/include/module_ipc/ |
H A D | svc_session_manager.h | 47 std::string backupExtName; 49 std::shared_ptr<SABackupConnection> saBackupConnection; 50 std::set<std::string> fileNameInfo; 57 std::string versionName; 68 std::string backupParameters; 70 std::string extInfo; 82 std::map<BundleName, BackupExtInfo> backupExtNameMap; 128 void VerifyBundleName(std::string &bundleName); 169 bool OnBundleFileReady(const std [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/ |
H A D | adapter_device_info.h | 30 const std::string SECTION_BLE = "BLE"; 31 const std::string PROPERTY_SYSYTEM_ID = "SystemId"; 32 const std::string PROPERTY_PNP_ID = "PnpId"; 33 const std::string PROPERTY_IEEE_INFO = "IEEEInfo"; 34 const std::string PROPERTY_MANUFACTURER_NAME = "ManufactureName"; 35 const std::string PROPERTY_MODEL_NUMBER = "ModelNumber"; 36 const std::string PROPERTY_SERIAL_NUMBER = "SerialNumber"; 37 const std::string PROPERTY_HARDWARE_REVISION = "HardwareRevision"; 38 const std::string PROPERTY_FIRMWARE_REVISION = "FirmwareRevision"; 39 const std [all...] |
/foundation/multimedia/audio_framework/services/audio_service/server/include/config/ |
H A D | audio_param_parser.h | 39 std::unordered_map<std::string, std::unordered_map<std::string, std::set<std::string>>> &audioParameterKeys); 43 std::unordered_map<std::string, std::unordered_map<std [all...] |
/foundation/distributedhardware/distributed_camera/common/include/utils/ |
H A D | dcamera_hisysevent_adapter.h | 23 const std::string DCAMERA_INIT_FAIL = "DCAMERA_INIT_FAIL"; 24 const std::string DCAMERA_REGISTER_FAIL = "DCAMERA_REGISTER_FAIL"; 25 const std::string DCAMERA_OPT_FAIL = "DCAMERA_OPT_FAIL"; 27 const std::string INIT_SA_EVENT = "DCAMERA_INIT"; 28 const std::string RELEASE_SA_EVENT = "DCAMERA_EXIT"; 29 const std::string REGIST_CAMERA_EVENT = "DCAMERA_REGISTER"; 30 const std::string UNREGIST_CAMERA_EVENT = "DCAMERA_UNREGISTER"; 31 const std::string OPEN_CAMERA_EVENT = "DCAMERA_OPEN"; 32 const std::string CLOSE_CAMERA_EVENT = "DCAMERA_CLOSE"; 33 const std [all...] |
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/network/softbus/ |
H A D | softbus_handler.h | 40 int32_t CreateSessionServer(const std::string &packageName, const std::string &sessionName, 41 DFS_CHANNEL_ROLE role, const std::string physicalPath); 42 int32_t OpenSession(const std::string &mySessionName, const std::string &peerSessionName, 43 const std::string &peerDevId, int32_t &socketId); 45 const std::string &sessionName, 46 const std::string &srcUri, 47 const std::string &dstUri); 49 void ChangeOwnerIfNeeded(int32_t sessionId, const std [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/include/mission/ |
H A D | mission_list.h | 38 class MissionList : public std::enable_shared_from_this<MissionList> { 49 void AddMissionToTop(const std::shared_ptr<Mission> &mission); 56 void RemoveMission(const std::shared_ptr<Mission> &mission); 64 std::shared_ptr<Mission> GetSingletonMissionByName(const std::string& missionName) const; 73 std::shared_ptr<Mission> GetSpecifiedMission(const std::string& missionName, const std::string& flag) const; 81 std::shared_ptr<Mission> GetRecentStandardMission(const std [all...] |
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_runtime/context/ |
H A D | context.h | 35 class Context : public Bindable, public std::enable_shared_from_this<Context> { 45 static std::shared_ptr<ApplicationContext> GetApplicationContext(); 52 virtual std::string GetBundleName() const = 0; 61 virtual std::shared_ptr<Context> CreateBundleContext(const std::string &bundleName) = 0; 69 virtual std::shared_ptr<AppExecFwk::ApplicationInfo> GetApplicationInfo() const = 0; 76 virtual std::shared_ptr<Global::Resource::ResourceManager> GetResourceManager() const = 0; 84 virtual std::string GetBundleCodePath() const = 0; 91 virtual std::shared_ptr<AppExecFwk::HapModuleInfo> GetHapModuleInfo() const = 0; 99 virtual std [all...] |