/test/testfwk/arkxtest/uitest/test/ |
H A D | ui_action_test.cpp | 144 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 D | mock_controller.h | 55 for (int step = 0; step < events.GetSteps(); step++) { 57 touch_event_records_->PushAction(events.At(finger, step));
|
H A D | widget_operator_test.cpp | 263 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 D | ui_action.cpp | 83 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 D | window_operator.cpp | 117 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 D | frontend_api_handler.cpp | 1423 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 D | variables.py | 166 "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 D | test_case.py | 291 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 D | camera_tag_test_v1_2.cpp | 254 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 D | index.js | 57 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 D | index.js | 57 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 D | index.js | 57 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 D | index.js | 57 step : null,
98 step : this.step,
156 this.step = this.$element("step").getInspector()
|
/test/xts/hats/hdf/camera/cameraMg/v1_3/src/ |
H A D | camera_tag_test_v1_3.cpp | 135 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 D | device_ability_uttest.cpp | 52 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 D | pointer_info.h | 61 void SetStepLength(int step) in SetStepLength() argument 63 stepLength = step; in SetStepLength()
|
/test/xts/hats/kernel/posix_interface/interface_gn/utils/ |
H A D | mt_utils.h | 37 * 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 D | mt_utils.h | 37 * 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 D | index.js | 31 switch (parameters.step[idx]) {
|
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | utils.py | 566 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 D | concurrent.py | 239 if check_device_name(device, kit, step="teardown"):
|