Searched refs:args (Results 1 - 25 of 357) sorted by relevance

1234567891011>>

/frameworks/compile/mclinker/tools/mcld/include/alone/Support/
H A DLog.h15 #define ALOGE(fmt, args...) \
16 printf("%s:%s:%d: "fmt, __FILE__, __FUNCTION__, __LINE__, args)
/frameworks/native/opengl/libs/tools/
H A Dgltracegen35 my $args = $3;
37 my @args = split ',', $args;
38 my $len = scalar(@args);
41 if ($args[$num] ne "void") {
51 printf("%s, (%s), (", $name, $args);
53 if ($args[$num] ne "void") {
64 if ($args[$num] =~ /(\S+\s)+\**\s*([\w]+)/) {
71 if ($args[$num] ne "void") {
79 my $arg = $args[
[all...]
H A Dglapigen35 my $args = $4;
44 printf("%s API_ENTRY(%s%s)(%s)", $type, $prefix, $name, $args);
52 my @args = split ',', $args;
53 my $len = scalar(@args);
55 if ($args[$num] ne "void") {
64 if ($args[$num] =~ /(\S+\s)+\**\s*([\w]+)/) {
H A Dglentrygen35 my $args = $4;
37 printf("GL_ENTRY(%s, %s, %s)\n", $type, $name, $args);
/frameworks/base/core/java/android/content/
H A DAsyncQueryHandler.java70 WorkerArgs args = (WorkerArgs) msg.obj;
79 cursor = resolver.query(args.uri, args.projection,
80 args.selection, args.selectionArgs,
81 args.orderBy);
92 args.result = cursor;
96 args.result = resolver.insert(args.uri, args
[all...]
/frameworks/testing/uiautomator/cmds/uiautomator/
H A Duiautomator62 # eventually args will be what get passed down to Java code
63 args=
95 # append the arg to args
101 args="${args} ${1}"
106 # if cmd is not 'runtest', just take the rest of the args
107 args=${@}
110 args="${cmd} ${args}"
113 exec app_process ${base}/bin com.android.commands.uiautomator.Launcher ${args}
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DHandlerCaller.java100 SomeArgs args = SomeArgs.obtain();
101 args.arg1 = arg2;
102 args.arg2 = arg3;
103 return mH.obtainMessage(what, arg1 ? 1 : 0, 0, args);
128 SomeArgs args = SomeArgs.obtain();
129 args.arg1 = arg3;
130 args.arg2 = arg4;
131 return mH.obtainMessage(what, arg1, arg2, args);
135 SomeArgs args = SomeArgs.obtain();
136 args
[all...]
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...]
H A DSomeArgs.java56 SomeArgs args = sPool;
58 args.mNext = null;
59 args.mInPool = false;
61 return 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/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/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DLog.java30 public void debug(String format, Object... args) { argument
32 info(format, args);
37 public void debugNoln(String format, Object... args) { argument
39 String s = String.format(format, args);
44 public void info(String format, Object... args) { argument
45 String s = String.format(format, args);
49 public void error(String format, Object... args) { argument
50 String s = String.format(format, args);
54 public void exception(Throwable t, String format, Object... args) { argument
59 error(format + "\n" + sw.toString(), args);
[all...]
H A DLogAbortException.java24 public LogAbortException(String format, Object... args) { argument
26 mArgs = args;
/frameworks/base/cmds/svc/src/com/android/commands/svc/
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 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 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/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DLauncher.java67 * @param args
69 public abstract void run(String args[]); argument
72 public static void main(String[] args) { argument
75 if (args.length >= 1) {
76 Command command = findCommand(args[0]);
79 if (args.length > 1) {
81 args2 = Arrays.copyOfRange(args, 1, args.length);
87 HELP_COMMAND.run(args);
101 public void run(String[] args) {
[all...]
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java38 * @param args The command-line arguments
40 public static void main(String[] args) { argument
41 (new Input()).run(args);
44 private void run(String[] args) { argument
45 if (args.length < 1) {
50 String command = args[0];
54 if (args.length == 2) {
55 sendText(args[1]);
59 if (args.length == 2) {
60 int keyCode = KeyEvent.keyCodeFromString(args[
[all...]
/frameworks/native/opengl/libs/GLES_trace/tools/
H A Dtestgenapi.py53 args = parseArgs("void")
54 self.assertEqual(len(args), 0)
56 args = parseArgs("GLchar a")
57 self.assertEqual(args, [("a", DataType.CHAR)])
59 args = parseArgs("GLchar *a")
60 self.assertEqual(args, [("a", DataType.POINTER)])
62 args = parseArgs("GLint exponent[16]")
63 self.assertEqual(args, [("exponent", DataType.POINTER)])
/frameworks/compile/libbcc/tests/
H A Dbccarm10 def compile(args):
11 proc = subprocess.Popen(["bcc"] + args, stderr=subprocess.PIPE, stdout=subprocess.PIPE)
15 def runCmd(args):
16 proc = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
29 def adb(args):
30 return runCmd(["adb"] + args)
46 def compileArm(args):
/frameworks/base/tools/preload/
H A DPrintPsTree.java27 public static void main(String[] args) argument
29 if (args.length != 1) {
34 FileInputStream fin = new FileInputStream(args[0]);
/frameworks/base/core/java/com/android/internal/view/
H A DIInputConnectionWrapper.java194 SomeArgs args = (SomeArgs)msg.obj;
199 args.callback.setTextAfterCursor(null, args.seq);
202 args.callback.setTextAfterCursor(ic.getTextAfterCursor(
203 msg.arg1, msg.arg2), args.seq);
210 SomeArgs args = (SomeArgs)msg.obj;
215 args.callback.setTextBeforeCursor(null, args.seq);
218 args.callback.setTextBeforeCursor(ic.getTextBeforeCursor(
219 msg.arg1, msg.arg2), args
[all...]
/frameworks/base/core/java/android/widget/
H A DFilter.java114 RequestArguments args = new RequestArguments();
117 args.constraint = constraint != null ? constraint.toString() : null;
118 args.listener = listener;
119 message.obj = args;
232 RequestArguments args = (RequestArguments) msg.obj;
234 args.results = performFiltering(args.constraint);
236 args.results = new FilterResults();
240 message.obj = args;
280 RequestArguments args
[all...]
/frameworks/native/include/gui/
H A DSurfaceTextureClient.h83 int dispatchConnect(va_list args);
84 int dispatchDisconnect(va_list args);
85 int dispatchSetBufferCount(va_list args);
86 int dispatchSetBuffersGeometry(va_list args);
87 int dispatchSetBuffersDimensions(va_list args);
88 int dispatchSetBuffersUserDimensions(va_list args);
89 int dispatchSetBuffersFormat(va_list args);
90 int dispatchSetScalingMode(va_list args);
91 int dispatchSetBuffersTransform(va_list args);
92 int dispatchSetBuffersTimestamp(va_list args);
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCustomFunction.java50 private void dispatchCallback(String[] args) { argument
51 callback.callback(args);

Completed in 287 milliseconds

1234567891011>>