/base/update/updateservice/services/core/ability/status_cache/src/ |
H A D | status_cache.cpp | 26 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 D | short_grant_manager.cpp | 105 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 D | ark_player_adapter_wrapper.cpp | 79 int32_t ArkPlayerAdapterWrapper::GetCurrentTime(int32_t& currentTime) in GetCurrentTime() function in OHOS::ArkWeb::ArkPlayerAdapterWrapper 81 return ctocpp_->GetCurrentTime(currentTime); in GetCurrentTime()
|
H A D | ark_player_adapter_wrapper.h | 47 int32_t GetCurrentTime(int32_t& currentTime) override;
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_player_adapter_impl.cpp | 78 int32_t ArkPlayerAdapterImpl::GetCurrentTime(int32_t& currentTime) in GetCurrentTime() function in OHOS::ArkWeb::ArkPlayerAdapterImpl 80 return real_->GetCurrentTime(currentTime); in GetCurrentTime()
|
H A D | ark_player_adapter_impl.h | 47 int32_t GetCurrentTime(int32_t& currentTime) override;
|
/base/location/services/location_gnss/gnss/include/ntp/ |
H A D | time_manager.h | 32 int64_t GetCurrentTime();
|
/base/update/updateservice/services/core/ability/status_cache/include/ |
H A D | status_cache.h | 35 int64_t GetCurrentTime();
|
/base/powermgr/battery_manager/charger/src/ |
H A D | charger_thread.cpp | 56 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 D | playerframeworkadapterimpl_fuzzer.cpp | 63 playerAdapter.GetCurrentTime(currentTime); in PlayerFrameworkAdapterImpl_fuzzerFuzzTest() 82 playerAdapterNormal->GetCurrentTime(currentTime); in PlayerFrameworkAdapterImpl_fuzzerFuzzTest()
|
/base/location/services/location_gnss/gnss/source/ntp/ |
H A D | gps_time_manager.cpp | 49 int64_t tmpTime = timeManager_.GetCurrentTime(); in GetGpsTime()
|
H A D | time_manager.cpp | 31 int64_t TimeManager::GetCurrentTime() in GetCurrentTime() function in OHOS::Location::TimeManager
|
/base/sensors/miscdevice/services/miscdevice_service/src/ |
H A D | miscdevice_service.cpp | 333 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 D | short_grant_manager.h | 66 uint32_t GetCurrentTime();
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/ |
H A D | ark_media_adapter.h | 65 virtual int32_t GetCurrentTime(int32_t& currentTime) = 0;
|
/base/startup/appspawn/test/unittest/app_spawn_lite_test/ |
H A D | app_spawn_lite_test.cpp | 276 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 D | time_util.h | 64 void GetCurrentTime(std::string &date) in GetCurrentTime() function
|
/base/time/time_service/framework/js/napi/system_date_time/include/ |
H A D | napi_system_date_time.h | 36 static napi_value GetCurrentTime(napi_env env, napi_callback_info info);
|
/base/web/webview/ohos_interface/include/ohos_adapter/ |
H A D | media_adapter.h | 102 virtual int32_t GetCurrentTime(int32_t& currentTime) = 0;
|
/base/web/webview/ohos_adapter/media_adapter/include/ |
H A D | player_framework_adapter_impl.h | 61 int32_t GetCurrentTime(int32_t& currentTime) override;
|
/base/web/webview/ohos_adapter/media_adapter/src/ |
H A 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/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_analytics_util.h | 106 static int64_t GetCurrentTime();
|
/base/web/webview/test/unittest/ohos_adapter/media_adapter_test/ |
H A D | player_framework_adapter_impl_test.cpp | 83 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 D | advanced_notification_live_view_service.cpp | 600 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 D | common_utils.h | 173 static int64_t GetCurrentTime();
|