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

123456

/frameworks/base/core/java/com/android/internal/os/
H A DWrapperInit.java53 * @param args The command-line arguments.
88 * Executes a runtime application with a wrapper command.
91 * @param invokeWith The wrapper command.
99 StringBuilder command = new StringBuilder(invokeWith);
100 command.append(" /system/bin/app_process /system/bin --application");
102 command.append(" '--nice-name=").append(niceName).append("'");
104 command.append(" com.android.internal.os.WrapperInit ");
105 command.append(pipeFd != null ? pipeFd.getInt$() : 0);
106 command.append(' ');
107 command
[all...]
H A DZygote.java161 * Executes "/system/bin/sh -c <command>" using the exec() system call.
165 * @param command The shell command to execute.
167 public static void execShell(String command) { argument
168 String[] args = { "/system/bin/sh", "-c", command };
179 * prefixed with a space, and appended to the command.
181 * @param command A string builder for the shell command being constructed.
182 * @param args An array of argument strings to be quoted and appended to the command.
185 public static void appendQuotedShellArgs(StringBuilder command, Strin argument
[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/volley/tests/src/com/android/volley/utils/
H A DImmediateResponseDelivery.java18 public void execute(Runnable command) {
19 command.run();
/frameworks/av/services/audiopolicy/
H A DAudioPolicyService.cpp47 static const char kCmdDeadlockedString[] = "AudioPolicyService command thread may be deadlocked\n";
80 // start output activity command thread
394 sp<AudioCommand> command = mAudioCommands[0]; local
396 mLastCommand = command;
398 switch (command->mCommand) {
401 ToneData *data = (ToneData *)command->mParam.get();
420 VolumeData *data = (VolumeData *)command->mParam.get();
423 command->mStatus = AudioSystem::setStreamVolume(data->mStream,
428 ParametersData *data = (ParametersData *)command->mParam.get();
431 command
591 sp<AudioCommand> command = new AudioCommand(); local
603 sp<AudioCommand> command = new AudioCommand(); local
614 sp<AudioCommand> command = new AudioCommand(); local
631 sp<AudioCommand> command = new AudioCommand(); local
645 sp<AudioCommand> command = new AudioCommand(); local
659 sp<AudioCommand> command = new AudioCommand(); local
674 sp<AudioCommand> command = new AudioCommand(); local
692 sp<AudioCommand> command = new AudioCommand(); local
710 sp<AudioCommand> command = new AudioCommand(); local
722 sp<AudioCommand> command = new AudioCommand(); local
730 sp<AudioCommand>command = new AudioCommand(); local
739 sp<AudioCommand> command = new AudioCommand(); local
749 sendCommand(sp<AudioCommand>& command, int delayMs) argument
768 insertCommand_l(sp<AudioCommand>& command, int delayMs) argument
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DProviderExecutor.java89 public void execute(Runnable command) {
90 Preconditions.checkNotNull(command);
91 mQueue.add(command);
96 public void execute(Runnable command) { argument
98 Preconditions.checkNotNull(command);
99 mQueue.add(command);
106 final Runnable command = mQueue.take();
107 command.run();
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DRequestArcInitiationAction.java41 HdmiCecMessage command = HdmiCecMessageBuilder.buildRequestArcInitiation(
43 sendCommand(command, new HdmiControlService.SendMessageCallback() {
H A DRequestArcTerminationAction.java41 HdmiCecMessage command =
43 sendCommand(command, new HdmiControlService.SendMessageCallback() {
H A DSetArcTransmissionStateAction.java77 HdmiCecMessage command =
79 sendCommand(command, new HdmiControlService.SendMessageCallback() {
/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)) {
75 } else if ("enableBtSnoop".equals(command)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDemoMode.java23 void dispatchDemoCommand(String command, Bundle args); argument
/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...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DViewServer.java225 String command;
230 command = request;
233 command = request.substring(0, index);
238 if (COMMAND_PROTOCOL_VERSION.equalsIgnoreCase(command)) {
240 } else if (COMMAND_SERVER_VERSION.equalsIgnoreCase(command)) {
242 } else if (COMMAND_WINDOW_MANAGER_LIST.equalsIgnoreCase(command)) {
244 } else if (COMMAND_WINDOW_MANAGER_GET_FOCUS.equalsIgnoreCase(command)) {
246 } else if (COMMAND_WINDOW_MANAGER_AUTOLIST.equalsIgnoreCase(command)) {
250 command, parameters);
254 Slog.w(LOG_TAG, "An error occurred with the command
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNative.java100 private native boolean doBooleanCommandNative(String command); argument
102 private native int doIntCommandNative(String command); argument
104 private native String doStringCommandNative(String command); argument
159 private boolean doBooleanCommand(String command) { argument
160 if (DBG) Log.d(mTAG, "doBoolean: " + command);
163 String toLog = Integer.toString(cmdId) + ":" + mInterfacePrefix + command;
164 boolean result = doBooleanCommandNative(mInterfacePrefix + command);
166 if (DBG) Log.d(mTAG, command + ": returned " + result);
171 private int doIntCommand(String command) { argument
172 if (DBG) Log.d(mTAG, "doInt: " + command);
183 doStringCommand(String command) argument
206 doStringCommandWithoutLogging(String command) argument
[all...]
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java37 private static final String INVALID_ARGUMENTS = "Error: Invalid arguments for command: ";
56 * @param args The command-line arguments
69 String command = args[index];
71 if (SOURCES.containsKey(command)) {
72 inputSource = SOURCES.get(command);
74 command = args[index];
79 if (command.equals("text")) {
85 } else if (command.equals("keyevent")) {
101 } else if (command.equals("tap")) {
108 } else if (command
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DLocationProviderInterface.java47 public boolean sendExtraCommand(String command, Bundle extras); argument
/frameworks/av/services/audioflinger/
H A DFastThread.h47 virtual bool isSubClassCommand(FastThreadState::Command command) = 0;
82 FastThreadState::Command command; member in class:android::FastThread
/frameworks/base/core/java/android/app/
H A DIUiAutomationConnection.aidl46 void executeShellCommand(String command, in ParcelFileDescriptor fd);
/frameworks/base/core/java/android/nfc/
H A DApduList.java19 public void add(byte[] command) { argument
20 commands.add(command);
/frameworks/base/location/java/com/android/internal/location/
H A DILocationProvider.aidl43 boolean sendExtraCommand(String command, inout Bundle extras);
/frameworks/volley/src/com/android/volley/
H A DExecutorDelivery.java38 public void execute(Runnable command) {
39 handler.post(command);
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/
H A DAppWidget.java29 * This class is a command line utility for manipulating app widgets. A client
162 Runnable command = parser.parseCommand();
163 if (command != null) {
164 command.run();

Completed in 906 milliseconds

123456