Home
last modified time | relevance | path

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

/base/update/updateservice/services/core/ability/status_cache/src/
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
/base/powermgr/battery_manager/charger/src/
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()
/base/update/updateservice/services/core/ability/status_cache/include/
Dstatus_cache.h35 int64_t GetCurrentTime();
/base/startup/appspawn/test/unittest/app_spawn_lite_test/
Dapp_spawn_lite_test.cpp277 static void GetCurrentTime(struct timespec* tmCur) in GetCurrentTime() function
304 GetCurrentTime(&tmStart);
316 GetCurrentTime(&tmEnd);
334 GetCurrentTime(&tmStart);
347 GetCurrentTime(&tmEnd);
/base/time/time_service/framework/js/napi/system_date_time/include/
Dnapi_system_date_time.h36 static napi_value GetCurrentTime(napi_env env, napi_callback_info info);
/base/web/webview/ohos_adapter/media_adapter/include/
Dplayer_framework_adapter_impl.h61 int32_t GetCurrentTime(int32_t& currentTime) override;
/base/telephony/telephony_data/common/include/
Dtime_util.h64 void GetCurrentTime(std::string &date) in GetCurrentTime() function
/base/web/webview/ohos_adapter/interfaces/
Dmedia_adapter.h101 virtual int32_t GetCurrentTime(int32_t& currentTime) = 0;
/base/web/webview/ohos_adapter/media_adapter/src/
Dplayer_framework_adapter_impl.cpp270 int32_t PlayerAdapterImpl::GetCurrentTime(int32_t& currentTime) in GetCurrentTime() function in OHOS::NWeb::PlayerAdapterImpl
276 return player_->GetCurrentTime(currentTime); in GetCurrentTime()
/base/web/webview/test/unittest/ohos_adapter/media_adapter_test/
Dplayer_framework_adapter_impl_test.cpp83 EXPECT_EQ(playerAdapter_->GetCurrentTime(currentTime_), -1);
108 EXPECT_NE(playerAdapter_->GetCurrentTime(currentTime_), -1);
/base/notification/distributed_notification_service/services/ans/src/
Dadvanced_notification_inline.cpp57 inline int64_t GetCurrentTime() in GetCurrentTime() function
Dadvanced_notification_service.cpp144 request->SetDeliveryTime(GetCurrentTime()); in PrepareNotificationRequest()
367 int64_t maxExpiredTime = GetCurrentTime() + NotificationConstant::MAX_FINISH_TIME; in SetFinishTimer()
398 int64_t maxExpiredTime = GetCurrentTime() + NotificationConstant::MAX_UPDATE_TIME; in SetUpdateTimer()
424 int64_t maxExpiredTime = GetCurrentTime() + in StartArchiveTimer()
535 …if ((record->request->GetAutoDeletedTime() > GetCurrentTime()) && !record->request->IsCommonLiveVi… in PublishPreparedNotification()
Dadvanced_notification_utils.cpp1130 request->SetDeliveryTime(GetCurrentTime()); in PrepareContinuousTaskNotificationRequest()
1467 int64_t now = GetCurrentTime(); in GetDoNotDisturbDateByUser()
1533 request->SetDeliveryTime(GetCurrentTime()); in PrePublishNotificationBySa()
/base/powermgr/battery_manager/services/native/src/
Dbattery_service.cpp77 static int64_t GetCurrentTime() in GetCurrentTime() function
664 lastTime_ = GetCurrentTime(); in CalculateRemainingChargeTime()
673 int64_t onceTime = (GetCurrentTime() - lastTime_) / (capacity - lastCapacity_); in CalculateRemainingChargeTime()
676 lastTime_ = GetCurrentTime(); in CalculateRemainingChargeTime()
/base/location/interfaces/inner_api/include/
Dcommon_utils.h194 static int64_t GetCurrentTime();
/base/time/time_service/framework/js/napi/system_date_time/src/
Dnapi_system_date_time.cpp50 DECLARE_NAPI_STATIC_FUNCTION("getCurrentTime", GetCurrentTime), in SystemDateTimeInit()
185 napi_value NapiSystemDateTime::GetCurrentTime(napi_env env, napi_callback_info info) in GetCurrentTime() function in OHOS::MiscServices::Time::NapiSystemDateTime
/base/location/frameworks/location_common/common/source/
Dcommon_utils.cpp418 int64_t CommonUtils::GetCurrentTime() in GetCurrentTime() function in OHOS::Location::CommonUtils
/base/location/services/location_locator/locator/source/
Drequest_manager.cpp392 int64_t curTime = CommonUtils::GetCurrentTime(); in IsRequestAvailable()
Dlocator_ability.cpp820 requestConfig->SetTimeStamp(CommonUtils::GetCurrentTime()); in InitRequest()