Home
last modified time | relevance | path

Searched refs:step (Results 1 - 21 of 21) sorted by relevance

/test/testfwk/arkxtest/uitest/test/
H A Dui_action_test.cpp144 uint32_t step = 0; in TEST_F() local
147 // check the TouchEvent of each step in TEST_F()
151 uint32_t expectedTimeOffset = (totalCostMs * step) / steps; in TEST_F()
155 if (step == 0) { in TEST_F()
158 } else if (step == events.GetSize() - 1) { in TEST_F()
165 step++; in TEST_F()
191 uint32_t step = 0; in TEST_F() local
194 // check the TouchEvent of each step in TEST_F()
198 uint32_t expectedTimeOffset = (totalCostMs * step) / steps; in TEST_F()
202 if (step in TEST_F()
232 uint32_t step = 0; TEST_F() local
278 const uint32_t step = 4; TEST_F() local
315 const uint32_t step = 4; TEST_F() local
372 uint32_t step = 0; TEST_F() local
[all...]
H A Dmock_controller.h55 for (int step = 0; step < events.GetSteps(); step++) {
57 touch_event_records_->PushAction(events.At(finger, step));
H A Dwidget_operator_test.cpp263 for (uint32_t step = 0; step < MockController::touch_event_records_->GetSteps(); step++) { in TEST_F()
264 if (MockController::touch_event_records_->At(finger, step).point_.py_ > maxCy) { in TEST_F()
265 maxCy = MockController::touch_event_records_->At(finger, step).point_.py_; in TEST_F()
267 if (MockController::touch_event_records_->At(finger, step).point_.py_ < minCy) { in TEST_F()
268 minCy = MockController::touch_event_records_->At(finger, step).point_.py_; in TEST_F()
/test/testfwk/arkxtest/uitest/core/
H A Dui_action.cpp83 for (uint32_t step = 1; step < steps; step++) { in DecomposeComputeSwipe()
84 const int32_t pointX = from.px_ + stepLengthX * step; in DecomposeComputeSwipe()
85 const int32_t pointY = from.py_ + stepLengthY * step; in DecomposeComputeSwipe()
86 const uint32_t timeOffsetMs = (timeCostMs * step) / steps; in DecomposeComputeSwipe()
170 for (uint32_t step = 0; step < pointers_.GetSteps() - 1; step++) { in Decompose()
171 const int32_t pxTo = (pointers_.At(finger, step in Decompose()
[all...]
H A Dwindow_operator.cpp117 static constexpr uint32_t step = 10; in Focus() local
118 Point focus(rect.GetCenterX(), rect.top_ + step); in Focus()
132 static constexpr uint32_t step = 40; in MoveTo() local
133 Point from(rect.left_ + step, rect.top_ + step); in MoveTo()
134 Point to(endX + step, endY + step); in MoveTo()
H A Dfrontend_api_handler.cpp1423 auto step = ReadCallArg<uint32_t>(in, INDEX_ONE); in RegisterPointerMatrixOperators()
1424 if (step < 1 || step > uiOpArgs.maxMultiTouchSteps) { in RegisterPointerMatrixOperators()
1428 out.resultValue_ = StoreBackendObject(make_unique<PointerMatrix>(finger, step)); in RegisterPointerMatrixOperators()
1439 auto step = ReadCallArg<uint32_t>(in, INDEX_ONE); in RegisterPointerMatrixOperators()
1440 if (step < 0 || step >= pointer.GetSteps()) { in RegisterPointerMatrixOperators()
1450 pointer.At(finger, step).point_ = point; in RegisterPointerMatrixOperators()
1451 pointer.At(finger, step).flags_ = 1; in RegisterPointerMatrixOperators()
/test/testfwk/xdevice/plugins/devicetest/core/
H A Dvariables.py166 "set CurCase step total as: {}".format(self.step_total))
175 "set CurCase step section as: {}".format(self.step_section))
226 log.info(f'<div class="step" id="{index}">{name}</div>')
228 step = {
232 self.__update_step_info(step, **kwargs)
233 steps_info.append(step)
241 log.warning(f"update step info failed, index must be in [0, {max_index}]")
243 step = steps_info[index]
244 self.__update_step_info(step, **kwargs)
252 step
[all...]
H A Dtest_case.py291 self.error_msg = "{} does not have test step {}.".format(
333 self.log.error("setup step fails")
541 def step(cls, _ad, stepepr): member in CoreCase
544 _ad.log.error(_ad.device_id + " exec step is fail")
788 self.log.warning("current case object is none, can not disable record step automatically")
1067 log.debug("step {} execute result: {}".format(func_name, _ret))
1248 name: str, step name
1255 log.warning("current case object is none, recording step failed")
1263 index: int, step index
1270 log.warning("current case object is none, updating step faile
[all...]
/test/xts/hats/hdf/camera/cameraMg/v1_2/src/
H A Dcamera_tag_test_v1_2.cpp254 constexpr size_t step = 4; //print step in HWTEST_F() local
258 if ((i != 0) && (i % step == 0 || i == entry.count -1)) { in HWTEST_F()
284 constexpr size_t step = 4; //print step in HWTEST_F() local
288 if ((i != 0) && (i % step == 0 || i == entry.count - 1)) { in HWTEST_F()
314 constexpr size_t step = 4; //print step in HWTEST_F() local
318 if ((i != 0) && (i % step == 0 || i == entry.count - 1)) { in HWTEST_F()
420 constexpr size_t step in HWTEST_F() local
451 constexpr size_t step = 4; // print step HWTEST_F() local
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/slider/prop/
H A Dindex.js57 step : null,
98 step : this.step,
156 this.step = this.$element("step").getInspector()
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/pages/slider/prop/
H A Dindex.js57 step : null,
98 step : this.step,
156 this.step = this.$element("step").getInspector()
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/MainAbility/pages/slider/prop/
H A Dindex.js57 step : null,
98 step : this.step,
156 this.step = this.$element("step").getInspector()
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/slider/prop/
H A Dindex.js57 step : null,
98 step : this.step,
156 this.step = this.$element("step").getInspector()
/test/xts/hats/hdf/camera/cameraMg/v1_3/src/
H A Dcamera_tag_test_v1_3.cpp135 constexpr size_t step = 10; in HWTEST_F() local
139 if ((i != 0) && (i % step == 0 || i == entry.count - 1)) { in HWTEST_F()
394 constexpr size_t step = 4; // print step in HWTEST_F() local
398 if ((i != 0) && (i % step == 0 || i == entry.count - 1)) { in HWTEST_F()
475 constexpr size_t step = 4; // print step in HWTEST_F() local
479 if ((i != 0) && (i % step == 0 || i == entry.count - 1)) { in HWTEST_F()
535 constexpr size_t step = 4; // print step in HWTEST_F() local
642 constexpr size_t step = 10; // print step HWTEST_F() local
[all...]
/test/xts/hats/hdf/camera/cameraMg/v1_0/src/
H A Ddevice_ability_uttest.cpp52 constexpr size_t step = 10; // print step in HWTEST_F() local
56 if ((i != 0) && (i % step == 0 || i == entry.count - 1)) { in HWTEST_F()
/test/testfwk/arkxtest/uitest/record/
H A Dpointer_info.h61 void SetStepLength(int step) in SetStepLength() argument
63 stepLength = step; in SetStepLength()
/test/xts/hats/kernel/posix_interface/interface_gn/utils/
H A Dmt_utils.h37 * input: step -- from 1 to 15(0xf).
40 LOG("step=%lx", CheckStep(1)); // may called in thread 1
41 LOG("step=%lx", CheckStep(2)); // may called in thread 2
42 LOG("step=%lx", CheckStep(3)); // may called in thread 3
43 LOG("step=%lx", CheckStep(4)); // may called in thread 2
44 uint64_t step = CheckStep(5); // may called in thread 1
45 if (step == 0x12345) {
51 step=1
52 step=12
53 step
[all...]
/test/xts/acts/kernel_lite/utils/
H A Dmt_utils.h37 * input: step -- from 1 to 15(0xf).
40 LOG("step=%lx", CheckStep(1)); // may called in thread 1
41 LOG("step=%lx", CheckStep(2)); // may called in thread 2
42 LOG("step=%lx", CheckStep(3)); // may called in thread 3
43 LOG("step=%lx", CheckStep(4)); // may called in thread 2
44 uint64_t step = CheckStep(5); // may called in thread 1
45 if (step == 0x12345) {
51 step=1
52 step=12
53 step
[all...]
/test/xts/acts/ability/ability_runtime/abilitymultiinstance/amsabilitymultiinstanceappe/entry/src/main/js/MainAbility/pages/index/
H A Dindex.js31 switch (parameters.step[idx]) {
/test/testfwk/xdevice/src/xdevice/_core/
H A Dutils.py566 def check_device_name(device, kit, step="setup"):
574 kit.__class__.__name__, step, device_name)
576 LOG.debug("Do kit:%s %s", kit.__class__.__name__, step)
691 if check_device_name(device, kit, step="teardown"):
/test/testfwk/xdevice/src/xdevice/_core/executor/
H A Dconcurrent.py239 if check_device_name(device, kit, step="teardown"):

Completed in 17 milliseconds