Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 137) sorted by relevance

123456

/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/
DNullTaskMonitor.java50 public void setDescription(String format, Object...args) { in setDescription() argument
55 public void log(String format, Object...args) { in log() argument
56 mLog.info(format, args); in log()
60 public void logError(String format, Object...args) { in logError() argument
61 mLog.error(null /*throwable*/, format, args); in logError()
65 public void logVerbose(String format, Object...args) { in logVerbose() argument
66 mLog.verbose(format, args); in logVerbose()
116 public void error(Throwable t, String errorFormat, Object... args) { in error() argument
117 mLog.error(t, errorFormat, args); in error()
121 public void warning(@NonNull String warningFormat, Object... args) { in warning() argument
[all …]
DITaskMonitor.java56 public void setDescription(String format, Object...args); in setDescription() argument
62 public void log(String format, Object...args); in log() argument
68 public void logError(String format, Object...args); in logError() argument
75 public void logVerbose(String format, Object...args); in logVerbose() argument
/sdk/monkeyrunner/src/com/android/monkeyrunner/
DMonkeyDevice.java81 public HierarchyViewer getHierarchyViewer(PyObject[] args, String[] kws) { in getHierarchyViewer() argument
95 args = {"key"},
99 public String getProperty(PyObject[] args, String[] kws) { in getProperty() argument
100 ArgParser ap = JythonUtils.createArgParser(args, kws); in getProperty()
107 args = {"key"},
110 public String getSystemProperty(PyObject[] args, String[] kws) { in getSystemProperty() argument
111 ArgParser ap = JythonUtils.createArgParser(args, kws); in getSystemProperty()
118 args = { "x", "y", "type" },
122 public void touch(PyObject[] args, String[] kws) { in touch() argument
123 ArgParser ap = JythonUtils.createArgParser(args, kws); in touch()
[all …]
DMonkeyView.java54 public PyBoolean getChecked(PyObject[] args, String[] kws) { in getChecked() argument
55 ArgParser ap = JythonUtils.createArgParser(args, kws); in getChecked()
62 public PyString getViewClass(PyObject[] args, String[] kws) { in getViewClass() argument
63 ArgParser ap = JythonUtils.createArgParser(args, kws); in getViewClass()
70 public PyString getText(PyObject[] args, String[] kws) { in getText() argument
71 ArgParser ap = JythonUtils.createArgParser(args, kws); in getText()
78 public MonkeyRect getLocation(PyObject[] args, String[] kws) { in getLocation() argument
79 ArgParser ap = JythonUtils.createArgParser(args, kws); in getLocation()
86 public PyBoolean getEnabled(PyObject[] args, String[] kws) { in getEnabled() argument
87 ArgParser ap = JythonUtils.createArgParser(args, kws); in getEnabled()
[all …]
DMonkeyImage.java57 args = {"format"},
61 public byte[] convertToBytes(PyObject[] args, String[] kws) { in convertToBytes() argument
62 ArgParser ap = JythonUtils.createArgParser(args, kws); in convertToBytes()
73 args = {"path", "format"},
78 public boolean writeToFile(PyObject[] args, String[] kws) { in writeToFile() argument
79 ArgParser ap = JythonUtils.createArgParser(args, kws); in writeToFile()
90 args = { "x", "y" },
94 public PyObject getRawPixel(PyObject[] args, String[] kws) { in getRawPixel() argument
95 ArgParser ap = JythonUtils.createArgParser(args, kws); in getRawPixel()
111 args = { "x", "y" },
[all …]
DMonkeyRunner.java58 args = {"timeout", "deviceId"},
63 public static MonkeyDevice waitForConnection(PyObject[] args, String[] kws) { in waitForConnection() argument
64 ArgParser ap = JythonUtils.createArgParser(args, kws); in waitForConnection()
83 args = {"seconds"},
85 public static void sleep(PyObject[] args, String[] kws) { in sleep() argument
86 ArgParser ap = JythonUtils.createArgParser(args, kws); in sleep()
101 args = { "format" },
105 public static String help(PyObject[] args, String[] kws) { in help() argument
106 ArgParser ap = JythonUtils.createArgParser(args, kws); in help()
117 args = { "message", "title", "okTitle" },
[all …]
DMonkeyRunnerOptions.java93 public static MonkeyRunnerOptions processOptions(String[] args) { in processOptions() argument
105 while (index < args.length) { in processOptions()
106 String argument = args[index++]; in processOptions()
109 if (index == args.length) { in processOptions()
113 hostname = args[index++]; in processOptions()
117 if (index == args.length) { in processOptions()
121 port = Integer.parseInt(args[index++]); in processOptions()
125 if (index == args.length) { in processOptions()
130 logLevel = Level.parse(args[index++]); in processOptions()
133 if (index == args.length) { in processOptions()
[all …]
/sdk/emulator/opengl/host/libs/Translator/EGL/
DClientAPIExts.cpp32 #define API_ENTRY(fname,params,args) \ argument
35 #define API_ENTRY_RET(rtype,fname,params,args) \ argument
48 #define API_ENTRY(fname,params,args) \ argument
51 #define API_ENTRY_RET(rtype,fname,params,args) \ argument
52 API_ENTRY(fname,params,args)
68 #define API_ENTRY(fname,params,args) \ in initClientFuncs() argument
72 #define API_ENTRY_RET(rtype,fname,params,args) \ in initClientFuncs() argument
73 API_ENTRY(fname,params,args) in initClientFuncs()
93 #define API_ENTRY(fname,params,args) \ argument
104 (*s_client_extensions[idx].fname) args; \
[all …]
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/
DMockMonitor.java50 public void log(String format, Object... args) { in log() argument
51 mCapturedLog += String.format(format, args) + "\n"; //$NON-NLS-1$ in log()
55 public void logError(String format, Object... args) { in logError() argument
56 mCapturedErrorLog += String.format(format, args) + "\n"; //$NON-NLS-1$ in logError()
60 public void logVerbose(String format, Object... args) { in logVerbose() argument
61 mCapturedVerboseLog += String.format(format, args) + "\n"; //$NON-NLS-1$ in logVerbose()
74 public void setDescription(String format, Object... args) { in setDescription() argument
75 mCapturedDescriptions += String.format(format, args) + "\n"; //$NON-NLS-1$ in setDescription()
103 public void error(Throwable t, String errorFormat, Object... args) { in error() argument
107 public void info(@NonNull String msgFormat, Object... args) { in info() argument
[all …]
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/mock/
DMockLog.java34 private void add(String code, String format, Object... args) { in add() argument
36 mMessages.add(formatter.format(code + format, args).toString()); in add()
41 public void warning(@NonNull String format, Object... args) { in warning() argument
42 add("W ", format, args); in warning()
46 public void info(@NonNull String format, Object... args) { in info() argument
47 add("P ", format, args); in info()
51 public void verbose(@NonNull String format, Object... args) { in verbose() argument
52 add("V ", format, args); in verbose()
56 public void error(Throwable t, String format, Object... args) { in error() argument
60 add("E ", format, args); in error()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/
DTestLogger.java31 public void error(Throwable t, String errorFormat, Object... args) { in error() argument
32 String message = String.format(errorFormat, args); in error()
40 public void info(String msgFormat, Object... args) { in info() argument
41 System.out.println(String.format(msgFormat, args)); in info()
45 public void verbose(String msgFormat, Object... args) { in verbose() argument
46 info(msgFormat, args); in verbose()
50 public void warning(String warningFormat, Object... args) { in warning() argument
51 System.err.println(String.format(warningFormat, args)); in warning()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DAdtConsoleSdkLog.java31 public void error(Throwable t, String errorFormat, Object... args) { in error() argument
33 AdtPlugin.logAndPrintError(t, TAG, "Error: " + errorFormat, args); in error()
35 AdtPlugin.printErrorToConsole(TAG, String.format(errorFormat, args)); in error()
40 public void info(@NonNull String msgFormat, Object... args) { in info() argument
41 String msg = String.format(msgFormat, args); in info()
50 public void verbose(@NonNull String msgFormat, Object... args) { in verbose() argument
51 info(msgFormat, args); in verbose()
55 public void warning(@NonNull String warningFormat, Object... args) { in warning() argument
56 AdtPlugin.printToConsole(TAG, String.format("Warning: " + warningFormat, args)); in warning()
/sdk/monkeyrunner/src/com/android/monkeyrunner/easy/
DEasyMonkeyDevice.java60 args = { "device" },
68 args = { "selector", "type" },
72 public void touch(PyObject[] args, String[] kws) { in touch() argument
73 ArgParser ap = JythonUtils.createArgParser(args, kws); in touch()
90 args = { "selector", "text" },
94 public void type(PyObject[] args, String[] kws) { in type() argument
95 ArgParser ap = JythonUtils.createArgParser(args, kws); in type()
110 args = { "selector" },
113 public PyTuple locate(PyObject[] args, String[] kws) { in locate() argument
114 ArgParser ap = JythonUtils.createArgParser(args, kws); in locate()
[all …]
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/
DSdkUpdaterNoWindow.java212 public void setDescription(String format, Object...args) { in setDescription() argument
215 String line = String.format(" " + format, args); //$NON-NLS-1$ in setDescription()
249 public void log(String format, Object...args) { in log() argument
250 setDescription(" " + format, args); //$NON-NLS-1$ in log()
254 public void logError(String format, Object...args) { in logError() argument
255 setDescription(format, args); in logError()
259 public void logVerbose(String format, Object...args) { in logVerbose() argument
266 public void error(Throwable t, String errorFormat, Object... args) { in error() argument
267 mSdkLog.error(t, errorFormat, args); in error()
271 public void warning(@NonNull String warningFormat, Object... args) { in warning() argument
[all …]
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/build/
DApkBuilderMain.java39 public static void main(String[] args) { in main() argument
40 if (args.length < 1) { in main()
47 File outApk = new File(args[0]); in main()
61 String argument = args[index++]; in main()
74 if (index == args.length) { in main()
78 zipArchives.add(new File(args[index++])); in main()
85 if (index == args.length) { in main()
89 dexFile = new File(args[index++]); in main()
92 if (index == args.length) { in main()
96 sourceFolders.add(new File(args[index++])); in main()
[all …]
DApkCreationException.java25 public ApkCreationException(String format, Object... args) { in ApkCreationException() argument
26 super(String.format(format, args)); in ApkCreationException()
29 public ApkCreationException(Throwable cause, String format, Object... args) { in ApkCreationException() argument
30 super(String.format(format, args), cause); in ApkCreationException()
DSealedApkException.java25 public SealedApkException(String format, Object... args) { in SealedApkException() argument
26 super(String.format(format, args)); in SealedApkException()
29 public SealedApkException(Throwable cause, String format, Object... args) { in SealedApkException() argument
30 super(String.format(format, args), cause); in SealedApkException()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gltrace/format/
DGLAPISpecTest.java33 List<String> args = Arrays.asList( in testParser() local
38 GLAPISpec spec = GLAPISpec.parseLine(createSpec(returnType, funcName, args)); in testParser()
45 assertEquals(argSpecs.size(), args.size()); in testParser()
58 private String createSpec(String returnType, String funcName, List<String> args) { in createSpec() argument
62 if (args != null) { in createSpec()
64 for (int i = 0; i < args.size(); i++) { in createSpec()
65 sb.append(args.get(i)); in createSpec()
66 if (i != args.size() - 1) { in createSpec()
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/tasks/
DTaskMonitorImpl.java67 public void setDescription(String format, Object... args) { in setDescription() argument
68 final String text = String.format(format, args); in setDescription()
77 public void log(String format, Object... args) { in log() argument
78 String text = String.format(format, args); in log()
87 public void logError(String format, Object... args) { in logError() argument
88 String text = String.format(format, args); in logError()
98 public void logVerbose(String format, Object... args) { in logVerbose() argument
99 String text = String.format(format, args); in logVerbose()
272 public void setDescription(String format, Object... args) { in setDescription() argument
273 mRoot.setDescription(format, args); in setDescription()
[all …]
/sdk/common/src/com/android/utils/
DStdLogger.java85 public void error(Throwable t, String errorFormat, Object... args) { in error() argument
87 String msg = String.format("Error: " + errorFormat, args); in error()
110 public void warning(@NonNull String warningFormat, Object... args) { in warning() argument
115 String msg = String.format("Warning: " + warningFormat, args); in warning()
131 public void info(@NonNull String msgFormat, Object... args) { in info() argument
136 String msg = String.format(msgFormat, args); in info()
152 public void verbose(@NonNull String msgFormat, Object... args) { in verbose() argument
157 String msg = String.format(msgFormat, args); in verbose()
DILogger.java51 void error(Throwable t, String msgFormat, Object... args); in error() argument
59 void warning(@NonNull String msgFormat, Object... args); in warning() argument
67 void info(@NonNull String msgFormat, Object... args); in info() argument
75 void verbose(@NonNull String msgFormat, Object... args); in verbose() argument
DNullLogger.java35 public void error(Throwable t, String errorFormat, Object... args) { in error() argument
40 public void warning(@NonNull String warningFormat, Object... args) { in warning() argument
45 public void info(@NonNull String msgFormat, Object... args) { in info() argument
50 public void verbose(@NonNull String msgFormat, Object... args) { in verbose() argument
/sdk/emulator/opengl/host/include/libOpenglRender/
Drender_api.h37 #define DECL(ret, name, args) \ argument
38 typedef ret (* name##Fn) args
40 #define DECL(ret, name, args) \
41 typedef ret (* name##Fn) args ; \
42 ret name args
/sdk/monkeyrunner/test/com/android/monkeyrunner/
DJythonUtilsTest.java49 @MonkeyRunnerExported(doc = "", args = {"value"})
50 public static void floatTest(PyObject[] args, String[] kws) { in floatTest() argument
51 ArgParser ap = JythonUtils.createArgParser(args, kws); in floatTest()
58 @MonkeyRunnerExported(doc = "", args = {"value"})
59 public static void listTest(PyObject[] args, String[] kws) { in listTest() argument
60 ArgParser ap = JythonUtils.createArgParser(args, kws); in listTest()
67 @MonkeyRunnerExported(doc = "", args = {"value"})
68 public static void mapTest(PyObject[] args, String[] kws) { in mapTest() argument
69 ArgParser ap = JythonUtils.createArgParser(args, kws); in mapTest()
77 public static PyDictionary convertMapTest(PyObject[] args, String[] kws) { in convertMapTest() argument
[all …]
/sdk/bash_completion/
Dadb.bash89 args="bootloader recovery"
90 COMPREPLY=( $(compgen -W "${args}" -- "${COMP_WORDS[i]}") )
174 local -a args
181 args=(-s $serial)
185 paths=$(command adb ${args[@]} shell echo '$'PATH 2> /dev/null | tr -d '\r' | tr : '\n')
186 COMMAND=$(command adb ${args[@]} shell ls $paths '2>' /dev/null | tr -d '\r' | {
218 args=(-s $serial)
254 local -a args
259 args=(-s $serial)
297 local -a args
[all …]

123456