class RebootReason2

Defined at line 100 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/cpp/fidl/fuchsia.hardware.power.statecontrol/cpp/common_types.h

Why the system reboots.

Replaced by `ShutdownReason`.

Public Members

static RebootReason2 kUserRequest
static RebootReason2 kDeveloperRequest
static RebootReason2 kSystemUpdate
static RebootReason2 kRetrySystemUpdate
static RebootReason2 kHighTemperature
static RebootReason2 kFactoryDataReset
static RebootReason2 kSessionFailure
static RebootReason2 kSysmgrFailure
static RebootReason2 kCriticalComponentFailure
static RebootReason2 kZbiSwap
static RebootReason2 kOutOfMemory
static RebootReason2 kNetstackMigration
static RebootReason2 kAndroidUnexpectedReason
static RebootReason2 kAndroidRescueParty
static RebootReason2 kAndroidCriticalProcessFailure

Public Methods

void RebootReason2 ()

Defined at line 157 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/cpp/fidl/fuchsia.hardware.power.statecontrol/cpp/common_types.h

void RebootReason2 (uint32_t value)

Defined at line 158 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/cpp/fidl/fuchsia.hardware.power.statecontrol/cpp/common_types.h

EnumForSwitching_ operator fuchsia_hardware_power_statecontrol::RebootReason2::EnumForSwitching_ ()

Defined at line 159 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/cpp/fidl/fuchsia.hardware.power.statecontrol/cpp/common_types.h

uint32_t operator unsigned int ()

Defined at line 160 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/cpp/fidl/fuchsia.hardware.power.statecontrol/cpp/common_types.h

bool IsUnknown ()

Defined at line 162 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/cpp/fidl/fuchsia.hardware.power.statecontrol/cpp/common_types.h

RebootReason2 Unknown ()

Returns an enum corresponding to the member designated as

in the

FIDL schema if exists, or a compiler-reserved unknown value otherwise.

Defined at line 201 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/cpp/fidl/fuchsia.hardware.power.statecontrol/cpp/common_types.h