/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 436 sp<AudioCommand> command = mAudioCommands[0]; in threadLoop() local 438 mLastCommand = command; in threadLoop() 440 switch (command->mCommand) { in threadLoop() 443 ToneData *data = (ToneData *)command->mParam.get(); in threadLoop() 462 VolumeData *data = (VolumeData *)command->mParam.get(); in threadLoop() 465 command->mStatus = AudioSystem::setStreamVolume(data->mStream, in threadLoop() 470 ParametersData *data = (ParametersData *)command->mParam.get(); in threadLoop() 473 command->mStatus = AudioSystem::setParameters(data->mIO, data->mKeyValuePairs); in threadLoop() 476 VoiceVolumeData *data = (VoiceVolumeData *)command->mParam.get(); in threadLoop() 479 command->mStatus = AudioSystem::setVoiceVolume(data->mVolume); in threadLoop() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | WrapperInit.java | 102 StringBuilder command = new StringBuilder(invokeWith); in execApplication() local 110 command.append(' '); in execApplication() 111 command.append(appProcess); in execApplication() 113 command.append(" /system/bin --application"); in execApplication() 115 command.append(" '--nice-name=").append(niceName).append("'"); in execApplication() 117 command.append(" com.android.internal.os.WrapperInit "); in execApplication() 118 command.append(pipeFd != null ? pipeFd.getInt$() : 0); in execApplication() 119 command.append(' '); in execApplication() 120 command.append(targetSdkVersion); in execApplication() 121 Zygote.appendQuotedShellArgs(command, args); in execApplication() [all …]
|
D | Zygote.java | 162 public static void execShell(String command) { in execShell() argument 163 String[] args = { "/system/bin/sh", "-c", command }; in execShell() 180 public static void appendQuotedShellArgs(StringBuilder command, String[] args) { in appendQuotedShellArgs() argument 182 command.append(" '").append(arg.replace("'", "'\\''")).append("'"); in appendQuotedShellArgs()
|
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
D | Launcher.java | 76 Command command = findCommand(args[0]); in main() local 77 if (command != null) { in main() 83 command.run(args2); in main() 91 for (Command command : COMMANDS) { in findCommand() 92 if (command.name().equals(name)) { in findCommand() 93 return command; in findCommand() 104 for (Command command : COMMANDS) { 105 String shortHelp = command.shortHelp(); 106 String detailedOptions = command.detailedOptions(); 113 System.err.println(String.format("%s: %s", command.name(), shortHelp));
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/ |
D | build_vc.pl | 49 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) == 0) and print "Build successful\n";
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/ |
D | build_vc.pl | 49 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) == 0) and print "Build successful\n";
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/ |
D | build_vc.pl | 49 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) == 0) and print "Build successful\n";
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | ModelInterpreter.java | 469 onCHLD(String command) throws InterpreterEx in onCHLD() argument 476 c0 = command.charAt(6); in onCHLD() 478 if (command.length() >= 8) { in onCHLD() 479 c1 = command.charAt(7); in onCHLD() 490 onDial(String command) throws InterpreterEx in onDial() argument 494 success = mSimulatedCallState.onDial(command.substring(1)); in onDial() 514 onSMSSend(String command) in onSMSSend() argument 532 String command = commands[i]; in processLine() local 534 if (command.equals("A")) { in processLine() 536 } else if (command.equals("H")) { in processLine() [all …]
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | ProviderExecutor.java | 89 public void execute(Runnable command) { 90 Preconditions.checkNotNull(command); 91 mQueue.add(command); 96 public void execute(Runnable command) { in execute() argument 98 Preconditions.checkNotNull(command); in execute() 99 mQueue.add(command); in execute() 106 final Runnable command = mQueue.take(); in run() local 107 command.run(); in run()
|
/frameworks/base/core/java/com/android/internal/midi/ |
D | MidiConstants.java | 102 public static boolean allowRunningStatus(byte command) { in allowRunningStatus() argument 104 return (command >= STATUS_NOTE_OFF && command < STATUS_SYSTEM_EXCLUSIVE); in allowRunningStatus() 108 public static boolean cancelsRunningStatus(byte command) { in cancelsRunningStatus() argument 110 return (command >= STATUS_SYSTEM_EXCLUSIVE && command <= STATUS_END_SYSEX); in cancelsRunningStatus()
|
/frameworks/base/tools/aapt2/ |
D | Flag.cpp | 60 void usageAndDie(const StringPiece& command) { in usageAndDie() argument 61 std::cerr << command << " [options]"; in usageAndDie() 70 std::string command = flag.name; in usageAndDie() local 72 command += " arg "; in usageAndDie() 74 std::cerr << " " << std::setw(30) << std::left << command in usageAndDie() 80 void parse(int argc, char** argv, const StringPiece& command) { in parse() argument 101 usageAndDie(command); in parse() 106 usageAndDie(command); in parse() 115 usageAndDie(command); in parse() 122 usageAndDie(command); in parse()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothInstrumentation.java | 62 String command = mArgs.getString("command"); in onStart() local 63 if ("enable".equals(command)) { in onStart() 65 } else if ("disable".equals(command)) { in onStart() 67 } else if ("unpairAll".equals(command)) { in onStart() 69 } else if ("getName".equals(command)) { in onStart() 71 } else if ("getAddress".equals(command)) { in onStart() 73 } else if ("getBondedDevices".equals(command)) { in onStart() 75 } else if ("enableBtSnoop".equals(command)) { in onStart()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ViewServer.java | 225 String command; in run() local 230 command = request; in run() 233 command = request.substring(0, index); in run() 238 if (COMMAND_PROTOCOL_VERSION.equalsIgnoreCase(command)) { in run() 240 } else if (COMMAND_SERVER_VERSION.equalsIgnoreCase(command)) { in run() 242 } else if (COMMAND_WINDOW_MANAGER_LIST.equalsIgnoreCase(command)) { in run() 244 } else if (COMMAND_WINDOW_MANAGER_GET_FOCUS.equalsIgnoreCase(command)) { in run() 246 } else if (COMMAND_WINDOW_MANAGER_AUTOLIST.equalsIgnoreCase(command)) { in run() 250 command, parameters); in run() 254 Slog.w(LOG_TAG, "An error occurred with the command: " + command); in run()
|
/frameworks/base/packages/SystemUI/docs/ |
D | demo_mode.md | 12 The protocol is based on broadcast intents, and thus can be driven via the command line (```adb she… 23 Commands are sent as string extras with key ```command``` (required). Possible values are: 65 adb shell am broadcast -a com.android.systemui.demo -e command enter 72 adb shell am broadcast -a com.android.systemui.demo -e command exit 79 adb shell am broadcast -a com.android.systemui.demo -e command clock -e hhmm 87 adb shell am broadcast -a com.android.systemui.demo -e command network -e wifi 95 adb shell am broadcast -a com.android.systemui.demo -e command status -e volume 103 adb shell am broadcast -a com.android.systemui.demo -e command battery -e level 111 adb shell am broadcast -a com.android.systemui.demo -e command notifications -e 119 adb shell am broadcast -a com.android.systemui.demo -e command exit [all …]
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 69 String command = args[index]; in run() local 71 if (SOURCES.containsKey(command)) { in run() 72 inputSource = SOURCES.get(command); in run() 74 command = args[index]; in run() 79 if (command.equals("text")) { in run() 85 } else if (command.equals("keyevent")) { in run() 101 } else if (command.equals("tap")) { in run() 108 } else if (command.equals("swipe")) { in run() 121 } else if (command.equals("press")) { in run() 127 } else if (command.equals("roll")) { in run() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNative.java | 118 private native boolean doBooleanCommandNative(String command); in doBooleanCommandNative() argument 120 private native int doIntCommandNative(String command); in doIntCommandNative() argument 122 private native String doStringCommandNative(String command); in doStringCommandNative() argument 180 private boolean doBooleanCommand(String command) { in doBooleanCommand() argument 181 if (DBG) Log.d(mTAG, "doBoolean: " + command); in doBooleanCommand() 184 String toLog = Integer.toString(cmdId) + ":" + mInterfacePrefix + command; in doBooleanCommand() 185 boolean result = doBooleanCommandNative(mInterfacePrefix + command); in doBooleanCommand() 187 if (DBG) Log.d(mTAG, command + ": returned " + result); in doBooleanCommand() 192 private boolean doBooleanCommandWithoutLogging(String command) { in doBooleanCommandWithoutLogging() argument 193 if (DBG) Log.d(mTAG, "doBooleanCommandWithoutLogging: " + command); in doBooleanCommandWithoutLogging() [all …]
|
/frameworks/av/services/audioflinger/ |
D | FastCaptureState.cpp | 31 const char *FastCaptureState::commandToString(Command command) in commandToString() argument 33 const char *str = FastThreadState::commandToString(command); in commandToString() 37 switch (command) { in commandToString()
|
D | FastMixerState.cpp | 43 const char *FastMixerState::commandToString(Command command) in commandToString() argument 45 const char *str = FastThreadState::commandToString(command); in commandToString() 49 switch (command) { in commandToString()
|
D | FastCapture.cpp | 75 bool FastCapture::isSubClassCommand(FastThreadState::Command command) in isSubClassCommand() argument 77 switch ((FastCaptureState::Command) command) { in isSubClassCommand() 159 const FastCaptureState::Command command = mCommand; in onWork() local 162 if ((command & FastCaptureState::READ) /*&& isWarm*/) { in onWork() 184 if (command & FastCaptureState::WRITE) { in onWork()
|
D | FastThreadState.cpp | 33 const char *FastThreadState::commandToString(FastThreadState::Command command) in commandToString() argument 35 switch (command) { in commandToString()
|
/frameworks/base/tests/utils/SleepUtils/ |
D | README | 10 the service functions from command line. Corresponding to service function 13 am instrument -w -e command prepare \ 17 am instrument -w -e command set_wait \ 22 am instrument -w -e command done \
|
/frameworks/base/services/core/java/com/android/server/ |
D | NativeDaemonTimeoutException.java | 24 public NativeDaemonTimeoutException(String command, NativeDaemonEvent event) { in NativeDaemonTimeoutException() argument 25 super(command, event); in NativeDaemonTimeoutException()
|
/frameworks/volley/src/test/java/com/android/volley/utils/ |
D | ImmediateResponseDelivery.java | 18 public void execute(Runnable command) { in ImmediateResponseDelivery() 19 command.run(); in ImmediateResponseDelivery()
|
/frameworks/native/cmds/dumpstate/ |
D | utils.c | 443 int run_command(const char *title, int timeout_seconds, const char *command, ...) { in run_command() argument 456 const char *args[1024] = {command}; in run_command() 469 va_start(ap, command); in run_command() 470 if (title) printf("------ %s (%s", title, command); in run_command() 479 execvp(command, (char**) args); in run_command() 480 printf("*** exec(%s): %s\n", command, strerror(errno)); in run_command() 491 printf("*** %s: Timed out after %.3fs (killing pid %d)\n", command, in run_command() 494 printf("*** %s: Error after %.4fs (killing pid %d)\n", command, in run_command() 501 printf("*** %s: Cannot kill %d even with SIGKILL.\n", command, pid); in run_command() 508 printf("*** %s: Killed by signal %d\n", command, WTERMSIG(status)); in run_command() [all …]
|
/frameworks/base/docs/html/training/basics/firstapp/ |
D | running-app.jd | 43 real device and on the Android emulator, and in both cases with either Android Studio or the command 84 <h3>Run the app from a command line</h3> 86 <p>Open a command-line and navigate to the root of your project directory. 93 <p>On Windows platforms, type this command:</p> 109 <p class="note"><strong>Note:</strong> The first command (<code>chmod</code>) adds the execution 111 project from the command line.</p> 126 <p>Whether you're using Android Studio or the command line, to run your app on the emulator you need 138 <li>Or, from the command line, change directories to 142 when launched from the command line is different from the version in 178 <h3>Run your app from the command line</h3> [all …]
|