Home
last modified time | relevance | path

Searched refs:GetCurrentTime (Results 1 – 25 of 194) sorted by relevance

12345678

/ohos5.0/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
H A Dshort_grant_manager.cpp95 data.firstGrantTimes = GetCurrentTime(); in RefreshPermission()
107 uint32_t maxRemainedTime = maxTime_ > (GetCurrentTime() - iter->firstGrantTimes) ? in RefreshPermission()
108 (maxTime_ - (GetCurrentTime() - iter->firstGrantTimes)) : 0; in RefreshPermission()
109 uint32_t currRemainedTime = iter->revokeTimes > GetCurrentTime() ? in RefreshPermission()
110 (iter->revokeTimes - GetCurrentTime()) : 0; in RefreshPermission()
113 iter->revokeTimes = GetCurrentTime() + cancelTimes; in RefreshPermission()
171 uint32_t ShortGrantManager::GetCurrentTime() in GetCurrentTime() function in OHOS::Security::AccessToken::ShortGrantManager
/ohos5.0/foundation/communication/ipc/services/dbinder/test/distributedtest/src/
H A Ddbinder_distributed_test.cpp219 startTime = GetCurrentTime();
224 finishTime = GetCurrentTime();
229 startTime = GetCurrentTime();
234 finishTime = GetCurrentTime();
876 startTime = GetCurrentTime();
881 finishTime = GetCurrentTime();
885 startTime = GetCurrentTime();
894 startTime = GetCurrentTime();
1009 startTime = GetCurrentTime();
1018 startTime = GetCurrentTime();
[all …]
/ohos5.0/base/update/updateservice/services/core/ability/status_cache/src/
H A Dstatus_cache.cpp26 …if (lastCheckTime_ != -1 && abs(GetCurrentTime() - lastCheckTime_) > Constant::FIVE_MINUTES_SECOND… in IsChecking()
37 lastCheckTime_ = GetCurrentTime(); in SetIsChecking()
41 int64_t StatusCache::GetCurrentTime() in GetCurrentTime() function in OHOS::UpdateEngine::StatusCache
/ohos5.0/foundation/multimedia/media_foundation/test/scenetest/
H A Dtest_single_video_player_fast_3.h131 ASSERT_EQ(0, player->GetCurrentTime(currentMS)); in FIXTURE()
182 ASSERT_EQ(0, player->GetCurrentTime(currentMS)); in FIXTURE()
197 ASSERT_EQ(0, player->GetCurrentTime(currentMS)); in FIXTURE()
216 ASSERT_EQ(0, player->GetCurrentTime(currentMS)); in FIXTURE()
236 ASSERT_EQ(0, player->GetCurrentTime(currentMS)); in FIXTURE()
256 ASSERT_EQ(0, player->GetCurrentTime(currentMS)); in FIXTURE()
305 ASSERT_EQ(0, player->GetCurrentTime(currentMS)); in FIXTURE()
323 ASSERT_EQ(0, player->GetCurrentTime(currentMS)); in FIXTURE()
327 ASSERT_EQ(0, player->GetCurrentTime(currentMS)); in FIXTURE()
331 ASSERT_EQ(0, player->GetCurrentTime(currentMS)); in FIXTURE()
[all …]
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/transient_task/src/
H A Ddelay_suspend_info_ex.cpp32 …int64_t spendTime = (baseTime_ > 0) ? (spendTime_ + (TimeProvider::GetCurrentTime() - baseTime_)) … in GetRemainDelayTime()
47 baseTime_ = TimeProvider::GetCurrentTime(); in StartAccounting()
54 spendTime_ += TimeProvider::GetCurrentTime() - baseTime_; in StopAccounting()
H A Dpkg_delay_suspend_info.cpp144 baseTime_ = static_cast<int32_t>(TimeProvider::GetCurrentTime()); in UpdateQuota()
162 … int32_t time = static_cast<int32_t>(TimeProvider::GetCurrentTime()) - baseTime_ - exempted_quota; in GetModifiedTime()
/ohos5.0/foundation/filemanagement/app_file_service/utils/src/b_radar/
H A Db_radar.cpp51 "TIME", TimeUtils::GetCurrentTime(), in RecordDefaultFuncRes()
72 "TIME", TimeUtils::GetCurrentTime(), in RecordBackupFuncRes()
93 "TIME", TimeUtils::GetCurrentTime(), in RecordRestoreFuncRes()
113 "TIME", TimeUtils::GetCurrentTime(), in RecordStatisticRes()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/
H A Dutils_test.cpp51 static uint64_t GetCurrentTime() in GetCurrentTime() function in OHOS::Test::BlockIntegerTest
104 auto now1 = GetCurrentTime();
106 auto now2 = GetCurrentTime();
111 now1 = GetCurrentTime();
113 now2 = GetCurrentTime();
/ohos5.0/base/powermgr/battery_manager/charger/src/
H A Dcharger_thread.cpp54 static int64_t GetCurrentTime() in GetCurrentTime() function
120 SetKeyState(ev.code, ev.value, GetCurrentTime()); in HandleInputEvent()
132 int64_t currentTime = GetCurrentTime(); in UpdateWaitInterval()
159 backlightWait_ = GetCurrentTime() - 1; in CycleMatters()
275 backlightWait_ = GetCurrentTime() - 1; in HandleChargingState()
283 if (backlightWait_ != INVALID && GetCurrentTime() > backlightWait_ + BACKLIGHT_OFF_TIME_MS) { in HandleScreenState()
294 auto now = GetCurrentTime(); in HandlePowerKeyState()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dtoss_animation_controller.cpp40 timeStart_ = GetCurrentTime(); in SetStart()
50 timeEnd_ = GetCurrentTime(); in SetEnd()
110 double TossAnimationController::GetCurrentTime() const in GetCurrentTime() function in OHOS::Ace::TossAnimationController
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/localhardwaremanager/
H A Dlocal_hardware_manager.cpp53 int64_t allQueryStartTime = GetCurrentTime(); in Init()
55 int64_t singleQueryStartTime = GetCurrentTime(); in Init()
80 int64_t singleQueryEndTime = GetCurrentTime(); in Init()
84 int64_t allQueryEndTime = GetCurrentTime(); in Init()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/platform/src/
H A Dpreferences_dfx_adapter.cpp35 std::string GetCurrentTime() in GetCurrentTime() function
74 std::string nowTime = GetCurrentTime(); in ReportDbFault()
114 std::string GetCurrentTime()
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/
H A Dbgtask_misc_unit_test.cpp311 decisionMaker->lastRequestTime_ = TimeProvider::GetCurrentTime();
316 …decisionMaker->pkgBgDurationMap_[keyInfo] = TimeProvider::GetCurrentTime() - ALLOW_REQUEST_TIME_BG…
318 decisionMaker->pkgBgDurationMap_[keyInfo] = TimeProvider::GetCurrentTime();
382 decisionMaker->lastRequestTime_ = TimeProvider::GetCurrentTime() - 1;
384 decisionMaker->lastRequestTime_ = TimeProvider::GetCurrentTime() - QUOTA_UPDATE - 1;
475 pkgDelaySuspendInfo->baseTime_ = (int32_t)TimeProvider::GetCurrentTime() + MIN_ALLOW_QUOTA_TIME;
478 pkgDelaySuspendInfo->baseTime_ = (int32_t)TimeProvider::GetCurrentTime();
543 pkgDelaySuspendInfo->baseTime_ = (int32_t)TimeProvider::GetCurrentTime() - 1;
546 pkgDelaySuspendInfo->baseTime_ = (int32_t)TimeProvider::GetCurrentTime() + 1;
717 …decisionMaker->pkgBgDurationMap_[keyInfo] = TimeProvider::GetCurrentTime() - ALLOW_REQUEST_TIME_BG…
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Devloop_timer_unit_test.cpp50 static EventTime GetCurrentTime();
53 EventTime TimerTester::GetCurrentTime() in GetCurrentTime() function in __anon31edf1080110::TimerTester
150 EventTime start = TimerTester::GetCurrentTime(); in __anon31edf1080302()
152 EventTime end = TimerTester::GetCurrentTime(); in __anon31edf1080302()
407 EventTime lastTime = TimerTester::GetCurrentTime();
410 EventTime now = TimerTester::GetCurrentTime(); in __anon31edf1080f02()
417 lastTime = TimerTester::GetCurrentTime(); in __anon31edf1080f02()
/ohos5.0/base/startup/appspawn/test/unittest/app_spawn_lite_test/
H A Dapp_spawn_lite_test.cpp276 static void GetCurrentTime(struct timespec* tmCur) in GetCurrentTime() function
303 GetCurrentTime(&tmStart);
315 GetCurrentTime(&tmEnd);
333 GetCurrentTime(&tmStart);
346 GetCurrentTime(&tmEnd);
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/log/
H A Dace_performance_check.cpp109 std::string AceScopedPerformanceCheck::GetCurrentTime() in GetCurrentTime() function in OHOS::Ace::AceScopedPerformanceCheck
191 auto eventTime = GetCurrentTime(); in RecordPageNodeCountAndDepth()
233 auto eventTime = GetCurrentTime(); in RecordFunctionTimeout()
251 auto eventTime = GetCurrentTime(); in RecordVsyncTimeout()
286 auto eventTime = GetCurrentTime(); in RecordForEachItemsCount()
316 auto eventTime = GetCurrentTime(); in RecordFlexLayoutsCount()
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_player_adapter_wrapper.cpp79 int32_t ArkPlayerAdapterWrapper::GetCurrentTime(int32_t& currentTime) in GetCurrentTime() function in OHOS::ArkWeb::ArkPlayerAdapterWrapper
81 return ctocpp_->GetCurrentTime(currentTime); in GetCurrentTime()
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_player_adapter_impl.cpp78 int32_t ArkPlayerAdapterImpl::GetCurrentTime(int32_t& currentTime) in GetCurrentTime() function in OHOS::ArkWeb::ArkPlayerAdapterImpl
80 return real_->GetCurrentTime(currentTime); in GetCurrentTime()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtoss_animation_controller.cpp52 timeStart_ = GetCurrentTime(); in SetStart()
62 timeEnd_ = GetCurrentTime(); in SetEnd()
162 double TextPickerTossAnimationController::GetCurrentTime() const in GetCurrentTime() function in OHOS::Ace::NG::TextPickerTossAnimationController
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtoss_animation_controller.cpp54 timeStart_ = GetCurrentTime(); in SetStart()
64 timeEnd_ = GetCurrentTime(); in SetEnd()
164 double TimePickerTossAnimationController::GetCurrentTime() const in GetCurrentTime() function in OHOS::Ace::NG::TimePickerTossAnimationController
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Dtoss_animation_controller.cpp50 timeStart_ = GetCurrentTime(); in SetStart()
60 timeEnd_ = GetCurrentTime(); in SetEnd()
156 double TossAnimationController::GetCurrentTime() const in GetCurrentTime() function in OHOS::Ace::NG::TossAnimationController
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/media_adapter/playerframeworkadapterimpl_fuzzer/
H A Dplayerframeworkadapterimpl_fuzzer.cpp63 playerAdapter.GetCurrentTime(currentTime); in PlayerFrameworkAdapterImpl_fuzzerFuzzTest()
82 playerAdapterNormal->GetCurrentTime(currentTime); in PlayerFrameworkAdapterImpl_fuzzerFuzzTest()
/ohos5.0/base/sensors/miscdevice/services/miscdevice_service/src/
H A Dmiscdevice_service.cpp334 std::string curVibrateTime = GetCurrentTime(); in Vibrate()
367 std::string curVibrateTime = GetCurrentTime(); in StopVibrator()
402 std::string curVibrateTime = GetCurrentTime(); in PlayVibratorEffect()
455 std::string curVibrateTime = GetCurrentTime(); in StopVibrator()
472 std::string MiscdeviceService::GetCurrentTime() in GetCurrentTime() function in OHOS::Sensors::MiscdeviceService
530 std::string curVibrateTime = GetCurrentTime(); in PlayVibratorCustom()
672 std::string curVibrateTime = GetCurrentTime(); in PlayPattern()
686 std::string curVibrateTime = GetCurrentTime(); in PlayPattern()
878 std::string curVibrateTime = GetCurrentTime(); in PlayPrimitiveEffect()
/ohos5.0/foundation/resourceschedule/ffrt/src/dfx/log/linux/
H A Dlog_base.cpp26 static std::string GetCurrentTime(void) in GetCurrentTime() function
54 strBuf = GetCurrentTime() + " "; in LogOutput()
/ohos5.0/docs/zh-cn/application-dev/dfx/
H A Dhicollie-guidelines-ndk.md107 int64_t GetCurrentTime()
115 if ((GetCurrentTime() - lastWatchTime) > CHECK_INTERNAL_TIME) {
130 int64_t now = GetCurrentTime();

12345678