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

Command.Stub.Proxy

public class Command.Stub.Proxy implements Command


Summary

Public constructors

Public methods

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.

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 constructors

Proxy

public final Proxy()

Public methods

execute

public 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

public 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.