FileDocCategorySizeDatePackage
UserStartedState.javaAPI DocAndroid 5.1 API2121Thu Mar 12 22:22:42 GMT 2015com.android.server.am

UserStartedState

public final class UserStartedState extends Object

Fields Summary
public static final int
STATE_BOOTING
public static final int
STATE_RUNNING
public static final int
STATE_STOPPING
public static final int
STATE_SHUTDOWN
public final android.os.UserHandle
mHandle
public final ArrayList
mStopCallbacks
public int
mState
public boolean
switching
public boolean
initializing
Constructors Summary
public UserStartedState(android.os.UserHandle handle, boolean initial)


         
        mHandle = handle;
    
Methods Summary
voiddump(java.lang.String prefix, java.io.PrintWriter pw)

        pw.print(prefix); pw.print("mState=");
        switch (mState) {
            case STATE_BOOTING: pw.print("BOOTING"); break;
            case STATE_RUNNING: pw.print("RUNNING"); break;
            case STATE_STOPPING: pw.print("STOPPING"); break;
            case STATE_SHUTDOWN: pw.print("SHUTDOWN"); break;
            default: pw.print(mState); break; 
        }
        if (switching) pw.print(" SWITCHING");
        if (initializing) pw.print(" INITIALIZING");
        pw.println();