| /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/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/smartperf_host/smartperf_host/ide/server/ |
| D | main.go | 63 func cors(fs http.Handler, version string) http.HandlerFunc { 82 func exist(path string) bool { 398 func jsonToMap(str string) (map[string]interface{}, error) { 408 func MkDir(path string) { 436 func get(url string) (*http.Response, error) { 475 func getSuffixByUrl(u string) struct { 542 func SplitLines(s string) []string { 551 func readFileFirstLine(path string) string { 566 func PathExists(path string) (bool, error) { 577 func chekDir(path string) { [all …]
|
| /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/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/smartperf_host/trace_streamer/src/filter/ |
| D | task_pool_filter.cpp | 47 std::unordered_map<std::string, std::string> &args) in TaskPoolFieldSegmentation() 90 auto TaskPoolFilter::GetExecuteIdOrTaskId(const std::unordered_map<std::string, std::string> &args) in GetExecuteIdOrTaskId() 100 bool TaskPoolFilter::UpdateAssignData(const std::unordered_map<std::string, std::string> &args, uin… in UpdateAssignData() 121 bool TaskPoolFilter::UpdateExecuteData(const std::unordered_map<std::string, std::string> &args, ui… in UpdateExecuteData() 146 bool TaskPoolFilter::UpdateReturnData(const std::unordered_map<std::string, std::string> &args, uin… in UpdateReturnData()
|
| /developtools/hapsigner/hapsigntool_cpp/codesigning/datastructure/src/ |
| D | unzip_handle_param.cpp | 21 UnzipHandleParam::UnzipHandleParam(const CodeSignBlock& csb, const std::pair<std::string, std::stri… in UnzipHandleParam() 29 UnzipHandleParam::UnzipHandleParam(std::vector<std::pair<std::string, SignInfo>>& ret, in UnzipHandleParam()
|
| /developtools/hapsigner/binary_sign_tool/hap/sign/src/ |
| D | sign_elf.cpp | 34 bool SignElf::Sign(SignerConfig& signerConfig, std::map<std::string, std::string>& signParams) in Sign() 71 bool SignElf::loadModule(std::map<std::string, std::string>& signParams, std::string& moduleContent) in loadModule() 89 bool SignElf::loadProfileAndSign(SignerConfig& signerConfig, std::map<std::string, std::string>& si… in loadProfileAndSign() 180 std::map<std::string, std::string>& signParams) in WriteSecDataToFile()
|
| /developtools/packing_tool/packing_tool/frameworks/test/unittest/fast_app_packager_test/mock/ |
| D | mock_fast_app_module_json_utils.cpp | 210 std::map<std::string, std::shared_ptr<HapVerifyInfo>>& hapVerifyInfoMap) in GetHapVerifyInfosMapfromFileList() 249 bool ValidateParameters(const std::map<std::string, std::string>& parameterMap) in ValidateParameters() 267 std::map<std::string, std::shared_ptr<HapVerifyInfo>>& hapVerifyInfoMap, in ProcessZipFile() 326 std::map<std::string, std::string> parameterMap, in CheckAppAtomicServiceCompressedSizeValid()
|
| /developtools/packing_tool/packing_tool/frameworks/test/unittest/app_packager_test/mock/ |
| D | mock_module_json_utils.cpp | 209 std::map<std::string, std::shared_ptr<HapVerifyInfo>>& hapVerifyInfoMap) in GetHapVerifyInfosMapfromFileList() 248 bool ValidateParameters(const std::map<std::string, std::string>& parameterMap) in ValidateParameters() 266 std::map<std::string, std::shared_ptr<HapVerifyInfo>>& hapVerifyInfoMap, in ProcessZipFile() 325 std::map<std::string, std::string> parameterMap, in CheckAppAtomicServiceCompressedSizeValid()
|
| /developtools/packing_tool/packing_tool/frameworks/test/unittest/multiapp_packager_test/mock/ |
| D | mock_multiapp_module_json_utils.cpp | 210 std::map<std::string, std::shared_ptr<HapVerifyInfo>>& hapVerifyInfoMap) in GetHapVerifyInfosMapfromFileList() 249 bool ValidateParameters(const std::map<std::string, std::string>& parameterMap) in ValidateParameters() 267 std::map<std::string, std::shared_ptr<HapVerifyInfo>>& hapVerifyInfoMap, in ProcessZipFile() 326 std::map<std::string, std::string> parameterMap, in CheckAppAtomicServiceCompressedSizeValid()
|