Home
last modified time | relevance | path

Searched refs:std (Results 1 - 25 of 1663) sorted by relevance

12345678910>>...67

/developtools/smartperf_host/trace_streamer/src/cfg/
H A Dtrace_streamer_config.h190 std::map<SupportedTraceEventType, std::string> eventNameMap_ = {};
191 std::map<StatType, std::string> eventErrorDescMap_ = {};
192 std::map<StatSeverityLevel, std::string> serverityLevelDescMap_ = {};
195 std::map<SupportedTraceEventType, std::map<StatType, StatSeverityLevel>> eventParserStatSeverityDescMap_ = {};
196 std::map<StatType, StatSeverityLevel> statSeverityDescMap_ = {};
198 std
[all...]
/developtools/profiler/host/smartperf/client/client_command/include/
H A Dcommon.h47 const std::unordered_map<MessageType, std::string> MESSAGE_MAP = {
48 { MessageType::GET_CPU_NUM, std::string("get_cpu_num") },
49 { MessageType::GET_CPU_FREQ_LOAD, std::string("get_cpu_freq_load") },
50 { MessageType::SET_PKG_NAME, std::string("set_pkgName") },
51 { MessageType::SET_PROCESS_ID, std::string("set_pid") },
52 { MessageType::GET_FPS_AND_JITTERS, std::string("get_fps_and_jitters") },
53 { MessageType::GET_GPU_FREQ, std::string("get_gpu_freq") },
54 { MessageType::GET_GPU_LOAD, std::string("get_gpu_load") },
55 { MessageType::GET_DDR_FREQ, std
[all...]
H A Dsp_utils.h32 bool HasNumber(const std::string &str);
33 bool Cmp(const std::string &a, const std::string &b);
42 bool FileAccess(const std::string &fileName);
51 bool LoadFile(const std::string &filePath, std::string &content);
60 bool LoadCmdWithLinkBreak(const std::string &cmd, bool isClearLinkBreak, std::string &result);
65 * @return std::string
68 bool LoadCmd(const std
[all...]
H A Dsp_task.h38 const std::map<ExceptionMsg, std::string> EXCEPTION_MSG_MAP = {
55 std::string sessionId = "";
56 std::string packageName = "";
57 std::vector<std::string> taskConfig = {};
69 ErrCode InitTask(const std::string &recvStr);
70 ErrCode StartTask(std::function<void(std::string data)> msgTask);
72 std
[all...]
/developtools/packing_tool/packing_tool/frameworks/include/json/
H A Dmodule_json.h38 bool ParseFromString(const std::string& jsonString);
39 bool ParseFromFile(const std::string& jsonFile);
40 std::string ToString();
46 bool GetAppObject(std::unique_ptr<PtJson>& appObj);
47 bool GetDeviceConfigObject(std::unique_ptr<PtJson>& deviceConfigObj);
48 bool GetVersionObject(std::unique_ptr<PtJson>& versionObj);
49 bool GetModuleObject(std::unique_ptr<PtJson>& moduleObj);
50 bool GetDistroObject(std::unique_ptr<PtJson>& distroObj);
51 bool GetDistroObjectByModuleObj(std::unique_ptr<PtJson>& moduleObj, std
[all...]
H A Dhap_verify_info.h37 const std::string& GetBundleName() const;
38 void SetBundleName(const std::string& bundleName);
39 const std::string& GetVendor() const;
40 void SetVendor(const std::string& vendor);
45 const std::string& GetModuleName() const;
46 void SetModuleName(const std::string& moduleName);
47 const std::string& GetPackageName() const;
48 void SetPackageName(const std::string& packageName);
49 const std::list<std
[all...]
H A Dhap_verify_utils.h30 std::string bundleName = "";
31 std::string vendor = "";
33 std::string versionName = "";
37 std::string releaseType = "";
38 std::string targetBundleName = "";
41 std::list<std::string> moduleNames;
42 std::list<std::string> packageNames;
45 std
[all...]
H A Dpack_info.h28 std::string name = "";
36 bool ParseFromString(const std::string& jsonString);
37 bool ParseFromFile(const std::string& jsonFile);
38 std::string ToString();
44 bool GetSummaryObject(std::unique_ptr<PtJson>& summaryObj);
45 bool GetPackagesObject(std::unique_ptr<PtJson>& packagesObj);
46 bool GetAppObject(std::unique_ptr<PtJson>& appObj);
47 bool GetModulesObject(std::unique_ptr<PtJson>& modulesObj);
48 bool GetVersionObject(std::unique_ptr<PtJson>& versionObj);
49 bool GetDistroObject(int32_t moduleIndex, std
[all...]
/developtools/smartperf_host/trace_streamer/src/metrics/
H A Dmetrics.h43 const std::string TRACE_MEM = "trace_mem";
44 const std::string TRACE_MEM_TOP_TEN = "trace_mem_top10";
45 const std::string TRACE_MEM_UNAGG = "trace_mem_unagg";
46 const std::string TRACE_TASK_NAMES = "trace_task_names";
47 const std::string TRACE_STATS = "trace_stats";
48 const std::string TRACE_METADATA = "trace_metadata";
49 const std::string SYS_CALLS = "sys_calls";
50 const std::string PROCESS_METRICES = "process_metrics:{";
51 const std::string PROCESS_NAME = "process_name:";
52 const std
[all...]
/developtools/profiler/host/smartperf/client/client_command/
H A Dcontrol_call_cmd.cpp36 std::string ControlCallCmd::GetResult(std::vector<std::string> v) in GetResult()
44 std::string ohTestFps = CMD_COMMAND_MAP.at(CmdCommand::OHTESTFPS); in GetResult()
56 std::cout << "Startup error, unknown application or application not responding" << std::endl; in GetResult()
62 std::cout << result << std::endl; in GetResult()
66 std::string ControlCallCmd::TimeDelay() in TimeDelay()
70 std in TimeDelay()
[all...]
H A Dparse_radar.cpp31 double ParseRadar::ParseRadarStart(const std::string &string) const in ParseRadarStart()
34 std::string target = "\"E2E_LATENCY\":"; in ParseRadarStart()
35 time = std::stod(ExtractString(string, target)); in ParseRadarStart()
38 double ParseRadar::ParseRadarStartResponse(const std::string &string) const in ParseRadarStartResponse()
41 std::string target = "\"RESPONSE_LATENCY\":"; in ParseRadarStartResponse()
42 time = std::stod(ExtractString(string, target)); in ParseRadarStartResponse()
45 std::string ParseRadar::ParseRadarAppStrart(const std::string &string) const in ParseRadarAppStrart()
47 std::ostringstream stream; in ParseRadarAppStrart()
48 std in ParseRadarAppStrart()
[all...]
/developtools/packing_tool/packing_tool/frameworks/include/
H A Dconstants.h25 const std::string CMD_HELP = "help";
26 const std::string CMD_PACK = "pack";
27 const std::string CMD_UNPACK = "unpack";
29 const std::string MODE_HAP = "hap";
30 const std::string MODE_HSP = "hsp";
31 const std::string MODE_APP = "app";
32 const std::string MODE_HQF = "hqf";
33 const std::string MODE_APPQF = "appqf";
34 const std::string MODE_MULTIAPP = "multiApp";
35 const std
[all...]
H A Dutils.h25 namespace fs = std::filesystem;
38 static std::string ListToString(const std::list<std::string>& lst);
39 static void CopyListToSet(const std::list<std::string>& lst, std::set<std::string>& st);
40 static bool CheckDisjoint(const std::list<std
[all...]
/developtools/smartperf_host/trace_streamer/src/trace_data/trace_stdtype/htrace/
H A Dactivity_monitor_stdtype.h25 const std::deque<uint32_t> &Fpss() const;
29 std::deque<uint32_t> fpss_ = {};
49 const std::deque<uint64_t> &Durs() const;
50 const std::deque<uint64_t> &RdDatas() const;
51 const std::deque<uint64_t> &WrDatas() const;
52 const std::deque<double> &RdSpeedDatas() const;
53 const std::deque<double> &WrSpeedDatas() const;
54 const std::deque<double> &RdCountPerSecDatas() const;
55 const std::deque<double> &WrCountPerSecDatas() const;
56 const std
[all...]
/developtools/hiperf/interfaces/innerkits/native/include/
H A Dhiperf_client.h26 const std::string TempBinPath = "/data/local/tmp/";
27 const std::string ReplyOK = "OK\n";
28 const std::string ReplyFAIL = "FAIL\n";
29 const std::string ReplyStart = "START\n";
30 const std::string ReplyStop = "STOP\n";
31 const std::string ReplyPause = "PAUSE\n";
32 const std::string ReplyResume = "RESUME\n";
33 const std::string ReplyCheck = "CHECK\n";
41 void SetOutputFilename(const std::string &outputFilename) in SetOutputFilename()
48 const std
[all...]
/developtools/global_resource_tool/include/
H A Dcmd_parser.h40 const std::vector<std::string> &GetInputs() const;
41 const std::string &GetPackageName() const;
42 const std::string &GetOutput() const;
43 const std::vector<std::string> &GetResourceHeaders() const;
45 const std::vector<std::string> &GetModuleNames() const;
46 const std::string &GetConfig() const;
47 const std
[all...]
H A Dresource_util.h35 static void Split(const std::string &str, std::vector<std::string> &out, const std::string &splitter);
43 static void StringReplace(std::string &sourceStr, const std::string &oldStr, const std::string &newStr);
50 static bool FileExist(const std::string &path);
57 static bool RmoveAllDir(const std::string &path);
64 static bool RmoveFile(const std
[all...]
/developtools/hapsigner/hapsigntool_cpp_test/unittest/hapSign/
H A Dsign_provider_test.cpp27 void GenUnvaildUnProviderHap(const std::string& path) in GenUnvaildUnProviderHap()
29 std::ofstream outfile(path); in GenUnvaildUnProviderHap()
67 std::unique_ptr<SignProvider> signProvider = std::make_unique<LocalSignProvider>(); in HWTEST_F()
68 std::shared_ptr<Options> params = std::make_shared<Options>(); in HWTEST_F()
70 std::string mode = "localSign"; in HWTEST_F()
71 std::string keyAlias = "oh-app1-key-v1"; in HWTEST_F()
72 std::string signAlg = "SHA256withECDSA"; in HWTEST_F()
73 std in HWTEST_F()
[all...]
/developtools/hapsigner/hapsigntool_cpp/common/include/
H A Doptions.h28 class Options : public std::unordered_map<std::string, std::variant<std::string, int, bool, char*>> {
32 char* GetChars(const std::string& key);
33 std::string GetString(const std::string& key);
34 std::string GetString(const std::string& key, const std
[all...]
/developtools/hapsigner/hapsigntool_cpp_test/unittest/generateKeyPair/
H A Doptions_test.cpp60 std::shared_ptr<Options> params = std::make_shared<Options>(); in HWTEST_F()
64 std::unique_ptr<LocalizationAdapter> adaptePtr = std::make_unique<LocalizationAdapter>(params.get()); in HWTEST_F()
77 std::shared_ptr<Options> params = std::make_shared<Options>(); in HWTEST_F()
78 std::string keyAlias = "oh-app1-key-v1"; in HWTEST_F()
80 std::unique_ptr<LocalizationAdapter> adaptePtr = std::make_unique<LocalizationAdapter>(params.get()); in HWTEST_F()
81 std in HWTEST_F()
[all...]
/developtools/smartperf_host/trace_streamer/src/trace_data/trace_stdtype/hisysevent/
H A Dhisysevent_stdtype.h25 const std::deque<DataIndex> &SysEventNameId() const;
26 const std::deque<DataIndex> &SysEventSubkeyId() const;
35 std::deque<DataIndex> sysEventNameIds_ = {};
36 std::deque<DataIndex> subkeyNameIds_ = {};
53 const std::deque<uint64_t> &Serial() const;
54 const std::deque<uint64_t> &Ts() const;
55 const std::deque<uint32_t> &NameFilterId() const;
56 const std::deque<uint32_t> &AppKeyFilterId() const;
57 const std::deque<int32_t> &Type() const;
58 const std
[all...]
/developtools/hapsigner/hapsigntool_cpp/common/src/
H A Doptions.cpp22 const std::string Options::KEY_ALIAS = "keyAlias";
23 const std::string Options::KEY_RIGHTS = "keyPwd";
24 const std::string Options::KEY_ALG = "keyAlg";
25 const std::string Options::KEY_SIZE = "keySize";
26 const std::string Options::KEY_STORE_FILE = "keystoreFile";
27 const std::string Options::KEY_STORE_RIGHTS = "keystorePwd";
28 const std::string Options::ISSUER_KEY_ALIAS = "issuerKeyAlias";
29 const std::string Options::ISSUER_KEY_RIGHTS = "issuerKeyPwd";
30 const std::string Options::ISSUER_KEY_STORE_FILE = "issuerKeystoreFile";
31 const std
[all...]
/developtools/hapsigner/hapsigntool_cpp/hap/entity/src/
H A Dparam_constants.cpp19 const std::string ParamConstants::HAP_SIG_SCHEME_V256_DIGEST_ALGORITHM = "SHA-256";
20 const std::string ParamConstants::HAP_SIG_SCHEME_V384_DIGEST_ALGORITHM = "SHA-384";
21 const std::string ParamConstants::HAP_SIG_SCHEME_V512_DIGEST_ALGORITHM = "SHA-512";
22 const std::string ParamConstants::HAP_SIG_ALGORITHM_SHA256_ECDSA = "SHA256withECDSA";
23 const std::string ParamConstants::HAP_SIG_ALGORITHM_SHA384_ECDSA = "SHA384withECDSA";
24 const std::string ParamConstants::HAP_SIG_ALGORITHM_SHA512_ECDSA = "SHA512withECDSA";
25 const std::string ParamConstants::ALIGNMENT = "4";
26 const std::string ParamConstants::PARAM_SIGN_MODE = "mode";
27 const std::string ParamConstants::PARAM_BASIC_CRL = "crl";
28 const std
[all...]
/developtools/hapsigner/hapsigntool_cpp/hap/entity/include/
H A Dparam_constants.h27 static const std::string HAP_SIG_SCHEME_V256_DIGEST_ALGORITHM;
28 static const std::string HAP_SIG_SCHEME_V384_DIGEST_ALGORITHM;
29 static const std::string HAP_SIG_SCHEME_V512_DIGEST_ALGORITHM;
30 static const std::string HAP_SIG_ALGORITHM_SHA256_ECDSA;
31 static const std::string HAP_SIG_ALGORITHM_SHA384_ECDSA;
32 static const std::string HAP_SIG_ALGORITHM_SHA512_ECDSA;
33 static const std::string ALIGNMENT;
34 static const std::string PARAM_SIGN_MODE;
35 static const std::string PARAM_BASIC_CRL;
36 static const std
[all...]
/developtools/smartperf_host/trace_streamer/src/rpc/
H A Dffrt_converter.h31 using namespace std;
37 std::string name;
38 std::vector<int> indices;
41 std::string state = "none";
43 std::string prevWakeLog;
48 std::string name;
54 bool RecoverTraceAndGenerateNewFile(const std::string &ffrtFileName, std::ofstream &outFile);
58 using TypeFfrtPid = std::unordered_map<int, std
[all...]

Completed in 15 milliseconds

12345678910>>...67