Home
last modified time | relevance | path

Searched refs:GetCurrentTime (Results 1 - 25 of 42) sorted by relevance

12

/base/update/updateservice/services/core/ability/status_cache/src/
H A Dstatus_cache.cpp26 if (lastCheckTime_ != -1 && abs(GetCurrentTime() - lastCheckTime_) > Constant::FIVE_MINUTES_SECONDS) { in IsChecking()
37 lastCheckTime_ = GetCurrentTime(); in SetIsChecking()
41 int64_t StatusCache::GetCurrentTime() in GetCurrentTime() function in OHOS::UpdateEngine::StatusCache
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
H A Dshort_grant_manager.cpp105 data.firstGrantTimes = GetCurrentTime(); in RefreshPermission()
117 uint32_t maxRemainedTime = maxTime_ - (GetCurrentTime() - iter->firstGrantTimes); in RefreshPermission()
118 uint32_t currRemainedTime = iter->revokeTimes > GetCurrentTime() ? (iter->revokeTimes - GetCurrentTime()) : 0; in RefreshPermission()
122 iter->revokeTimes = GetCurrentTime() + cancelTimes; in RefreshPermission()
204 uint32_t ShortGrantManager::GetCurrentTime() in GetCurrentTime() function in OHOS::Security::AccessToken::ShortGrantManager
/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()
H A Dark_player_adapter_wrapper.h47 int32_t GetCurrentTime(int32_t& currentTime) override;
/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()
H A Dark_player_adapter_impl.h47 int32_t GetCurrentTime(int32_t& currentTime) override;
/base/location/services/location_gnss/gnss/include/ntp/
H A Dtime_manager.h32 int64_t GetCurrentTime();
/base/update/updateservice/services/core/ability/status_cache/include/
H A Dstatus_cache.h35 int64_t GetCurrentTime();
/base/powermgr/battery_manager/charger/src/
H A Dcharger_thread.cpp56 static int64_t GetCurrentTime() in GetCurrentTime() function
94 int64_t currentTime = GetCurrentTime(); in UpdateWaitInterval()
121 backlightWait_ = GetCurrentTime() - 1; in CycleMatters()
237 backlightWait_ = GetCurrentTime() - 1; in HandleChargingState()
245 if (backlightWait_ != INVALID && GetCurrentTime() > backlightWait_ + BACKLIGHT_OFF_TIME_MS) { in HandleScreenState()
256 auto now = GetCurrentTime(); in HandlePowerKeyState()
309 SetKeyState(KEY_POWER, KEY_ACTION_DOWN_VAL, GetCurrentTime()); in OnInputEvent()
312 SetKeyState(KEY_POWER, KEY_ACTION_UP_VAL, GetCurrentTime()); in OnInputEvent()
/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()
/base/location/services/location_gnss/gnss/source/ntp/
H A Dgps_time_manager.cpp49 int64_t tmpTime = timeManager_.GetCurrentTime(); in GetGpsTime()
H A Dtime_manager.cpp31 int64_t TimeManager::GetCurrentTime() in GetCurrentTime() function in OHOS::Location::TimeManager
/base/sensors/miscdevice/services/miscdevice_service/src/
H A Dmiscdevice_service.cpp333 std::string curVibrateTime = GetCurrentTime(); in Vibrate()
366 std::string curVibrateTime = GetCurrentTime(); in StopVibrator()
405 std::string curVibrateTime = GetCurrentTime(); in PlayVibratorEffect()
458 std::string curVibrateTime = GetCurrentTime(); in StopVibrator()
474 std::string curVibrateTime = GetCurrentTime(); in IsSupportEffect()
481 std::string MiscdeviceService::GetCurrentTime() in GetCurrentTime() function in OHOS::Sensors::MiscdeviceService
539 std::string curVibrateTime = GetCurrentTime(); in PlayVibratorCustom()
690 std::string curVibrateTime = GetCurrentTime(); in PlayPattern()
704 std::string curVibrateTime = GetCurrentTime(); in PlayPattern()
900 std::string curVibrateTime = GetCurrentTime(); in PlayPrimitiveEffect()
[all...]
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/
H A Dshort_grant_manager.h66 uint32_t GetCurrentTime();
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_media_adapter.h65 virtual int32_t GetCurrentTime(int32_t& currentTime) = 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); in HWTEST_F()
315 GetCurrentTime(&tmEnd); in HWTEST_F()
333 GetCurrentTime(&tmStart); in HWTEST_F()
346 GetCurrentTime(&tmEnd); in HWTEST_F()
/base/telephony/telephony_data/common/include/
H A Dtime_util.h64 void GetCurrentTime(std::string &date) in GetCurrentTime() function
/base/time/time_service/framework/js/napi/system_date_time/include/
H A Dnapi_system_date_time.h36 static napi_value GetCurrentTime(napi_env env, napi_callback_info info);
/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dmedia_adapter.h102 virtual int32_t GetCurrentTime(int32_t& currentTime) = 0;
/base/web/webview/ohos_adapter/media_adapter/include/
H A Dplayer_framework_adapter_impl.h61 int32_t GetCurrentTime(int32_t& currentTime) override;
/base/web/webview/ohos_adapter/media_adapter/src/
H A 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/notification/distributed_notification_service/services/ans/include/
H A Dnotification_analytics_util.h106 static int64_t GetCurrentTime();
/base/web/webview/test/unittest/ohos_adapter/media_adapter_test/
H A Dplayer_framework_adapter_impl_test.cpp83 EXPECT_EQ(playerAdapter_->GetCurrentTime(currentTime_), -1); in HWTEST_F()
108 EXPECT_NE(playerAdapter_->GetCurrentTime(currentTime_), -1); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_live_view_service.cpp600 int64_t delayPublishPoint = GetCurrentTime() + delayTime * NotificationConstant::SECOND_TO_MS; in StartDelayPublishTimer()
632 if ((record->request->GetAutoDeletedTime() > GetCurrentTime())) { in StartPublishDelayedNotification()
637 StartFinishTimer(record, GetCurrentTime() + NotificationConstant::TEN_MINUTES, in StartPublishDelayedNotification()
741 StartFinishTimer(record, GetCurrentTime() + NotificationConstant::THIRTY_MINUTES, in StartFinishTimerForUpdate()
745 StartFinishTimer(record, GetCurrentTime() + NotificationConstant::FIFTEEN_MINUTES, in StartFinishTimerForUpdate()
/base/location/interfaces/inner_api/include/
H A Dcommon_utils.h173 static int64_t GetCurrentTime();

Completed in 12 milliseconds

12