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

12345678910

/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]);
H A DWritePreloadedClassFile.java42 public static void main(String[] args) throws IOException, argument
44 if (args.length != 1) {
48 String rootFile = 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/cmds/svc/src/com/android/commands/svc/
H A DDataCommand.java44 public void run(String[] args) { argument
46 if (args.length >= 2) {
48 if ("enable".equals(args[1])) {
51 } else if ("disable".equals(args[1])) {
54 } else if ("prefer".equals(args[1])) {
H A DPowerCommand.java42 public void run(String[] args) { argument
44 if (args.length >= 2) {
45 if ("stayon".equals(args[1]) && args.length == 3) {
47 if ("true".equals(args[2])) {
52 else if ("false".equals(args[2])) {
54 } else if ("usb".equals(args[2])) {
56 } else if ("ac".equals(args[2])) {
58 } else if ("wireless".equals(args[2])) {
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), false);
58 } else if ("getFunction".equals(args[1])) {
H A DWifiCommand.java44 public void run(String[] args) { argument
46 if (args.length >= 2) {
48 if ("enable".equals(args[1])) {
51 } else if ("disable".equals(args[1])) {
54 } else if ("prefer".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/core/java/android/database/sqlite/
H A DSQLiteCustomFunction.java50 private void dispatchCallback(String[] args) { argument
51 callback.callback(args);
/frameworks/base/core/java/com/android/internal/util/
H A DWithFramework.java28 * Invokes main(String[]) method on class in args[0] with args[1..n].
30 public static void main(String[] args) throws Exception { argument
31 if (args.length == 0) {
36 Class<?> mainClass = Class.forName(args[0]);
43 String[] newArgs = new String[args.length - 1];
44 System.arraycopy(args, 1, newArgs, 0, newArgs.length);
51 + " [main class] [args]");
/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/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/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DDumpCommand.java55 public void run(String[] args) { argument
57 if (args.length > 0) {
58 dumpFile = new File(args[0]);
H A DEventsCommand.java51 public void run(String[] args) { argument
/frameworks/base/cmds/bu/src/com/android/commands/bu/
H A DBackup.java34 public static void main(String[] args) { argument
35 Log.d(TAG, "Beginning: " + args[0]);
36 mArgs = args;
/frameworks/base/core/java/android/accounts/
H A DIAccountAuthenticatorCache.java54 void dump(FileDescriptor fd, PrintWriter fout, String[] args, int userId); argument
/frameworks/base/core/java/android/util/
H A DLocalLog.java50 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
/frameworks/base/core/java/com/android/internal/os/
H A DWrapperInit.java56 * @param args The command-line arguments.
58 public static void main(String[] args) { argument
61 int fdNum = Integer.parseInt(args[0], 10);
62 int targetSdkVersion = Integer.parseInt(args[1], 10);
82 String[] runtimeArgs = new String[args.length - 2];
83 System.arraycopy(args, 2, runtimeArgs, 0, runtimeArgs.length);
98 * @param args Arguments for {@link RuntimeInit.main}.
101 int targetSdkVersion, FileDescriptor pipeFd, String[] args) {
111 Zygote.appendQuotedShellArgs(command, args);
122 * @param args Argument
100 execApplication(String invokeWith, String niceName, int targetSdkVersion, FileDescriptor pipeFd, String[] args) argument
124 execStandalone(String invokeWith, String classPath, String className, String[] args) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DDiskStatsService.java46 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
84 // add configurable (through args) performance test parameters.
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DLogAbortException.java24 public LogAbortException(String format, Object... args) { argument
26 mArgs = args;
/frameworks/native/cmds/dumpsys/
H A Ddumpsys.cpp41 Vector<String16> args; local
45 args.add(String16("-a"));
49 args.add(String16(argv[i]));
75 int err = service->dump(STDOUT_FILENO, args);
/frameworks/native/opengl/tools/glgen/src/
H A DGenerateEGL.java70 public static void main(String[] args) throws Exception { argument
72 while ((aidx < args.length) && (args[aidx].charAt(0) == '-')) {
73 switch (args[aidx].charAt(1)) {
75 System.err.println("Unknown flag: " + args[aidx]);

Completed in 198 milliseconds

12345678910