public final class UserState extends Object
Modifier and Type | Field and Description |
---|---|
int |
lastState |
UserHandle |
mHandle |
ArrayMap<String,Long> |
mProviderLastReportedFg
The last time that a provider was reported to usage stats as being brought to important
foreground procstate.
|
ArrayList<IStopUserCallback> |
mStopCallbacks |
ProgressReporter |
mUnlockProgress |
int |
state |
static int |
STATE_BOOTING |
static int |
STATE_RUNNING_LOCKED |
static int |
STATE_RUNNING_UNLOCKED |
static int |
STATE_RUNNING_UNLOCKING |
static int |
STATE_SHUTDOWN |
static int |
STATE_STOPPING |
boolean |
switching |
boolean |
tokenProvided |
Constructor and Description |
---|
UserState(UserHandle handle) |
Modifier and Type | Method and Description |
---|---|
void |
setState(int newState) |
boolean |
setState(int oldState,
int newState) |
public static final int STATE_BOOTING
public static final int STATE_RUNNING_LOCKED
public static final int STATE_RUNNING_UNLOCKING
public static final int STATE_RUNNING_UNLOCKED
public static final int STATE_STOPPING
public static final int STATE_SHUTDOWN
public final UserHandle mHandle
public final ArrayList<IStopUserCallback> mStopCallbacks
public final ProgressReporter mUnlockProgress
public int state
public int lastState
public boolean switching
public boolean tokenProvided
public UserState(UserHandle handle)