Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 25 of 1462) sorted by relevance

12345678910>>...59

/ohos5.0/base/msdp/device_status/services/interaction/drag/src/
H A Ddrag_smooth_processor.cpp80 if (event.timestamp > nanoTimestamp) { in GetNearestEvent()
105 if (latestEvent.timestamp < event.timestamp) { in Resample()
124 …if ((nanoTimestamp <= historyAvgEvent.timestamp) || (nanoTimestamp == currentAvgEvent.timestamp) || in GetInterpolatedEvent()
125 (currentAvgEvent.timestamp <= historyAvgEvent.timestamp) || in GetInterpolatedEvent()
126 ((currentAvgEvent.timestamp - historyAvgEvent.timestamp) > INTERPOLATION_THRESHOLD)) { in GetInterpolatedEvent()
138 (currentAvgEvent.timestamp - historyAvgEvent.timestamp); in GetInterpolatedEvent()
141 event.timestamp = nanoTimestamp; in GetInterpolatedEvent()
145 (currentAvgEvent.timestamp - historyAvgEvent.timestamp); in GetInterpolatedEvent()
148 event.timestamp = nanoTimestamp; in GetInterpolatedEvent()
187 avgEvent.timestamp += event.timestamp; in GetAvgCoordinate()
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_conversational_message_test.cpp44 int64_t timestamp = 10; variable
49 EXPECT_EQ(rrc->GetArrivedTime(), timestamp);
61 int64_t timestamp = 10; variable
81 int64_t timestamp = 10; variable
100 int64_t timestamp = 10; variable
117 int64_t timestamp = 10; variable
133 int64_t timestamp = 10; variable
157 int64_t timestamp = 10; variable
173 int64_t timestamp = 10; variable
192 int64_t timestamp = 10; variable
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/resources/dumpfile/
H A Dinput.txt56 xxx)-(10000:10000:scope)] EventTreeDumpInfo: procedure: HandleTouchDown, timestamp: 2017-08-25…
57 xxx)-(10000:10000:scope)] EventTreeDumpInfo: procedure: HandleTouchUp, timestamp: 2017-08-25 1…
60 xxx)-(10000:10000:scope)] EventTreeDumpInfo: procedure: HandleTouchDown, timestamp: 2017-08-25…
61 xxx)-(10000:10000:scope)] EventTreeDumpInfo: procedure: HandleTouchUp, timestamp: 2017-08-25 1…
64 xxx)-(10000:10000:scope)] EventTreeDumpInfo: procedure: HandleTouchDown, timestamp: 2017-08-25…
65 xxx)-(10000:10000:scope)] EventTreeDumpInfo: procedure: HandleTouchUp, timestamp: 2017-08-25 1…
123 xxx)-(10000:10000:scope)] EventTreeDumpInfo: procedure: HandleTouchDown, timestamp: 2017-08-25…
124 xxx)-(10000:10000:scope)] EventTreeDumpInfo: procedure: HandleTouchUp, timestamp: 2017-08-25 1…
169 xxx)-(10000:10000:scope)] EventTreeDumpInfo: procedure: HandleTouchUp, timestamp: 2017-08-25 1…
214 xxx)-(10000:10000:scope)] EventTreeDumpInfo: procedure: HandleTouchUp, timestamp: 2017-08-25 1…
[all …]
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/base/timer/
H A Dtime_broker.cpp68 expiringTimers_[timestamp].push_back(timerInfo); in RegisterCallback()
70 timeline_.push(timestamp); in RegisterCallback()
71 if (timestamp == timeline_.top()) { in RegisterCallback()
72 timer_->StartAt(timestamp); in RegisterCallback()
129 auto timestamp = timeline_.top(); in TimerExpired() local
131 timerInfos.reserve(expiringTimers_[timestamp].size()); in TimerExpired()
132 for (auto& weakTimerInfoPtr : expiringTimers_[timestamp]) { in TimerExpired()
138 expiringTimers_.erase(timestamp); in TimerExpired()
139 auto ret = RestartTimer(timestamp); in TimerExpired()
155 auto timestamp = timeline_.top(); in RestartTimer() local
[all …]
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/include/
H A Ddhcp_client_state_machine.h59 void SendReboot(uint32_t targetIp, time_t timestamp);
61 void DhcpResponseHandle(time_t timestamp, int sockFd);
74 void DhcpRequestHandle(time_t timestamp);
75 void Rebinding(time_t timestamp);
76 void Requesting(time_t timestamp);
77 void Renewing(time_t timestamp);
78 void Reboot(time_t timestamp);
79 void Declining(time_t timestamp);
81 void InitSelecting(time_t timestamp);
89 void SlowArpDetect(time_t timestamp);
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/transaction/
H A Drs_transaction_proxy_test.cpp116 uint64_t timestamp = 1; variable
129 uint64_t timestamp = 1; variable
144 uint64_t timestamp = 1; variable
159 uint64_t timestamp = 1; variable
192 uint64_t timestamp = 1; variable
210 uint64_t timestamp = 1; variable
232 uint64_t timestamp = 1; variable
255 uint64_t timestamp = 1; variable
268 uint64_t timestamp = 1; variable
284 uint64_t timestamp = 1; variable
[all …]
/ohos5.0/base/powermgr/display_manager/brightness_manager/src/
H A Dlight_lux_manager.cpp60 mLuxBuffer.Prune(timestamp - LIGHT_LUX_BUFFER_RANGE); in UpdateLuxBuffer()
61 mLuxBuffer.Push(timestamp, lux); in UpdateLuxBuffer()
64 bool LightLuxManager::IsUpdateLuxSuccess(int64_t timestamp) in IsUpdateLuxSuccess() argument
82 mLuxBufferFilter.Push(timestamp, smoothLux); in IsUpdateLuxSuccess()
84 int64_t nextDarkenTime = GetNextDarkenTime(timestamp); in IsUpdateLuxSuccess()
85 PrintCurrentLuxLog(timestamp); in IsUpdateLuxSuccess()
87 if (nextBrightenTime <= timestamp || nextDarkenTime <= timestamp || mIsFirstLux) { in IsUpdateLuxSuccess()
127 return timestamp; in GetNextBrightenTime()
130 int64_t earliestValidTime = timestamp; in GetNextBrightenTime()
146 return timestamp; in GetNextDarkenTime()
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dobject_asset_machine_test.cpp191 auto timestamp = std::to_string(time); variable
193 .name = "name_" + timestamp,
194 .uri = "uri_" + timestamp,
195 .modifyTime = "modifyTime_" + timestamp,
196 .size = "size_" + timestamp,
197 .hash = "modifyTime_size_" + timestamp,
200 .storeName = "store_" + timestamp,
201 .tableName = "table_" + timestamp,
202 .primaryKey = {{ "key_" + timestamp, "value_" + timestamp }},
203 .field = "attachment_" + timestamp,
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/receiver/src/
H A Dimage_receiver.cpp230 OHOS::sptr<OHOS::SurfaceBuffer> ImageReceiver::ReadNextImage(int64_t &timestamp) in ReadNextImage() argument
242 IMAGE_LOGD("[ImageReceiver] ReadNextImage %{public}lld", static_cast<long long>(timestamp)); in ReadNextImage()
249 int64_t timestamp = 0; in ReadNextImage() local
263 OHOS::sptr<OHOS::SurfaceBuffer> ImageReceiver::ReadLastImage(int64_t &timestamp) in ReadLastImage() argument
284 int64_t timestamp = 0; in ReadLastImage() local
326 int64_t timestamp = 0; in NextNativeImage() local
327 auto surfaceBuffer = ReadNextImage(timestamp); in NextNativeImage()
331 return std::make_shared<NativeImage>(surfaceBuffer, GetBufferProcessor(), timestamp); in NextNativeImage()
339 int64_t timestamp = 0; in LastNativeImage() local
340 auto surfaceBuffer = ReadLastImage(timestamp); in LastNativeImage()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_single_ver_natural_store_testcase.cpp105 Timestamp timestamp; in GetSyncData002() local
110 SyncInputArg inputArg(timestamp + 1, timestamp + 1000, 1024); // no more than 1024 in GetSyncData002()
182 Timestamp timestamp = 0; in GetSyncData004() local
245 Timestamp timestamp = 0; in GetSyncData005() local
281 Timestamp timestamp = 0; in GetSyncData006() local
1151 Timestamp timestamp = 0; in DeleteUserKeyValue003() local
1157 dataItem1.timestamp = timestamp - 100UL; // less than current timestamp in DeleteUserKeyValue003()
1164 dataItem2.timestamp = timestamp + 100UL; // bigger than current timestamp in DeleteUserKeyValue003()
1320 dataItem1.timestamp = dataItem1.timestamp + 10UL; in DeleteUserKeyValue005()
1431 dataItem1.timestamp = dataItem1.timestamp + 10UL; in DeleteUserKeyValue006()
[all …]
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/dfx/src/
H A Dpasteboard_deduplicate_memory.h39 int64_t timestamp; member
65 int64_t timestamp = GetTimestamp(); in IsDuplicate() local
66 memory_.InsertFront(MemoryIdentity({.timestamp = timestamp, .data = data})); in IsDuplicate()
88 int64_t timestamp = GetTimestamp(); in ClearExpiration() local
89 if (timestamp < expirationMS_) { in ClearExpiration()
92 int64_t expirationTimestamp = timestamp - expirationMS_; in ClearExpiration()
94 return expirationTimestamp > identity.timestamp; in ClearExpiration()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
H A Drs_render_display_sync_test.cpp98 uint64_t timestamp = 107265354180; variable
101 bool isFrameSkip = displaySync->OnFrameSkip(timestamp, period, isDisplaySyncEnabled);
104 timestamp = 107273687513;
105 isFrameSkip = displaySync->OnFrameSkip(timestamp, period, isDisplaySyncEnabled);
108 timestamp = 107293131957;
110 isFrameSkip = displaySync->OnFrameSkip(timestamp, period, isDisplaySyncEnabled);
113 timestamp = 107304243068;
115 isFrameSkip = displaySync->OnFrameSkip(timestamp, period, isDisplaySyncEnabled);
118 timestamp = 107304243068;
120 isFrameSkip = displaySync->OnFrameSkip(timestamp, period, isDisplaySyncEnabled);
/ohos5.0/docs/en/application-dev/reference/apis-media-kit/
H A D_o_h___audio_buffer.md6 The **OH_AudioBuffer** struct defines the configuration such as the size, type, and timestamp of au…
24 | int64_t [timestamp](#timestamp) | Defines the timestamp of the audio buffer. |
49 ### timestamp subsection
52 int64_t OH_AudioBuffer::timestamp
55 Defines the timestamp of the audio buffer.
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/
H A Dark_idle_monitor.cpp31 void ArkIdleMonitor::NotifyLooperIdleStart(int64_t timestamp, int idleTime) in NotifyLooperIdleStart() argument
35 if (idleTime < MIN_TRIGGER_GC_IDLE_INTERVAL || !ShouldTryTriggerGC(timestamp)) { in NotifyLooperIdleStart()
38 JSNApi::NotifyLooperIdleStart(vm_, timestamp, idleTime); in NotifyLooperIdleStart()
41 bool ArkIdleMonitor::ShouldTryTriggerGC(int64_t timestamp) in ShouldTryTriggerGC() argument
43 int64_t notifyInterval = timestamp - GetNotifyTimestamp(); in ShouldTryTriggerGC()
45 SetNotifyTimestamp(timestamp); in ShouldTryTriggerGC()
58 void ArkIdleMonitor::NotifyLooperIdleEnd(int64_t timestamp) in NotifyLooperIdleEnd() argument
61 AddIdleDuration(timestamp - GetNotifyTimestamp()); in NotifyLooperIdleEnd()
62 JSNApi::NotifyLooperIdleEnd(vm_, timestamp); in NotifyLooperIdleEnd()
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/src/callback/
H A Ddcamera_photo_callback.cpp42 void DCameraPhotoCallback::OnFrameShutter(const int32_t captureId, const uint64_t timestamp) const in OnFrameShutter()
44 DHLOGI("enter, captureId: %{public}d, timestamp: %{public}" PRIu64, captureId, timestamp); in OnFrameShutter()
47 void DCameraPhotoCallback::OnFrameShutterEnd(const int32_t captureId, const uint64_t timestamp) con… in OnFrameShutterEnd()
49 DHLOGI("enter, captureId: %{public}d, timestamp: %{public}" PRIu64, captureId, timestamp); in OnFrameShutterEnd()
52 void DCameraPhotoCallback::OnCaptureReady(const int32_t captureId, const uint64_t timestamp) const in OnCaptureReady()
54 DHLOGI("enter, captureId: %{public}d, timestamp: %{public}" PRIu64, captureId, timestamp); in OnCaptureReady()
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/
H A Dvisit_record_json_manager.cpp51 const std::string& docUri, const int64_t timestamp, const AccessTokenID originalTokenId) in AddVisitRecord() argument
68 info.timestamp = timestamp; in AddVisitRecord()
109 info.visitTimestamp = iter->timestamp; in GetVisitRecordList()
128 { TIMESTAMP, info.timestamp }, in VisitRecordInfoToJson()
137 int64_t timestamp = -1; in VisitRecordInfoFromJson() local
149 json.at(TIMESTAMP).get_to(timestamp); in VisitRecordInfoFromJson()
154 … if (bundleName.empty() || userId < 0 || docUri.empty() || timestamp < 0 || originalTokenId == 0) { in VisitRecordInfoFromJson()
161 info.timestamp = timestamp; in VisitRecordInfoFromJson()
191 … AddVisitRecord(info.bundleName, info.userId, info.docUri, info.timestamp, info.originalTokenId); in FromJson()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dphoto_listener_impl.cpp55 int64_t timestamp; in OnBufferAvailable() local
75 ExecutePhoto(surfaceBuffer, timestamp); in OnBufferAvailable()
178 void PhotoListener::ExecutePhoto(sptr<SurfaceBuffer> surfaceBuffer, int64_t timestamp) in ExecutePhoto() argument
181 bufferProcessor_, timestamp); in ExecutePhoto()
194 bool isHighQuality, int64_t timestamp) in ExecutePhotoAsset() argument
205 uri, cameraShotType, burstKey, timestamp); in ExecutePhotoAsset()
243 int32_t &cameraShotType, std::string &burstKey, int64_t timestamp) in CreateMediaLibrary() argument
295 int64_t timestamp; in OnBufferAvailable() local
305 ExecuteRawPhoto(surfaceBuffer, timestamp); in OnBufferAvailable()
310 void RawPhotoListener::ExecuteRawPhoto(sptr<SurfaceBuffer> surfaceBuffer, int64_t timestamp) in ExecuteRawPhoto() argument
[all …]
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Dui-js-animate-frame.md7 runframe在调用requestAnimationFrame时传入带有timestamp参数的回调函数step,将step中的timestamp赋予起始的startTime。当timestamp
69 step(timestamp) {
74 this.startTime = timestamp;
76 var elapsed = timestamp - this.startTime;
78 console.log('callback step timestamp: ' + timestamp);
100 > requestAnimationFrame函数在调用回调函数时在第一个参数位置传入timestamp时间戳,表示requestAnimationFrame开始去执行回调函数的时刻。
166 step(timestamp) {
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_strategy_test.cpp112 localInfo.timestamp = 1u;
125 cloudInfo.timestamp = 2u; // mark 2 means cloud is new
155 localInfo.timestamp = 3u; // mark 3 means local is new
168 cloudInfo.timestamp = localInfo.timestamp;
177 localInfo.timestamp = 4u;
359 localInfo.timestamp = 1;
362 cloudInfo.timestamp = localInfo.timestamp + 1;
368 cloudInfo.timestamp = cloudInfo.timestamp + CloudDbConstant::ONE_SECOND;
390 localInfo.timestamp = 1u;
/ohos5.0/base/accesscontrol/sandbox_manager/interfaces/innerkits/sandbox_manager/src/
H A Dsandbox_manager_kit.cpp103 … uint64_t policyFlag, std::vector<uint32_t> &result, uint64_t timestamp) in SetPolicy() argument
118 …turn SandboxManagerClient::GetInstance().SetPolicy(tokenId, policy, policyFlag, result, timestamp); in SetPolicy()
141 uint64_t timestamp) in SetPolicyAsync() argument
156 … return SandboxManagerClient::GetInstance().SetPolicyAsync(tokenId, policy, policyFlag, timestamp); in SetPolicyAsync()
187 uint64_t timestamp = 0; in StartAccessingPolicy() local
188 return StartAccessingPolicy(policy, result, useCallerToken, 0, timestamp); in StartAccessingPolicy()
192 bool useCallerToken, uint32_t tokenId, uint64_t timestamp) in StartAccessingPolicy() argument
234 int32_t SandboxManagerKit::StartAccessingByTokenId(uint32_t tokenId, uint64_t timestamp) in StartAccessingByTokenId() argument
241 return SandboxManagerClient::GetInstance().StartAccessingByTokenId(tokenId, timestamp); in StartAccessingByTokenId()
249 int32_t SandboxManagerKit::UnSetAllPolicyByToken(uint32_t tokenId, uint64_t timestamp) in UnSetAllPolicyByToken() argument
[all …]
/ohos5.0/foundation/communication/dhcp/test/fuzztest/dhcpclientfun_fuzzer/
H A Ddhcpclientfun_fuzzer.cpp503 time_t timestamp = 1; in InitSelectingFuzzerTest() local
522 time_t timestamp = 1; in SendRebootFuzzerTest() local
532 time_t timestamp = 1; in RebootFuzzerTest() local
538 time_t timestamp = 1; in RequestingFuzzerTest() local
552 time_t timestamp = 1; in RenewingFuzzerTest() local
562 time_t timestamp = 1; in RebindingFuzzerTest() local
572 time_t timestamp = 1; in DecliningFuzzerTest() local
581 time_t timestamp = 1; in DhcpRequestHandleFuzzerTest() local
684 time_t timestamp = 1; in DhcpAckOrNakPacketHandleFuzzerTest() local
694 time_t timestamp = 1; in ParseDhcpAckPacketFuzzerTest() local
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/flowctrl_manager/
H A Dkvstore_flowctrl_manager.cpp40 void KvStoreFlowCtrlManager::RefreshTokenBucket(TokenBucket &tokenBucket, uint64_t timestamp) in RefreshTokenBucket() argument
43 tokenBucket.tokenBucketRefreshTime = timestamp; in RefreshTokenBucket()
60 bool KvStoreFlowCtrlManager::IsTokenEnoughSlice(TokenBucket &tokenBucket, uint64_t timestamp) in IsTokenEnoughSlice() argument
66 timestamp - tokenBucket.tokenBucketRefreshTime > tokenBucket.refreshTimeGap) { in IsTokenEnoughSlice()
67 RefreshTokenBucket(tokenBucket, timestamp); in IsTokenEnoughSlice()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-camera-kit/
H A D_camera___frame_shutter_info.md21 | uint64_t [timestamp](#timestamp) | 帧的时间戳。 |
36 ### timestamp subsection
39 uint64_t Camera_FrameShutterInfo::timestamp
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/server/src/
H A Dhstream_capture_callback_stub.cpp93 uint64_t timestamp = data.ReadUint64(); in HandleOnFrameShutter() local
95 return OnFrameShutter(captureId, timestamp); in HandleOnFrameShutter()
101 uint64_t timestamp = data.ReadUint64(); in HandleOnFrameShutterEnd() local
103 return OnFrameShutterEnd(captureId, timestamp); in HandleOnFrameShutterEnd()
109 uint64_t timestamp = data.ReadUint64(); in HandleOnCaptureReady() local
111 return OnCaptureReady(captureId, timestamp); in HandleOnCaptureReady()
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_3/src/
H A Dbenchmark_common.cpp451 intervalTimestamp_ = timestamp; in CalculateFps()
455 intervalTimestamp_ = timestamp; in CalculateFps()
466 g_timestamp[0] = timestamp; in GetTimeStamp()
468 g_timestamp[1] = timestamp; in GetTimeStamp()
489 int64_t timestamp = 0; in CreateProducer() local
511 CalculateFps(timestamp, streamId); in CreateProducer()
575 (void)timestamp; in OnFrameShutter()
634 (void)timestamp; in OnFrameShutter()
650 (void)timestamp; in OnCaptureReady()
660 (void)timestamp; in OnFrameShutterEnd()
[all …]

12345678910>>...59