/test/ostest/wukong/common/include/ |
H A D | wukong_util.h | 21 #include <string> 46 uint32_t FindElement(std::vector<std::string> &bundleList, std::string key); 54 bool ContainsElement(std::vector<std::string> &bundleList, std::string key); 58 * @param optarg command string 61 ErrCode SetAllowList(const std::string &optarg); 65 * @param optarg command string. 68 ErrCode SetBlockList(const std::string &optarg); 72 * @param optarg command string [all...] |
/test/xts/acts/hiviewdfx/utils/native/ |
H A D | file_utils.h | 20 #include <string> 31 bool CheckInfo(std::vector<std::string> ¶, std::string eventinfo); 32 int ExecCmdWithRet(std::string cmd, std::vector<std::string> &resvec); 33 std::string ReadFile(std::string filename); 34 void RedirecthiLog(std::string &hilogredirect, std::string &timeout); 35 void ExeCmd(std::string cm [all...] |
H A D | file_utils.cpp | 21 #include <string> 36 int ExecCmdWithRet(std::string cmd, std::vector<std::string> &resvec) in ExecCmdWithRet() 43 if ((cmd.find("hilog") == std::string::npos) && (cmd.find("hidumper") == std::string::npos) in ExecCmdWithRet() 44 && (cmd.find("ps") == std::string::npos) && (cmd.find("rm") == std::string::npos) && in ExecCmdWithRet() 45 (cmd.find("hiperf") == std::string::npos) && (cmd.find("hisysevent") == std::string::npos) && in ExecCmdWithRet() 46 (cmd.find("mkdir") == std::string in ExecCmdWithRet() [all...] |
/test/ostest/wukong/report/include/ |
H A D | report.h | 21 #include <string> 35 std::map<std::string, uint32_t> componmentTypeCount; 36 std::map<uint32_t, std::vector<std::string>> pageIdComponments; 45 void SetSeed(std::string seed); 55 void SplitInputMode(std::shared_ptr<InputedMsgObject> &inputedMsgObject, std::map<std::string, std::string> &data); 60 void GroupFocusDataAndRecord(std::shared_ptr<InputedMsgObject> &inputedMsgObject, std::map<std::string, 61 std::string> &data); 79 void RecordScreenPath(const std::string &screenPath); 91 std::string GetReportExceptionDi [all...] |
/test/testfwk/developer_test/aw/cxx/distributed/ |
H A D | distributed_major.h | 40 explicit DistributeTestEnvironment(std::string cfgFile);
43 bool RunTestCmd(size_t devNo, const std::string &strCommand, int cmdLen, const std::string &strExpectValue,
44 int expectValueLen, std::function<bool(const std::string &, int)> onProcessReturn);
46 bool SendMessage(size_t devNo, const std::string &strMsg, int msgLen,
47 std::function<bool(const std::string &, int)> onProcessReturnMsg) ;
49 bool Notify(size_t devNo, const std::string &strMsg, int msgLen);
54 void Init(std::string fileName);
64 int AddClient(std::string ipAddr);
68 std::function<bool(const std::string [all...] |
H A D | distributed_cfg.cpp | 35 bool DistributedCfg::OpenCfg(std::string fileName)
in OpenCfg() 39 std::string strline;
in OpenCfg() 46 std::string key;
in OpenCfg() 47 std::string value;
in OpenCfg() 53 if (position == std::string::npos) {
in OpenCfg() 58 cfgMap_.insert(std::pair<std::string, std::string>(key, value));
in OpenCfg() 65 bool DistributedCfg::GetCfgVal(std::string key, std::string &value)
in GetCfgVal() 67 std::string iplis in GetCfgVal() [all...] |
/test/xts/acts/hiviewdfx/hiappeventtest/hiappeventcpptest/ |
H A D | HiAppEventCPPTest.cpp | 40 string g_reDiRectTimeout = "5"; 41 string logPath = "/data/test/hiappevent/"; 42 string delelogPath = "/data/test/hiappevent/*"; 53 std::vector<std::string> cmdret; in TearDown() 54 string cmd = "rm -f " + delelogPath; in TearDown() 69 string getlogFile; in HWTEST_F() 70 string path; in HWTEST_F() 77 std::vector<std::string> file; in HWTEST_F() 81 string fileinfo = ""; in HWTEST_F() 83 std::vector<std::string> par in HWTEST_F() [all...] |
/test/testfwk/developer_test/examples/distributedb/test/distributedtest/common/ |
H A D | distribute_demo_agent.cpp | 18 #include <string> 32 std::string g_appId = "com.ohos.nb.service.user1_test"; 33 std::string g_storeId = "student_1"; 46 virtual int OnProcessMsg(const std::string &dtrMsg, int len, std::string &strReturnValue, int returnBufLen); 47 virtual int OnProcessCmd(const std::string &strCommand, int cmdLen, const std::string &strArgs, int argsLen, 48 const std::string &strExpectValue, int expectValueLen); 50 int GetKvValue(const std::string &strArgs, int argsLen, const std::string [all...] |
/test/xts/dcts/distributedhardware/distributedinputtest/ |
H A D | distributed_input_test.cpp | 44 const std::string& deviceId, const int32_t& status) in OnResult() 52 const std::string& deviceId, const int32_t& status) in OnResult() 60 const std::string& deviceId, const uint32_t& inputTypes, const int32_t& status) in OnResult() 69 const std::string& deviceId, const uint32_t& inputTypes, const int32_t& status) in OnResult() 78 const std::string &devId, const int32_t &status) in OnResultDhids() 85 void DistributedInputTest::TestInputNodeListener::OnNodeOnLine(const std::string &srcDevId, in OnNodeOnLine() 86 const std::string &sinkDevId, const std::string &sinkNodeId, const std::string &sinkNodeDesc) in OnNodeOnLine() 95 void DistributedInputTest::TestInputNodeListener::OnNodeOffLine(const std::string [all...] |
/test/testfwk/arkxtest/uitest/test/ |
H A D | frontend_api_handler_test.cpp | 64 ASSERT_EQ("wyz", container.at(INDEX_ZERO).get<string>()); in TEST_F() 71 static string GenerateUniqueId() in GenerateUniqueId() 83 ASSERT_TRUE(reply.exception_.message_.find("No handler found") != string::npos); in TEST_F() 114 out.resultValue_ = in.paramList_.at(0).get<string>().length() + in.paramList_.at(1).get<uint8_t>(); in TEST_F() 124 ASSERT_EQ(string("wyz").length() + 10, reply.resultValue_.get<uint8_t>()); in TEST_F() 141 ASSERT_TRUE(reply.exception_.message_.find("json.exception.out_of_range") != string::npos); in TEST_F() 167 if (in.paramList_.at(0).get<string>() == "oops") { in TEST_F() 199 const auto message = "No handler registered for '" + string(methodDef.name_) + "'"; in TEST_F() 210 auto call0 = ApiCallInfo {.apiId_ = "By.text", .callerObjRef_ = string(REF_SEED_BY)}; in TEST_F() 216 ASSERT_EQ(nlohmann::detail::value_t::string, reply in TEST_F() [all...] |
/test/xts/acts/arkui/ace_ets_web_scheme_handler_napis/entry/src/main/cpp/ |
H A D | test_request.h | 21 #include <string> 45 const std::string rawfilePath() { return rawfilePath_; } in rawfilePath() 46 const std::string url() { return url_; } in url() 47 const std::string method() { return method_; } in method() 48 const std::string referrer() { return referrer_; } in referrer() 59 const std::string rspUrl() { return rspUrl_; } in rspUrl() 62 const std::string rspStatusText() { return rspStatusText_; } in rspStatusText() 63 const std::string rspMimeType() { return rspMimeType_; } in rspMimeType() 64 const std::string rspCharSet() { return rspCharSet_; } in rspCharSet() 65 const std::string rspHos in rspCharSet() [all...] |
/test/xts/acts/multimedia/av_codec/audio_encoder/include/ |
H A D | AudioEncoderDemoCommon.h | 23 #include <string> 144 void NativeRunCase(std::string inputFile, std::string outputFile, 146 void NativeRunCaseWithoutCreate(OH_AVCodec* handle, std::string inputFile, 147 std::string outputFile, OH_AVFormat* format, const char* name, bool needConfig); 148 void NativeRunCasePerformance(std::string inputFile, std::string outputFile, 150 void NativeRunCaseFlush(std::string inputFile, std::string outputFileFirst, 151 std::string outputFileSecon [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/timepicker/ |
H A D | timepicker_disappeartextstyle_test.cpp | 23 value_item.string = "#FF182431;14;normal;Arial,HarmonyOS Sans;normal"; in TestTimePickerDisappearTextStyle001() 26 ASSERT_STREQ(nodeAPI->getAttribute(timepicker, NODE_TIME_PICKER_DISAPPEAR_TEXT_STYLE)->string, in TestTimePickerDisappearTextStyle001() 35 value_item.string = "abnormal"; in TestTimePickerDisappearTextStyle002() 38 ASSERT_STRNE(nodeAPI->getAttribute(timepicker, NODE_TIME_PICKER_DISAPPEAR_TEXT_STYLE)->string, "abnormal"); in TestTimePickerDisappearTextStyle002() 46 value_item.string = "#FF182431;14;bold;Arial,HarmonyOS Sans;normal"; in TestTimePickerDisappearTextStyle003() 49 ASSERT_STREQ(nodeAPI->getAttribute(timepicker, NODE_TIME_PICKER_DISAPPEAR_TEXT_STYLE)->string, in TestTimePickerDisappearTextStyle003() 58 value_item.string = "#FF182431;14;bolder;Arial,HarmonyOS Sans;normal"; in TestTimePickerDisappearTextStyle004() 61 ASSERT_STREQ(nodeAPI->getAttribute(timepicker, NODE_TIME_PICKER_DISAPPEAR_TEXT_STYLE)->string, in TestTimePickerDisappearTextStyle004() 70 value_item.string = "#FF182431;14;lighter;Arial,HarmonyOS Sans;normal"; in TestTimePickerDisappearTextStyle005() 73 ASSERT_STREQ(nodeAPI->getAttribute(timepicker, NODE_TIME_PICKER_DISAPPEAR_TEXT_STYLE)->string, in TestTimePickerDisappearTextStyle005() [all...] |
H A D | timepicker_selectedtextstyle_test.cpp | 23 value_item.string = "#FF182431;14;normal;Arial,HarmonyOS Sans;normal"; in TestTimePickerSelectedTextStyle001() 26 ASSERT_STREQ(nodeAPI->getAttribute(timepicker, NODE_TIME_PICKER_SELECTED_TEXT_STYLE)->string, in TestTimePickerSelectedTextStyle001() 35 value_item.string = "abnormal"; in TestTimePickerSelectedTextStyle002() 38 ASSERT_STRNE(nodeAPI->getAttribute(timepicker, NODE_TIME_PICKER_SELECTED_TEXT_STYLE)->string, "abnormal"); in TestTimePickerSelectedTextStyle002() 46 value_item.string = "#FF182431;14;bold;Arial,HarmonyOS Sans;normal"; in TestTimePickerSelectedTextStyle003() 49 ASSERT_STREQ(nodeAPI->getAttribute(timepicker, NODE_TIME_PICKER_SELECTED_TEXT_STYLE)->string, in TestTimePickerSelectedTextStyle003() 58 value_item.string = "#FF182431;14;bolder;Arial,HarmonyOS Sans;normal"; in TestTimePickerSelectedTextStyle004() 61 ASSERT_STREQ(nodeAPI->getAttribute(timepicker, NODE_TIME_PICKER_SELECTED_TEXT_STYLE)->string, in TestTimePickerSelectedTextStyle004() 70 value_item.string = "#FF182431;14;lighter;Arial,HarmonyOS Sans;normal"; in TestTimePickerSelectedTextStyle005() 73 ASSERT_STREQ(nodeAPI->getAttribute(timepicker, NODE_TIME_PICKER_SELECTED_TEXT_STYLE)->string, in TestTimePickerSelectedTextStyle005() [all...] |
H A D | timepicker_textstyle_test.cpp | 23 value_item.string = "#FF182431;14;normal;Arial,HarmonyOS Sans;normal"; in TestTimePickerTextStyle001() 26 ASSERT_STREQ(nodeAPI->getAttribute(timePicker, NODE_TIME_PICKER_TEXT_STYLE)->string, in TestTimePickerTextStyle001() 35 value_item.string = "abnormal"; in TestTimePickerTextStyle002() 38 ASSERT_STRNE(nodeAPI->getAttribute(timePicker, NODE_TIME_PICKER_TEXT_STYLE)->string, "abnormal"); in TestTimePickerTextStyle002() 46 value_item.string = "#FF182431;14;bold;Arial,HarmonyOS Sans;normal"; in TestTimePickerTextStyle003() 49 ASSERT_STREQ(nodeAPI->getAttribute(timePicker, NODE_TIME_PICKER_TEXT_STYLE)->string, in TestTimePickerTextStyle003() 58 value_item.string = "#FF182431;14;bolder;Arial,HarmonyOS Sans;normal"; in TestTimePickerTextStyle004() 61 ASSERT_STREQ(nodeAPI->getAttribute(timePicker, NODE_TIME_PICKER_TEXT_STYLE)->string, in TestTimePickerTextStyle004() 70 value_item.string = "#FF182431;14;lighter;Arial,HarmonyOS Sans;normal"; in TestTimePickerTextStyle005() 73 ASSERT_STREQ(nodeAPI->getAttribute(timePicker, NODE_TIME_PICKER_TEXT_STYLE)->string, in TestTimePickerTextStyle005() [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/textpicker/ |
H A D | textpicker_selectedtextstyle_test.cpp | 23 value_item.string = "#FF182431;14;normal;Arial,HarmonyOS Sans;normal"; in TestTextPickerSelectedTextStyle001() 26 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_SELECTED_TEXT_STYLE)->string, in TestTextPickerSelectedTextStyle001() 35 value_item.string = "abnormal"; in TestTextPickerSelectedTextStyle002() 38 ASSERT_STRNE(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_SELECTED_TEXT_STYLE)->string, "abnormal"); in TestTextPickerSelectedTextStyle002() 46 value_item.string = "#FF182431;14;bold;Arial,HarmonyOS Sans;normal"; in TestTextPickerSelectedTextStyle003() 49 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_SELECTED_TEXT_STYLE)->string, in TestTextPickerSelectedTextStyle003() 58 value_item.string = "#FF182431;14;bolder;Arial,HarmonyOS Sans;normal"; in TestTextPickerSelectedTextStyle004() 61 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_SELECTED_TEXT_STYLE)->string, in TestTextPickerSelectedTextStyle004() 70 value_item.string = "#FF182431;14;lighter;Arial,HarmonyOS Sans;normal"; in TestTextPickerSelectedTextStyle005() 73 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_SELECTED_TEXT_STYLE)->string, in TestTextPickerSelectedTextStyle005() [all...] |
H A D | textpicker_textstyle_test.cpp | 23 value_item.string = "#FF182431;14;normal;Arial,HarmonyOS Sans;normal"; in TestTextPickerTextStyle001() 26 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_TEXT_STYLE)->string, in TestTextPickerTextStyle001() 35 value_item.string = "abnormal"; in TestTextPickerTextStyle002() 38 ASSERT_STRNE(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_TEXT_STYLE)->string, "abnormal"); in TestTextPickerTextStyle002() 46 value_item.string = "#FF182431;14;bold;Arial,HarmonyOS Sans;normal"; in TestTextPickerTextStyle003() 49 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_TEXT_STYLE)->string, in TestTextPickerTextStyle003() 58 value_item.string = "#FF182431;14;bolder;Arial,HarmonyOS Sans;normal"; in TestTextPickerTextStyle004() 61 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_TEXT_STYLE)->string, in TestTextPickerTextStyle004() 70 value_item.string = "#FF182431;14;lighter;Arial,HarmonyOS Sans;normal"; in TestTextPickerTextStyle005() 73 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_TEXT_STYLE)->string, in TestTextPickerTextStyle005() [all...] |
H A D | textpicker_disappeartextstyle_test.cpp | 23 value_item.string = "#FF182431;14;normal;Arial,HarmonyOS Sans;normal"; in TestTextPickerDisappearTextStyle001() 26 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_DISAPPEAR_TEXT_STYLE)->string, in TestTextPickerDisappearTextStyle001() 35 value_item.string = "abnormal"; in TestTextPickerDisappearTextStyle002() 38 ASSERT_STRNE(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_DISAPPEAR_TEXT_STYLE)->string, "abnormal"); in TestTextPickerDisappearTextStyle002() 46 value_item.string = "#FF182431;14;bold;Arial,HarmonyOS Sans;normal"; in TestTextPickerDisappearTextStyle003() 49 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_DISAPPEAR_TEXT_STYLE)->string, in TestTextPickerDisappearTextStyle003() 58 value_item.string = "#FF182431;14;bolder;Arial,HarmonyOS Sans;normal"; in TestTextPickerDisappearTextStyle004() 61 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_DISAPPEAR_TEXT_STYLE)->string, in TestTextPickerDisappearTextStyle004() 70 value_item.string = "#FF182431;14;lighter;Arial,HarmonyOS Sans;normal"; in TestTextPickerDisappearTextStyle005() 73 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_DISAPPEAR_TEXT_STYLE)->string, in TestTextPickerDisappearTextStyle005() [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/datepicker/ |
H A D | datepicker_selectedtextstyle_test.cpp | 23 value_item.string = "#FF182431;14;normal;Arial,HarmonyOS Sans;normal"; in TestDatePickerSelectedTextStyle001() 26 ASSERT_STREQ(nodeAPI->getAttribute(datePicker, NODE_DATE_PICKER_SELECTED_TEXT_STYLE)->string, in TestDatePickerSelectedTextStyle001() 35 value_item.string = "abnormal"; in TestDatePickerSelectedTextStyle002() 38 ASSERT_STRNE(nodeAPI->getAttribute(datePicker, NODE_DATE_PICKER_SELECTED_TEXT_STYLE)->string, "abnormal"); in TestDatePickerSelectedTextStyle002() 46 value_item.string = "#FF182431;14;bold;Arial,HarmonyOS Sans;normal"; in TestDatePickerSelectedTextStyle003() 49 ASSERT_STREQ(nodeAPI->getAttribute(datePicker, NODE_DATE_PICKER_SELECTED_TEXT_STYLE)->string, in TestDatePickerSelectedTextStyle003() 58 value_item.string = "#FF182431;14;bolder;Arial,HarmonyOS Sans;normal"; in TestDatePickerSelectedTextStyle004() 61 ASSERT_STREQ(nodeAPI->getAttribute(datePicker, NODE_DATE_PICKER_SELECTED_TEXT_STYLE)->string, in TestDatePickerSelectedTextStyle004() 70 value_item.string = "#FF182431;14;lighter;Arial,HarmonyOS Sans;normal"; in TestDatePickerSelectedTextStyle005() 73 ASSERT_STREQ(nodeAPI->getAttribute(datePicker, NODE_DATE_PICKER_SELECTED_TEXT_STYLE)->string, in TestDatePickerSelectedTextStyle005() [all...] |
H A D | datepicker_textstyle_test.cpp | 23 value_item.string = "#FF182431;14;normal;Arial,HarmonyOS Sans;normal"; in TestDatePickerTextStyle001() 26 ASSERT_STREQ(nodeAPI->getAttribute(datePicker, NODE_DATE_PICKER_TEXT_STYLE)->string, in TestDatePickerTextStyle001() 35 value_item.string = "abnormal"; in TestDatePickerTextStyle002() 38 ASSERT_STRNE(nodeAPI->getAttribute(datePicker, NODE_DATE_PICKER_TEXT_STYLE)->string, "abnormal"); in TestDatePickerTextStyle002() 46 value_item.string = "#FF182431;14;bold;Arial,HarmonyOS Sans;normal"; in TestDatePickerTextStyle003() 49 ASSERT_STREQ(nodeAPI->getAttribute(datePicker, NODE_DATE_PICKER_TEXT_STYLE)->string, in TestDatePickerTextStyle003() 58 value_item.string = "#FF182431;14;bolder;Arial,HarmonyOS Sans;normal"; in TestDatePickerTextStyle004() 61 ASSERT_STREQ(nodeAPI->getAttribute(datePicker, NODE_DATE_PICKER_TEXT_STYLE)->string, in TestDatePickerTextStyle004() 70 value_item.string = "#FF182431;14;lighter;Arial,HarmonyOS Sans;normal"; in TestDatePickerTextStyle005() 73 ASSERT_STREQ(nodeAPI->getAttribute(datePicker, NODE_DATE_PICKER_TEXT_STYLE)->string, in TestDatePickerTextStyle005() [all...] |
H A D | datepicker_disappeartextstyle_test.cpp | 23 value_item.string = "#FF182431;14;normal;Arial,HarmonyOS Sans;normal"; in TestDatePickerDisappearTextStyle001() 26 ASSERT_STREQ(nodeAPI->getAttribute(datePicker, NODE_DATE_PICKER_DISAPPEAR_TEXT_STYLE)->string, in TestDatePickerDisappearTextStyle001() 35 value_item.string = "abnormal"; in TestDatePickerDisappearTextStyle002() 38 ASSERT_STRNE(nodeAPI->getAttribute(datePicker, NODE_DATE_PICKER_DISAPPEAR_TEXT_STYLE)->string, "abnormal"); in TestDatePickerDisappearTextStyle002() 46 value_item.string = "#FF182431;14;bold;Arial,HarmonyOS Sans;normal"; in TestDatePickerDisappearTextStyle003() 49 ASSERT_STREQ(nodeAPI->getAttribute(datePicker, NODE_DATE_PICKER_DISAPPEAR_TEXT_STYLE)->string, in TestDatePickerDisappearTextStyle003() 58 value_item.string = "#FF182431;14;bolder;Arial,HarmonyOS Sans;normal"; in TestDatePickerDisappearTextStyle004() 61 ASSERT_STREQ(nodeAPI->getAttribute(datePicker, NODE_DATE_PICKER_DISAPPEAR_TEXT_STYLE)->string, in TestDatePickerDisappearTextStyle004() 70 value_item.string = "#FF182431;14;lighter;Arial,HarmonyOS Sans;normal"; in TestDatePickerDisappearTextStyle005() 73 ASSERT_STREQ(nodeAPI->getAttribute(datePicker, NODE_DATE_PICKER_DISAPPEAR_TEXT_STYLE)->string, in TestDatePickerDisappearTextStyle005() [all...] |
/test/testfwk/developer_test/aw/cxx/hwext/ |
H A D | perf.h | 21 #include <string> 34 std::string testcasename; 48 std::string date; 49 std::string url; 50 std::list<std::map<std::string, std::string>> items; 57 explicit BaseLineManager(const std::string path); 60 bool LoadConfig(const std::string path); 62 bool GetExtraValueDouble(const std::string testcaseName, const std::string extr [all...] |
/test/ostest/wukong/common/src/ |
H A D | wukong_util.cpp | 44 const std::string DEFAULT_DIR = "/data/local/tmp/wukong/report/"; 76 bool TakeWuKongScreenCap(const std::string &wkScreenPath, const bool checkBWScreen = false) in TakeWuKongScreenCap() 149 startRunTime_ = std::string(fileNameBuf); in WuKongUtil() 156 std::string dirStr = "/"; in WuKongUtil() 157 std::vector<std::string> strs; in WuKongUtil() 203 std::string bundleName = item.elementName.GetBundleName(); in GetAllAppInfo() 219 void WuKongUtil::GetBundleList(std::vector<std::string> &bundlelist, std::vector<std::string> &abilitylist) in GetBundleList() 228 uint32_t WuKongUtil::FindElement(std::vector<std::string> &bundleList, std::string ke [all...] |
/test/xts/dcts/distributedhardware/distributedaudionewtest/ |
H A D | distributedaudiotest.h | 21 #include <string> 118 std::string FindAudioDevice(); 119 std::string OpenSpk(std::string devId); 120 std::string StartRender(); 121 std::string StopRender(); 122 std::string CloseSpk(); 123 std::string OpenMic(std::string devId); 124 std::string StartCaptur [all...] |
/test/testfwk/developer_test/aw/cxx/distributed/utils/ |
H A D | csv_transform_xml.h | 21 #include <string> 31 std::vector<std::string> csvFiles_; 32 std::vector<std::string> vecLines_; 33 std::string csvFileName_ = ""; 34 std::string xmlFileName_ = ""; 35 std::string fileName_ = ""; 39 explicit CsvTransformXml(std::string targetFile) in CsvTransformXml() 63 std::string strLine; in FileOperate() 70 for (std::string s : vecLines_) { in FileOperate() 82 if (!(vecLines_.at(i + 2).compare("FAILED"))) { // the result of every case intervals 2 string in FileOperate() [all...] |