Home
last modified time | relevance | path

Searched refs:diffTime (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/test/unittest/model/network/wifi/unittest/message/
H A Dhdf_single_node_message_test.c201 OsalTimespec diffTime; in MessageSingleNodeTest003() local
214 MSG_BREAK_IF_FUNCTION_FAILED(errCode, OsalDiffTime(&startTime, &endTime, &diffTime)); in MessageSingleNodeTest003()
216 HDF_LOGI("Process time %llu \n", diffTime.sec); in MessageSingleNodeTest003()
217 MSG_BREAK_IF(errCode, diffTime.sec > SYNC_MESSAGE_TIMEOUT); in MessageSingleNodeTest003()
301 OsalTimespec diffTime; in MessageSingleNodeTest005() local
320 MSG_BREAK_IF_FUNCTION_FAILED(errCode, OsalDiffTime(&startTime, &endTime, &diffTime)); in MessageSingleNodeTest005()
322 HDF_LOGW("Process time %llu \n", diffTime.sec); in MessageSingleNodeTest005()
323 MSG_BREAK_IF(errCode, diffTime.sec > ASYNC_MESSAGE_TIMEOUT); in MessageSingleNodeTest005()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/
H A Dcamera_napi_worker_queue_keeper.cpp83 …auto diffTime = std::chrono::duration_cast<std::chrono::milliseconds>(now - firstTask->createTimeP… in WorkerLockCondition() local
84 if (diffTime < std::chrono::milliseconds(WORKER_TIMEOUT)) { in WorkerLockCondition()
93 queueTask->taskName.c_str(), firstTask->taskName.c_str(), diffTime.count()); in WorkerLockCondition()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Dvelocity_tracker.cpp136 std::chrono::duration<double> diffTime = event.time - lastTimePoint_; in UpdateTouchPoint() local
150 if (oriDelta.IsZero() && (diffTime.count() < range)) { in UpdateTouchPoint()
172 std::chrono::duration<double> diffTime = time - lastTimePoint_; in UpdateTrackerPoint() local
177 if (delta_.IsZero() && end && (diffTime.count() < range)) { in UpdateTrackerPoint()
/ohos5.0/foundation/multimedia/player_framework/services/utils/
H A Dtime_format_utils.cpp54 long diffTime = 0; in FormatDateTimeByTimeZone() local
65 diffTime = symbol == '+' ? seconds : -seconds; in FormatDateTimeByTimeZone()
79 …d::chrono::system_clock::from_time_t(std::mktime(&tm)) + std::chrono::seconds(timezone - diffTime); in FormatDateTimeByTimeZone()
/ohos5.0/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Dprocess_dumper.cpp272 uint64_t diffTime = endTime - curTime; in SetProcessdumpTimeout() local
274 DFXLOG_INFO("processdump remain time%" PRIu64 "ms", diffTime); in SetProcessdumpTimeout()
275 if (diffTime > PROCESSDUMP_TIMEOUT * NUMBER_ONE_THOUSAND) { in SetProcessdumpTimeout()
281 timer.it_value.tv_sec = static_cast<int64_t>(diffTime / NUMBER_ONE_THOUSAND); in SetProcessdumpTimeout()
282 …timer.it_value.tv_usec = static_cast<int64_t>(diffTime * NUMBER_ONE_THOUSAND % NUMBER_ONE_MILLION); in SetProcessdumpTimeout()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_hardware_thread.cpp318 int64_t diffTime = expectCommitTime - currTime; in CalculateDelayTime() local
319 if (diffTime > 0 && period > 0) { in CalculateDelayTime()
320 delayTime_ = std::round(diffTime * 1.0f / NS_MS_UNIT_CONVERSION); in CalculateDelayTime()
326 pipelineOffset, param.actualTimestamp, expectCommitTime, currTime, diffTime, delayTime_, in CalculateDelayTime()
/ohos5.0/foundation/multimedia/media_lite/services/player_lite/impl/player_control/sink/
H A Dplayer_sync.h44 int64_t diffTime; member
H A Dplayer_sync.cpp126 info.diffTime = diffAvRenderTime_; in GetStatus()
/ohos5.0/foundation/multimedia/media_lite/services/player_lite/impl/player_control/include/
H A Dplayer_define.h136 int64_t diffTime; member
/ohos5.0/base/sensors/miscdevice/services/miscdevice_service/haptic_matcher/src/
H A Dcustom_vibration_matcher.cpp188 … int32_t diffTime = event.time - outputEvents.back().time - outputEvents.back().duration; in MixedWaveProcess() local
189 … outputEvents.back().duration += ((diffTime < VIBRATOR_DELAY) ? (diffTime - VIBRATOR_DELAY) : 0); in MixedWaveProcess()
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/
H A Dsoftbus_hisysevt_discreporter.c454 uint64_t diffTime = UINT64_MAX - record->mDiscTotalTime; in SoftbusRecordFirstDiscTime() local
455 if (diffTime > costTime) { in SoftbusRecordFirstDiscTime()
459 record->mDiscTotalTime = costTime - diffTime; in SoftbusRecordFirstDiscTime()
/ohos5.0/drivers/hdf_core/adapter/khdf/uniproton/test/sample_driver/src/
H A Dosal_all_test.c371 OsalTimespec diffTime = { 0, 0 }; in OsaCheckRun() local
387 OsalDiffTime(&g_hdfTestBegin, &g_hdfTestEnd, &diffTime); in OsaCheckRun()
388 …HDF_LOGI("[OSAL_UT_TEST]%s **** All case test end, use %ds****", __func__, (uint32_t)diffTime.sec); in OsaCheckRun()
/ohos5.0/foundation/multimodalinput/input/service/window_manager/src/
H A Dtouch_drawing_manager.cpp108 double diffTime = static_cast<double>(actionTime - lastActionTime_) / 1000; in RecordLabelsInfo() local
109 if (MMI_EQ(diffTime, 0.0)) { in RecordLabelsInfo()
115 xVelocity_ = diffX / diffTime; in RecordLabelsInfo()
116 yVelocity_ = diffY / diffTime; in RecordLabelsInfo()
/ohos5.0/drivers/hdf_core/framework/test/unittest/osal/
H A Dosal_all_test.c474 OsalTimespec diffTime = { 0, 0 }; in OsaCheckRun() local
490 OsalDiffTime(&g_hdfTestBegin, &g_hdfTestEnd, &diffTime); in OsaCheckRun()
491 …HDF_LOGI("[OSAL_UT_TEST]%s **** All case test end, use %ds****", __func__, (uint32_t)diffTime.sec); in OsaCheckRun()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/
H A Dnstackx_device_remote.c555 uint32_t diffTime = GetTimeDiffMs(&now, &remoteNode->updateTs); in IsAllowToBeRemoved() local
556 return diffTime >= g_agingTime * NSTACKX_MILLI_TICKS; in IsAllowToBeRemoved()
/ohos5.0/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/manager/src/
H A Dsoftbus_broadcast_mgr.c1576 int64_t diffTime = g_bcManager[bcId].time + BC_WAIT_TIME_MICROSEC - time; in StopBroadcasting() local
1577 DISC_LOGW(DISC_BROADCAST, "wait %{public}d us", (int32_t)diffTime); in StopBroadcasting()
1578 usleep(diffTime); in StopBroadcasting()
/ohos5.0/foundation/multimodalinput/input/service/key_command/src/
H A Dkey_command_handler.cpp332 int64_t diffTime = currentDownTime - lastPointerDownTime; in HandleKnuckleGestureDownEvent() local
336 lastPointerDownTime_.size(), firstDownTime, currentDownTime, diffTime); in HandleKnuckleGestureDownEvent()
337 if (diffTime > TWO_FINGERS_TIME_LIMIT) { in HandleKnuckleGestureDownEvent()
/ohos5.0/base/customization/enterprise_device_management/services/edm/src/
H A Denterprise_device_mgr_ability.cpp412 …auto diffTime = std::chrono::duration_cast<std::chrono::milliseconds>(now - lastCallTime_).count(); in UnloadPluginTask() local
413 if (diffTime >= std::chrono::milliseconds(TIMER_TIMEOUT).count()) { in UnloadPluginTask()
/ohos5.0/foundation/multimedia/player_framework/services/engine/histreamer/player/
H A Dhiplayer_impl.cpp1347 int64_t diffTime = endSetSurfaceTime - startSetSurfaceTime; in SetVideoSurface() local
1348 maxSurfaceSwapLatency_ = maxSurfaceSwapLatency_ > diffTime ? maxSurfaceSwapLatency_ : diffTime; in SetVideoSurface()