/ohos5.0/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/ |
H A D | expire_lru_cache.h | 99 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 D | time_manager.cpp | 33 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 D | watch_point.cpp | 23 : 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 D | watch_point.h | 48 unsigned long long timestamp_; variable 89 unsigned long long timestamp_; variable
|
/ohos5.0/base/location/interfaces/inner_api/include/ |
H A D | bluetooth_scan_info.h | 32 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 D | wifi_scan_info.h | 32 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 D | request_config.h | 102 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 D | rs_transaction_proxy.cpp | 133 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 D | rs_transaction_data.cpp | 45 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 D | stream_statistics.cpp | 88 if (clock_gettime(CLOCK_MONOTONIC, ×tamp_) != 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 D | capture_request.cpp | 101 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 D | generic_multi_ver_kv_entry.cpp | 25 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 D | multi_ver_commit.cpp | 23 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 D | rs_transaction_data.h | 38 : 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 D | sms_receive_indexer.cpp | 31 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 D | chain_animation.cpp | 91 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 D | spring_adapter.h | 78 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 D | audio_capturer_impl.cpp | 84 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 D | request_config.cpp | 33 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 D | audio_record.h | 33 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 D | rs_render_thread.cpp | 115 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 D | ui_display_sync.h | 123 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 D | hgm_core.h | 109 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 D | metadata_output.h | 84 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 D | rs_render_thread_params.h | 118 timestamp_ = timestamp; in SetTimestamp() 123 return timestamp_; in GetCurrentTimestamp() 419 uint64_t timestamp_ = 0;
|