Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 124) sorted by relevance

12345

/developtools/ace_js2bundle/ace-loader/plugin/codegen/
Dindex.js1t)=>{var n;let o;Object.defineProperty(t,"__esModule",{value:!0}),t.setDomain=t.getDomain=t.Domain… argument
/developtools/ace_ets2bundle/compiler/codegen/
Dcodegen_ets.js15t,r){var o;e=r.nmd(e),function(){var n,a="Expected a function",i="__lodash_hash_undefined__",s="__… argument
/developtools/integration_verification/tools/fotff/tester/common/
Dcommon.go40 t := &Tester{}
41 utils.ParseFromConfigFile("common", t)
42 return t
45 func (t *Tester) TaskName() string {
49 func (t *Tester) Prepare(version string, device string, ctx context.Context) error {
54 func (t *Tester) DoTestTask(device string, ctx context.Context) ([]tester.Result, error) {
55 args := strings.Split(t.Param, " ")
59 args = append(args, []string{resultPathFlag, t.ResultPath}...)
60 args = append(args, []string{resultFileFlag, t.ResultFile}...)
61 if err := utils.ExecContext(ctx, t.Tool, args...); err != nil {
[all …]
/developtools/integration_verification/tools/fotff/tester/smoke/
Dsmoke.go53 func (t *Tester) TaskName() string {
57 func (t *Tester) Prepare(pkgDir string, device string, ctx context.Context) error {
61 func (t *Tester) DoTestTask(deviceSN string, ctx context.Context) (ret []tester.Result, err error) {
63 if err := os.MkdirAll(filepath.Join(t.SavePath, reportDir), 0755); err != nil {
66 …:= []string{t.Py, "--config", t.Config, "--answer_path", t.AnswerPath, "--save_path", filepath.Joi…
77 return t.readReport(reportDir)
80 func (t *Tester) DoTestCase(deviceSN, testCase string, ctx context.Context) (ret tester.Result, err…
82 if err := os.MkdirAll(filepath.Join(t.SavePath, reportDir), 0755); err != nil {
85 …:= []string{t.Py, "--config", t.Config, "--answer_path", t.AnswerPath, "--save_path", filepath.Joi…
96 r, err := t.readReport(reportDir)
[all …]
/developtools/ace_js2bundle/ace-loader/test/lite/testcase/pages/sick/
Dsick.hml3 …class="head_t_b" style="margin-top:{{$t('css.measureHome_hand_top')}}; color:red; margin-left: {{m…
6 …<text class="listL" style="width:{{$t('css.judgeIos_height')}};">{{$t('strings.chest_tightness')}}…
9 …<text class="listL" style="width:{{$t('css.judgeIos_height')}};color:{{dizzinessColor}}">{{$t('str…
12 …<text class="listL" style="width:{{$t('css.judgeIos_height')}};">{{$t('strings.dizziness')}} :头痛</…
15 …<text class="listL" style="width:{{$t('css.judgeIos_height')}};">{{$t('strings.chest_tightness')}}…
/developtools/integration_verification/tools/fotff/tester/xdevice/
Dxdevice.go63 func (t *Tester) TaskName() string {
64 return t.Task
67 func (t *Tester) Prepare(pkgDir string, device string, ctx context.Context) (err error) {
82 func (t *Tester) DoTestTask(deviceSN string, ctx context.Context) (ret []tester.Result, err error) {
84 …args := []string{"-m", "xdevice", "run", t.Task, "-c", t.Config, "-tcpath", t.TestCasesPath, "-res…
95 return t.readReport(reportDir)
98 func (t *Tester) DoTestCase(deviceSN, testCase string, ctx context.Context) (ret tester.Result, err…
100 …ring{"-m", "xdevice", "run", "-l", testCase, "-c", t.Config, "-tcpath", t.TestCasesPath, "-respath…
111 r, err := t.readReport(reportDir)
122 func (t *Tester) DoTestCases(deviceSN string, testcases []string, ctx context.Context) (ret []teste…
[all …]
/developtools/integration_verification/tools/fotff/pkg/gitee_common/
Dsteps_gitee_test.go32 func TestManager_Steps(t *testing.T) {
68 t.Run(tt.name, func(t *testing.T) {
71 t.Fatalf("err: expcect: <nil>, actual: %v", err)
74 t.Fatalf("steps num: expcect: %d, actual: %v", tt.stepsNum, len(ret))
81 t.Fatalf("err: expcect: <nil>, actual: %v", err)
85 t.Fatalf("err: expcect: <nil>, actual: %v", err)
89 t.Fatalf("err: expcect: <nil>, actual: %v", err)
93 t.Fatalf("err: expcect: <nil>, actual: %v", err)
96 t.Errorf("steps result: expect: %s, actual: %s", expectedMD5, mLastMD5)
/developtools/integration_verification/tools/fotff/tester/manual/
Dmanual.go44 func (t *Tester) TaskName() string {
48 func (t *Tester) Prepare(pkgDir string, device string, ctx context.Context) error {
52 func (t *Tester) DoTestTask(deviceSN string, ctx context.Context) (ret []tester.Result, err error) {
53 return t.DoTestCases(deviceSN, []string{"default"}, ctx)
56 func (t *Tester) DoTestCase(deviceSN, testCase string, ctx context.Context) (ret tester.Result, err…
60 t.ResultLock.Lock()
61 defer t.ResultLock.Unlock()
79 func (t *Tester) DoTestCases(deviceSN string, testcases []string, ctx context.Context) (ret []teste…
81 r, err := t.DoTestCase(deviceSN, testcase, ctx)
/developtools/integration_verification/tools/fotff/tester/pkg_available/
Dpkg_available.go42 func (t *Tester) TaskName() string {
46 func (t *Tester) Prepare(pkgDir string, device string, ctx context.Context) error {
47 t.device2PkgDir.Store(device, pkgDir)
51 func (t *Tester) DoTestTask(deviceSN string, ctx context.Context) (ret []tester.Result, err error) {
52 return t.DoTestCases(deviceSN, []string{"pkg_available"}, ctx)
55 func (t *Tester) DoTestCase(deviceSN, testCase string, ctx context.Context) (ret tester.Result, err…
56 pkgDir, _ := t.device2PkgDir.Load(deviceSN)
72 func (t *Tester) DoTestCases(deviceSN string, testcases []string, ctx context.Context) (ret []teste…
74 r, err := t.DoTestCase(deviceSN, testcase, ctx)
/developtools/integration_verification/tools/fotff/
Dmain.go59 m, t := initExecutor()
62 loop(m, t)
65 runCmd := initRunCmd(m, t)
67 testCmd := initTestCmd(m, t)
71 func initRunCmd(m pkg.Manager, t tester.Tester) *cobra.Command {
77 return fotff(m, t, success, fail, testcase)
104 func initTestCmd(m pkg.Manager, t tester.Tester) *cobra.Command {
112 T: t,
137 func loop(m pkg.Manager, t tester.Tester) {
160 if err := t.Prepare(m.PkgDir(curPkg), device, context.TODO()); err != nil {
[all …]
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/utils/
DTimeUtils.ts22 const t = new Date(time); constant
25 let year = t.getFullYear();
27 let month = t.getMonth() + 1;
28 let day = t.getDate();
29 let hours = t.getHours();
30 let minutes = t.getMinutes();
31 let seconds = t.getSeconds();
DCSVUtils.ts33 const t = tIndexInfos[index]; constant
34 for (let k of Object.keys(t)) {
35 data += t[k] + ',';
/developtools/integration_verification/tools/fotff/tester/mock/
Dmock.go30 func (t *Tester) TaskName() string {
34 func (t *Tester) Prepare(pkgDir string, device string, ctx context.Context) error {
38 func (t *Tester) DoTestTask(device string, ctx context.Context) ([]tester.Result, error) {
49 func (t *Tester) DoTestCase(device string, testCase string, ctx context.Context) (tester.Result, er…
54 func (t *Tester) DoTestCases(device string, testcases []string, ctx context.Context) ([]tester.Resu…
57 r, err := t.DoTestCase(device, testcase, ctx)
/developtools/smartperf_host/ide/src/trace/component/trace/base/
DColorUtils.ts179 let t: string = '';
181 t += l[i] + ((i + 1) % 3 === 0 && i + 1 !== l.length ? ',' : '');
183 return unit + t.split('').reverse().join('');
305 const hue2rgb = (p: number, q: number, t: number): number => {
306 if (t < 0) {
307 t += 1;
309 if (t > 1) {
310 t -= 1;
312 if (t < 1 / 6) {
313 return p + (q - p) * 6 * t;
[all …]
/developtools/integration_verification/tools/fotff/rec/
Dfotff.go38 func FindOutTheFirstFail(m pkg.Manager, t tester.Tester, testCase string, successPkg string, failPk…
46 return findOutTheFirstFail(m, t, testCase, steps, fellows...)
53 func findOutTheFirstFail(m pkg.Manager, t tester.Tester, testcase string, steps []string, fellows .…
111 pass, fellows, err = flashAndTest(m, t, steps[index], testcase, ctx, fellows...)
128 return findOutTheFirstFail(m, t, testcase, steps[success+1:fail+1], fellows...)
131 func flashAndTest(m pkg.Manager, t tester.Tester, pkg string, testcase string, ctx context.Context,…
151 if err = t.Prepare(m.PkgDir(pkg), device, ctx); err != nil {
154 results, err = t.DoTestCases(device, append(fellows, testcase), ctx)
Drecord.go53 func HandleResults(t tester.Tester, dev string, pkgName string, results []tester.Result) []string {
64 return handleFailResults(t, dev, pkgName, fails)
80 func handleFailResults(t tester.Tester, dev string, pkgName string, results []tester.Result) []stri…
89 r, err := t.DoTestCase(dev, result.TestCaseName, context.TODO())
115 func Analysis(m pkg.Manager, t tester.Tester, pkgName string, testcases []string) {
119 …issueURL, err := FindOutTheFirstFail(m, t, testcase, record.LatestSuccessPkg, pkgName, testcases[i…
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/testdata/expect/
Dterser_processed_expected_code.txt15 var t, e;
16 …led to load the content. Cause: %{public}s", null !== (t = JSON.stringify(o)) && void 0 !== t ? t
/developtools/smartperf_host/ide/test/trace/database/data-trafic/
DIrqDataReceiver.test.ts38 t: 1703665514720,
52 t: 1703665514720,
71 t: 1703665514720,
86 t: 1703665514720,
/developtools/integration_verification/cases/smoke/basic/screenshot32/acls_check/
Dnative_sa.log2 …2024-06-07 11:16:56 Info [utils] ['hdc', '-t', '7001005458323933328a5a60fe3a3900', 'shell', 'atm',…
3 2024-06-07 11:16:56 Fri 2024-06-07 11:16:56 Info [utils] ['hdc', '-t', '7001005458323933328a5a60fe3…
4 2024-06-07 11:16:56 Fri 2024-06-07 11:16:56 Info [utils] ['hdc', '-t', '7001005458323933328a5a60fe3…
/developtools/integration_verification/tools/rom_ram_analyzer/standard/pkgs/
Dgn_common_tool.py178 t = GnCommonTool.find_variables_in_gn(
180 part_name = t if t is not None and len(t) != 0 else part_name
182 t = GnCommonTool.find_variables_in_gn(
184 subsystem_name = t if t is not None and len(
185 t) != 0 else subsystem_name
/developtools/bytrace/
DREADME_zh.md46 | -t n,--time n | 用来指定trace运行的时间(单位:s),取决于需要分析过程的时间 |
74 bytrace -b 4096 -t 10 --overwrite ability > /data/mytrace.ftrace
81 bytrace --trace_clock mono -b 4096 -t 10 --overwrite ability > /data/mytrace.ftrace
88 bytrace -z -b 4096 -t 10 --overwrite ability > /data/mytrace.ftrace
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/pages/
DReportDetail.ets54 data.forEach(t=>{
55 this.tPowerSensorList.push(t)
66 data.forEach(t=>{
67 let current = (Number(t.percent)) * normalCurrentNow / 100
68 t.setCurrent(current.toFixed(5))
69 t.setPercent(Number(t.percent).toFixed(2) + '%')
70 this.tPowerAppList.push(t)
/developtools/hiperf/demo/js/entry/src/main/js/MainAbility/pages/second/
Dsecond.hml3 {{ $t('strings.page') }}
5 <input class="btn" type="button" value="{{ $t('strings.back') }}" onclick="onclick"></input>
/developtools/profiler/device/plugins/ftrace_plugin/tools/
Dftrace_format_parser.py83 t = ""
85 t = "{}{}".format(t, "u")
87 t = "{}{}".format(t, "int32")
89 t = "{}{}".format(t, "int64")
90 return t
147 t = self.to_proto_type_special_case()
148 if t is not ProtoType.INVALID:
149 return t
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/src/
Drom_analysis.py134 t, sub_sub_path = sub_path.split(os.sep, 1) # 如果是c/e,分割成c,e
135 t = os.path.join(rela_path, t)
136 if t in dir_list:
137 dir_list.remove(t)
138 sub_sub_dir_list = os.listdir(os.path.join(top_dir, t))
140 if os.path.join(rela_path, sub_path) != os.path.join(t, ssdl):
141 dir_list.append(os.path.join(t, ssdl))
144 cls._add_rest_dir(top_dir, t, sub_sub_path, dir_list)
233 t = list(filter(lambda y: len(y) > 0, list(
237 t = list(filter(lambda x: p not in x, t))
[all …]

12345