Searched refs:command (Results 1 - 25 of 231) sorted by relevance

12345678910

/frameworks/base/services/core/java/com/android/server/
H A DNativeDaemonTimeoutException.java24 public NativeDaemonTimeoutException(String command, NativeDaemonEvent event) { argument
25 super(command, event);
/frameworks/base/tools/aapt2/
H A DMain.cpp56 android::StringPiece command(argv[0]);
57 if (command == "compile" || command == "c") {
60 } else if (command == "link" || command == "l") {
63 } else if (command == "dump" || command == "d") {
65 } else if (command == "diff") {
67 } else if (command == "optimize") {
69 } else if (command
72 std::cerr << "unknown command '" << command << "'\\n"; local
[all...]
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DLauncher.java24 * Entry point into the uiautomator command line
27 * command line arguments. It also prints out help arguments for each sub commands.
29 * To add a new sub command, implement {@link Command} and add an instance into COMMANDS array
44 * Returns the name of the sub command
52 * Returns a one-liner of the function of this command
58 * Returns a detailed explanation of the command usage
66 * Starts the command with the provided arguments
76 Command command = findCommand(args[0]);
77 if (command != null) {
83 command
[all...]
/frameworks/av/services/audioflinger/
H A DFastCaptureState.cpp31 const char *FastCaptureState::commandToString(Command command) argument
33 const char *str = FastThreadState::commandToString(command);
37 switch (command) {
H A DFastThreadState.cpp33 const char *FastThreadState::commandToString(FastThreadState::Command command) argument
35 switch (command) {
H A DFastCaptureState.h47 // never returns NULL; asserts if command is invalid
48 static const char *commandToString(Command command);
/frameworks/base/core/java/android/os/
H A DIRecoverySystem.aidl26 boolean setupBcb(in String command);
28 void rebootRecoveryWithCommand(in String command);
/frameworks/native/cmds/lshal/
H A DDebugCommand.cpp27 Status DebugCommand::parseArgs(const std::string &command, const Arg &arg) { argument
29 mLshal.usage(command);
40 Status DebugCommand::main(const std::string &command, const Arg &arg) { argument
41 Status status = parseArgs(command, arg);
H A DDebugCommand.h34 Status main(const std::string &command, const Arg &arg);
36 Status parseArgs(const std::string &command, const Arg &arg);
/frameworks/base/core/java/com/android/internal/midi/
H A DMidiConstants.java101 // Returns true if this command can be used for running status
102 public static boolean allowRunningStatus(byte command) { argument
104 return (command >= STATUS_NOTE_OFF && command < STATUS_SYSTEM_EXCLUSIVE);
107 // Returns true if this command cancels running status
108 public static boolean cancelsRunningStatus(byte command) { argument
110 return (command >= STATUS_SYSTEM_EXCLUSIVE && command <= STATUS_END_SYSEX);
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyService.cpp45 static const char kCmdDeadlockedString[] = "AudioPolicyService command thread may be deadlocked\n";
70 // start output activity command thread
406 sp<AudioCommand> command = mAudioCommands[0]; local
408 mLastCommand = command;
410 switch (command->mCommand) {
413 ToneData *data = (ToneData *)command->mParam.get();
432 VolumeData *data = (VolumeData *)command->mParam.get();
435 command->mStatus = AudioSystem::setStreamVolume(data->mStream,
440 ParametersData *data = (ParametersData *)command->mParam.get();
443 command
640 sp<AudioCommand> command = new AudioCommand(); local
652 sp<AudioCommand> command = new AudioCommand(); local
663 sp<AudioCommand> command = new AudioCommand(); local
680 sp<AudioCommand> command = new AudioCommand(); local
694 sp<AudioCommand> command = new AudioCommand(); local
708 sp<AudioCommand> command = new AudioCommand(); local
723 sp<AudioCommand> command = new AudioCommand(); local
741 sp<AudioCommand> command = new AudioCommand(); local
759 sp<AudioCommand> command = new AudioCommand(); local
771 sp<AudioCommand> command = new AudioCommand(); local
779 sp<AudioCommand>command = new AudioCommand(); local
788 sp<AudioCommand> command = new AudioCommand(); local
801 sp<AudioCommand> command = new AudioCommand(); local
817 sp<AudioCommand>command = new AudioCommand(); local
832 sendCommand(sp<AudioCommand>& command, int delayMs) argument
851 insertCommand_l(sp<AudioCommand>& command, int delayMs) argument
[all...]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothInstrumentation.java62 String command = mArgs.getString("command");
63 if ("enable".equals(command)) {
65 } else if ("disable".equals(command)) {
67 } else if ("unpairAll".equals(command)) {
69 } else if ("getName".equals(command)) {
71 } else if ("getAddress".equals(command)) {
73 } else if ("getBondedDevices".equals(command)) {
/frameworks/av/services/oboeservice/
H A DAAudioServiceStreamBase.cpp136 AAudioServiceMessage command; local
137 command.what = AAudioServiceMessage::code::EVENT;
138 command.event.event = event;
139 command.event.dataDouble = dataDouble;
140 command.event.dataLong = dataLong;
141 return writeUpMessageQueue(&command);
144 aaudio_result_t AAudioServiceStreamBase::writeUpMessageQueue(AAudioServiceMessage *command) { argument
150 int32_t count = mUpMessageQueue->getFifoBuffer()->write(command, 1);
160 AAudioServiceMessage command; local
161 aaudio_result_t result = getFreeRunningPosition(&command
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DRequestArcInitiationAction.java44 HdmiCecMessage command = HdmiCecMessageBuilder.buildRequestArcInitiation(
46 sendCommand(command, new HdmiControlService.SendMessageCallback() {
H A DRequestArcTerminationAction.java43 HdmiCecMessage command =
45 sendCommand(command, new HdmiControlService.SendMessageCallback() {
/frameworks/base/tools/bit/
H A Dcommand.h46 * Run the command and collect stdout.
49 string get_command_output(const Command& command, int* err, bool quiet=false);
52 * Run the command.
55 int run_command(const Command& command);
H A Dprint.h20 #include "command.h"
33 void print_command(const Command& command);
H A Dcommand.cpp17 #include "command.h"
101 get_command_output(const Command& command, int* err, bool quiet) argument
104 print_command(command);
121 const char* prog = command.GetProg();
122 char* const* argv = command.GetArgv();
123 char* const* env = command.GetEnv();
126 print_error("Unable to run command: %s", prog);
158 run_command(const Command& command) argument
160 print_command(command);
169 const char* prog = command
[all...]
H A Dprint.cpp72 print_command(const Command& command) argument
75 for (map<string,string>::const_iterator it=command.env.begin(); it!=command.env.end(); it++) {
81 fputs(command.prog.c_str(), stdout);
82 for (vector<string>::const_iterator it=command.args.begin(); it!=command.args.end(); it++) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DStateMachineDeathRecipient.java39 * @param command message to send the state machine.
41 public StateMachineDeathRecipient(StateMachine sm, int command) { argument
43 mDeathCommand = command;
/frameworks/base/core/java/com/android/internal/os/
H A DWrapperInit.java61 * @param args The command-line arguments.
98 * Executes a runtime application with a wrapper command.
101 * @param invokeWith The wrapper command.
110 StringBuilder command = new StringBuilder(invokeWith);
118 command.append(' ');
119 command.append(appProcess);
121 command.append(" /system/bin --application");
123 command.append(" '--nice-name=").append(niceName).append("'");
125 command.append(" com.android.internal.os.WrapperInit ");
126 command
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/
H A Dbuild_vc.pl49 my (@headerlist, @filelist, $hd, $file, $ofile, $command, $objlist, $libfile, $h);
93 $command = $CC.' '.$CC_OPTS.' '.$hd.' -o '.$objfile.' '.$file;
94 print "$command\n";
95 system($command);
100 $command = $AS.' '.$AS_OPTS.' '.$hd.' -o '.$objfile.' '.$file;
101 print "$command\n";
102 system($command);
117 $command = $LIB.' '.$LIB_OPTS.' '.$libfile.' '.$objlist;
118 print "$command\n";
119 (system($command)
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/
H A Dbuild_vc.pl49 my (@headerlist, @filelist, $hd, $file, $ofile, $command, $objlist, $libfile, $h);
95 $command = $CC.' '.$CC_OPTS.' '.$hd.' -o '.$objfile.' '.$file;
96 print "$command\n";
97 system($command);
102 $command = $AS.' '.$AS_OPTS.' '.$hd.' -o '.$objfile.' '.$file;
103 print "$command\n";
104 system($command);
119 $command = $LIB.' '.$LIB_OPTS.' '.$libfile.' '.$objlist;
120 print "$command\n";
121 (system($command)
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/
H A Dbuild_vc.pl49 my (@headerlist, @filelist, $hd, $file, $ofile, $command, $objlist, $libfile, $h);
93 $command = $CC.' '.$CC_OPTS.' '.$hd.' -o '.$objfile.' '.$file;
94 print "$command\n";
95 system($command);
100 $command = $AS.' '.$AS_OPTS.' '.$hd.' -o '.$objfile.' '.$file;
101 print "$command\n";
102 system($command);
117 $command = $LIB.' '.$LIB_OPTS.' '.$libfile.' '.$objlist;
118 print "$command\n";
119 (system($command)
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DModelInterpreter.java469 onCHLD(String command) throws InterpreterEx argument
471 // command starts with "+CHLD="
476 c0 = command.charAt(6);
478 if (command.length() >= 8) {
479 c1 = command.charAt(7);
490 onDial(String command) throws InterpreterEx argument
494 success = mSimulatedCallState.onDial(command.substring(1));
514 onSMSSend(String command) argument
532 String command = commands[i];
534 if (command
[all...]

Completed in 2259 milliseconds

12345678910