FileDocCategorySizeDatePackage
Svc.javaAPI DocAndroid 5.1 API3063Thu Mar 12 22:22:08 GMT 2015com.android.commands.svc

Svc

public class Svc extends Object

Fields Summary
public static final Command
COMMAND_HELP
public static final Command[]
COMMANDS
Constructors Summary
Methods Summary
private static com.android.commands.svc.Svc$CommandlookupCommand(java.lang.String name)

        final int N = COMMANDS.length;
        for (int i=0; i<N; i++) {
            Command c = COMMANDS[i];
            if (c.name().equals(name)) {
                return c;
            }
        }
        return null;
    
public static voidmain(java.lang.String[] args)

        if (args.length >= 1) {
            Command c = lookupCommand(args[0]);
            if (c != null) {
                c.run(args);
                return;
            }
        }
        COMMAND_HELP.run(args);