/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/ |
H A D | NativeAVMuxerStablityTest.cpp | 21 #include <sys/time.h> 549 time_t startTime = time(nullptr); in RunMuxer() 561 curTime = time(nullptr); in RunMuxer() 592 cout << "run time is: " << i << ", handle is:" << handle << endl; in HWTEST_F() 595 cout << "2000 times finish, run time is " << totalTime << endl; in HWTEST_F() 624 cout << "run time is: " << i << ", ret is:" << ret << endl; in HWTEST_F() 626 cout << "2000 times finish, run time is " << totalTime << endl; in HWTEST_F() 656 cout << "run time is: " << i << ", track id is:" << trackId << endl; in HWTEST_F() 658 cout << "2000 times finish, run time is " << totalTime << endl; in HWTEST_F() 692 cout << "run time i in HWTEST_F() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_storage_sqlite_single_ver_natural_executor_test.cpp | 261 EXPECT_EQ(g_nullHandle->GetSyncDataByTimestamp(dataItems, sizeof("time"), begin, end, info), -E_INVALID_DB); in HWTEST_F() 262 EXPECT_EQ(g_nullHandle->GetDeletedSyncDataByTimestamp(dataItems, sizeof("time"), begin, end, info), -E_INVALID_DB); in HWTEST_F() 484 Timestamp time = 0; in HWTEST_F() local 485 EXPECT_EQ(g_handle->SaveSyncDataItem(item, info, time, nullptr, false), -E_INVALID_ARGS); in HWTEST_F() 498 EXPECT_EQ(g_handle->SaveSyncDataItem(item, info, time, nullptr, false), -E_INVALID_ARGS); in HWTEST_F() 505 EXPECT_EQ(g_handle->SaveSyncDataItem(item, info, time, nullptr, false), E_OK); in HWTEST_F() 514 EXPECT_EQ(g_handle->SaveSyncDataItem(item, info, time, &data, true), E_OK); in HWTEST_F() 828 int time = 6000; // 6000 is random in HWTEST_F() local 829 EXPECT_EQ(emptyConn->Pragma(PRAGMA_SET_AUTO_LIFE_CYCLE, &time), -E_INVALID_DB); in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_auto_launch_test.cpp | 51 const int TEST_ENABLE_CNT = 10; // 10 time 52 const int TEST_ONLINE_CNT = 200; // 10 time 175 Timestamp time; in PutSyncData() local 176 kvStore->GetMaxTimestamp(time); in PutSyncData() 177 time += TIME_ADD; in PutSyncData() 178 LOGD("time:%" PRIu64, time); in PutSyncData() 179 vect.push_back({key, value, time, 0, DBCommon::TransferHashString(REMOTE_DEVICE_ID)}); in PutSyncData() 193 uint32_t time = LIFE_CYCLE_TIME; in SetLifeCycleTime() local 194 EXPECT_EQ(connection->Pragma(PRAGMA_SET_AUTO_LIFE_CYCLE, static_cast<PragmaData>(&time)), E_O in SetLifeCycleTime() [all...] |
/applications/standard/contacts_data/test/unittest/src/ |
H A D | contactpinyin_test.cpp | 99 int time = 1000; in ClearData() local 100 std::chrono::milliseconds dura(time); in ClearData()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/common/ |
H A D | base_animation_bridge.cpp | 43 // in js api offset in range in [0, 1], but keyframe time range in range [0, 100] in JsParseAnimationFramesInternal() 45 auto time = StringUtils::StringToDouble(value); in JsParseAnimationFramesInternal() local 46 value = std::to_string(time * 100.0); in JsParseAnimationFramesInternal()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/ |
H A D | video_pattern.h | 293 void OnUpdateTime(uint32_t time, int pos) const; 346 RefPtr<FrameNode> CreateText(uint32_t time);
|
/foundation/arkui/ui_lite/test/autotest/src/ |
H A D | ui_auto_test.cpp | 18 #include <sys/time.h> 108 EventInjector::GetInstance()->SetDragEvent(startPoint, endPoint, 100); // 100: drag time in DragViewToHead() 128 EventInjector::GetInstance()->SetDragEvent(startPoint, endPoint, 100); // 100: drag time in DrageToView() 271 time_t t = time(0); in OnGetSystemTime()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/context/ |
H A D | js_profiler.cpp | 30 #include <sys/time.h> 32 #include <time.h> 313 // record current time stamp in PushTrace() 327 * @brief Calculate time cost and output to trace.
|
/foundation/arkui/ui_lite/frameworks/imgdecode/ |
H A D | cache_manager.cpp | 220 void CacheManager::AgingAll(int32_t time) in AgingAll() argument 224 entryArr_[index].life_ -= time; in AgingAll()
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_label.cpp | 76 uint32_t time = (curTime > preRunTime_) ? (curTime - preRunTime_) : (UINT32_MAX - preRunTime_ + curTime); variable 78 float floatStep = (static_cast<float>(time * speed_) / 1000) + decimal_;
|
/foundation/graphic/graphic_surface/surface/test/fuzztest/bufferqueue_fuzzer/ |
H A D | bufferqueue_fuzzer.cpp | 98 int64_t time = 0; in BufferQueueFuzzTest2() local 100 bufferqueue->GetPresentTimestamp(sequence, timestampType, time); in BufferQueueFuzzTest2()
|
/foundation/graphic/graphic_surface/surface/test/fuzztest/bufferqueueproducer_fuzzer/ |
H A D | bufferqueueproducer_fuzzer.cpp | 100 int64_t time = 0; in BufferQueueProducerFuzzTest() local 102 bqp->GetPresentTimestamp(sequence, timestampType, time); in BufferQueueProducerFuzzTest()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/ |
H A D | my_xnode.cpp | 104 uint32_t time = TestPerformance(canvas, caseName, testCount); in NapiPerformance() local 106 (void)napi_create_int32(env, time, &value); in NapiPerformance()
|
/foundation/graphic/graphic_2d/rosen/modules/platform/eventhandler_impl/ |
H A D | event_handler.cpp | 28 #define localtime_r(tm, time) localtime_s(time, tm)
|
/foundation/multimedia/av_session/frameworks/common/src/ |
H A D | avplayback_state.cpp | 111 void AVPlaybackState::SetBufferedTime(int64_t time) in SetBufferedTime() argument 114 bufferedTime_ = time; in SetBufferedTime()
|
/foundation/multimodalinput/input/test/facility/libinput_interface/src/ |
H A D | libinput_interface.cpp | 126 return (event != nullptr ? event->base.time : 0); in libinput_event_keyboard_get_time_usec() 231 return (event != nullptr ? event->base.time : 0); in libinput_event_touchpad_get_time_usec()
|
/foundation/resourceschedule/background_task_mgr/services/common/src/ |
H A D | data_storage_helper.cpp | 119 bool DataStorageHelper::ParseFastSuspendDozeTime(const std::string &FilePath, int &time) in ParseFastSuspendDozeTime() argument 149 time = fastFrozen.at(DOZE_TIME).get<int>(); in ParseFastSuspendDozeTime()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/ |
H A D | wifi_hdi_wpa_p2p_impl_test.cpp | 69 int time = 1; in HWTEST_F() local 70 WifiErrorNo result = HdiP2pSetGroupMaxIdle(groupIfc, time); in HWTEST_F()
|
/foundation/communication/wifi/wifi/frameworks/native/src/ |
H A D | wifi_hotspot_impl.cpp | 130 ErrCode WifiHotspotImpl::SetHotspotIdleTimeout(int time) in SetHotspotIdleTimeout() argument 134 return client_->SetHotspotIdleTimeout(time); in SetHotspotIdleTimeout()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/data/ |
H A D | published_data.cpp | 102 auto now = time(nullptr);
in PublishedDataNode() 246 auto now = time(nullptr);
in UpdateTimestamp() 248 ZLOGE("time failed");
in UpdateTimestamp()
|
/foundation/distributeddatamgr/kv_store/frameworks/common/ |
H A D | task_scheduler.h | 62 // execute task at specific time 161 auto time = tasks_.begin()->first; in Loop() local 162 condition_.wait_until(lock, time); in Loop()
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/feedingsmoother/base/ |
H A D | ifeeding_smoother.cpp | 268 void IFeedingSmoother::SetBufferTime(const int32_t time) in SetBufferTime() argument 270 bufferTime_ = time; in SetBufferTime()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/include/ |
H A D | fillpcallbacks.h | 140 * @param[in] timeVal Indicates the max time for select to wait. 275 * This callback is to get the system current time in long format. 373 * @param[in] time The time interval(in milliseconds)for which execution is to be suspended. 377 typedef void (*FillpSysSleepMsFunc)(IN FILLP_UINT time); /* In Millseconds */ 384 * @param[in] time The time interval for which execution is to be suspended, in microseconds. 388 typedef FILLP_INT (*FillpSysUSleepFunc)(IN FILLP_UINT time); /* us */ 821 * @param[in] timeout Indicates the time to wait. 825 * @note Application must provide functionality which does not have impact with system time chang [all...] |
/foundation/communication/dsoftbus/components/nstackx/nstackx_congestion/core/ |
H A D | nstackx_congestion.c | 90 const uint32_t time = WIFI_DIFS + WIFI_SLOT * WIFI_WINDOW + WIFI_RTS + WIFI_SIFS + WIFI_CTS + WIFI_SIFS + in GetWifiNonDataPacketConsumeTime() local 92 return time; in GetWifiNonDataPacketConsumeTime()
|
/applications/sample/camera/cameraApp/cameraApp/src/main/cpp/ |
H A D | camera_manager.h | 20 #include <sys/time.h>
|