PSC services: Difference between revisions

No edit summary
Line 252: Line 252:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 || [[#GetUserStaticService]]
| 0 || [[#GetStaticServiceAsUser]]
|-
|-
| 5 || [[#GetAdminStaticService]]
| 5 || [[#GetStaticServiceAsAdmin]]
|-
|-
| 6 || [[#GetRepairStaticService]]
| 6 || [[#GetStaticServiceAsRepair]]
|-
|-
| 9 || [[#GetManufactureStaticService]]
| 9 || [[#GetStaticServiceAsServiceManager]]
|-
|-
| 10 || [[#SetupStandardSteadyClock]]
| 10 || [[#SetupStandardSteadyClockCore]]
|-
|-
| 11 || [[#SetupStandardLocalSystemClock]]
| 11 || [[#SetupStandardLocalSystemClockCore]]
|-
|-
| 12 || [[#SetupStandardNetworkSystemClock]]
| 12 || [[#SetupStandardNetworkSystemClockCore]]
|-
|-
| 13 || [[#SetupStandardUserSystemClock]]
| 13 || [[#SetupStandardUserSystemClockCore]]
|-
|-
| 14 || [[#SetupTimeZoneManager]]
| 14 || [[#SetupTimeZoneServiceCore]]
|-
|-
| 15 || [[#SetupEphemeralNetworkSystemClock]]
| 15 || [[#SetupEphemeralNetworkSystemClockCore]]
|-
|-
| 50 ||
| 50 || GetStandardLocalClockOperationEvent
|-
|-
| 51 ||
| 51 || GetStandardNetworkClockOperationEventForServiceManager
|-
|-
| 52 ||
| 52 || GetEphemeralNetworkClockOperationEventForServiceManager
|-
|-
| 60 || GetStandardUserSystemClockAutomaticCorrectionEvent
| 60 || GetStandardUserSystemClockAutomaticCorrectionUpdatedEvent
|-
|-
| 100 || [[#SetStandardSteadyClockRtcOffset]]
| 100 || [[#SetStandardSteadyClockBaseTime]]
|-
|-
| 200 || GetAlarmRegistrationEvent
| 200 || GetClosestAlarmUpdatedEvent
|-
|-
| 201 || [[#UpdateSteadyAlarms]]
| 201 || [[#CheckAndSignalAlarms]]
|-
|-
| 202 ||
| 202 || GetClosestAlarmInfo
|}
|}


== GetUserStaticService ==
== GetStaticServiceAsUser ==
Returns an [[#IStaticService]].
Returns an [[#IStaticService]].


This is used for the wrapped instance of "time:u" in glue.
This is used for the wrapped instance of "time:u" in [[Glue_services#time:a.2C_time:r.2C_time:u|glue]].


== GetAdminStaticService  ==
== GetStaticServiceAsAdmin ==
Returns an [[#IStaticService]].
Returns an [[#IStaticService]].


This is used for the wrapped instance of "time:a" in glue.
This is used for the wrapped instance of "time:a" in [[Glue_services#time:a.2C_time:r.2C_time:u|glue]].


== GetRepairStaticService ==
== GetStaticServiceAsRepair ==
Returns an [[#IStaticService]].
Returns an [[#IStaticService]].


This is used for the wrapped instance of "time:r" in glue.
This is used for the wrapped instance of "time:r" in [[Glue_services#time:a.2C_time:r.2C_time:u|glue]].


== GetManufactureStaticService ==
== GetStaticServiceAsServiceManager ==
Returns an [[#IStaticService]].
Returns an [[#IStaticService]].


This seems unused.
This is used as a wrapper for "time:sm".


== SetupStandardSteadyClock ==
== SetupStandardSteadyClockCore ==
Takes an input rtc_clock_source UUID, an input rtc_offset s64, an input internal_offset s64, an input test_offset s64 and a is_rtc_reset_detected bool. No output.
Takes an input rtc_clock_source UUID, an input rtc_offset s64, an input internal_offset s64, an input test_offset s64 and a is_rtc_reset_detected bool. No output.


== SetupStandardLocalSystemClock ==
== SetupStandardLocalSystemClockCore ==
Takes an input [[#SystemClockContext]] and an input [[#PosixTime]]. No output.
Takes an input [[#SystemClockContext]] and an input [[#PosixTime]]. No output.


== SetupStandardNetworkSystemClock ==
== SetupStandardNetworkSystemClockCore ==
Takes an input [[#SystemClockContext]] and an input sufficient_accuracy_minutes u64. No output.
Takes an input [[#SystemClockContext]] and an input sufficient_accuracy_minutes u64. No output.


== SetupStandardUserSystemClock ==
== SetupStandardUserSystemClockCore ==
Takes an input automatic_correction bool and an input [[#SteadyClockTimePoint]]. No output.
Takes an input automatic_correction bool and an input [[#SteadyClockTimePoint]]. No output.


== SetupTimeZoneManager ==
== SetupTimeZoneServiceCore ==
Takes an input [[#LocationName]], an input [[#SteadyClockTimePoint]], an input total_location_name_count u32, an input [[#TimeZoneRuleVersion]] and a type-0x21 input buffer containing a TimeZoneBinary. No output.
Takes an input [[#LocationName]], an input [[#SteadyClockTimePoint]], an input total_location_name_count u32, an input [[#TimeZoneRuleVersion]] and a type-0x21 input buffer containing a TimeZoneBinary. No output.


== SetupEphemeralNetworkSystemClock ==
== SetupEphemeralNetworkSystemClockCore ==
No input, no output.
No input, no output.


== SetStandardSteadyClockRtcOffset ==
== SetStandardSteadyClockBaseTime ==
An input rtc_offset s64, no output.
An input rtc_offset s64, no output.


== UpdateSteadyAlarms ==
== CheckAndSignalAlarms ==
No input, no output.
No input, no output.