Home
last modified time | relevance | path

Searched refs:timestamp_ (Results 1 – 25 of 77) sorted by relevance

1234

/ohos5.0/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/
H A Dexpire_lru_cache.h99 std::map<TKey, Timestamp> timestamp_; variable
107 auto timestampIter = timestamp_.find(key); in DoAdd()
111 timestamp_.erase(timestampIter); in DoAdd()
128 timestamp_.erase(lruKey); in DoAdd()
134 timestamp_.insert(std::make_pair(key, now)); in DoAdd()
147 auto timestampIter = timestamp_.find(key); in DoGet()
150 timestamp_.erase(timestampIter); in DoGet()
166 timestamp_.erase(key); in DoRemove()
172 timestamp_.clear(); in DoClear()
179 for (auto iter = timestamp_.begin(); iter != timestamp_.end();) { in DoClearExpiredCache()
[all …]
/ohos5.0/base/location/services/location_gnss/gnss/source/ntp/
H A Dtime_manager.cpp33 LBSLOGI(GNSS, "beginning timestamp_ is %{public}s", std::to_string(timestamp_).c_str()); in GetCurrentTime()
34 if (timestamp_ < GPS_UTC_REFERENCE_TIME) { in GetCurrentTime()
47 … LBSLOGI(GNSS, "getCurrentTime:%{public}s", std::to_string(timestamp_ + timeTillNow).c_str()); in GetCurrentTime()
48 return timestamp_ + timeTillNow; in GetCurrentTime()
54 timestamp_ = msTime; in SetCurrentTime()
57 std::to_string(timestamp_).c_str(), std::to_string(timeSinceBoot_).c_str()); in SetCurrentTime()
62 return timestamp_; in GetTimestamp()
/ohos5.0/base/hiviewdfx/hiview/plugins/freeze_detector/
H A Dwatch_point.cpp23 : seq_(0), timestamp_(0), pid_(0), uid_(0), tid_(0), domain_(""), stringId_(""), msg_("") in WatchPoint()
29 timestamp_(builder.timestamp_), in WatchPoint()
46 : seq_(0), timestamp_(0), pid_(0), uid_(0), tid_(0), domain_(""), stringId_(""), msg_("") in Builder()
60 timestamp_ = timestamp; in InitTimestamp()
149 return timestamp_; in GetTimestamp()
224 if (timestamp_ == node.timestamp_) { in operator <()
227 return timestamp_ < node.timestamp_; in operator <()
232 return timestamp_ == node.GetTimestamp() && stringId_.compare(node.GetStringId()); in operator ==()
H A Dwatch_point.h48 unsigned long long timestamp_; variable
89 unsigned long long timestamp_; variable
/ohos5.0/base/location/interfaces/inner_api/include/
H A Dbluetooth_scan_info.h32 timestamp_ = 0; in BluetoothScanInfo()
77 return timestamp_; in GetTimeStamp()
82 timestamp_ = timestamp; in SetTimeStamp()
90 timestamp_ = parcel.ReadInt64(); in ReadFromParcel()
98 parcel.WriteInt64(timestamp_); in Marshalling()
113 ", timestamp_ : " + std::to_string(timestamp_); in ToString()
121 int64_t timestamp_; variable
H A Dwifi_scan_info.h32 timestamp_ = 0; in WifiScanInfo()
88 return timestamp_; in GetTimestamp()
93 timestamp_ = timestamp; in SetTimestamp()
102 timestamp_ = parcel.ReadInt64(); in ReadFromParcel()
111 parcel.WriteInt64(timestamp_); in Marshalling()
126 ", timestamp_ : " + std::to_string(timestamp_); in ToString()
135 int64_t timestamp_; variable
H A Drequest_config.h102 timestamp_ = time; in SetTimeStamp()
107 return timestamp_; in GetTimeStamp()
124 int64_t timestamp_; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/transaction/
H A Drs_transaction_proxy.cpp133 timestamp_ = std::max(timestamp, timestamp_); in FlushImplicitTransaction()
135 implicitCommonTransactionData_->timestamp_ = timestamp_; in FlushImplicitTransaction()
141 flushEmptyCallback_(timestamp_); in FlushImplicitTransaction()
146 implicitRemoteTransactionData_->timestamp_ = timestamp_; in FlushImplicitTransaction()
181 implicitTransactionDataFromRT_->timestamp_ = timestamp; in FlushImplicitTransactionFromRT()
253 implicitRemoteTransactionDataStack_.top()->timestamp_ = timestamp; in Commit()
263 timestamp_ = std::max(timestamp, timestamp_); in CommitSyncTransaction()
267 implicitCommonTransactionDataStack_.top()->timestamp_ = timestamp; in CommitSyncTransaction()
278 implicitRemoteTransactionDataStack_.top()->timestamp_ = timestamp; in CommitSyncTransaction()
H A Drs_transaction_data.cpp45 if (transactionData->timestamp_ > now + MAX_ADVANCE_TIME) { in Unmarshalling()
47 "%{public}" PRIu64 " ", transactionData->timestamp_, now + MAX_ADVANCE_TIME); in Unmarshalling()
49 transactionData->timestamp_ = std::min(now + MAX_ADVANCE_TIME, transactionData->timestamp_); in Unmarshalling()
146 success = success && parcel.WriteUint64(timestamp_); in Marshalling()
184 timestamp_ = 0; in Clear()
273 …parcel.ReadUint64(timestamp_) && ({RS_PROFILER_PATCH_TRANSACTION_TIME(parcel, timestamp_); true;})… in UnmarshallingCommand()
/ohos5.0/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/
H A Dstream_statistics.cpp88 if (clock_gettime(CLOCK_MONOTONIC, &timestamp_) != 0) { in DumpStats()
94 lastOutputTime_ = timestamp_.tv_sec; in DumpStats()
98 if (timestamp_.tv_sec - lastOutputTime_ > interval) { in DumpStats()
99 CalculateFps(timestamp_.tv_sec - lastOutputTime_); in DumpStats()
107 lastOutputTime_ = timestamp_.tv_sec; in DumpStats()
H A Dcapture_request.cpp101 return semp_->timestamp_; in GetBeginTime()
106 return semr_->timestamp_; in GetEndTime()
177 timestamp_ = GenerateTimeStamp(); in Sync()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dgeneric_multi_ver_kv_entry.cpp25 timestamp_(0), in GenericMultiVerKvEntry()
61 errCode = parcel.WriteUInt64(timestamp_); in GetSerialData()
86 parcel.ReadUInt64(timestamp_); in DeSerialData()
138 timestamp_ = timestamp; in SetTimestamp()
143 timestamp = timestamp_; in GetTimestamp()
H A Dmulti_ver_commit.cpp23 timestamp_(0), in MultiVerCommit()
76 return timestamp_; in GetTimestamp()
81 timestamp_ = timestamp; in SetTimestamp()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/transaction/
H A Drs_transaction_data.h38 : payload_(std::move(other.payload_)), timestamp_(std::move(other.timestamp_)), in RSTransactionData()
65 return timestamp_; in GetTimestamp()
70 timestamp_ = timestamp; in SetTimestamp()
186 uint64_t timestamp_ = 0; variable
/ohos5.0/base/telephony/sms_mms/services/sms/
H A Dsms_receive_indexer.cpp31 timestamp_ = 0; in SmsReceiveIndexer()
43 …: pdu_(pdu), timestamp_(timestamp), destPort_(destPort), isCdma_(isCdma), isCdmaWapPdu_(isCdmaWapP… in SmsReceiveIndexer()
50 …: pdu_(pdu), timestamp_(timestamp), destPort_(destPort), isCdma_(isCdma), isCdmaWapPdu_(isCdmaWapP… in SmsReceiveIndexer()
174 return timestamp_; in GetTimestamp()
179 timestamp_ = timestamp; in SetTimestamp()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dchain_animation.cpp91 if (timestamp > timestamp_) { in SetDelta()
92 … duration = static_cast<double>(timestamp - timestamp_) / static_cast<double>(NANOS_TO_MILLS); in SetDelta()
114 timestamp_ = timestamp; in SetDelta()
123 if (timestamp > timestamp_) { in TickAnimation()
124 … duration = static_cast<double>(timestamp - timestamp_) / static_cast<double>(NANOS_TO_MILLS); in TickAnimation()
160 if (timestamp > timestamp_) { in GetValuePredict()
161 … duration = static_cast<double>(timestamp - timestamp_) / static_cast<double>(NANOS_TO_MILLS); in GetValuePredict()
H A Dspring_adapter.h78 if (timestamp_ == timestamp) { in TickAnimation()
82 timestamp_ = timestamp; in TickAnimation()
87 uint64_t timestamp_ = 0; variable
/ohos5.0/foundation/multimedia/audio_lite/services/impl/
H A Daudio_capturer_impl.cpp84 timestamp = timestamp_; in GetTimestamp()
223 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()
/ohos5.0/base/location/frameworks/base_module/source/
H A Drequest_config.cpp33 timestamp_ = 0; in RequestConfig()
44 timestamp_ = 0; in RequestConfig()
56 timestamp_ = requestConfig.GetTimeStamp(); in Set()
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/include/avcodec/common/
H A Daudio_record.h33 explicit AudioRecord(int64_t timestamp) : timestamp_(timestamp) in AudioRecord()
119 return timestamp_; in GetTimeStamp()
171 int64_t timestamp_; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/pipeline/
H A Drs_render_thread.cpp115 RS_TRACE_BEGIN("RSRenderThread DrawFrame: " + std::to_string(timestamp_)); in RSRenderThread()
119 prevTimestamp_ = timestamp_; in RSRenderThread()
386 timestamp_ = timestamp; in OnVsync()
451 …if (timestamp_ - lastAnimateTimestamp_ > 2 * REFRESH_PERIOD) { // 2: if last frame is earlier than… in ProcessCommands()
452 context_->currentTimestamp_ = timestamp_ - REFRESH_PERIOD; in ProcessCommands()
517 RsFrameReport::GetInstance().RenderStart(timestamp_); in Render()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/display_sync/
H A Dui_display_sync.h123 timestamp_ = timestamp; in DECLARE_ACE_TYPE()
128 return timestamp_; in GetTimestamp()
145 int64_t timestamp_ = 0; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/hgm_screen_manager/
H A Dhgm_core.h109 timestamp_ = timestamp; in SetTimestamp()
114 return timestamp_; in GetCurrentTimestamp()
299 uint64_t timestamp_ = 0; variable
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/
H A Dmetadata_output.h84 return timestamp_; in GetTimestamp()
101 int32_t timestamp_; variable
230 timestamp_ = timestamp; in SetTimestamp()
292 int32_t timestamp_ = 0; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/params/
H A Drs_render_thread_params.h118 timestamp_ = timestamp; in SetTimestamp()
123 return timestamp_; in GetCurrentTimestamp()
419 uint64_t timestamp_ = 0;

1234