Searched defs:args (Results 1 - 25 of 512) sorted by relevance

1234567891011>>

/frameworks/base/tools/preload/
H A DCompile.java33 public static void main(String[] args) throws IOException { argument
34 if (args.length != 2) {
44 new FileInputStream(args[0])));
71 root.toFile(args[1]);
H A DPrintPsTree.java27 public static void main(String[] args) argument
29 if (args.length != 1) {
34 FileInputStream fin = new FileInputStream(args[0]);
H A DPrintCsv.java33 public static void main(String[] args) argument
35 if (args.length != 1) {
40 Root root = Root.fromFile(args[0]);
H A DPrintHtmlDiff.java34 public static void main(String[] args) throws IOException, argument
36 Root root = Root.fromFile(args[0]);
/frameworks/base/tools/preload/loadclass/
H A DLoadClass.java27 public static void main(String[] args) { argument
36 if (args.length > 0) {
39 Class.forName(args[0]);
41 Log.i("LoadClass", "Loaded " + args[0] + " in " + elapsed
/frameworks/base/tests/Assist/src/com/android/test/assist/
H A DAssistInteractionSessionService.java25 public VoiceInteractionSession onNewSession(Bundle args) { argument
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DMainInteractionSessionService.java25 public VoiceInteractionSession onNewSession(Bundle args) { argument
/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DDataCommand.java40 public void run(String[] args) { argument
42 if (args.length >= 2) {
44 if ("enable".equals(args[1])) {
47 } else if ("disable".equals(args[1])) {
H A DNfcCommand.java46 public void run(String[] args) { argument
48 if (args.length >= 2) {
50 if ("enable".equals(args[1])) {
53 } else if ("disable".equals(args[1])) {
H A DPowerCommand.java46 public void run(String[] args) { argument
48 if (args.length >= 2) {
51 if ("stayon".equals(args[1]) && args.length == 3) {
53 if ("true".equals(args[2])) {
58 else if ("false".equals(args[2])) {
60 } else if ("usb".equals(args[2])) {
62 } else if ("ac".equals(args[2])) {
64 } else if ("wireless".equals(args[2])) {
81 } else if ("reboot".equals(args[
[all...]
H A DUsbCommand.java46 public void run(String[] args) { argument
48 if (args.length >= 2) {
49 if ("setFunction".equals(args[1])) {
53 usbMgr.setCurrentFunction((args.length >=3 ? args[2] : null));
58 } else if ("getFunction".equals(args[1])) {
H A DWifiCommand.java40 public void run(String[] args) { argument
42 if (args.length >= 2) {
44 if ("enable".equals(args[1])) {
47 } else if ("disable".equals(args[1])) {
H A DSvc.java34 public abstract void run(String[] args); // run the command argument
37 public static void main(String[] args) { argument
38 if (args.length >= 1) {
39 Command c = lookupCommand(args[0]);
41 c.run(args);
45 COMMAND_HELP.run(args);
66 public void run(String[] args) {
67 if (args.length == 2) {
68 Command c = lookupCommand(args[1]);
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DDumpCommand.java61 public void run(String[] args) { argument
65 for (String arg : args) {
H A DEventsCommand.java52 public void run(String[] args) { argument
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCustomFunction.java50 private void dispatchCallback(String[] args) { argument
51 callback.callback(args);
/frameworks/base/core/java/android/hardware/camera2/dispatch/
H A DBroadcastDispatcher.java49 public Object dispatch(Method method, Object[] args) throws Throwable { argument
54 Object localResult = dispatchTarget.dispatch(method, args);
H A DDispatchable.java30 * @param args arguments corresponding to said {@code method}
34 public Object dispatch(Method method, Object[] args) throws Throwable; argument
H A DNullDispatcher.java35 public Object dispatch(Method method, Object[] args) { argument
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
H A DAppCompatibilityRunner.java27 public void onCreate(Bundle args) { argument
28 super.onCreate(args);
29 mArgs = args;
/frameworks/base/tools/aapt2/
H A DMain.cpp24 extern int compile(const std::vector<StringPiece>& args);
25 extern int link(const std::vector<StringPiece>& args);
26 extern int dump(const std::vector<StringPiece>& args);
35 std::vector<aapt::StringPiece> args; local
37 args.push_back(argv[i]);
42 return aapt::compile(args);
44 return aapt::link(args);
46 return aapt::dump(args);
/frameworks/base/tools/layoutlib/bridge/src/android/app/
H A DFragment_Delegate.java64 * @param args Bundle of arguments to supply to the fragment, which it
72 /*package*/ static Fragment instantiate(Context context, String fname, Bundle args) { argument
78 if (args != null) {
79 args.setClassLoader(f.getClass().getClassLoader());
80 f.mArguments = args;
/frameworks/av/media/audioserver/
H A Dmain_audioserver.cpp104 Vector<String16> args; local
105 binder->dump(-1, args);
/frameworks/av/services/mediaextractor/
H A DMediaExtractorService.cpp48 status_t MediaExtractorService::dump(int fd, const Vector<String16>& args) { argument
49 return dumpExtractors(fd, args);
/frameworks/base/cmds/bu/src/com/android/commands/bu/
H A DBackup.java36 public static void main(String[] args) { argument
37 Log.d(TAG, "Beginning: " + args[0]);
38 mArgs = args;

Completed in 1192 milliseconds

1234567891011>>