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

12345

/frameworks/base/core/java/com/android/internal/os/
H A DWrapperInit.java56 * @param args The command-line arguments.
91 * Executes a runtime application with a wrapper command.
94 * @param invokeWith The wrapper command.
102 StringBuilder command = new StringBuilder(invokeWith);
103 command.append(" /system/bin/app_process /system/bin --application");
105 command.append(" '--nice-name=").append(niceName).append("'");
107 command.append(" com.android.internal.os.WrapperInit ");
108 command.append(pipeFd != null ? pipeFd.getInt$() : 0);
109 command.append(' ');
110 command
[all...]
/frameworks/testing/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/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/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/
H A Dbuild_vc.pl34 my (@headerlist, @filelist, $hd, $file, $ofile, $command, $objlist, $libfile, $h);
78 $command = $CC.' '.$CC_OPTS.' '.$hd.' -o '.$objfile.' '.$file;
79 print "$command\n";
80 system($command);
85 $command = $AS.' '.$AS_OPTS.' '.$hd.' -o '.$objfile.' '.$file;
86 print "$command\n";
87 system($command);
102 $command = $LIB.' '.$LIB_OPTS.' '.$libfile.' '.$objlist;
103 print "$command\n";
104 (system($command)
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/
H A Dbuild_vc.pl34 my (@headerlist, @filelist, $hd, $file, $ofile, $command, $objlist, $libfile, $h);
80 $command = $CC.' '.$CC_OPTS.' '.$hd.' -o '.$objfile.' '.$file;
81 print "$command\n";
82 system($command);
87 $command = $AS.' '.$AS_OPTS.' '.$hd.' -o '.$objfile.' '.$file;
88 print "$command\n";
89 system($command);
104 $command = $LIB.' '.$LIB_OPTS.' '.$libfile.' '.$objlist;
105 print "$command\n";
106 (system($command)
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/
H A Dbuild_vc.pl34 my (@headerlist, @filelist, $hd, $file, $ofile, $command, $objlist, $libfile, $h);
78 $command = $CC.' '.$CC_OPTS.' '.$hd.' -o '.$objfile.' '.$file;
79 print "$command\n";
80 system($command);
85 $command = $AS.' '.$AS_OPTS.' '.$hd.' -o '.$objfile.' '.$file;
86 print "$command\n";
87 system($command);
102 $command = $LIB.' '.$LIB_OPTS.' '.$libfile.' '.$objlist;
103 print "$command\n";
104 (system($command)
[all...]
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/common/helpers/
H A DAppHelperBase.java46 * This is typically performed by executing a shell command to launch the application
64 * Helper to execute a shell command.
65 * @param command
67 protected void runShellCommand(String command) { argument
71 p = Runtime.getRuntime().exec(command);
74 System.err.println(String.format("Run shell command: %s, status: %s", command,
78 System.err.println("// Exception from command " + command + ":");
81 System.err.println("// Interrupted while waiting for the command t
[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/packages/SystemUI/src/com/android/systemui/
H A DDemoMode.java23 void dispatchDemoCommand(String command, Bundle args); argument
/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/wifi/java/android/net/wifi/
H A DWifiNative.java83 private native boolean doBooleanCommandNative(String command); argument
85 private native int doIntCommandNative(String command); argument
87 private native String doStringCommandNative(String command); argument
134 private boolean doBooleanCommand(String command) { argument
135 if (DBG) Log.d(mTAG, "doBoolean: " + command);
138 localLog(cmdId + "->" + mInterfacePrefix + command);
139 boolean result = doBooleanCommandNative(mInterfacePrefix + command);
146 private int doIntCommand(String command) { argument
147 if (DBG) Log.d(mTAG, "doInt: " + command);
150 localLog(cmdId + "->" + mInterfacePrefix + command);
158 doStringCommand(String command) argument
170 doStringCommandWithoutLogging(String command) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.cpp49 static const char kCmdDeadlockedString[] = "AudioPolicyService command thread may be deadlocked\n";
76 // start output activity command thread
701 AudioCommand *command = mAudioCommands[0]; local
703 mLastCommand = *command;
705 switch (command->mCommand) {
708 ToneData *data = (ToneData *)command->mParam;
728 VolumeData *data = (VolumeData *)command->mParam;
731 command->mStatus = AudioSystem::setStreamVolume(data->mStream,
734 if (command->mWaitStatus) {
735 command
847 AudioCommand *command = new AudioCommand(); local
861 AudioCommand *command = new AudioCommand(); local
877 AudioCommand *command = new AudioCommand(); local
903 AudioCommand *command = new AudioCommand(); local
926 AudioCommand *command = new AudioCommand(); local
947 AudioCommand *command = new AudioCommand(); local
962 AudioCommand *command = new AudioCommand(); local
974 insertCommand_l(AudioCommand *command, int delayMs) argument
[all...]
/frameworks/base/services/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/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/core/jni/
H A Dandroid_net_wifi_WifiNative.cpp37 ScopedUtfChars command(env, javaCommand);
38 if (command.c_str() == NULL) {
43 ALOGD("doCommand: %s", command.c_str());
47 if (::wifi_command(command.c_str(), reply, &reply_len) != 0) {
76 // Send a command to the supplicant, and return the reply as a String.
/frameworks/base/services/java/com/android/server/location/
H A DLocationProviderInterface.java47 public boolean sendExtraCommand(String command, Bundle extras); argument
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.h33 /* forks a command and waits for it to finish -- terminate args with NULL */
34 int run_command(const char *title, int timeout_seconds, const char *command, ...);
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/
H A DSurfaceFlingerHelper.java73 * Run clear buffer command and clear the saved frame buffer results
92 String command = CLEAR_BUFFER_CMD;
94 command = String.format("%s %s", CLEAR_BUFFER_CMD, windowName);
97 p = Runtime.getRuntime().exec(command);
100 Log.e(TAG, String.format("Run shell command: %s, status: %s",
101 command, status));
104 Log.e(TAG, "// Exception from command " + command + ":", e);
106 Log.e(TAG, "// Interrupted while waiting for the command to finish. ", e);
122 * Run frame latency command withou
[all...]
/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/location/lib/java/com/android/location/provider/
H A DLocationProviderBase.java105 public boolean sendExtraCommand(String command, Bundle extras) { argument
106 return onSendExtraCommand(command, extras);
204 * @param command name of the command to send to the provider.
205 * @param extras optional arguments for the command (or null).
206 * The provider may optionally fill the extras Bundle with results from the command.
208 * @return true if the command succeeds.
210 public boolean onSendExtraCommand(String command, Bundle extras) { argument
/frameworks/av/include/media/
H A DIEffect.h36 virtual status_t command(uint32_t cmdCode,
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothHeadset.aidl39 in String command,

Completed in 1130 milliseconds

12345