/frameworks/base/core/java/com/android/internal/os/ |
H A D | WrapperInit.java | 56 * @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 D | Launcher.java | 24 * 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 D | Launcher.java | 24 * 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 D | ImmediateResponseDelivery.java | 18 public void execute(Runnable command) { 19 command.run();
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/ |
H A D | build_vc.pl | 34 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 D | build_vc.pl | 34 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 D | build_vc.pl | 34 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 D | AppHelperBase.java | 46 * 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 D | ProviderExecutor.java | 89 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 D | DemoMode.java | 23 void dispatchDemoCommand(String command, Bundle args); argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | ModelInterpreter.java | 469 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 D | WifiNative.java | 83 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 D | AudioPolicyService.cpp | 49 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 D | ViewServer.java | 225 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 D | Input.java | 37 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 D | android_net_wifi_WifiNative.cpp | 37 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 D | LocationProviderInterface.java | 47 public boolean sendExtraCommand(String command, Bundle extras); argument
|
/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.h | 33 /* 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 D | SurfaceFlingerHelper.java | 73 * 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 D | ApduList.java | 19 public void add(byte[] command) { argument 20 commands.add(command);
|
/frameworks/base/location/java/com/android/internal/location/ |
H A D | ILocationProvider.aidl | 43 boolean sendExtraCommand(String command, inout Bundle extras);
|
/frameworks/volley/src/com/android/volley/ |
H A D | ExecutorDelivery.java | 38 public void execute(Runnable command) { 39 handler.post(command);
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
H A D | LocationProviderBase.java | 105 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 D | IEffect.h | 36 virtual status_t command(uint32_t cmdCode,
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetoothHeadset.aidl | 39 in String command,
|