All Downloads are FREE. Search and download functionalities are using the official Maven repository.

android.os.ShellCommand Maven / Gradle / Ivy

Go to download

provide android hidden api definition ,helper for android super framework development

There is a newer version: 1.11
Show newest version
package android.os;

import java.io.FileDescriptor;
import java.io.InputStream;
import java.io.PrintWriter;

public abstract class ShellCommand {
    public int exec(Binder target, FileDescriptor in, FileDescriptor out, FileDescriptor err,
                    String[] args, ShellCallback callback, ResultReceiver resultReceiver) {
        throw new IllegalArgumentException("STUB!");
    }

    public abstract int onCommand(String cmd);
    public abstract void onHelp();

    public String getNextOption(){
        throw new IllegalArgumentException("STUB!");
    }

    public String getNextArgRequired() {
        throw new IllegalArgumentException("STUB!");
    }

    public PrintWriter getErrPrintWriter() {
        throw new IllegalArgumentException("STUB!");
    }
    public PrintWriter getOutPrintWriter() {
        throw new IllegalArgumentException("STUB!");
    }
    public InputStream getRawInputStream() {
        throw new IllegalArgumentException("STUB!");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy