Home
last modified time | relevance | path

Searched refs:utils (Results 1 – 25 of 191) sorted by relevance

12345678

/developtools/integration_verification/tools/fotff/rec/
Dreport.go100 if utils.LogFile != nil {
101 if err := c.Compress(utils.LogFile.Name(), utils.LogFile.Name()+".tgz"); err != nil {
102 logrus.Errorf("failed to compress %s: %v", utils.LogFile.Name(), err)
104 attrs = append(attrs, utils.LogFile.Name()+".tgz")
107 if utils.StdoutFile != nil {
108 if err := c.Compress(utils.StdoutFile.Name(), utils.StdoutFile.Name()+".tgz"); err != nil {
109 logrus.Errorf("failed to compress %s: %v", utils.StdoutFile.Name(), err)
111 attrs = append(attrs, utils.StdoutFile.Name()+".tgz")
114 if err := utils.SendMail(subject, css+tb.RenderHTML(), attrs...); err != nil {
Dfotff.go133 if result, found := utils.CacheGet("testcase_result", testcase+"__at__"+pkg); found {
136 …if fellowResult, fellowFound := utils.CacheGet("testcase_result", fellow+"__at__"+pkg); fellowFoun…
165 utils.CacheSet("testcase_result", result.TestCaseName+"__at__"+pkg, result)
/developtools/integration_verification/tools/fotff/pkg/dayu200/
Dflash.go36 if err := utils.TryRebootToLoader(device, ctx); err != nil {
43 if connected := utils.WaitHDC(device, ctx); !connected {
56 data, _ := utils.ExecCombinedOutputContext(ctx, m.FlashTool, "LD")
60 data, _ := utils.ExecCombinedOutputContext(ctx, m.FlashTool, "LD")
65 …if err := utils.ExecContext(ctx, m.FlashTool, "-s", locationID, "UL", filepath.Join(m.Workspace, p…
71 …if err := utils.ExecContext(ctx, m.FlashTool, "-s", locationID, "UL", filepath.Join(m.Workspace, p…
80 …if err := utils.ExecContext(ctx, m.FlashTool, "-s", locationID, "DI", "-p", filepath.Join(m.Worksp…
88 …if err := utils.ExecContext(ctx, m.FlashTool, "-s", locationID, "DI", "-uboot", filepath.Join(m.Wo…
104 …if err := utils.ExecContext(ctx, m.FlashTool, "-s", locationID, "DI", "-"+part, filepath.Join(m.Wo…
110 …if err := utils.ExecContext(ctx, m.FlashTool, "-s", locationID, "DI", "-"+part, filepath.Join(m.Wo…
[all …]
/developtools/integration_verification/tools/fotff/pkg/gitee_common/
Dbuild.go72 …if err := utils.RunCmdViaSSHContext(ctx, server.Addr, server.User, server.Passwd, cmd); err != nil…
75 if err := utils.TransFileViaSSH(utils.Upload, server.Addr, server.User, server.Passwd,
81 …if err := utils.RunCmdViaSSHContext(ctx, server.Addr, server.User, server.Passwd, cmd); err != nil…
85 …if err := utils.RunCmdViaSSHContextNoRetry(ctx, server.Addr, server.User, server.Passwd, cmd); err…
90 …if err := utils.RunCmdViaSSHContext(ctx, server.Addr, server.User, server.Passwd, cmd); err != nil…
95 …if err := utils.RunCmdViaSSHContextNoRetry(ctx, server.Addr, server.User, server.Passwd, cmd); err…
101 if err := utils.TransFileViaSSH(utils.Download, server.Addr, server.User, server.Passwd,
/developtools/ace_js2bundle/ace-loader/src/
Dmanifest-loader.js16 const utils = require('./util'); constant
23 …const manifestPlugin = utils.stringifyLoaders([{ name: path.resolve(__dirname, 'manifest-plugin.js…
24 const queryString = utils.getRequireString(this, manifestPlugin, manifestFilePath);
/developtools/integration_verification/tools/fotff/vcs/gitee/
Dcommit.go28 if c, found := utils.CacheGet("gitee", url); found {
32 resp, err = utils.DoSimpleHttpReq(http.MethodGet, url, nil, nil)
36 utils.CacheSet("gitee", url, resp)
Dissue.go32 if c, found := utils.CacheGet("gitee", url); found {
36 resp, err = utils.DoSimpleHttpReq(http.MethodGet, url, nil, nil)
40 utils.CacheSet("gitee", url, resp)
Dcompare.go124 if c, found := utils.CacheGet("gitee", url); found {
128 resp, err = utils.DoSimpleHttpReq(http.MethodGet, url, nil, nil)
132 utils.CacheSet("gitee", url, resp)
/developtools/integration_verification/tools/fotff/tester/xdevice/
Dxdevice.go59 utils.ParseFromConfigFile("xdevice", ret)
69 if err := utils.HdcShell(enableTestModeScript, device, ctx); err != nil {
73 if connected := utils.WaitHDC(device, ctx); !connected {
88 if err := utils.ExecContext(ctx, "python", args...); err != nil {
104 if err := utils.ExecContext(ctx, "python", args...); err != nil {
128 if err := utils.ExecContext(ctx, "python", args...); err != nil {
/developtools/integration_verification/tools/fotff/
Dmain.go130 utils.EnablePprof()
138 data, _ := utils.ReadRuntimeData("last_handled.rec")
141 utils.ResetLogOutput()
142 if err := utils.WriteRuntimeData("last_handled.rec", []byte(curPkg)); err != nil {
152 utils.SetLogOutput(filepath.Base(curPkg))
198 utils.ParseFromConfigFile("", &conf)
/developtools/integration_verification/tools/fotff/tester/common/
Dcommon.go41 utils.ParseFromConfigFile("common", t)
61 if err := utils.ExecContext(ctx, t.Tool, args...); err != nil {
82 if err := utils.ExecContext(ctx, t.Tool, args...); err != nil {
115 if err := utils.ExecContext(ctx, t.Tool, args...); err != nil {
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/provider/
DLocalJKSSignProvider.java21 import com.ohos.hapsigntool.utils.FileUtils;
22 import com.ohos.hapsigntool.utils.ParamConstants;
23 import com.ohos.hapsigntool.utils.ParamProcessUtil;
DSignProvider.java36 import com.ohos.hapsigntool.utils.CertificateUtils;
37 import com.ohos.hapsigntool.utils.DigestUtils;
38 import com.ohos.hapsigntool.utils.EscapeCharacter;
39 import com.ohos.hapsigntool.utils.FileUtils;
40 import com.ohos.hapsigntool.utils.HapUtils;
41 import com.ohos.hapsigntool.utils.ParamConstants;
42 import com.ohos.hapsigntool.utils.ParamProcessUtil;
43 import com.ohos.hapsigntool.utils.StringUtils;
/developtools/integration_verification/tools/fotff/tester/smoke/
Dsmoke.go49 utils.ParseFromConfigFile("smoke", ret)
70 if err := utils.ExecContext(ctx, "python", args...); err != nil {
89 if err := utils.ExecContext(ctx, "python", args...); err != nil {
116 if err := utils.ExecContext(ctx, "python", args...); err != nil {
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/
DSignBin.java25 import com.ohos.hapsigntool.utils.FileUtils;
26 import com.ohos.hapsigntool.utils.HashUtils;
27 import com.ohos.hapsigntool.utils.ParamConstants;
28 import com.ohos.hapsigntool.utils.ParamProcessUtil;
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/
DVerifyHelper.java23 import com.ohos.hapsigntool.utils.CertChainUtils;
24 import com.ohos.hapsigntool.utils.CertUtils;
25 import com.ohos.hapsigntool.utils.FileUtils;
26 import com.ohos.hapsigntool.utils.ValidateUtils;
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
DStringUtils.java16 package com.ohos.hapsigntool.utils;
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/renderer/
DXAxisRendererRadarChart.ets18 import MPPointF from '../utils/MPPointF';
19 import Utils from '../utils/Utils';
20 import ViewPortHandler from '../utils/ViewPortHandler';
DLineRadarRenderer.ets18 import Utils from '../utils/Utils'
20 import ViewPortHandler from '../utils/ViewPortHandler'
/developtools/profiler/device/services/shared_memory/
DBUILD.gn45 "c_utils:utils",
75 "c_utils:utils",
/developtools/integration_verification/tools/fotff/utils/
Dpprof.go1 package utils package
/developtools/hdc/src/
DCMakeLists.txt11 ${ohos_top}/utils/native/base/include)
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/api/
DLocalizationAdapter.java24 import com.ohos.hapsigntool.utils.CertUtils;
25 import com.ohos.hapsigntool.utils.FileUtils;
26 import com.ohos.hapsigntool.utils.StringUtils;
27 import com.ohos.hapsigntool.utils.ValidateUtils;
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/keystore/
DKeyStoreHelper.java21 import com.ohos.hapsigntool.utils.CertUtils;
22 import com.ohos.hapsigntool.utils.FileUtils;
23 import com.ohos.hapsigntool.utils.StringUtils;
24 import com.ohos.hapsigntool.utils.ValidateUtils;
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/components/renderer/
DYAxisView.ets19 import Transformer from '../../utils/Transformer'
20 import ViewPortHandler from '../../utils/ViewPortHandler'
21 import Matrix from '../../utils/Matrix'
24 import Utils from '../../utils/Utils'

12345678