Home
last modified time | relevance | path

Searched defs:string (Results 1 – 25 of 143) sorted by relevance

123456

/developtools/integration_verification/tools/fotff/utils/
Dssh.go31 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…
Dhttp.go27 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…
Dexec.go29 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) {
Druntime.go30 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) {
Dhdc.go23 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 {
Dmail.go51 func SendMail(subject string, body string, attachments ...string) error {
/developtools/integration_verification/tools/fotff/rec/
Dfotff.go38 …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…
Drecord.go53 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) {
Dreport.go58 func Report(curPkg string, taskName string) {
/developtools/integration_verification/tools/fotff/pkg/
Dpkg.go26 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/
Dtester.go37 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/
Dsteps_gitee.go52 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) {
Dget_newer_ci.go57 … *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) {
Dcommon.go39 func NewManager(component string, branch string, manifestBranch string, archiveDir string, workspac…
Dget_newer_or_fail.go31 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/
Dmain.go63 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/
Dflash.go35 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/
Dissue.go29 func GetMRIssueURL(owner string, repo string, num int) ([]string, error) {
Dcompare.go63 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/
Dtask_pool_filter.cpp47 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/
Dunzip_handle_param.cpp21 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/
Dsign_elf.cpp34 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/
Dmock_fast_app_module_json_utils.cpp210 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/
Dmock_module_json_utils.cpp209 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/
Dmock_multiapp_module_json_utils.cpp210 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()

123456