Home
last modified time | relevance | path

Searched refs:time (Results 151 - 175 of 1278) sorted by relevance

12345678910>>...52

/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/
H A Ddelay_suspend_info.h64 * @brief Get delay time.
66 * @return The delay time.
84 * @brief Set the actual delay time.
86 * @param time The delay time.
88 inline void SetActualDelayTime(int32_t time) in SetActualDelayTime() argument
90 actualDelayTime_ = time; in SetActualDelayTime()
/foundation/communication/netmanager_base/utils/common_utils/include/
H A Dtiny_count_down_latch.h33 bool Await(const std::chrono::duration<Rep, Period>& time) in Await() argument
37 return conditionVar_.wait_for(lk, time, [this] { return count_ == 0; }); in Await()
/foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/include/
H A Dsoftbus_hisysevt_transreporter.h36 void SoftbusRecordOpenSessionKpi(const char *pkgName, int32_t linkType, SoftBusOpenSessionStatus isSucc, int64_t time);
38 void SoftbusRecordOpenSession(SoftBusOpenSessionStatus isSucc, uint32_t time);
/foundation/distributedhardware/device_manager/utils/src/
H A Ddm_random.cpp21 #include <time.h>
29 srandom(time(NULL)); in GenRandInt()
/foundation/arkui/ace_engine/frameworks/base/perfmonitor/
H A Dperf_monitor.cpp177 int64_t time) in InitRecord()
183 inputTime = time; in InitRecord()
328 void PerfMonitor::RecordInputEvent(PerfActionType type, PerfSourceType sourceType, int64_t time) in RecordInputEvent() argument
331 if (time <= 0) { in RecordInputEvent()
332 time = GetCurrentRealTimeNs(); in RecordInputEvent()
337 ACE_SCOPED_TRACE("RecordInputEvent: last_down=%lld(ns)", static_cast<long long>(time)); in RecordInputEvent()
338 mInputTime[LAST_DOWN] = time; in RecordInputEvent()
343 ACE_SCOPED_TRACE("RecordInputEvent: last_up=%lld(ns)", static_cast<long long>(time)); in RecordInputEvent()
344 mInputTime[LAST_UP] = time; in RecordInputEvent()
350 ACE_SCOPED_TRACE("RecordInputEvent: first_move=%lld(ns)", static_cast<long long>(time)); in RecordInputEvent()
176 InitRecord(const std::string& sId, PerfActionType aType, PerfSourceType sType, const std::string& nt, int64_t time) InitRecord() argument
545 IsExceptResponseTime(int64_t time, const std::string& sceneId) IsExceptResponseTime() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler.h43 #define RS_PROFILER_PATCH_TIME(time) time = RSProfiler::PatchTime(time)
44 #define RS_PROFILER_PATCH_TRANSACTION_TIME(parcel, time) time = RSProfiler::PatchTransactionTime(parcel, time)
59 #define RS_PROFILER_ANIME_SET_START_TIME(id, time) RSProfiler::AnimeSetStartTime(id, time)
77 #define RS_PROFILER_PATCH_TIME(time)
78 #define RS_PROFILER_PATCH_TRANSACTION_TIME(parcel, time)
[all...]
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_extra_input_data.h33 AceExtraInputData(float x, float y, float displayX, float displayY, const TimeStamp& time) in AceExtraInputData()
36 auto stamp = std::chrono::duration_cast<std::chrono::milliseconds>(time.time_since_epoch()).count(); in AceExtraInputData()
/foundation/resourceschedule/work_scheduler/services/native/src/conditions/
H A Dgroup_listener.cpp50 int32_t time = workQueueManager_->GetTimeRetrigger(); in Start() local
51 handler_->SendEvent(AppExecFwk::InnerEvent::Get(WorkQueueEventHandler::GROUP_TICK, 0), time); in Start() local
/foundation/systemabilitymgr/samgr_lite/samgr/source/
H A Dtask_manager.h34 #define GET_REMAIN_TIME(time) ((0xFFFFFFFF - (time)) + 1)
/foundation/barrierfree/accessibility/common/interface/test/fuzztest/accessibleabilitymanagerservicestub_fuzzer/
H A Daccessibleabilitymanagerservicestub_fuzzer.cpp162 RetError SetMouseAutoClick(const int32_t time) override
198 RetError SetContentTimeout(const uint32_t time) override
210 RetError SetClickResponseTime(const uint32_t time) override
218 RetError SetIgnoreRepeatClickTime(const uint32_t time) override
235 RetError GetMouseAutoClick(int32_t &time) override
283 RetError GetClickResponseTime(uint32_t &time) override
291 RetError GetIgnoreRepeatClickTime(uint32_t &time) override
/foundation/multimedia/audio_lite/services/impl/
H A Daudio_capturer_impl.cpp223 timestamp_.time.tv_sec = frame.time.tvSec; in Read()
224 timestamp_.time.tv_nsec = frame.time.tvNSec; in Read()
240 timestamp_.time.tv_sec = static_cast<time_t>(stream.timeStamp / TIME_CONVERSION_US_S); in Read()
241 timestamp_.time.tv_nsec = static_cast<time_t>((stream.timeStamp - in Read()
242 timestamp_.time.tv_sec * TIME_CONVERSION_US_S) * TIME_CONVERSION_NS_US); in Read()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/
H A Drs_animation_fraction_test.cpp165 int64_t time = 0; in HWTEST_F() local
166 rsAnimationFraction.GetAnimationFraction(time); in HWTEST_F()
167 ASSERT_EQ(time, 0); in HWTEST_F()
282 int64_t time = 0; in HWTEST_F() local
286 ASSERT_EQ(time, 0); in HWTEST_F()
297 int64_t time = 0; in HWTEST_F() local
301 ASSERT_EQ(time, 0); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/animat/
H A Drs_animat_fraction_test.cpp153 int64_t time = 0; in HWTEST_F() local
154 rsAnimationFraction.GetAnimationFraction(time); in HWTEST_F()
155 ASSERT_EQ(time, 0); in HWTEST_F()
243 int64_t time = 0; in HWTEST_F() local
247 ASSERT_EQ(time, 0); in HWTEST_F()
297 int64_t time = 0; in HWTEST_F() local
301 ASSERT_EQ(time, 0); in HWTEST_F()
/foundation/multimodalinput/input/service/event_handler/test/
H A Danr_manager_test.cpp200 int64_t time = 123456789; in HWTEST_F() local
202 bool result = ANRMgr->TriggerANR(type, time, sess); in HWTEST_F()
319 int64_t time = 1; in HWTEST_F() local
325 EXPECT_FALSE(anrMgr.TriggerANR(type, time, sess)); in HWTEST_F()
328 EXPECT_FALSE(anrMgr.TriggerANR(type, time, sess)); in HWTEST_F()
334 EXPECT_TRUE(anrMgr.TriggerANR(type, time, session)); in HWTEST_F()
338 EXPECT_FALSE(anrMgr.TriggerANR(type, time, session)); in HWTEST_F()
/foundation/filemanagement/dfs_service/test/unittests/cloud_file_kit_inner/data_sync/
H A Ddata_syncer_rdb_store_test.cpp33 MOCK_METHOD3(GetLastSyncTime, int32_t(int32_t userId, const string &bundleName, int64_t &time));
151 int64_t time = 20240713; in HWTEST_F() local
152 EXPECT_CALL(mockDataSyncerRdbStore, GetLastSyncTime(userId, bundleName, time)) in HWTEST_F()
156 EXPECT_EQ(mockDataSyncerRdbStore.GetLastSyncTime(userId, bundleName, time), E_INVAL_ARG); in HWTEST_F()
157 EXPECT_EQ(mockDataSyncerRdbStore.GetLastSyncTime(userId, bundleName, time), E_OK); in HWTEST_F()
274 int64_t time = 20240722; in HWTEST_F() local
276 int32_t ret = dataSyncerRdbStore.GetLastSyncTime(userId, bundleName, time); in HWTEST_F()
/foundation/communication/dsoftbus/core/common/message_handler/
H A Dmessage_handler.c136 int64_t time = itemNode->msg->time; in LoopTask() local
137 if (now >= time) { in LoopTask()
145 PRIu64 ", msgSize=%{public}u, time=%{public}" PRId64, in LoopTask()
147 msg->time); in LoopTask()
151 tv.sec = time / TIME_THOUSANDS_MULTIPLIER / TIME_THOUSANDS_MULTIPLIER; in LoopTask()
152 tv.usec = time % (TIME_THOUSANDS_MULTIPLIER * TIME_THOUSANDS_MULTIPLIER); in LoopTask()
241 "arg2=%{public}" PRIu64 ", time=%{public}" PRId64, in DumpLooperLocked()
242 i, msg->handler->name, msg->what, msg->arg1, msg->arg2, msg->time); in DumpLooperLocked()
281 COMM_LOGD(COMM_UTILS, "PostMessageAtTime name=%{public}s, what=%{public}d, time in PostMessageAtTimeParamVerify()
[all...]
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/InnerAPI/
H A DInnerStablityTest.cpp61 srand(time(nullptr) * 10); in HWTEST_F()
71 cout << "run time is: " << i << endl; in HWTEST_F()
87 srand(time(nullptr) * 10); in HWTEST_F()
93 cout << "run time is: " << i << endl; in HWTEST_F()
126 cout << "run time is: " << i << ", ret is:" << ret << endl; in HWTEST_F()
160 cout << "run time is: " << i << ", ret is:" << ret << endl; in HWTEST_F()
195 cout << "run time is: " << i << ", ret is:" << ret << endl; in HWTEST_F()
230 cout << "run time is: " << i << ", ret is:" << ret << endl; in HWTEST_F()
262 cout << "run time is: " << i << ", ret is:" << ret << endl; in HWTEST_F()
295 cout << "run time i in HWTEST_F()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/
H A Dstore_factory_test.cpp65 const Options &options, DBPassword &dbPassword, int time);
66 bool ModifyDate(int time);
128 auto time = std::chrono::system_clock::to_time_t( in ChangeKeyDate() local
130 std::vector<char> date(reinterpret_cast<uint8_t *>(&time), reinterpret_cast<uint8_t *>(&time) + sizeof(time)); in ChangeKeyDate()
183 std::shared_ptr<DBManager> dbManager, const Options &options, DBPassword &dbPassword, int time) in ChangeKVStoreDate()
192 if (!ChangeKeyDate(storeId, options.baseDir, time)) { in ChangeKVStoreDate()
201 bool StoreFactoryTest::ModifyDate(int time) in ModifyDate() argument
205 auto dbstatus = ChangeKVStoreDate(storeId, dbManager, options, dbPassword, time); in ModifyDate()
182 ChangeKVStoreDate(const std::string &storeId, std::shared_ptr<DBManager> dbManager, const Options &options, DBPassword &dbPassword, int time) ChangeKVStoreDate() argument
[all...]
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtsp/include/
H A Drtsp_sdp.h46 // r=<repeat interval> <active duration> <offsets from start-time>
48 // t=<start-time> <stop-time>
49 std::pair<uint64_t, uint64_t> time{UINT64_MAX, UINT64_MAX};
50 // z=<adjustment time> <offset> <adjustment time> <offset> ...
63 SessionTime time; // time descriptions member
173 return session_.time.time; in GetTime()
[all...]
/foundation/barrierfree/accessibility/common/interface/test/unittest/mock/
H A Dmock_accessible_ability_manager_config_observer_stub.cpp159 uint32_t time = data.ReadUint32(); in HandleOnClickResponseTimeChanged() local
160 OnClickResponseTimeChanged(time); in HandleOnClickResponseTimeChanged()
169 uint32_t time = data.ReadUint32(); in HandleOnIgnoreRepeatClickTimeChanged() local
170 OnIgnoreRepeatClickTimeChanged(time); in HandleOnIgnoreRepeatClickTimeChanged()
/foundation/arkui/ui_lite/tools/server/
H A Dtcp_server.py19 import time namespace
84 time.sleep(3)
155 print(time.time(), '----time is up')
/foundation/barrierfree/accessibility/common/interface/src/
H A Daccessible_ability_manager_config_observer_stub.cpp159 uint32_t time = data.ReadUint32(); in HandleOnClickResponseTimeChanged() local
160 OnClickResponseTimeChanged(time); in HandleOnClickResponseTimeChanged()
169 uint32_t time = data.ReadUint32(); in HandleOnIgnoreRepeatClickTimeChanged() local
170 OnIgnoreRepeatClickTimeChanged(time); in HandleOnIgnoreRepeatClickTimeChanged()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_image_animator.cpp211 uint8_t UIImageAnimatorView::GetTickByTime(uint16_t time) const in GetTickByTime()
214 if ((time > 0) && (time <= DEFAULT_TASK_PERIOD)) { in GetTickByTime()
217 tick = time / DEFAULT_TASK_PERIOD; in GetTickByTime()
/foundation/multimedia/audio_framework/frameworks/native/opensles/test/example/
H A Daudio_opensles_recorder_test.cpp39 static void OperationTime(uint64_t time);
199 static void OperationTime(uint64_t time) in OperationTime() argument
202 time *= usecTimes; in OperationTime()
205 while (((tv2.tv_sec * usecTimes + tv2.tv_nsec) - (tv1.tv_sec * usecTimes + tv1.tv_nsec)) <= time) { in OperationTime()
/foundation/multimedia/av_session/frameworks/common/src/
H A Davcontrol_command.cpp77 && parcel.WriteInt64(std::get<int64_t>(param_)), false, "write fast forward time failed"); in Marshalling()
81 && parcel.WriteInt64(std::get<int64_t>(param_)), false, "write rewind time failed"); in Marshalling()
85 && parcel.WriteInt64(std::get<int64_t>(param_)), false, "write seek time failed"); in Marshalling()
150 SLOGD("SetForwardTime with time %{public}jd", static_cast<int64_t>(forwardTime)); in SetForwardTime()
167 SLOGE("GetForwardTime with time %{public}jd", static_cast<int64_t>(forwardTime)); in GetForwardTime()
174 SLOGE("SetRewindTime with time %{public}jd", static_cast<int64_t>(rewindTime)); in SetRewindTime()
191 SLOGE("GetRewindTime with time %{public}jd", static_cast<int64_t>(rewindTime)); in GetRewindTime()
196 int32_t AVControlCommand::SetSeekTime(int64_t time) in SetSeekTime() argument
198 if (time < 0) { in SetSeekTime()
201 param_ = time; in SetSeekTime()
[all...]

Completed in 12 milliseconds

12345678910>>...52