Home
last modified time | relevance | path

Searched refs:Command (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/cmds/svc/src/com/android/commands/svc/
DSvc.java21 public static abstract class Command { class in Svc
24 public Command(String name) { in Command() method in Svc.Command
39 Command c = lookupCommand(args[0]); in main()
48 private static Command lookupCommand(String name) { in lookupCommand()
51 Command c = COMMANDS[i]; in lookupCommand()
59 public static final Command COMMAND_HELP = new Command("help") {
68 Command c = lookupCommand(args[1]);
79 Command c = COMMANDS[i];
87 Command c = COMMANDS[i];
93 public static final Command[] COMMANDS = new Command[] {
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DLauncher.java36 public static abstract class Command { class in Launcher
39 public Command(String name) { in Command() method in Launcher.Command
76 Command command = findCommand(args[0]); in main()
90 private static Command findCommand(String name) { in findCommand()
91 for (Command command : COMMANDS) { in findCommand()
99 private static Command HELP_COMMAND = new Command("help") {
104 for (Command command : COMMANDS) {
129 private static Command[] COMMANDS = new Command[] {
DEventsCommand.java22 import com.android.commands.uiautomator.Launcher.Command;
33 public class EventsCommand extends Command {
DDumpCommand.java26 import com.android.commands.uiautomator.Launcher.Command;
38 public class DumpCommand extends Command {
/frameworks/base/tools/bit/
Dcommand.cpp32 Command::Command(const string& prog) in Command() function in Command
37 Command::~Command() in ~Command()
42 Command::AddArg(const string& arg) in AddArg()
48 Command::AddEnv(const string& name, const string& value) in AddEnv()
54 Command::GetProg() const in GetProg()
60 Command::GetArgv() const in GetArgv()
73 Command::GetEnv() const in GetEnv()
101 get_command_output(const Command& command, int* err, bool quiet) in get_command_output()
158 run_command(const Command& command) in run_command()
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); argument
55 int run_command(const Command& command);
Dprint.h33 void print_command(const Command& command);
/frameworks/av/services/audioflinger/
DFastThreadState.h33 typedef uint32_t Command; typedef
34 static const Command
41 Command mCommand; // current command
50 static const char *commandToString(Command command);
DFastCaptureState.h41 static const Command
48 static const char *commandToString(Command command);
DFastMixerState.h74 static const Command
84 static const char *commandToString(Command command);
DFastThread.h47 virtual bool isSubClassCommand(FastThreadState::Command command) = 0;
88 FastThreadState::Command mCommand;
DFastCapture.cpp75 bool FastCapture::isSubClassCommand(FastThreadState::Command command) in isSubClassCommand()
77 switch ((FastCaptureState::Command) command) { in isSubClassCommand()
163 const FastCaptureState::Command command = mCommand; in onWork()
DFastThreadState.cpp33 const char *FastThreadState::commandToString(FastThreadState::Command command) in commandToString()
DFastCaptureState.cpp31 const char *FastCaptureState::commandToString(Command command) in commandToString()
/frameworks/base/media/java/android/media/
DAsyncPlayer.java38 private static final class Command { class in AsyncPlayer
52 private final LinkedList<Command> mCmdQueue = new LinkedList();
54 private void startSound(Command cmd) { in startSound()
87 Command cmd = null; in run()
198 Command cmd = new Command(); in play()
220 Command cmd = new Command(); in stop()
229 private void enqueueLocked(Command cmd) { in enqueueLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DNotificationPlayer.java46 private static final class Command { class in NotificationPlayer
60 private LinkedList<Command> mCmdQueue = new LinkedList();
71 public Command mCmd;
72 public CreationAndCompletionThread(Command cmd) { in CreationAndCompletionThread()
146 private void startSound(Command cmd) { in startSound()
188 Command cmd = null; in run()
315 Command cmd = new Command(); in play()
342 Command cmd = new Command(); in play()
364 Command cmd = new Command(); in stop()
373 private void enqueueLocked(Command cmd) { in enqueueLocked()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphReader.java41 private static interface Command { interface in GraphReader
46 private ArrayList<Command> mCommands = new ArrayList<Command>();
58 for (Command command : mCommands) { in execute()
63 public void append(Command command) { in append()
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 {
163 private static class AddVariableCommand implements Command {
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
DTextGraphReader.java41 private ArrayList<Command> mCommands = new ArrayList<Command>();
48 private interface Command { interface in 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) { in executeCommands()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerStreamListener.h37 Command cmd, bool synchronous, const sp<AMessage> &extra);
55 Command mCommand;
/frameworks/av/include/media/
DIStreamSource.h50 enum Command { enum
92 Command cmd, bool synchronous, const sp<AMessage> &msg = NULL) = 0;
/frameworks/av/media/libmedia/include/media/
DIStreamSource.h50 enum Command { enum
92 Command cmd, bool synchronous, const sp<AMessage> &msg = NULL) = 0;
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java167 public Command parseCommand() { in parseCommand()
425 private static abstract class Command { class in Content
429 public Command(Uri uri, int userId) { in Command() method in Content.Command
478 private static class InsertCommand extends Command {
492 private static class DeleteCommand extends Command {
506 private static class CallCommand extends Command {
543 private static class GetTypeCommand extends Command {
555 private static class ReadCommand extends Command {
662 Command command = parser.parseCommand(); in main()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DComposerHal.cpp117 static_cast<IComposerClient::Command>( in setLayerInfo()
130 static_cast<IComposerClient::Command>( in setClientTargetMetadata()
142 static_cast<IComposerClient::Command>( in setLayerBufferMetadata()
788 if (command == IComposerClient::Command::VALIDATE_DISPLAY || in execute()
789 command == IComposerClient::Command::PRESENT_DISPLAY || in execute()
790 command == IComposerClient::Command::PRESENT_OR_VALIDATE_DISPLAY) { in execute()
813 IComposerClient::Command command; in parse()
823 case IComposerClient::Command::SELECT_DISPLAY: in parse()
826 case IComposerClient::Command::SET_ERROR: in parse()
829 case IComposerClient::Command::SET_CHANGED_COMPOSITION_TYPES: in parse()
[all …]
/frameworks/base/tools/aapt/
DBundle.h22 typedef enum Command { enum
33 } Command; typedef
78 Command getCommand(void) const { return mCmd; } in getCommand()
79 void setCommand(Command cmd) { mCmd = cmd; } in setCommand()
284 Command mCmd;
/frameworks/av/media/libmedia/
DIStreamSource.cpp162 Command cmd, bool synchronous, const sp<AMessage> &msg) { in issueCommand()
197 Command cmd = static_cast<Command>(data.readInt32()); in onTransact()

123