Home
last modified time | relevance | path

Searched refs:SetTime (Results 1 – 25 of 26) sorted by relevance

12

/base/time/time_service/test/fuzztest/timesettime_fuzzer/
Dtimesettime_fuzzer.cpp32 TimeServiceClient::GetInstance()->SetTime(time); in FuzzTimeSetTime()
33 TimeServiceClient::GetInstance()->SetTime(time, code); in FuzzTimeSetTime()
/base/customization/enterprise_device_management/services/edm_plugin/src/
Dset_datetime_plugin.cpp38 MiscServices::TimeServiceClient::GetInstance()->SetTime(data); in OnSetPolicy()
/base/time/time_service/interfaces/inner_api/include/
Dtime_service_client.h41 TIME_API bool SetTime(const int64_t milliseconds);
52 TIME_API bool SetTime(const int64_t milliseconds, int32_t &code);
/base/time/time_service/framework/js/napi/system_date_time/include/
Dnapi_system_date_time.h35 static napi_value SetTime(napi_env env, napi_callback_info info);
/base/time/time_service/interfaces/inner_api/src/
Dtime_service_client.cpp90 bool TimeServiceClient::SetTime(const int64_t time) in SetTime() function in OHOS::MiscServices::TimeServiceClient
99 return proxy->SetTime(time) == ERR_OK; in SetTime()
102 bool TimeServiceClient::SetTime(const int64_t milliseconds, int32_t &code) in SetTime() function in OHOS::MiscServices::TimeServiceClient
113 code = proxy->SetTime(milliseconds); in SetTime()
126 return proxy->SetTime(time, ITimeService::API_VERSION_9); in SetTimeV9()
/base/global/i18n/frameworks/intl/include/
Di18n_calendar.h50 void SetTime(double value);
/base/time/time_service/services/ipc/base/
Dtime_service_interface.h38 virtual int32_t SetTime(int64_t time, APIVersion apiVersion = APIVersion::API_VERSION_7) = 0;
/base/time/time_service/services/ipc/proxy/inner_api_include/
Dtime_service_proxy.h30 int32_t SetTime(int64_t time, APIVersion apiVersion = APIVersion::API_VERSION_7) override;
/base/time/time_service/test/unittest/service_test/src/
Dtime_service_test.cpp347 bool result = TimeServiceClient::GetInstance()->SetTime(time);
359 bool result = TimeServiceClient::GetInstance()->SetTime(-1);
370 bool result = TimeServiceClient::GetInstance()->SetTime(LLONG_MAX);
389 bool result = TimeServiceClient::GetInstance()->SetTime(time, code);
Dtime_client_test.cpp199 bool ret = TimeServiceClient::GetInstance()->SetTime(time, code);
/base/time/time_service/services/
Dtime_system_ability.h46 int32_t SetTime(int64_t time, APIVersion apiVersion = APIVersion::API_VERSION_7) override;
Dtime_system_ability.cpp377 int32_t TimeSystemAbility::SetTime(int64_t time, APIVersion apiVersion) in SetTime() function in OHOS::MiscServices::TimeSystemAbility
/base/notification/common_event_service/services/include/
Dcommon_event_control_manager.h141 void SetTime(size_t recIdx, std::shared_ptr<OrderedEventRecord> &sp, bool timeoutMessage);
/base/global/i18n/frameworks/intl/src/
Di18n_calendar.cpp161 void I18nCalendar::SetTime(double value) in SetTime() function in OHOS::Global::I18n::I18nCalendar
/base/time/time_service/services/time/src/
Dntp_update_time.cpp197 TimeSystemAbility::GetInstance()->SetTime(currentTime); in SetSystemTime()
/base/time/time_service/framework/js/napi/system_date_time/src/
Dnapi_system_date_time.cpp49 DECLARE_NAPI_STATIC_FUNCTION("setTime", SetTime), in SystemDateTimeInit()
72 napi_value NapiSystemDateTime::SetTime(napi_env env, napi_callback_info info) in SetTime() function in OHOS::MiscServices::Time::NapiSystemDateTime
/base/telephony/core_service/services/network_search/src/
Dnitz_update.cpp298 …bool result = OHOS::MiscServices::TimeServiceClient::GetInstance()->SetTime(networkTime * MILLI_TO… in SaveTime()
/base/time/time_service/services/ipc/proxy/
Dtime_service_proxy.cpp30 int32_t TimeServiceProxy::SetTime(const int64_t time, APIVersion apiVersion) in SetTime() function in OHOS::MiscServices::TimeServiceProxy
/base/time/time_service/services/ipc/stub/
Dtime_service_stub.cpp94 int32_t ret = SetTime(time); in OnSetTime()
/base/global/i18n/interfaces/js/kits/include/
Di18n_addon.h125 static napi_value SetTime(napi_env env, napi_callback_info info);
/base/time/time_service/framework/js/napi/system_time/src/
Djs_systemtime.cpp83 … asyncContext->isOK = TimeServiceClient::GetInstance()->SetTime(asyncContext->time, errorCode); in JSSystemTimeSetTime()
/base/global/i18n/frameworks/intl/test/unittest/
Di18n_test.cpp286 checkCalendar.SetTime(millis);
/base/notification/common_event_service/services/src/
Dcommon_event_control_manager.cpp564 SetTime(recIdx, sp, pendingTimeoutMessage_); in ProcessNextOrderedEvent()
573 void CommonEventControlManager::SetTime(size_t recIdx, std::shared_ptr<OrderedEventRecord> &sp, boo… in SetTime() function in OHOS::EventFwk::CommonEventControlManager
/base/telephony/core_service/services/network_search/test/
Dtest.cpp557 … bool result = OHOS::MiscServices::TimeServiceClient::GetInstance()->SetTime(time * MILLI_TO_BASE); in TestInitTimeAndTimeZone()
/base/global/i18n/interfaces/js/kits/src/
Di18n_addon.cpp1658 DECLARE_NAPI_FUNCTION("setTime", SetTime), in InitI18nCalendar()
1828 calendar_->SetTime(milliseconds); in SetMilliseconds()
1870 napi_value I18nAddon::SetTime(napi_env env, napi_callback_info info) in SetTime() function in OHOS::Global::I18n::I18nAddon

12