/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
D | AdtConsoleSdkLog.java | 32 public void error(@Nullable Throwable t, @Nullable String errorFormat, Object... args) { in error() argument 34 AdtPlugin.logAndPrintError(t, TAG, "Error: " + errorFormat, args); in error() 36 AdtPlugin.printErrorToConsole(TAG, String.format(errorFormat, args)); in error() 41 public void info(@NonNull String msgFormat, Object... args) { in info() argument 42 String msg = String.format(msgFormat, args); in info() 51 public void verbose(@NonNull String msgFormat, Object... args) { in verbose() argument 52 info(msgFormat, args); in verbose() 56 public void warning(@NonNull String warningFormat, Object... args) { in warning() argument 57 AdtPlugin.printToConsole(TAG, String.format("Warning: " + warningFormat, args)); in warning()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/ |
D | TestLogger.java | 31 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.gldebugger.tests/src/com/android/ide/eclipse/gltrace/format/ |
D | GLAPISpecTest.java | 33 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/hierarchyviewer/src/com/android/hierarchyviewer/ |
D | HierarchyViewer.java | 114 public static void main(String[] args) { in main() argument 117 if (args.length > 0) { in main() 118 for (int i = 0; i < args.length; i++) { in main() 119 String arg = args[i]; in main() 134 if (i == args.length - 1) { in main() 140 if (i < args.length - 2) { in main() 141 device = args[++i]; in main() 143 if (i < args.length - 1) { in main() 144 file = args[++i]; in main()
|
/sdk/eclipse/scripts/ |
D | gen_icon.py | 24 def main(args): argument 25 data = process_args(args) 29 def process_args(args): argument 30 if not args or len(args) != 6: 32 return Args(*args)
|
D | collect_sources_for_sdk.py | 75 opts, args = getopt.getopt(argv[1:], 88 if len(args) != 2: 91 p.SRC = args[0] 92 p.DST = args[1]
|
/sdk/eventanalyzer/src/com/android/eventanalyzer/ |
D | EventAnalyzer.java | 67 public static void main(String[] args) { in main() argument 68 new EventAnalyzer().run(args); in main() 71 private void run(String[] args) { in run() argument 72 if (args.length == 0) { in run() 78 String argument = args[index++]; in run() 83 if (index == args.length) { in run() 87 mInputDevice = args[index++]; in run() 91 if (index == args.length) { in run() 95 mInputBinaryFile = args[index++]; in run() 99 if (index == args.length) { in run() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | FmSlashedPackageNameMethod.java | 32 public TemplateModel exec(List args) throws TemplateModelException { in exec() argument 33 if (args.size() != 1) { in exec() 37 return new SimpleScalar(args.get(0).toString().replace('.', '/')); in exec()
|
D | FmEscapeXmlAttributeMethod.java | 33 public TemplateModel exec(List args) throws TemplateModelException { in exec() argument 34 if (args.size() != 1) { in exec() 37 String string = args.get(0).toString(); in exec()
|
D | FmUnderscoreToCamelCaseMethod.java | 33 public TemplateModel exec(List args) throws TemplateModelException { in exec() argument 34 if (args.size() != 1) { in exec() 37 return new SimpleScalar(AdtUtils.underlinesToCamelCase(args.get(0).toString())); in exec()
|
D | FmEscapeXmlTextMethod.java | 33 public TemplateModel exec(List args) throws TemplateModelException { in exec() argument 34 if (args.size() != 1) { in exec() 37 String string = args.get(0).toString(); in exec()
|
D | FmCamelCaseToUnderscoreMethod.java | 32 public TemplateModel exec(List args) throws TemplateModelException { in exec() argument 33 if (args.size() != 1) { in exec() 36 return new SimpleScalar(AdtUtils.camelCaseToUnderlines(args.get(0).toString())); in exec()
|
D | FmEscapeXmlStringMethod.java | 36 public TemplateModel exec(List args) throws TemplateModelException { in exec() argument 37 if (args.size() != 1) { in exec() 40 String string = args.get(0).toString(); in exec()
|
D | FmExtractLettersMethod.java | 31 public TemplateModel exec(List args) throws TemplateModelException { in exec() argument 32 if (args.size() != 1) { in exec() 35 String string = args.get(0).toString(); in exec()
|
D | FmLayoutToActivityMethod.java | 37 public TemplateModel exec(List args) throws TemplateModelException { in exec() argument 38 if (args.size() != 1) { in exec() 42 String name = args.get(0).toString(); in exec()
|
D | FmActivityToLayoutMethod.java | 36 public TemplateModel exec(List args) throws TemplateModelException { in exec() argument 37 if (args.size() != 1) { in exec() 41 String activityName = args.get(0).toString(); in exec()
|
D | FmClassNameToResourceMethod.java | 35 public TemplateModel exec(List args) throws TemplateModelException { in exec() argument 36 if (args.size() != 1) { in exec() 40 String name = args.get(0).toString(); in exec()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/build/ |
D | NdkCommandLauncher.java | 57 public Process execute(IPath commandPath, String[] args, String[] env, IPath changeToDirectory, in execute() argument 80 String[] newargs = new String[args.length + 1]; in execute() 82 System.arraycopy(args, 0, newargs, 1, args.length); in execute() 85 args = newargs; in execute() 89 return super.execute(commandPath, args, env, changeToDirectory, monitor); in execute()
|
/sdk/dumpeventlog/src/com/android/dumpeventlog/ |
D | DumpEventLog.java | 74 public static void main(String[] args) { in main() argument 75 if (args.length != 2) { in main() 120 if (device.getSerialNumber().equals(args[0])) { in main() 122 grabLogFrom(device, args[1]); in main() 132 System.err.println("Could not find " + args[0]); in main()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
D | DexWrapper.java | 180 Object args = mArgConstructor.newInstance(); in run() local 181 mArgOutName.set(args, osOutFilePath); in run() 182 mArgFileNames.set(args, osFilenames.toArray(new String[osFilenames.size()])); in run() 183 mArgJarOutput.set(args, osOutFilePath.endsWith(SdkConstants.DOT_JAR)); in run() 184 mArgForceJumbo.set(args, forceJumbo); in run() 185 mArgVerbose.set(args, verbose); in run() 188 Object res = mRunMethod.invoke(null /* obj: static method */, args); in run()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/ |
D | NdkHelper.java | 57 String[] args = new String[] { in getApplicationAbis() local 66 launcher.execute(getPathToMake(), args, null, project.getLocation(), monitor); in getApplicationAbis() local 104 String[] args = new String[] { in getToolchainPrefix() local 114 launcher.execute(getPathToMake(), args, null, project.getLocation(), monitor); in getToolchainPrefix() local
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | ExtractStyleRefactoring.java | 199 Map<String, String> args = super.createArgumentMap(); in createArgumentMap() local 200 args.put(KEY_NAME, mStyleName); in createArgumentMap() 201 args.put(KEY_REMOVE_EXTRACTED, Boolean.toString(mRemoveExtracted)); in createArgumentMap() 202 args.put(KEY_REMOVE_ALL, Boolean.toString(mRemoveAll)); in createArgumentMap() 203 args.put(KEY_APPLY_STYLE, Boolean.toString(mApplyStyle)); in createArgumentMap() 204 args.put(KEY_PARENT, mParent != null ? mParent : ""); in createArgumentMap() 206 return args; in createArgumentMap() 521 protected Refactoring createRefactoring(Map<String, String> args) { in createRefactoring() argument 522 return new ExtractStyleRefactoring(args); in createRefactoring()
|
D | ChangeViewRefactoring.java | 140 Map<String, String> args = super.createArgumentMap(); in createArgumentMap() local 141 args.put(KEY_TYPE, mTypeFqcn); in createArgumentMap() 143 return args; in createArgumentMap() 294 protected Refactoring createRefactoring(Map<String, String> args) { in createRefactoring() argument 295 return new ChangeViewRefactoring(args); in createRefactoring()
|
D | WrapInRefactoring.java | 154 Map<String, String> args = super.createArgumentMap(); in createArgumentMap() local 155 args.put(KEY_TYPE, mTypeFqcn); in createArgumentMap() 156 args.put(KEY_ID, mId); in createArgumentMap() 158 return args; in createArgumentMap() 435 protected Refactoring createRefactoring(Map<String, String> args) { in createRefactoring() argument 436 return new WrapInRefactoring(args); in createRefactoring()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/format/ |
D | GLAPISpec.java | 42 private GLAPISpec(String glFunction, GLDataTypeSpec returnType, List<GLDataTypeSpec> args) { in GLAPISpec() argument 45 mArgs = args; in GLAPISpec()
|