Searched refs:command (Results 1 - 25 of 244) 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/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) {
/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/base/tools/aapt2/
H A DMain.cpp62 static int ExecuteCommand(const StringPiece& command, const std::vector<StringPiece>& args, argument
64 if (command == "compile" || command == "c") {
66 } else if (command == "link" || command == "l") {
68 } else if (command == "dump" || command == "d") {
70 } else if (command == "diff") {
72 } else if (command == "optimize") {
74 } else if (command
[all...]
/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
831 sendCommand(sp<AudioCommand>& command, int delayMs) argument
850 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/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...]
/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/support/paging/common/src/test/java/android/arch/paging/
H A DTestExecutor.java29 public void execute(@NonNull Runnable command) { argument
30 mTasks.add(command);
/frameworks/support/paging/runtime/src/androidTest/java/android/arch/paging/
H A DTestExecutor.java29 public void execute(@NonNull Runnable command) { argument
30 mTasks.add(command);
/frameworks/base/core/java/com/android/internal/os/
H A DWrapperInit.java60 * @param args The command-line arguments.
95 * Executes a runtime application with a wrapper command.
98 * @param invokeWith The wrapper command.
107 StringBuilder command = new StringBuilder(invokeWith);
115 command.append(' ');
116 command.append(appProcess);
118 command.append(" /system/bin --application");
120 command.append(" '--nice-name=").append(niceName).append("'");
122 command.append(" com.android.internal.os.WrapperInit ");
123 command
[all...]
/frameworks/av/services/oboeservice/
H A DAAudioServiceStreamBase.cpp314 AAudioServiceMessage command; local
315 command.what = AAudioServiceMessage::code::EVENT;
316 command.event.event = event;
317 command.event.dataDouble = dataDouble;
318 command.event.dataLong = dataLong;
319 return writeUpMessageQueue(&command);
322 aaudio_result_t AAudioServiceStreamBase::writeUpMessageQueue(AAudioServiceMessage *command) { argument
328 int32_t count = mUpMessageQueue->getFifoBuffer()->write(command, 1);
338 AAudioServiceMessage command; local
340 aaudio_result_t result = getFreeRunningPosition(&command
[all...]
/frameworks/support/app-toolkit/runtime/src/main/java/android/arch/core/executor/
H A DAppToolkitTaskExecutor.java44 public void execute(Runnable command) {
45 getInstance().postToMainThread(command);
52 public void execute(Runnable command) {
53 getInstance().executeOnDiskIO(command);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareShellCommand.java37 * Register an delegated command interpreter for the specified 'command'. Each class can
40 public void register(String command, DelegatedShellCommand shellCommand) { argument
41 if (mDelegatedCommands.containsKey(command)) {
42 Log.e(TAG, "register: overwriting existing command -- '" + command + "'");
45 mDelegatedCommands.put(command, shellCommand);
102 * Interface that delegated command targets must implement. They are passed the parent shell
103 * command (the real command interprete
122 onHelp(String command, ShellCommand parentShell) argument
[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...]

Completed in 1350 milliseconds

12345678910