/developtools/integration_verification/tools/fotff/utils/ |
D | ssh.go | 31 func newSSHClient(addr string, user string, passwd string) (*ssh.Client, error) { 41 func RunCmdViaSSHContext(ctx context.Context, addr string, user string, passwd string, cmd string) … 54 …nc RunCmdViaSSHContextNoRetry(ctx context.Context, addr string, user string, passwd string, cmd st… 113 func TransFileViaSSH(verb Direct, addr string, user string, passwd string, remoteFile string, local…
|
D | http.go | 27 func DoSimpleHttpReqRaw(method string, url string, body []byte, header map[string]string) (response… 41 func DoSimpleHttpReq(method string, url string, body []byte, header map[string]string) (ret []byte,… 58 func doSimpleHttpReqImpl(method string, url string, body []byte, header map[string]string) (respons…
|
D | exec.go | 29 func ExecContext(ctx context.Context, name string, args ...string) error { 42 func execContext(ctx context.Context, name string, args ...string) error { 63 func ExecCombinedOutputContext(ctx context.Context, name string, args ...string) ([]byte, error) { 77 func execCombinedOutputContext(ctx context.Context, name string, args ...string) ([]byte, error) {
|
D | runtime.go | 30 func sectionKey(section, key string) string { 41 func CacheGet(section string, k string) (v any, found bool) { 45 func CacheSet(section string, k string, v any) error { 50 func WriteRuntimeData(name string, data []byte) error { 54 func ReadRuntimeData(name string) ([]byte, error) {
|
D | hdc.go | 23 func WaitHDC(device string, ctx context.Context) bool { 58 func TryRebootToLoader(device string, ctx context.Context) error { 75 func HdcShell(cmd, device string, ctx context.Context) error {
|
D | mail.go | 51 func SendMail(subject string, body string, attachments ...string) error {
|
/developtools/integration_verification/tools/fotff/rec/ |
D | fotff.go | 38 …FirstFail(m pkg.Manager, t tester.Tester, testCase string, successPkg string, failPkg string, fell… 53 …indOutTheFirstFail(m pkg.Manager, t tester.Tester, testcase string, steps []string, fellows ...str… 131 …ashAndTest(m pkg.Manager, t tester.Tester, pkg string, testcase string, ctx context.Context, fello…
|
D | record.go | 53 func HandleResults(t tester.Tester, dev string, pkgName string, results []tester.Result) []string { 67 func handlePassResults(pkgName string, results []tester.Result) { 80 func handleFailResults(t tester.Tester, dev string, pkgName string, results []tester.Result) []stri… 115 func Analysis(m pkg.Manager, t tester.Tester, pkgName string, testcases []string) {
|
D | report.go | 58 func Report(curPkg string, taskName string) {
|
/developtools/smartperf_host/ide/server/ |
D | main.go | 54 func cors(fs http.Handler, version string) http.HandlerFunc { 73 func exist(path string) bool { 228 func jsonToMap(str string) (map[string]interface{}, error) { 238 func MkDir(path string) { 266 func get(url string) (*http.Response, error) { 305 func getSuffixByUrl(u string) struct { 373 func SplitLines(s string) []string { 382 func readFileFirstLine(path string) string { 397 func PathExists(path string) (bool, error) { 408 func chekDir(path string) { [all …]
|
/developtools/integration_verification/tools/fotff/pkg/ |
D | pkg.go | 26 Flash(device string, pkg string, ctx context.Context) error 28 LastIssue(pkg string) (string, error) 30 Steps(from, to string) ([]string, error) 32 GetNewer(cur string) (string, error) 34 PkgDir(pkg string) string
|
/developtools/integration_verification/tools/fotff/tester/ |
D | tester.go | 37 Prepare(pkgDir string, device string, ctx context.Context) error 39 DoTestTask(device string, ctx context.Context) ([]Result, error) 41 DoTestCase(device string, testCase string, ctx context.Context) (Result, error) 43 DoTestCases(device string, testcases []string, ctx context.Context) ([]Result, error)
|
/developtools/integration_verification/tools/fotff/pkg/gitee_common/ |
D | steps_gitee.go | 52 func (m *Manager) stepsFromGitee(from, to string) (pkgs []string, err error) { 85 func (m *Manager) getRepoUpdates(from, to string) (updates []vcs.ProjectUpdate, err error) { 97 func getAllStepsFromGitee(startTime, endTime time.Time, branch string, manifestBranch string, updat… 109 func getAllMRs(startTime, endTime time.Time, branch string, manifestBranch string, updates []vcs.Pr… 144 func combineMRsToIssue(allMRs []*gitee.Commit, branch string) (map[string]*IssueInfo, error) { 235 func deDupIssues(issues []string) (retIssues []string) { 248 func parseStructureUpdates(commit *gitee.Commit, branch string) (string, []*vcs.ProjectUpdate, erro… 282 func parseFilePatch(str string, m map[string]vcs.ProjectUpdate) error { 329 func parseTime(pkg string) (time.Time, error) {
|
D | get_newer_ci.go | 57 … *Manager) loopCI(param DailyBuildsQueryParam, cur string, getFn func(cur string, resp *DailyBuild… 90 func (m *Manager) getNewerFromCI(cur string) string { 101 func (m *Manager) getNewerDailyBuild(cur string, db *DailyBuild) string { 118 func (m *Manager) downloadToWorkspace(url string) (string, error) {
|
D | common.go | 39 func NewManager(component string, branch string, manifestBranch string, archiveDir string, workspac…
|
D | get_newer_or_fail.go | 31 func (m *Manager) GetNewerOrFail(cur string) (string, error) { 46 func (m *Manager) getNewerOrFailFromCI(cur string) string { 56 func (m *Manager) getNewerDailyBuildOrFail(cur string, db *DailyBuild) string {
|
/developtools/integration_verification/tools/fotff/pkg/dayu200/ |
D | flash.go | 35 func (m *Manager) flashDevice(device string, pkg string, ctx context.Context) error { 52 func (m *Manager) flashImages(device string, pkg string, ctx context.Context) error {
|
/developtools/profiler/host/smartperf/client/client_command/ |
D | parse_radar.cpp | 36 double Radar::ParseRadarStartResponse(std::string string) in ParseRadarStartResponse() 43 std::string Radar::ParseRadarAppStrart(std::string string) in ParseRadarAppStrart() 55 double Radar::ParseRadarResponse(std::string string) in ParseRadarResponse() 62 double Radar::ParseRadarComplete(std::string string) in ParseRadarComplete() 69 std::string Radar::ParseRadarFrame(std::string string) in ParseRadarFrame()
|
/developtools/integration_verification/tools/fotff/vcs/gitee/ |
D | issue.go | 29 func GetMRIssueURL(owner string, repo string, num int) ([]string, error) {
|
D | compare.go | 63 func GetLatestMRBefore(owner, repo, branch string, before string) (ret *Commit, err error) { 79 func GetBetweenTimeMRs(owner, repo, branch string, from, to time.Time) (ret []*Commit, err error) {
|
/developtools/smartperf_host/trace_streamer/src/filter/ |
D | task_pool_filter.cpp | 47 std::unordered_map<std::string, std::string>& args) in TaskPoolFieldSegmentation() 89 bool TaskPoolFilter::UpdateAssignData(const std::unordered_map<std::string, std::string>& args, uin… in UpdateAssignData() 111 bool TaskPoolFilter::UpdateExecuteData(const std::unordered_map<std::string, std::string>& args, ui… in UpdateExecuteData() 138 bool TaskPoolFilter::UpdateReturnData(const std::unordered_map<std::string, std::string>& args, uin… in UpdateReturnData()
|
/developtools/global_resource_tool/src/ |
D | resource_table.cpp | 183 uint32_t ResourceTable::SaveToResouorceIndex(const map<string, vector<TableData>> &configs) const in SaveToResouorceIndex() argument 229 bool ResourceTable::Prepare(const map<string, vector<TableData>> &configs, in Prepare() 266 bool ResourceTable::SaveRecordItem(const map<string, vector<TableData>> &configs, in SaveRecordItem() 312 void ResourceTable::SaveLimitKeyConfigs(const map<string, LimitKeyConfig> &limitKeyConfigs, ostring… in SaveLimitKeyConfigs() argument 324 void ResourceTable::SaveIdSets(const map<string, IdSet> &idSets, ostringstream &out) const in SaveIdSets() argument
|
D | cmd_parser.cpp | 409 … handles_.emplace(Option::FORCEWRITE, [this](const string &) -> uint32_t { return ForceWrite(); }); in InitCommand() 410 … handles_.emplace(Option::VERSION, [this](const string &) -> uint32_t { return PrintVersion(); }); in InitCommand() 415 handles_.emplace(Option::COMBINE, [this](const string &) -> uint32_t { return SetCombine(); }); in InitCommand() 417 handles_.emplace(Option::HELP, [this](const string &) -> uint32_t { return ShowHelp(); }); in InitCommand() 420 … handles_.emplace(Option::ICON_CHECK, [this](const string &) -> uint32_t { return IconCheck(); }); in InitCommand()
|
/developtools/hiperf/src/ |
D | subcommand_stat.cpp | 155 void SubCommandStat::Report(const std::map<std::string, std::unique_ptr<PerfEvents::CountEvent>> &c… in Report() 249 const std::map<std::string, std::unique_ptr<PerfEvents::CountEvent>> &countEvents) in ReportDetailInfos() 281 const std::map<std::string, std::unique_ptr<PerfEvents::CountEvent>> &countEvents) in ReportNormal() 309 bool SubCommandStat::FindEventCount(const std::map<std::string, std::unique_ptr<PerfEvents::CountEv… in FindEventCount() 461 void SubCommandStat::GetComments(const std::map<std::string, std::unique_ptr<PerfEvents::CountEvent… in GetComments() 551 const std::map<std::string, std::unique_ptr<PerfEvents::CountEvent>> &countEvents, in FindRunningTime()
|
/developtools/hdc/src/common/ |
D | base.h | 111 std::function<void(const uint8_t, string &, const void *)> cb) in DelayDoSimple() argument 115 …inline bool DoNextLoop(uv_loop_t *loop, void *data, std::function<void(const uint8_t, string &, co… in DoNextLoop() argument
|