{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

Command

interface Command

Known direct subclasses

Summary

Nested types

Command.Stub
Command.Stub.Proxy

Public methods

abstract void
execute(
    String command,
    List<String> parameters,
    Map shellEnv,
    boolean executeThroughShell,
    ParcelFileDescriptor pfd
)

Parceling generic Lists requires an unchecked conversion from ArrayList to List<T>.Parceling generic Lists requires using the raw type Map.

abstract void
executeWithTimeout(
    String command,
    List<String> parameters,
    Map shellEnv,
    boolean executeThroughShell,
    ParcelFileDescriptor pfd,
    long timeoutMs
)

Parceling generic Lists requires an unchecked conversion from ArrayList to List<T>.Parceling generic Lists requires using the raw type Map.

Public methods

execute

abstract void execute(
    String command,
    List<String> parameters,
    Map shellEnv,
    boolean executeThroughShell,
    ParcelFileDescriptor pfd
)

Parceling generic Lists requires an unchecked conversion from ArrayList to List<T>.Parceling generic Lists requires using the raw type Map.

executeWithTimeout

abstract void executeWithTimeout(
    String command,
    List<String> parameters,
    Map shellEnv,
    boolean executeThroughShell,
    ParcelFileDescriptor pfd,
    long timeoutMs
)

Parceling generic Lists requires an unchecked conversion from ArrayList to List<T>.Parceling generic Lists requires using the raw type Map.