Home
last modified time | relevance | path

Searched refs:timeInterval (Results 1 - 25 of 44) sorted by relevance

12

/foundation/communication/ipc/services/dbinder/test/distributedtest/src/
H A Ddbinder_service_test_helper.cpp226 struct timeval timeInterval = {}; in GetCurrentTime() local
227 gettimeofday(&timeInterval, nullptr); in GetCurrentTime()
228 return timeInterval.tv_sec * SECOND_TO_MS + timeInterval.tv_usec / SECOND_TO_MS; in GetCurrentTime()
231 float GetSpeed(int64_t timeInterval, int size, int times) in GetSpeed() argument
233 if (timeInterval == 0) { in GetSpeed()
237 float costTime { timeInterval }; in GetSpeed()
/foundation/multimodalinput/input/service/window_manager/src/
H A Dknuckle_glow_point.cpp72 int64_t timeInterval = currentTime - lastUpdateTimeMillis_; in Update() local
73 if (timeInterval < 0) { in Update()
74 timeInterval = 0; in Update()
78 lifespan_ -= timeInterval; in Update()
H A Dknuckle_glow_trace_system.cpp86 void KnuckleGlowTraceSystem::AddGlowPoints(const Rosen::Drawing::Path &path, int64_t timeInterval) in AddGlowPoints() argument
93 float lifespanOffset = timeInterval; in AddGlowPoints()
95 float baseTime = timeInterval / splitRatio; in AddGlowPoints()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dimage_data_statistics.cpp58 uint64_t timeInterval = endTime - startTime_; in ~ImageDataStatistics() local
65 if (timeInterval > TIME_THRESHOLD_MS) { in ~ImageDataStatistics()
68 static_cast<unsigned long long>(timeInterval), static_cast<unsigned long long>(TIME_THRESHOLD_MS), in ~ImageDataStatistics()
H A Dimage_func_timer.cpp40 uint64_t timeInterval = ImageUtils::GetNowTimeMicroSeconds() - startTime_; in ~ImageFuncTimer() local
41 IMAGE_LOGI("%{public}s cost %{public}llu us", desc_.c_str(), static_cast<unsigned long long>(timeInterval)); in ~ImageFuncTimer()
/foundation/multimodalinput/input/test/fuzztest/getintervalsincelastinput_fuzzer/
H A Dgetintervalsincelastinput_fuzzer.cpp44 int64_t timeInterval = -1; in GetIntervalSinceLastInputFuzzTest() local
45 InputManager::GetInstance()->GetIntervalSinceLastInput(timeInterval); in GetIntervalSinceLastInputFuzzTest()
/foundation/multimodalinput/input/service/window_manager/test/
H A Dknuckle_glow_trace_system_test.cpp194 int64_t timeInterval = 100; in HWTEST_F() local
195 knuckleGlowTraceSystem.AddGlowPoints(path, timeInterval); in HWTEST_F()
212 int64_t timeInterval = 100; in HWTEST_F() local
213 knuckleGlowTraceSystem.AddGlowPoints(path, timeInterval); in HWTEST_F()
/foundation/resourceschedule/work_scheduler/frameworks/test/unittest/src/
H A Dworkinfo_test.cpp216 uint32_t timeInterval = 120; in HWTEST_F() local
220 workInfo.RequestRepeatCycle(timeInterval, 3); in HWTEST_F()
221 EXPECT_EQ(workInfo.GetTimeInterval(), timeInterval); in HWTEST_F()
234 uint32_t timeInterval = 120; in HWTEST_F() local
237 workInfo.RequestRepeatCycle(timeInterval); in HWTEST_F()
238 EXPECT_EQ(workInfo.GetTimeInterval(), timeInterval); in HWTEST_F()
320 uint32_t timeInterval = 120; in HWTEST_F() local
321 workInfo.RequestRepeatCycle(timeInterval); in HWTEST_F()
325 workInfo.RequestRepeatCycle(timeInterval, 3); in HWTEST_F()
541 uint32_t timeInterval in HWTEST_F() local
[all...]
/foundation/multimodalinput/input/service/module_loader/test/
H A Dwatchdog_task_test.cpp107 uint64_t timeInterval = 5000; in HWTEST_F() local
108 auto ret = watchdogtask.GetBlockDescription(timeInterval); in HWTEST_F()
/foundation/resourceschedule/work_scheduler/frameworks/extension/src/
H A Djs_work_scheduler_extension.cpp281 uint32_t timeInterval, int32_t cycleCount) in SetRepeatInfo()
289 napi_create_uint32(env, timeInterval, &repeatCycleTimeValue); in SetRepeatInfo()
293 napi_create_uint32(env, timeInterval, &repeatCycleTimeValue); in SetRepeatInfo()
358 uint32_t timeInterval = workInfo.GetTimeInterval(); in OnWorkStart() local
384 if (timeInterval > 0) { in OnWorkStart()
385 SetRepeatInfo(env, workInfoData, isRepeat, timeInterval, cycleCount); in OnWorkStart()
410 uint32_t timeInterval = workInfo.GetTimeInterval(); in OnWorkStop() local
436 if (timeInterval > 0) { in OnWorkStop()
437 SetRepeatInfo(env, workInfoData, isRepeat, timeInterval, cycleCount); in OnWorkStop()
280 SetRepeatInfo(napi_env env, napi_value workInfoData, bool isRepeat, uint32_t timeInterval, int32_t cycleCount) SetRepeatInfo() argument
/foundation/resourceschedule/work_scheduler/frameworks/include/
H A Dwork_info.h90 * @param timeInterval The time interval.
93 void RequestRepeatCycle(uint32_t timeInterval, int32_t cycle);
97 * @param timeInterval The time interval.
99 void RequestRepeatCycle(uint32_t timeInterval);
/foundation/multimodalinput/input/service/window_manager/include/
H A Dknuckle_glow_trace_system.h41 void AddGlowPoints(const Rosen::Drawing::Path &path, int64_t timeInterval);
/foundation/communication/ipc/services/dbinder/test/distributedtest/include/
H A Ddbinder_service_test_helper.h94 float GetSpeed(int64_t timeInterval, int size, int times);
/foundation/multimodalinput/input/frameworks/napi/input_device/src/
H A Djs_input_device_manager.cpp259 int64_t timeInterval = -1; in GetIntervalSinceLastInput() local
260 int32_t napiCode = InputManager::GetInstance()->GetIntervalSinceLastInput(timeInterval); in GetIntervalSinceLastInput()
261 EmitJsGetIntervalSinceLastInput(cb, timeInterval); in GetIntervalSinceLastInput()
/foundation/multimodalinput/input/service/event_handler/include/
H A Dinput_event_handler.h52 int32_t GetIntervalSinceLastInput(int64_t &timeInterval);
/foundation/multimodalinput/input/frameworks/napi/input_device/include/
H A Djs_event_target.h44 static void EmitJsGetIntervalSinceLastInput(sptr<JsUtil::CallbackInfo> cb, int64_t timeInterval);
/foundation/multimedia/media_library/frameworks/utils/src/
H A Dpost_event_utils.cpp220 int64_t timeInterval = GetInt64Value(KEY_TIME_INTERVAL, stat); in PostMscFirstVisitStat() local
226 KEY_TIME_INTERVAL, timeInterval); in PostMscFirstVisitStat()
/foundation/resourceschedule/work_scheduler/frameworks/src/
H A Dwork_info.cpp92 void WorkInfo::RequestRepeatCycle(uint32_t timeInterval, int32_t cycle) in RequestRepeatCycle() argument
95 repeatCycle->uintVal = timeInterval; in RequestRepeatCycle()
101 void WorkInfo::RequestRepeatCycle(uint32_t timeInterval) in RequestRepeatCycle() argument
104 repeatCycle->uintVal = timeInterval; in RequestRepeatCycle()
/foundation/multimodalinput/input/service/event_handler/src/
H A Dinput_event_handler.cpp413 int32_t InputEventHandler::GetIntervalSinceLastInput(int64_t &timeInterval) in GetIntervalSinceLastInput() argument
416 timeInterval = currentSystemTime - lastEventBeginTime_; in GetIntervalSinceLastInput()
/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulerstartwork_fuzzer/
H A Dworkschedulerstartwork_fuzzer.cpp51 uint32_t timeInterval = 20 * 60 * 1000; in CreateWorkInfo() local
57 workInfo.RequestRepeatCycle(timeInterval); in CreateWorkInfo()
/foundation/distributedhardware/distributed_audio/common/test/unittest/src/
H A Ddaudio_utils_test.cpp187 uint32_t timeInterval = 5; in HWTEST_F() local
189 int32_t spanSizeInFrame = CalculateSampleNum(sampleRate, timeInterval); in HWTEST_F()
/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/
H A Dcommon.cpp443 uint32_t timeInterval = workInfo->GetTimeInterval(); in GetNapiWorkInfo() local
444 if (timeInterval > 0) { in GetNapiWorkInfo()
446 napi_create_int32(env, static_cast<int32_t>(timeInterval), &napiTimer); in GetNapiWorkInfo()
/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Dinput_manager.cpp674 int32_t InputManager::GetIntervalSinceLastInput(int64_t &timeInterval) in GetIntervalSinceLastInput() argument
676 return InputMgrImpl.GetIntervalSinceLastInput(timeInterval); in GetIntervalSinceLastInput()
/foundation/multimodalinput/input/interfaces/kits/c/input/
H A Doh_input_manager.h1269 * @param timeInterval Interval, in microseconds.
1276 int32_t OH_Input_GetIntervalSinceLastInput(int64_t *timeInterval);
/foundation/multimodalinput/input/service/connect_manager/include/
H A Dmultimodal_input_connect_manager.h156 int32_t GetIntervalSinceLastInput(int64_t &timeInterval);

Completed in 16 milliseconds

12