/foundation/communication/ipc/services/dbinder/test/distributedtest/src/ |
H A D | dbinder_service_test_helper.cpp | 226 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 D | knuckle_glow_point.cpp | 72 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 D | knuckle_glow_trace_system.cpp | 86 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 D | image_data_statistics.cpp | 58 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 D | image_func_timer.cpp | 40 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 D | getintervalsincelastinput_fuzzer.cpp | 44 int64_t timeInterval = -1; in GetIntervalSinceLastInputFuzzTest() local 45 InputManager::GetInstance()->GetIntervalSinceLastInput(timeInterval); in GetIntervalSinceLastInputFuzzTest()
|
/foundation/multimodalinput/input/service/window_manager/test/ |
H A D | knuckle_glow_trace_system_test.cpp | 194 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 D | workinfo_test.cpp | 216 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 D | watchdog_task_test.cpp | 107 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 D | js_work_scheduler_extension.cpp | 281 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 D | work_info.h | 90 * @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 D | knuckle_glow_trace_system.h | 41 void AddGlowPoints(const Rosen::Drawing::Path &path, int64_t timeInterval);
|
/foundation/communication/ipc/services/dbinder/test/distributedtest/include/ |
H A D | dbinder_service_test_helper.h | 94 float GetSpeed(int64_t timeInterval, int size, int times);
|
/foundation/multimodalinput/input/frameworks/napi/input_device/src/ |
H A D | js_input_device_manager.cpp | 259 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 D | input_event_handler.h | 52 int32_t GetIntervalSinceLastInput(int64_t &timeInterval);
|
/foundation/multimodalinput/input/frameworks/napi/input_device/include/ |
H A D | js_event_target.h | 44 static void EmitJsGetIntervalSinceLastInput(sptr<JsUtil::CallbackInfo> cb, int64_t timeInterval);
|
/foundation/multimedia/media_library/frameworks/utils/src/ |
H A D | post_event_utils.cpp | 220 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 D | work_info.cpp | 92 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 D | input_event_handler.cpp | 413 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 D | workschedulerstartwork_fuzzer.cpp | 51 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 D | daudio_utils_test.cpp | 187 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 D | common.cpp | 443 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 D | input_manager.cpp | 674 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 D | oh_input_manager.h | 1269 * @param timeInterval Interval, in microseconds. 1276 int32_t OH_Input_GetIntervalSinceLastInput(int64_t *timeInterval);
|
/foundation/multimodalinput/input/service/connect_manager/include/ |
H A D | multimodal_input_connect_manager.h | 156 int32_t GetIntervalSinceLastInput(int64_t &timeInterval);
|