Searched defs:Command (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/tools/bit/
H A Dcommand.h26 struct Command struct
28 Command(const string& prog);
29 ~Command();
49 string get_command_output(const Command& command, int* err, bool quiet=false);
55 int run_command(const Command& command);
H A Dcommand.cpp32 Command::Command(const string& prog) function in class:Command
37 Command::~Command()
42 Command::AddArg(const string& arg)
48 Command::AddEnv(const string& name, const string& value)
54 Command::GetProg() const
60 Command::GetArgv() const
73 Command::GetEnv() const
101 get_command_output(const Command
[all...]
/frameworks/native/cmds/lshal/
H A DCommand.h28 class Command { class in namespace:android::lshal
30 Command(Lshal& lshal) : mLshal(lshal) {} function in class:android::lshal::Command
31 virtual ~Command() = default;
/frameworks/av/include/media/
H A DIStreamSource.h50 enum Command { enum in struct:android::IStreamListener
58 Command cmd, bool synchronous, const sp<AMessage> &msg = NULL) = 0;
/frameworks/av/media/libmedia/include/media/
H A DIStreamSource.h50 enum Command { enum in struct:android::IStreamListener
58 Command cmd, bool synchronous, const sp<AMessage> &msg = NULL) = 0;
/frameworks/av/services/audioflinger/
H A DFastThreadState.h33 typedef uint32_t Command; typedef in struct:android::FastThreadState
34 static const Command
41 Command mCommand; // current command
50 static const char *commandToString(Command command);
/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DSvc.java21 public static abstract class Command { class in class:Svc
24 public Command(String name) { method in class:Svc.Command
39 Command c = lookupCommand(args[0]);
48 private static Command lookupCommand(String name) {
51 Command c = COMMANDS[i];
59 public static final Command COMMAND_HELP = new Command("help") {
68 Command c = lookupCommand(args[1]);
79 Command c = COMMANDS[i];
87 Command
[all...]
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DLauncher.java29 * To add a new sub command, implement {@link Command} and add an instance into COMMANDS array
36 public static abstract class Command { class in class:Launcher
39 public Command(String name) { method in class:Launcher.Command
76 Command command = findCommand(args[0]);
90 private static Command findCommand(String name) {
91 for (Command command : COMMANDS) {
99 private static Command HELP_COMMAND = new Command("help") {
104 for (Command command : COMMANDS) {
129 private static Command[] COMMAND
[all...]
/frameworks/base/media/java/android/media/
H A DAsyncPlayer.java38 private static final class Command { class in class:AsyncPlayer
52 private final LinkedList<Command> mCmdQueue = new LinkedList();
54 private void startSound(Command cmd) {
87 Command cmd = null;
198 Command cmd = new Command();
220 Command cmd = new Command();
229 private void enqueueLocked(Command cmd) {
/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DFieldClassificationStrategy.java74 private ArrayList<Command> mQueuedCommands;
133 private void connectAndRun(@NonNull Command command) {
168 final Command queuedCommand = mQueuedCommands.get(i);
290 private static interface Command { interface in class:FieldClassificationStrategy
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
H A DTextGraphReader.java41 private ArrayList<Command> mCommands = new ArrayList<Command>();
48 private interface Command { interface in class:TextGraphReader
52 private class ImportPackageCommand implements Command {
69 private class AddLibraryCommand implements Command {
82 private class AllocateFilterCommand implements Command {
105 private class InitFilterCommand implements Command {
124 private class ConnectCommand implements Command {
485 for (Command command : mCommands) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DNotificationPlayer.java48 private static final class Command { class in class:NotificationPlayer
62 private final LinkedList<Command> mCmdQueue = new LinkedList<Command>();
77 public Command mCmd;
78 public CreationAndCompletionThread(Command cmd) {
176 private void startSound(Command cmd) {
219 Command cmd = null;
361 Command cmd = new Command();
389 Command cm
[all...]
/frameworks/base/cmds/content/src/com/android/commands/content/
H A DContent.java169 public Command parseCommand() {
448 private static abstract class Command { class in class:Content
452 public Command(Uri uri, int userId) { method in class:Content.Command
501 private static class InsertCommand extends Command {
515 private static class DeleteCommand extends Command {
529 private static class CallCommand extends Command {
568 private static class GetTypeCommand extends Command {
580 private static class ReadCommand extends Command {
593 private static class WriteCommand extends Command {
688 Command comman
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DNativeDaemonConnector.java124 * Yell loudly if someone tries making future {@link #execute(Command)}
390 public NativeDaemonEvent execute(Command cmd) throws NativeDaemonConnectorException {
429 public NativeDaemonEvent[] executeForList(Command cmd) throws NativeDaemonConnectorException {
508 loge("NDC Command {" + logCmd + "} took too long (" + (endTime - startTime) + "ms)");
568 * Command builder that handles argument list building. Any arguments must
571 public static class Command { class in class:NativeDaemonConnector
575 public Command(String cmd, Object... args) { method in class:NativeDaemonConnector.Command
582 public Command appendArg(Object arg) {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphReader.java41 private static interface Command { interface in class:GraphReader
46 private ArrayList<Command> mCommands = new ArrayList<Command>();
58 for (Command command : mCommands) {
63 public void append(Command command) {
80 private static class ImportPackageCommand implements Command {
97 private static class AddLibraryCommand implements Command {
110 private static class AllocateFilterCommand implements Command {
133 private static class AddSourceSlotCommand implements Command {
148 private static class AddTargetSlotCommand implements Command {
[all...]
/frameworks/base/media/java/android/media/session/
H A DMediaSession.java657 Command cmd = new Command(command, args, resultCb);
1401 private static final class Command { class in class:MediaSession
1406 public Command(String command, Bundle extras, ResultReceiver stub) { method in class:MediaSession.Command
1467 Command cmd = (Command) obj;
/frameworks/base/tools/aapt/
H A DBundle.h22 typedef enum Command { enum
33 } Command; typedef in typeref:enum:Command
79 Command getCommand(void) const { return mCmd; }
80 void setCommand(Command cmd) { mCmd = cmd; }
83 * Command modifiers. Not all modifiers are appropriate for all
289 Command mCmd;
/frameworks/native/services/inputflinger/
H A DInputDispatcher.h589 typedef void (InputDispatcher::*Command)(CommandEntry* commandEntry); typedef in class:android::InputDispatcher
593 explicit CommandEntry(Command command);
596 Command command;
939 CommandEntry* postCommandLocked(Command command);
/frameworks/support/media/src/main/java/android/support/v4/media/session/
H A DMediaSessionCompat.java2526 new Command(command, args, cb.mResultReceiver));
2845 private static final class Command { class in class:MediaSessionCompat.MediaSessionImplBase
2850 public Command(String command, Bundle extras, ResultReceiver stub) { method in class:MediaSessionCompat.MediaSessionImplBase.Command
2915 Command cmd = (Command) msg.obj;

Completed in 146 milliseconds