/foundation/barrierfree/accessibility/services/aams/test/unittest/ |
H A D | accessibility_screen_touch_test.cpp | 572 auto eventDown = SetPointerEvent(TIMESTAMP_1500 * US_TO_MS, MMI::PointerEvent::POINTER_ACTION_DOWN); in HWTEST_F() 575 auto eventMove = SetPointerEvent(TIMESTAMP_1600 * US_TO_MS, MMI::PointerEvent::POINTER_ACTION_MOVE); in HWTEST_F() 578 auto eventUp = SetPointerEvent(TIMESTAMP_1700 * US_TO_MS, MMI::PointerEvent::POINTER_ACTION_UP); in HWTEST_F() 618 auto eventDown = SetPointerEvent((lastUpTime_ + TIMESTAMP_1500) * US_TO_MS, MMI::PointerEvent::POINTER_ACTION_DOWN); in HWTEST_F() 621 auto eventMove = SetPointerEvent((lastUpTime_ + TIMESTAMP_1600) * US_TO_MS, MMI::PointerEvent::POINTER_ACTION_MOVE); in HWTEST_F() 624 auto eventUp = SetPointerEvent((lastUpTime_ + TIMESTAMP_1700) * US_TO_MS, MMI::PointerEvent::POINTER_ACTION_UP); in HWTEST_F() 662 auto eventDown = SetPointerEvent((lastUpTime_ + TIMESTAMP_1500) * US_TO_MS, MMI::PointerEvent::POINTER_ACTION_DOWN); in HWTEST_F() 665 auto eventMove = SetPointerEvent((lastUpTime_ + TIMESTAMP_1600) * US_TO_MS, MMI::PointerEvent::POINTER_ACTION_MOVE); in HWTEST_F() 668 auto eventUp = SetPointerEvent((lastUpTime_ + TIMESTAMP_1700) * US_TO_MS, MMI::PointerEvent::POINTER_ACTION_UP); in HWTEST_F() 708 auto eventDown = SetPointerEvent((lastUpTime_ + TIMESTAMP_1200) * US_TO_MS, MM in HWTEST_F() [all...] |
/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessibility_multifinger_multitap.cpp | 498 handler_->SendEvent(WAIT_ANOTHER_FINGER_DOWN_MSG, 0, TAP_INTERVAL_TIMEOUT / US_TO_MS); in HanleFirstTouchDownEvent() 504 handler_->SendEvent(TWO_FINGER_SINGLE_TAP_MSG, 0, DOUBLE_TAP_TIMEOUT / US_TO_MS); in HanleFirstTouchDownEvent() 505 handler_->SendEvent(TWO_FINGER_LONG_PRESS_MSG, 0, LONG_PRESS_TIMEOUT / US_TO_MS); in HanleFirstTouchDownEvent() 508 handler_->SendEvent(THREE_FINGER_SINGLE_TAP_MSG, 0, DOUBLE_TAP_TIMEOUT / US_TO_MS); in HanleFirstTouchDownEvent() 509 handler_->SendEvent(THREE_FINGER_LONG_PRESS_MSG, 0, LONG_PRESS_TIMEOUT / US_TO_MS); in HanleFirstTouchDownEvent() 511 handler_->SendEvent(FOUR_FINGER_SINGLE_TAP_MSG, 0, DOUBLE_TAP_TIMEOUT / US_TO_MS); in HanleFirstTouchDownEvent() 512 handler_->SendEvent(FOUR_FINGER_LONG_PRESS_MSG, 0, LONG_PRESS_TIMEOUT / US_TO_MS); in HanleFirstTouchDownEvent() 541 handler_->SendEvent(GESTURE_TAP_MSG[addContinueTapNum_][fingerNumIndex], 0, DOUBLE_TAP_TIMEOUT / US_TO_MS); in HandleMultiTapEvent() 542 handler_->SendEvent(GESTURE_HOLD_MSG[addContinueTapNum_][fingerNumIndex], 0, LONG_PRESS_TIMEOUT / US_TO_MS); in HandleMultiTapEvent() 567 handler_->SendEvent(CANCEL_GESTURE, 0, TAP_INTERVAL_TIMEOUT / US_TO_MS); in HandleContinueTouchDownEvent() [all...] |
H A D | accessibility_screen_touch.cpp | 157 iter->SetActionTime(Utils::GetSystemTime() * US_TO_MS); in SendInterceptedEvent() 365 iter->SetActionTime(Utils::GetSystemTime() * US_TO_MS); in HandleResponseDelayStateInnerMove() 447 ((downTime - lastUpTime_) / US_TO_MS < GetRealIgnoreRepeatClickTime())) { in HandleIgnoreRepeatClickStateInnerDown() 504 ((downTime - lastUpTime_) / US_TO_MS < GetRealIgnoreRepeatClickTime())) { in HandleBothStateInnerDown()
|
H A D | accessibility_gesture_recognizer.cpp | 303 handler_->SendEvent(SINGLE_TAP_MSG, 0, DOUBLE_TAP_TIMEOUT / US_TO_MS); in StandardGestureRecognizer() 310 handler_->SendEvent(LONG_PRESS_MSG, 0, LONG_PRESS_TIMEOUT / US_TO_MS); in StandardGestureRecognizer()
|
H A D | accessibility_zoom_gesture.cpp | 34 constexpr int64_t US_TO_MS = 1000; member 207 pointerEvent->SetActionTime(Utils::GetSystemTime() * US_TO_MS); in SendCacheEventsToNext() 670 int64_t intervalTime = (secondTime - firstTime) / US_TO_MS; in CalcIntervalTime()
|
H A D | accessibility_touch_guider.cpp | 959 injectedRecorder_.lastDownTime = event.GetActionTime() / US_TO_MS; in RecordInjectedEvent() 1073 handler_->SendEvent(SEND_HOVER_ENTER_MOVE_MSG, 0, DOUBLE_TAP_TIMEOUT / US_TO_MS); in PostHoverEnterAndMove() 1081 handler_->SendEvent(SEND_HOVER_EXIT_MSG, 0, DOUBLE_TAP_TIMEOUT / US_TO_MS); in PostHoverExit()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/imagecodec/ |
H A D | image_codec_dfx.cpp | 63 double holdMs = holdUs / US_TO_MS; in ChangeOwner() 68 double aveHoldMs = holdRecord.totalCostUs / US_TO_MS / holdRecord.totalCnt; in ChangeOwner() 126 double oneFrameCostMs = fromInToOut / US_TO_MS; in UpdateOutputRecord() 127 double averageCostMs = outRecord_.totalCostUs / US_TO_MS / outRecord_.totalCnt; in UpdateOutputRecord()
|
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/ |
H A D | test_utils.cpp | 64 one.second.totalCost / US_TO_MS / one.second.totalCnt); in Print()
|
H A D | tester_common.cpp | 174 double oneFrameCostMs = fromInToOut / US_TO_MS; in AfterGotOutput() 175 double averageCostMs = totalCost_ / US_TO_MS / outTotalCnt_; in AfterGotOutput()
|
/foundation/multimedia/av_codec/services/media_engine/filters/ |
H A D | muxer_filter.cpp | 42 constexpr int64_t US_TO_MS = 1000;
member 115 return lastVideoPts_ / US_TO_MS;
in GetCurrentPtsMs() 117 return lastAudioPts_ / US_TO_MS;
in GetCurrentPtsMs() 344 stopCondition_.wait_for(lock, std::chrono::milliseconds(US_TO_MS));
in OnTransCoderBufferFilled()
|
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | hcodec_dfx.cpp | 163 aveHoldMs[owner] = (holdRecord.totalCnt == 0) ? -1 : (holdRecord.totalCostUs / US_TO_MS / holdRecord.totalCnt); in PrintStatistic() 244 double holdMs = holdUs / US_TO_MS; in ChangeOwnerDebug() 249 double aveHoldMs = holdRecord.totalCostUs / US_TO_MS / holdRecord.totalCnt; in ChangeOwnerDebug() 307 double oneFrameCostMs = fromInToOut / US_TO_MS; in UpdateOutputRecord() 308 double averageCostMs = outRecord_.totalCostUs / US_TO_MS / outRecord_.totalCnt; in UpdateOutputRecord()
|
H A D | hcodec_utils.h | 25 inline constexpr double US_TO_MS = 1000.0; member
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ace_view_ohos.cpp | 156 uint64_t inputTime = pointerEvent->GetSensorInputTime() * US_TO_MS; in DispatchEventToPerf() 158 inputTime = pointerEvent->GetActionTime() * US_TO_MS; in DispatchEventToPerf() 219 int64_t inputTime = (keyEvent->GetKeyItem())->GetDownTime() * US_TO_MS; in DispatchEventToPerf()
|
/foundation/barrierfree/accessibility/services/aams/include/ |
H A D | accessibility_gesture_recognizer.h | 43 const int64_t US_TO_MS = 1000; member
|
/foundation/multimedia/av_codec/services/media_engine/modules/sink/ |
H A D | media_sync_manager.cpp | 27 constexpr int64_t US_TO_MS = 1000; // 1000 us per ms member 422 ReportLagEvent((newMediaProgressTime - maxMediaProgress) / US_TO_MS); in BoundMediaProgress()
|
H A D | audio_sink.cpp | 25 constexpr int64_t US_TO_MS = 1000; // 1000 us per ms member 515 eventReceiver->OnEvent({"AudioSink", EventType::EVENT_AUDIO_LAG, underrunTimeUs / US_TO_MS}); in DetectAudioUnderrun()
|
/foundation/arkui/ace_engine/frameworks/base/perfmonitor/ |
H A D | perf_monitor.h | 31 constexpr int32_t US_TO_MS = 1000; member
|
/foundation/barrierfree/accessibility/services/test/xts/src/sa_get_attribute_value/ |
H A D | sa_get_attribute_value_benchmark.cpp | 959 injectedRecorder_.lastDownTime = event.GetActionTime() / US_TO_MS; in RecordInjectedEvent() 1073 handler_->SendEvent(SEND_HOVER_ENTER_MOVE_MSG, 0, DOUBLE_TAP_TIMEOUT / US_TO_MS); in PostHoverEnterAndMove() 1081 handler_->SendEvent(SEND_HOVER_EXIT_MSG, 0, DOUBLE_TAP_TIMEOUT / US_TO_MS); in PostHoverExit()
|
/foundation/barrierfree/accessibility/services/aams/test/mock/src/ |
H A D | mock_accessibility_touch_guider.cpp | 572 injectedRecorder_.lastDownTime = event.GetActionTime() / US_TO_MS; in RecordInjectedEvent()
|
/foundation/barrierfree/accessibility/services/test/moduletest/mock/src/ |
H A D | mock_mt_accessibility_touch_guider.cpp | 572 injectedRecorder_.lastDownTime = event.GetActionTime() / US_TO_MS; in RecordInjectedEvent()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/hardware/imagecodec/ |
H A D | image_codec.h | 35 inline constexpr double US_TO_MS = 1000.0; member
|