/base/notification/common_event_service/interfaces/inner_api/ |
D | common_event_support.h | 32 static const std::string COMMON_EVENT_BOOT_COMPLETED; 40 static const std::string COMMON_EVENT_LOCKED_BOOT_COMPLETED; 46 static const std::string COMMON_EVENT_SHUTDOWN; 52 static const std::string COMMON_EVENT_BATTERY_CHANGED; 57 static const std::string COMMON_EVENT_BATTERY_LOW; 62 static const std::string COMMON_EVENT_BATTERY_OKAY; 67 static const std::string COMMON_EVENT_POWER_CONNECTED; 72 static const std::string COMMON_EVENT_POWER_DISCONNECTED; 78 static const std::string COMMON_EVENT_SCREEN_OFF; 83 static const std::string COMMON_EVENT_SCREEN_ON; [all …]
|
/base/telephony/sms_mms/test/unittest/ |
D | mms_msg_test.cpp | 107 std::cout << "\nusage:please input a cmd num:\n" in ProcessTest() 127 << std::endl; in ProcessTest() 130 std::cin >> inputCMD; in ProcessTest() 131 while (std::cin.fail()) { in ProcessTest() 132 std::cin.clear(); in ProcessTest() 133 std::cin.ignore(); in ProcessTest() 134 std::cin >> inputCMD; in ProcessTest() 139 std::cout << "inputCMD is:" << inputCMD << std::endl; in ProcessTest() 145 void MmsMsgTest::MmsDecodeTest(std::string strPath) const in MmsDecodeTest() 149 std::cout << "mms decode message fail." << std::endl; in MmsDecodeTest() [all …]
|
D | gsm_sms_sender_test.cpp | 133 std::cout << "AccessMmsToken currentID_" << currentID_ << std::endl; in AccessMmsToken() 140 std::cout << "AccessMmsToken ~AccessMmsToken" << std::endl; in ~AccessMmsToken() 154 std::cout << "smsService is nullptr." << std::endl; in TestGsmSendShortData() 157 std::string dest; in TestGsmSendShortData() 158 std::cout << "Please enter the card id" << std::endl; in TestGsmSendShortData() 160 std::cin >> dest; in TestGsmSendShortData() 163 std::cout << "Please enter the receiver's telephone number" << std::endl; in TestGsmSendShortData() 164 std::cin >> dest; in TestGsmSendShortData() 165 std::string sca(""); in TestGsmSendShortData() 172 std::cout << "TestGsmSendShortData" << std::endl; in TestGsmSendShortData() [all …]
|
D | sms_cb_message_test.cpp | 28 std::cout << "inputCMD is:" << inputCMD << std::endl; in ProcessInput() 79 std::cout << "\n-----------start test cbmessage api--------------\n" in ProcessTest() 95 << std::endl; in ProcessTest() 98 std::cin >> inputCMD; in ProcessTest() 99 while (std::cin.fail()) { in ProcessTest() 100 std::cin.clear(); in ProcessTest() 101 std::cin.ignore(); in ProcessTest() 102 std::cin >> inputCMD; in ProcessTest() 110 std::string data( in TestMessageBody7Bit() 114 std::shared_ptr<SmsCbMessage> msg = SmsCbMessage::CreateCbMessage(data); in TestMessageBody7Bit() [all …]
|
/base/global/i18n/frameworks/intl/include/ |
D | locale_config.h | 32 static bool SetSystemLanguage(const std::string &language); 33 static bool SetSystemRegion(const std::string ®ion); 34 static bool SetSystemLocale(const std::string &locale); 35 static std::string GetSystemLanguage(); 36 static std::string GetSystemRegion(); 37 static std::string GetSystemLocale(); 38 static void GetSystemLanguages(std::vector<std::string> &ret); 39 static void GetSystemCountries(std::vector<std::string> &ret); 40 static bool IsSuggested(const std::string &language); 41 static bool IsSuggested(const std::string &language, const std::string ®ion); [all …]
|
D | number_format.h | 46 …NumberFormat(const std::vector<std::string> &localeTag, std::map<std::string, std::string> &config… 48 std::string Format(double number); 49 void GetResolvedOptions(std::map<std::string, std::string> &map); 50 std::string GetCurrency() const; 51 std::string GetCurrencySign() const; 52 std::string GetStyle() const; 53 std::string GetNumberingSystem() const; 54 std::string GetUseGrouping() const; 55 std::string GetMinimumIntegerDigits() const; 56 std::string GetMinimumFractionDigits() const; [all …]
|
D | locale_info.h | 31 explicit LocaleInfo(const std::string &localeTag); 32 LocaleInfo(const std::string &localeTag, std::map<std::string, std::string> &configs); 34 std::string GetLanguage() const; 35 std::string GetScript() const; 36 std::string GetRegion() const; 37 std::string GetBaseName() const; 38 std::string GetCalendar() const; 39 std::string GetCollation() const; 40 std::string GetHourCycle() const; 41 std::string GetNumberingSystem() const; [all …]
|
D | date_time_format.h | 38 …DateTimeFormat(const std::vector<std::string> &localeTags, std::map<std::string, std::string> &con… 40 std::string Format(int64_t milliseconds); 41 std::string FormatRange(int64_t fromMilliseconds, int64_t toMilliseconds); 42 void GetResolvedOptions(std::map<std::string, std::string> &map); 43 std::string GetDateStyle() const; 44 std::string GetTimeStyle() const; 45 std::string GetHourCycle() const; 46 std::string GetTimeZone() const; 47 std::string GetTimeZoneName() const; 48 std::string GetNumberingSystem() const; [all …]
|
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/ |
D | memory_filter.h | 34 using MatchFunc = std::function<bool(std::string, std::string)>; 43 const std::string FILE_PAGE_TAG = "File-backed Page"; 44 const std::string ANON_PAGE_TAG = "Anonymous Page"; 45 const std::string DMA_TAG = "DMA"; 46 const std::string GL_OUT_LABEL = "GL"; 47 const std::string GRAPH_OUT_LABEL = "Graph"; 48 const std::vector<std::pair<MemoryTrackerType, std::string>> MEMORY_TRACKER_TYPES = { 53 …const std::vector<std::string> RECLAIM_PRIORITY = {"System", "Foreground", "Suspend-delay", "Perce… 56 …const std::vector<std::string> VALUE_WITH_PID = {"Pss", "Shared_Clean", "Shared_Dirty", "Private_C… 59 …const std::vector<std::string> TITLE_HAS_PID_ = {"Pss_Total", "Shared_Clean", "Shared_Dirty", … [all …]
|
/base/telephony/call_manager/test/unittest/ui_client/ |
D | ui_client_test.cpp | 44 std::shared_ptr<CallManagerClient> g_clientPtr = nullptr; 46 std::map<uint32_t, CallManagerServiceFunc> g_memberFuncMap; 167 std::u16string phoneNumber; in DialCall() 168 std::string tmpStr; in DialCall() 170 std::cout << "------Dial------" << std::endl; in DialCall() 171 std::cout << "please input phone number:" << std::endl; in DialCall() 174 std::cin >> tmpStr; in DialCall() 176 std::cout << "you want to call " << tmpStr << std::endl; in DialCall() 177 std::cout << "please input accountId:" << std::endl; in DialCall() 178 std::cin >> accountId; in DialCall() [all …]
|
D | bluetooth_call_test.cpp | 30 std::shared_ptr<BluetoothCallClient> g_bluetoothCallPtr = nullptr; 149 std::cout << "g_bluetoothCallPtr is nullptr" << std::endl; in Init() 153 …std::unique_ptr<CallManagerCallbackTest> callbackPtr = std::make_unique<CallManagerCallbackTest>(); in Init() 155 std::cout << "make_unique CallManagerCallbackTest failed!" << std::endl; in Init() 158 int32_t ret = g_bluetoothCallPtr->RegisterCallBack(std::move(callbackPtr)); in Init() 160 std::cout << "RegisterCallBack failed!" << std::endl; in Init() 163 std::cout << "RegisterCallBack success!" << std::endl; in Init() 174 std::cin >> interfaceNum; in RunBluetoothCallTest() 176 std::cout << "start to exit now...." << std::endl; in RunBluetoothCallTest() 185 std::cout << "err: invalid input!" << std::endl; in RunBluetoothCallTest() [all …]
|
/base/telephony/core_service/interfaces/innerkits/include/ |
D | resource_utils.h | 120 static const std::string IS_NOTIFY_USER_RESTRICTIED_CHANGE; 121 static const std::string IS_CS_CAPABLE; 122 static const std::string IS_SWITCH_PHONE_REG_CHANGE; 123 static const std::string SPN_FORMATS; 124 static const std::string EMERGENCY_CALLS_ONLY; 125 static const std::string OUT_OF_SERIVCE; 126 static const std::string CMCC; 127 static const std::string CUCC; 128 static const std::string CTCC; 129 static const std::string CALL_FAILED_UNASSIGNED_NUMBER; [all …]
|
/base/hiviewdfx/hiview/core/ |
D | hiview_platform.h | 39 bool InitEnvironment(const std::string& platformConfigDir = ""); 45 void PostUnorderedEvent(std::shared_ptr<Plugin> plugin, std::shared_ptr<Event> event) override; 46 void RegisterUnorderedEventListener(std::weak_ptr<EventListener> listener) override; 47 void RegisterDynamicListenerInfo(std::weak_ptr<Plugin> listener) override; 48 bool PostSyncEventToTarget(std::shared_ptr<Plugin> caller, const std::string& calleeName, 49 std::shared_ptr<Event> event) override; 50 void PostAsyncEventToTarget(std::shared_ptr<Plugin> caller, const std::string& calleeName, 51 std::shared_ptr<Event> event) override; 52 void RequestUnloadPlugin(std::shared_ptr<Plugin> caller) override; 53 std::list<std::weak_ptr<Plugin>> GetPipelineSequenceByName(const std::string& name) override; [all …]
|
/base/hiviewdfx/hiview/base/utility/include/ |
D | string_util.h | 35 std::string ReplaceStr(const std::string& str, const std::string& src, const std::string& dst); 40 std::string TrimStr(const std::string& str, const char cTrim = ' '); 45 void SplitStr(const std::string& str, const std::string& sep, std::vector<std::string>& strs, 52 inline std::string ToString(T iValue) in ToString() 54 return std::to_string(iValue); in ToString() 61 static void ConvertStringTo(const std::string &in, T &out) in ConvertStringTo() 63 std::stringstream ss; in ConvertStringTo() 69 bool IsConvertable(const std::string &inValue) in IsConvertable() 71 std::stringstream stream; in IsConvertable() 79 std::string tempValue = stream.str(); in IsConvertable() [all …]
|
/base/hiviewdfx/hiview/utility/common_utils/include/ |
D | log_parse.h | 33 bool IsIgnoreLibrary(const std::string& val) const; 34 static std::string MatchExceptionLibrary(const std::string& val); 35 void GetCrashFaultLine(const std::string& file, std::string& line) const; 36 …void SetFrame(std::stack<std::string>& stack, std::map<std::string, std::string>& eventInfo) const; 37 std::string GetFilterTrace(const std::string& info, std::vector<std::string>& trace) const; 38 …std::stack<std::string> GetStackTop(const std::vector<std::string>& validStack, const size_t num) … 41 static const std::string UNMATCHED_EXCEPTION; 44 bool HasExceptionList(const std::string& line) const; 45 std::vector<std::string> GetValidStack(size_t num, std::stack<std::string>& inStack) const; 46 …std::list<std::vector<std::string>> StackToMultipart(std::stack<std::string>& inStack, size_t num)… [all …]
|
/base/account/os_account/interfaces/innerkits/appaccount/native/include/ |
D | app_account_manager.h | 29 static ErrCode AddAccount(const std::string &name, const std::string &extraInfo = ""); 30 static ErrCode AddAccountImplicitly(const std::string &owner, const std::string &authType, 32 static ErrCode CreateAccount(const std::string &name, const CreateAccountOptions &options); 33 …static ErrCode CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOpti… 35 static ErrCode DeleteAccount(const std::string &name); 37 static ErrCode GetAccountExtraInfo(const std::string &name, std::string &extraInfo); 38 static ErrCode SetAccountExtraInfo(const std::string &name, const std::string &extraInfo); 40 static ErrCode EnableAppAccess(const std::string &name, const std::string &authorizedApp); 41 static ErrCode DisableAppAccess(const std::string &name, const std::string &authorizedApp); 42 …static ErrCode SetAppAccess(const std::string &name, const std::string &authorizedApp, bool isAcce… [all …]
|
/base/account/os_account/frameworks/appaccount/native/include/ |
D | app_account.h | 35 ErrCode AddAccount(const std::string &name, const std::string &extraInfo); 36 ErrCode AddAccountImplicitly(const std::string &owner, const std::string &authType, 38 ErrCode CreateAccount(const std::string &name, const CreateAccountOptions &options); 39 …ErrCode CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOptions &op… 41 ErrCode DeleteAccount(const std::string &name); 43 ErrCode GetAccountExtraInfo(const std::string &name, std::string &extraInfo); 44 ErrCode SetAccountExtraInfo(const std::string &name, const std::string &extraInfo); 46 ErrCode EnableAppAccess(const std::string &name, const std::string &bundleName); 47 ErrCode DisableAppAccess(const std::string &name, const std::string &bundleName); 48 …ErrCode SetAppAccess(const std::string &name, const std::string &authorizedApp, bool isAccessible); [all …]
|
D | app_account_info.h | 29 std::string authType; 30 std::string token; 31 std::set<std::string> authList; 38 explicit AppAccountInfo(const std::string &name, const std::string &owner); 41 std::string GetOwner(); 42 void GetOwner(std::string &owner); 43 void SetOwner(const std::string &owner); 45 std::string GetName(); 46 void GetName(std::string &name) const; 47 void SetName(const std::string &name); [all …]
|
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/include/ |
D | feature_analysis.h | 43 FeatureAnalysis(FeatureSet featureSet, std::map<std::string, std::string> composeRule, in FeatureAnalysis() 44 … const std::string& eventType) : taskId_(time(nullptr)), eventType_(eventType), lineCursor_(0), in FeatureAnalysis() 53 std::map<std::string, std::string> GetReasult() const { return eventInfo_; }; in GetReasult() 54 … std::vector<std::pair<std::string, LineFeature>> GetParamSeekRecord() {return paramSeekRecord_;}; in GetParamSeekRecord() 58 void RawInfoPosition(std::stringstream& buffer); 59 bool IsSourceMatch(const std::string& line, const FeatureRule& rule) const; 60 bool ParseElementForParam(const std::string& src, FeatureRule& rule); 61 int GetSeekInfo(const std::string& param, std::string& value) const; 63 …bool CheckVariable(const FeatureRule& rule, const std::string& leftTag, const std::string& rightTa… 64 …void ReplaceVariable(FeatureRule& rule, const std::string& symbol, const std::string& value) const; [all …]
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/ |
D | libhiappevent_base.map | 5 …"OHOS::HiviewDFX::AppEventPack::AddParam(std::__h::basic_string<char, std::__h::char_traits<char>,… 6 …tPack::AddParam(std::__h::basic_string<char, std::__h::char_traits<char>, std::__h::allocator<char… 7 …Pack::AddParam(std::__h::basic_string<char, std::__h::char_traits<char>, std::__h::allocator<char>… 8 …std::__h::basic_string<char, std::__h::char_traits<char>, std::__h::allocator<char> > const&, std:… 9 …"OHOS::HiviewDFX::AppEventPack::AddParam(std::__h::basic_string<char, std::__h::char_traits<char>,… 10 …"OHOS::HiviewDFX::AppEventPack::AddParam(std::__h::basic_string<char, std::__h::char_traits<char>,… 11 …std::__h::basic_string<char, std::__h::char_traits<char>, std::__h::allocator<char> > const&, std:… 12 …"OHOS::HiviewDFX::AppEventPack::AppEventPack(std::__h::basic_string<char, std::__h::char_traits<ch… 13 …std::__h::basic_string<char, std::__h::char_traits<char>, std::__h::allocator<char> > const&, std:… 17 …m(std::__h::basic_string<char, std::__h::char_traits<char>, std::__h::allocator<char> >, std::__h:… [all …]
|
/base/account/os_account/frameworks/appaccount/native/ |
D | libapp_account_innerkits.map | 17 …ParcelableVector<OHOS::AccountSA::AppAccountInfo>(std::__1::vector<OHOS::AccountSA::AppAccountInfo… 18 …ParcelableVector<OHOS::AccountSA::AppAccountInfo>(std::__h::vector<OHOS::AccountSA::AppAccountInfo… 22 …std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std:… 23 …std::__h::basic_string<char, std::__h::char_traits<char>, std::__h::allocator<char> > const&, std:… 24 …"OHOS::AccountSA::AppAccount::CreateAccount(std::__1::basic_string<char, std::__1::char_traits<cha… 25 …"OHOS::AccountSA::AppAccount::CreateAccount(std::__h::basic_string<char, std::__h::char_traits<cha… 26 …"OHOS::AccountSA::AppAccount::CreateAppAccountEventListener(std::__1::shared_ptr<OHOS::AccountSA::… 27 …"OHOS::AccountSA::AppAccount::CreateAppAccountEventListener(std::__h::shared_ptr<OHOS::AccountSA::… 28 …"OHOS::AccountSA::AppAccount::DeleteAccount(std::__1::basic_string<char, std::__1::char_traits<cha… 29 …"OHOS::AccountSA::AppAccount::DeleteAccount(std::__h::basic_string<char, std::__h::char_traits<cha… [all …]
|
/base/security/access_token/services/privacymanager/src/common/ |
D | constant.cpp | 21 const std::map<std::string, int32_t> Constant::PERMISSION_OPCODE_MAP = { 22 …std::map<std::string, int32_t>::value_type("ohos.permission.ANSWER_CALL", Constant::OP_ANSWER_CALL… 23 …std::map<std::string, int32_t>::value_type("ohos.permission.READ_CALENDAR", Constant::OP_READ_CALE… 24 …std::map<std::string, int32_t>::value_type("ohos.permission.WRITE_CALENDAR", Constant::OP_WRITE_CA… 25 …std::map<std::string, int32_t>::value_type("ohos.permission.SEND_MESSAGES", Constant::OP_SEND_MESS… 26 …std::map<std::string, int32_t>::value_type("ohos.permission.WRITE_CALL_LOG", Constant::OP_WRITE_CA… 27 …std::map<std::string, int32_t>::value_type("ohos.permission.READ_CALL_LOG", Constant::OP_READ_CALL… 28 …std::map<std::string, int32_t>::value_type("ohos.permission.READ_CELL_MESSAGES", Constant::OP_READ… 29 … std::map<std::string, int32_t>::value_type("ohos.permission.MICROPHONE", Constant::OP_MICROPHONE), 30 std::map<std::string, int32_t>::value_type( [all …]
|
/base/hiviewdfx/hidumper/frameworks/native/include/util/ |
D | config_data.h | 24 static const std::string CONFIG_NAME_SPLIT; 25 static const std::string CONFIG_GROUP; 26 static const std::string CONFIG_GROUP_; 27 static const std::string CONFIG_MINIGROUP; 28 static const std::string CONFIG_MINIGROUP_; 29 static const std::string CONFIG_DUMPER; 30 static const std::string CONFIG_DUMPER_; 31 static const std::string CONFIG_NAME_BASE; 32 static const std::string CONFIG_NAME_SYSTEM; 33 static const std::string CONFIG_NAME_ABILITY; [all …]
|
D | config_utils.h | 27 explicit ConfigUtils(const std::shared_ptr<DumperParameter> ¶m); 31 static DumpStatus GetDumperConfigs(const std::shared_ptr<DumperParameter> ¶m); 33 static DumpStatus GetSectionNames(const std::string &name, std::vector<std::string> &nameList); 42 bool MergePidInfos(std::vector<DumpCommonUtils::PidInfo> &outInfos, int pid); 43 bool HandleDumpLog(std::vector<std::shared_ptr<DumpCfg>> &dumpCfgs); 44 bool HandleDumpList(std::vector<std::shared_ptr<DumpCfg>> &dumpCfgs); 45 bool HandleDumpService(std::vector<std::shared_ptr<DumpCfg>> &dumpCfgs); 46 bool HandleDumpAbility(std::vector<std::shared_ptr<DumpCfg>> &dumpCfgs); 47 bool HandleDumpSystem(std::vector<std::shared_ptr<DumpCfg>> &dumpCfgs); 48 bool HandleDumpCpuFreq(std::vector<std::shared_ptr<DumpCfg>> &dumpCfgs); [all …]
|
/base/hiviewdfx/hiview/utility/smart_parser/rule/include/ |
D | syntax_rules.h | 24 const std::string L1_SEG_STATUS = "segmentStatus"; 25 const std::string L1_RULE = "Rule"; 26 const std::string L2_DIR_OR_FILE = "DirOrFile"; 27 const std::string L2_SKIP = "skip"; 28 const std::string L2_SUBCATELOG = "Subcatalog"; 29 const std::string L2_FEATUREID = "featureId"; 30 const std::string L2_RULES = "rules"; 31 const std::string L2_SEGMENT_RULE = "segmentRule"; 32 const std::string L2_SEGMENT_TYPE = "segmentType"; 33 const std::string L2_SEGMENT_START = "startSeg"; [all …]
|