| /base/update/updateservice/services/core/ability/status_cache/src/ |
| D | status_cache.cpp | 26 …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/ |
| D | charger_thread.cpp | 54 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/ |
| D | status_cache.h | 35 int64_t GetCurrentTime();
|
| /base/startup/appspawn/test/unittest/app_spawn_lite_test/ |
| D | app_spawn_lite_test.cpp | 277 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/ |
| D | napi_system_date_time.h | 36 static napi_value GetCurrentTime(napi_env env, napi_callback_info info);
|
| /base/web/webview/ohos_adapter/media_adapter/include/ |
| D | player_framework_adapter_impl.h | 61 int32_t GetCurrentTime(int32_t& currentTime) override;
|
| /base/telephony/telephony_data/common/include/ |
| D | time_util.h | 64 void GetCurrentTime(std::string &date) in GetCurrentTime() function
|
| /base/web/webview/ohos_adapter/interfaces/ |
| D | media_adapter.h | 101 virtual int32_t GetCurrentTime(int32_t& currentTime) = 0;
|
| /base/web/webview/ohos_adapter/media_adapter/src/ |
| D | player_framework_adapter_impl.cpp | 270 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/ |
| D | player_framework_adapter_impl_test.cpp | 83 EXPECT_EQ(playerAdapter_->GetCurrentTime(currentTime_), -1); 108 EXPECT_NE(playerAdapter_->GetCurrentTime(currentTime_), -1);
|
| /base/notification/distributed_notification_service/services/ans/src/ |
| D | advanced_notification_inline.cpp | 57 inline int64_t GetCurrentTime() in GetCurrentTime() function
|
| D | advanced_notification_service.cpp | 144 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()
|
| D | advanced_notification_utils.cpp | 1130 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/ |
| D | battery_service.cpp | 77 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/ |
| D | common_utils.h | 194 static int64_t GetCurrentTime();
|
| /base/time/time_service/framework/js/napi/system_date_time/src/ |
| D | napi_system_date_time.cpp | 50 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/ |
| D | common_utils.cpp | 418 int64_t CommonUtils::GetCurrentTime() in GetCurrentTime() function in OHOS::Location::CommonUtils
|
| /base/location/services/location_locator/locator/source/ |
| D | request_manager.cpp | 392 int64_t curTime = CommonUtils::GetCurrentTime(); in IsRequestAvailable()
|
| D | locator_ability.cpp | 820 requestConfig->SetTimeStamp(CommonUtils::GetCurrentTime()); in InitRequest()
|