Home
last modified time | relevance | path

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

/foundation/barrierfree/accessibility/services/aams/test/unittest/
H A Daccessibility_screen_touch_test.cpp572 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 Daccessibility_multifinger_multitap.cpp498 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 Daccessibility_screen_touch.cpp157 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 Daccessibility_gesture_recognizer.cpp303 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 Daccessibility_zoom_gesture.cpp34 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 Daccessibility_touch_guider.cpp959 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 Dimage_codec_dfx.cpp63 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 Dtest_utils.cpp64 one.second.totalCost / US_TO_MS / one.second.totalCnt); in Print()
H A Dtester_common.cpp174 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 Dmuxer_filter.cpp42 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 Dhcodec_dfx.cpp163 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 Dhcodec_utils.h25 inline constexpr double US_TO_MS = 1000.0; member
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_view_ohos.cpp156 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 Daccessibility_gesture_recognizer.h43 const int64_t US_TO_MS = 1000; member
/foundation/multimedia/av_codec/services/media_engine/modules/sink/
H A Dmedia_sync_manager.cpp27 constexpr int64_t US_TO_MS = 1000; // 1000 us per ms member
422 ReportLagEvent((newMediaProgressTime - maxMediaProgress) / US_TO_MS); in BoundMediaProgress()
H A Daudio_sink.cpp25 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 Dperf_monitor.h31 constexpr int32_t US_TO_MS = 1000; member
/foundation/barrierfree/accessibility/services/test/xts/src/sa_get_attribute_value/
H A Dsa_get_attribute_value_benchmark.cpp959 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 Dmock_accessibility_touch_guider.cpp572 injectedRecorder_.lastDownTime = event.GetActionTime() / US_TO_MS; in RecordInjectedEvent()
/foundation/barrierfree/accessibility/services/test/moduletest/mock/src/
H A Dmock_mt_accessibility_touch_guider.cpp572 injectedRecorder_.lastDownTime = event.GetActionTime() / US_TO_MS; in RecordInjectedEvent()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/hardware/imagecodec/
H A Dimage_codec.h35 inline constexpr double US_TO_MS = 1000.0; member

Completed in 20 milliseconds