/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/include/ |
H A D | date_rule_init.h | 32 DateRuleInit(std::string& locale); 35 std::vector<MatchedDateTimeInfo> Detect(icu::UnicodeString& message); 39 std::vector<MatchedDateTimeInfo> GetMatches(icu::UnicodeString& message); 40 std::vector<MatchedDateTimeInfo> ClearFind(icu::UnicodeString& message); 41 std::vector<MatchedDateTimeInfo> PastFind(icu::UnicodeString& message); 42 void GetMatchedInfo(std::vector<MatchedDateTimeInfo>& matches, MatchedDateTimeInfo& match, 45 std::string locale; 48 std::vector<RulesEngine> universalAndLocaleRules; 49 std::unordered_map<std [all...] |
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
H A D | dfx_signal.h | 30 static std::string PrintSignal(const siginfo_t &info); 43 static std::string FormatSignalName(const int32_t signal); 44 static std::string FormatCodeName(const int32_t signal, const int32_t signalCode); 45 static std::string FormatSIGBUSCodeName(const int32_t signalCode); 46 static std::string FormatSIGILLCodeName(const int32_t signalCode); 47 static std::string FormatSIGFPECodeName(const int32_t signalCode); 48 static std::string FormatSIGSEGVCodeName(const int32_t signalCode); 49 static std::string FormatSIGTRAPCodeName(const int32_t signalCode); 50 static std::string FormatSIGSYSCodeName(const int32_t signalCode); 51 static std [all...] |
/base/customization/enterprise_device_management/services/edm_plugin/include/ |
H A D | allowed_usb_devices_plugin.h | 24 class AllowUsbDevicesPlugin : public PluginSingleton<AllowUsbDevicesPlugin, std::vector<UsbDeviceId>> { 26 void InitPlugin(std::shared_ptr<IPluginTemplate<AllowUsbDevicesPlugin, std::vector<UsbDeviceId>>> ptr) override; 28 ErrCode OnSetPolicy(std::vector<UsbDeviceId> &data, std::vector<UsbDeviceId> ¤tData, int32_t userId); 29 ErrCode OnGetPolicy(std::string &policyData, MessageParcel &data, MessageParcel &reply, int32_t userId) override; 30 ErrCode OnRemovePolicy(std::vector<UsbDeviceId> &data, std::vector<UsbDeviceId> ¤tData, int32_t userId); 31 ErrCode OnAdminRemove(const std::string &adminName, std [all...] |
/base/hiviewdfx/hidumper/frameworks/native/include/common/ |
H A D | dumper_opts.h | 26 std::vector<std::string> logArgs_; 36 std::vector<std::string> abilitieNames_; 37 std::vector<std::string> abilitieArgs_; 39 std::vector<std::string> systemArgs_; 43 std::string path_; // for zip 66 bool CheckOptions(std [all...] |
/base/powermgr/battery_manager/services/native/include/ |
H A D | battery_dump.h | 34 bool GetBatteryInfo(int32_t fd, sptr<BatteryService> &service, const std::vector<std::u16string> &args); 35 bool MockUnplugged(int32_t fd, sptr<BatteryService> &service, const std::vector<std::u16string> &args); 36 bool Reset(int32_t fd, sptr<BatteryService> &service, const std::vector<std::u16string> &args); 37 bool MockCapacity(int32_t fd, sptr<BatteryService> &service, const std::vector<std::u16string> &args); 38 bool MockUevent(int32_t fd, sptr<BatteryService> &service, const std::vector<std [all...] |
/base/request/request/frameworks/js/napi/include/upload/ |
H A D | obtain_file.h | 36 uint32_t GetFile(FILE **file, const std::string &fileUri, uint32_t &fileSize,
37 std::shared_ptr<OHOS::AbilityRuntime::Context> &context);
40 uint32_t GetDataAbilityFile(FILE **file, const std::string &fileUri, uint32_t &fileSize,
41 std::shared_ptr<OHOS::AbilityRuntime::Context> &context);
42 uint32_t GetInternalFile(FILE **file, const std::string &fileUri, uint32_t &fileSize,
43 std::shared_ptr<OHOS::AbilityRuntime::Context> &context);
44 bool SplitPath(const std::string &fileUri, std::string &fileName);
45 bool IsValidPath(const std::string &filePath);
48 std [all...] |
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_do_not_disturb_profile.h | 39 int32_t id, const std::string &name, const std::vector<NotificationBundleOption> &trustList); 58 void SetProfileName(const std::string &name); 66 void SetProfileTrustList(const std::vector<NotificationBundleOption> &trustList); 80 std::string GetProfileName() const; 88 std::vector<NotificationBundleOption> GetProfileTrustList() const; 105 std::string ToJson(); 106 void FromJson(const std::string &value); 111 std::string name_; 112 std [all...] |
H A D | notification_picture_content.h | 38 void SetExpandedTitle(const std::string &exTitle); 45 std::string GetExpandedTitle() const; 56 void SetBriefText(const std::string &briefText); 64 std::string GetBriefText() const; 71 void SetBigPicture(const std::shared_ptr<Media::PixelMap> &bigPicture); 78 const std::shared_ptr<Media::PixelMap> GetBigPicture() const; 85 std::string Dump() override; 129 std::string expandedTitle_ {}; 130 std::string briefText_ {}; 131 std [all...] |
/base/notification/distributed_notification_service/services/distributed/include/ |
H A D | distributed_preferences_database.h | 46 bool PutToDistributedDB(const std::string &key, const std::string &value); 55 bool GetFromDistributedDB(const std::string &key, std::string &value); 64 bool GetEntriesFromDistributedDB(const std::string &prefixKey, std::vector<Entry> &entries); 72 bool DeleteToDistributedDB(const std::string &key); 87 std::mutex mutex_; 88 std::unique_ptr<DistributedKv::DistributedKvDataManager> kvDataManager_; 89 std [all...] |
/base/telephony/call_manager/services/distributed_call/include/distributed_communication/ |
H A D | distributed_device_switch_controller.h | 28 void OnDeviceOnline(const std::string &devId, const std::string &devName, AudioDeviceType devType) override; 29 void OnDeviceOffline(const std::string &devId, const std::string &devName, AudioDeviceType devType) override; 30 void OnDistributedAudioDeviceChange(const std::string &devId, const std::string &devName, 34 bool SwitchDevice(const std::string &devId, int32_t direction); 38 std::string GetDevAddress(const std::string &devId, const std [all...] |
/base/telephony/core_service/services/sim/include/ |
H A D | sim_account_manager.h | 30 SimAccountManager(std::shared_ptr<Telephony::ITelRilManager> telRilManager, 31 std::shared_ptr<SimStateManager> simStateManager, std::shared_ptr<SimFileManager> simFileManager); 44 std::shared_ptr<Telephony::ITelRilManager> telRilManager_ = nullptr; 45 std::shared_ptr<SimStateManager> simStateManager_ = nullptr; 46 std::shared_ptr<SimFileManager> simFileManager_ = nullptr; 47 std::shared_ptr<SimStateTracker> simStateTracker_ = nullptr; 48 std::shared_ptr<OperatorConfigCache> operatorConfigCache_ = nullptr; 49 std::shared_ptr<IccOperatorPrivilegeController> privilegeController_ = nullptr; 50 std [all...] |
/base/telephony/core_service/utils/vcard/include/ |
H A D | vcard_decoder.h | 33 virtual void OnRawDataCreated(std::shared_ptr<VCardRawData> rawData) = 0; 39 static std::shared_ptr<VCardDecoder> Create(const std::string &path, int32_t &errorCode); 40 static std::shared_ptr<VCardDecoder> Create(std::shared_ptr<std::ifstream> file_, int32_t &errorCode); 42 virtual void AddVCardDecodeListener(std::shared_ptr<VCardDecodeListener> listener); 50 static std::string GetVersion(); 51 static std::shared_ptr<VCardDecoder> GetDecoder(const std [all...] |
/base/time/time_service/services/dfx/src/ |
H A D | time_cmd_parse.cpp | 19 const std::vector<std::string> &argsFormat, const std::string &strHelp, const TimeCmdParse::Action &action) in TimeCmdParse() 23 std::string TimeCmdParse::ShowHelp() in ShowHelp() 28 void TimeCmdParse::DoAction(int fd, const std::vector<std::string> &input) in DoAction() 33 std::string TimeCmdParse::GetOption() in GetOption() 35 std::string formatTitle; in GetOption() 49 std::string TimeCmdParse::GetFormat() in GetFormat() 51 std in GetFormat() [all...] |
/base/update/updater/services/include/applypatch/ |
H A D | command.h | 36 virtual bool Init(const std::string &cmd_line);
38 std::string GetArgumentByPos(size_t pos) const;
42 std::string GetCommandLine() const;
43 std::string GetCommandHead() const;
45 CommandType ParseCommandType(const std::string &first_cmd);
48 std::string cmdhead_ {};
49 std::string cmdLine_ {};
50 std::vector<std::string> tokens_ {};
51 std [all...] |
/base/update/updater/services/flashd/daemon/ |
H A D | commander_factory.cpp | 25 const std::unordered_map<std::string, std::function<std::unique_ptr<Commander>(callbackFun callback)>> COMMANDERS = { 26 { Hdc::CMDSTR_FLASH_PARTITION, [](callbackFun callback) { return std::make_unique<FlashCommander>(callback); } }, 27 { Hdc::CMDSTR_ERASE_PARTITION, [](callbackFun callback) { return std::make_unique<EraseCommander>(callback); } }, 28 { Hdc::CMDSTR_UPDATE_SYSTEM, [](callbackFun callback) { return std::make_unique<UpdateCommander>(callback); } }, 29 { Hdc::CMDSTR_FORMAT_PARTITION, [](callbackFun callback) { return std::make_unique<FormatCommander>(callback); } } 38 std::unique_ptr<Commander> CommanderFactory::CreateCommander(const std [all...] |
/base/update/updateservice/services/firmware/common/include/ |
H A D | firmware_constant.h | 31 static const std::string HOTA_CURRENT_COMPONENT_ID = "hota_current_component_id"; 33 static const std::string UPDATE_ACTION = "update_action"; // recovery upgrade 35 static const std::string PACKAGE_ROOT_PATH = Constant::DUPDATE_ENGINE_PACKAGE_ROOT_PATH + "/firmware"; 36 static const std::string PACKAGE_PATH = PACKAGE_ROOT_PATH + "/versions"; 38 static const std::string ENCRYPTED_ROOT_PATH = Constant::FILES_ROOT_PATH + "/firmware"; 39 static const std::string CHANGELOG_PATH = ENCRYPTED_ROOT_PATH + "/changelogs"; 41 static const std::string AUTO_DOWNLOAD_SWITCH = "auto_download_switch"; // 自动下载开关 47 const std::string BOOTSLOTS_DEFAULT_VALUE = "0"; 48 const std::string BOOTSLOTS_AB_UPDATE_VALUE = "2"; 53 static const std [all...] |
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/ |
H A D | ark_web_web_storage_wrapper.h | 30 std::vector<std::shared_ptr<OHOS::NWeb::NWebWebStorageOrigin>> GetOrigins() override; 32 void GetOrigins(std::shared_ptr<OHOS::NWeb::NWebWebStorageOriginVectorValueCallback> callback) override; 34 long GetOriginQuota(const std::string& origin) override; 37 const std::string& origin, std::shared_ptr<OHOS::NWeb::NWebLongValueCallback> callback) override; 39 long GetOriginUsage(const std::string& origin) override; 42 const std::string& origin, std::shared_ptr<OHOS::NWeb::NWebLongValueCallback> callback) override; 44 int DeleteOrigin(const std [all...] |
H A D | ark_web_url_resource_request_wrapper.cpp | 27 std::string ArkWebUrlResourceRequestWrapper::Url() in Url() 31 std::string objUrl = ArkWebStringStructToClass(stUrl); in Url() 36 std::string ArkWebUrlResourceRequestWrapper::Method() in Method() 40 std::string objMethod = ArkWebStringStructToClass(stMethod); in Method() 50 std::map<std::string, std::string> ArkWebUrlResourceRequestWrapper::RequestHeaders() in RequestHeaders() 54 std::map<std::string, std in RequestHeaders() [all...] |
/base/web/webview/ohos_adapter/audio_adapter/src/ |
H A D | audio_system_manager_adapter_mock.cpp | 35 int32_t AudioSystemManagerAdapterImpl::RequestAudioFocus(const std::shared_ptr<AudioInterruptAdapter> audioInterrupt) in RequestAudioFocus() 40 int32_t AudioSystemManagerAdapterImpl::AbandonAudioFocus(const std::shared_ptr<AudioInterruptAdapter> audioInterrupt) in AbandonAudioFocus() 46 std::shared_ptr<AudioManagerCallbackAdapter> callback) in SetAudioManagerInterruptCallback() 56 std::vector<std::shared_ptr<AudioDeviceDescAdapter>> AudioSystemManagerAdapterImpl::GetDevices(AdapterDeviceFlag flag) in GetDevices() 58 return std::vector<std::shared_ptr<AudioDeviceDescAdapter>>(); in GetDevices() 66 std::shared_ptr<AudioDeviceDescAdapter> AudioSystemManagerAdapterImpl::GetDefaultOutputDevice() in GetDefaultOutputDevice() 72 std::shared_ptr<AudioManagerDeviceChangeCallbackAdapter> callback) in SetDeviceChangeCallback() 82 std [all...] |
/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/sethtmltext_fuzzer/ |
H A D | sethtmltext_fuzzer.cpp | 30 std::shared_ptr<PasteDataRecord> record = std::make_shared<PasteDataRecord>(); in SetHtmlTextFuzzTest() 31 std::shared_ptr<PasteDataRecordAdapterImpl> dataRecordAdapterImpl = in SetHtmlTextFuzzTest() 32 std::make_shared<PasteDataRecordAdapterImpl>(record); in SetHtmlTextFuzzTest() 34 std::string text((const char*)data, size); in SetHtmlTextFuzzTest() 35 std::shared_ptr<PasteDataRecordAdapter> dataRecordAdapter = PasteDataRecordAdapter::NewRecord(text); in SetHtmlTextFuzzTest() 36 std::shared_ptr<std::string> htmlText = std::make_shared<std in SetHtmlTextFuzzTest() [all...] |
/foundation/ability/dmsfwk/services/dtbabilitymgr/include/continuation_manager/ |
H A D | notifier_info.h | 37 using NotifierMap = std::map<std::string, sptr<IRemoteObject>>;
38 sptr<IRemoteObject> GetNotifier(const std::string& cbType) const;
39 void SetNotifier(const std::string& cbType, const sptr<IRemoteObject>& notifier);
40 void DeleteNotifier(const std::string& cbType);
44 const std::string& cbType = std::string());
45 std::shared_ptr<ConnectStatusInfo> GetConnectStatusInfo() const;
46 void SetConnectStatusInfo(const std::shared_ptr<ConnectStatusInfo>& connectStatusInfo);
49 std [all...] |
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ops/ |
H A D | crop_builder.h | 26 typedef OH_NN_ReturnCode (CropBuilder::*FuncPtr)(const std::shared_ptr<NNTensor>&);
30 OH_NN_ReturnCode Build(const std::vector<uint32_t>& paramsIndex,
31 const std::vector<uint32_t>& inputsIndex,
32 const std::vector<uint32_t>& outputsIndex,
33 const std::vector<std::shared_ptr<NNTensor>>& allTensors) override;
38 OH_NN_ReturnCode SetAxis(const std::shared_ptr<NNTensor>& tensor);
39 OH_NN_ReturnCode SetOffset(const std::shared_ptr<NNTensor>& tensor);
43 std::vector<int64_t> m_offset;
44 std [all...] |
H A D | constant_of_shape_builder.h | 29 typedef OH_NN_ReturnCode (ConstantOfShapeBuilder::*FuncPtr)(const std::shared_ptr<NNTensor>&);
33 OH_NN_ReturnCode Build(const std::vector<uint32_t>& paramsIndex,
34 const std::vector<uint32_t>& inputsIndex,
35 const std::vector<uint32_t>& outputsIndex,
36 const std::vector<std::shared_ptr<NNTensor>>& allTensors) override;
41 OH_NN_ReturnCode SetDataType(const std::shared_ptr<NNTensor>& tensor);
42 OH_NN_ReturnCode SetValue(const std::shared_ptr<NNTensor>& tensor);
46 std::vector<float> m_value;
47 std [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/mission/ |
H A D | dms_mission_manager_test.h | 36 std::string localDeviceId_; 37 std::u16string u16localDeviceId_; 39 std::set<std::string> remoteSyncDeviceSet_; 42 static std::mutex caseDoneLock_; 43 static std::condition_variable caseDoneCondition_; 44 static inline std::shared_ptr<MockAdapter> mockDmsAdapter = nullptr; 53 void NotifyMissionsChanged(const std::string& deviceId) override; 54 void NotifySnapshot(const std::string& deviceId, int32_t missionId) override; 55 void NotifyNetDisconnect(const std [all...] |
/foundation/ai/intelligent_voice_framework/services/intell_voice_trigger/server/ |
H A D | trigger_service.h | 27 void UpdateGenericTriggerModel(std::shared_ptr<GenericTriggerModel> model); 29 std::shared_ptr<GenericTriggerModel> GetGenericTriggerModel(int32_t uuid); 31 int32_t StartRecognition(int32_t uuid, std::shared_ptr<IIntellVoiceTriggerRecognitionCallback> callback); 32 int32_t StopRecognition(int32_t uuid, std::shared_ptr<IIntellVoiceTriggerRecognitionCallback> callback); 34 int32_t SetParameter(const std::string &key, const std::string &value); 35 std::string GetParameter(const std::string &key); 48 std::shared_ptr<TriggerDbHelper> dbHelper_ = nullptr; 49 std [all...] |