Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 25 of 65) sorted by relevance

123

/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
DLog.java126 public void printLog(LogLevel logLevel, String tag, String message); in printLog() argument
135 public void printAndPromptLog(LogLevel logLevel, String tag, String message); in printAndPromptLog() argument
166 public static void v(String tag, String message) { in v() argument
167 println(LogLevel.VERBOSE, tag, message); in v()
175 public static void d(String tag, String message) { in d() argument
176 println(LogLevel.DEBUG, tag, message); in d()
184 public static void i(String tag, String message) { in i() argument
185 println(LogLevel.INFO, tag, message); in i()
193 public static void w(String tag, String message) { in w() argument
194 println(LogLevel.WARN, tag, message); in w()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DRenderLogger.java123 public void error(String tag, String message, Object data) { in error() argument
129 if (tag == null && message != null in error()
131 tag = LayoutLog.TAG_RESOURCES_RESOLVE_THEME_ATTR; in error()
134 addError(tag, description); in error()
138 public void error(String tag, String message, Throwable throwable, Object data) { in error() argument
161 addError(tag, description); in error()
177 public void warning(String tag, String message, Object data) { in warning() argument
181 if (TAG_RESOURCES_FORMAT.equals(tag)) { in warning()
184 tag = TAG_MISSING_DIMENSION; in warning()
193 addWarning(tag, description); in warning()
[all …]
/sdk/layoutlib_api/sample/src/com/example/android/render/
DStdOutLogger.java34 public void error(String tag, String message, Object data) { in error() argument
35 if (tag != null) { in error()
36 System.err.println("ERROR: [" + tag + "] " + message); in error()
43 public void error(String tag, String message, Throwable throwable, Object data) { in error() argument
44 error(tag, message, data); in error()
49 public void fidelityWarning(String tag, String message, Throwable throwable, Object data) { in fidelityWarning() argument
50 if (tag != null) { in fidelityWarning()
51 System.out.println("warning: [" + tag + "] " + message); in fidelityWarning()
61 public void warning(String tag, String message, Object data) { in warning() argument
62 fidelityWarning(tag, message, null /*throwable*/, data); in warning()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dmanifest-expected-completion16.txt2 application : The "application" tag describes application-level components contained in the packag…
4 …can be supplied in an AndroidManifest.xml "instrumentation" tag, a child of the root manifest tag.
5 original-package : Private tag to declare the original package name that this package is based on.
7 permission : The "permission" tag declares a security permission that can be used to control acces…
8 permission-group : The "permission-group" tag declares a logical grouping of related permissions.
9 permission-tree : The "permission-tree" tag declares the base of a tree of permission values: it d…
10 protected-broadcast : Private tag to declare system protected broadcast actions.
12 uses-configuration : The "uses-configuration" tag specifies a specific hardware configuration valu…
13 uses-feature : The "uses-feature" tag specifies a specific feature used by the application.
14 uses-permission : The "uses-permission" tag requests a "permission" that the containing package mu…
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/
DHierarchyViewerPlugin.java90 public void printLog(LogLevel logLevel, String tag, String message) { in start()
92 printToStream(errorConsoleStream, tag, message); in start()
95 printToStream(consoleStream, tag, message); in start()
100 public void printAndPromptLog(final LogLevel logLevel, final String tag, in start()
102 printLog(logLevel, tag, message); in start()
109 MessageDialog.openError(shell, tag, message); in start()
111 MessageDialog.openWarning(shell, tag, message); in start()
177 private static synchronized void printToStream(MessageConsoleStream stream, String tag, in printToStream() argument
179 String dateTag = getMessageTag(tag); in printToStream()
191 private static String getMessageTag(String tag) { in getMessageTag() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAndroidPrintStream.java60 String tag = getMessageTag(mProject != null ? mProject.getName() : null); in println() local
62 print(tag); in println()
79 public static String getMessageTag(String tag) { in getMessageTag() argument
82 if (tag == null) { in getMessageTag()
86 return String.format(Messages.Console_Data_Project_Tag, c, tag); in getMessageTag()
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/
DLayoutLog.java127 public void warning(String tag, String message, Object data) { in warning() argument
141 public void fidelityWarning(String tag, String message, Throwable throwable, Object data) { in fidelityWarning() argument
151 public void error(String tag, String message, Object data) { in error() argument
162 public void error(String tag, String message, Throwable throwable, Object data) { in error() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DSupportLibraryHelper.java72 public static String getTagFor(@NonNull IProject project, @NonNull String tag) { in getTagFor() argument
73 boolean isGridLayout = tag.equals(FQCN_GRID_LAYOUT); in getTagFor()
74 boolean isSpace = tag.equals(FQCN_SPACE); in getTagFor()
100 + " Do you want to install the compatibility library?", tag); in getTagFor()
120 return tag; in getTagFor()
127 return tag; in getTagFor()
136 return tag; in getTagFor()
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
DManifestOrderDetector.java273 String tag = element.getTagName(); in visitElement() local
276 if (tag.equals(TAG_USES_LIBRARY) || tag.equals(TAG_ACTIVITY) || tag.equals(TAG_SERVICE) in visitElement()
277 || tag.equals(TAG_PROVIDER) || tag.equals(TAG_RECEIVER)) { in visitElement()
283 tag), null); in visitElement()
286 if (tag.equals(TAG_ACTIVITY)) { in visitElement()
316 "<manifest> root element", tag), null); in visitElement()
319 if (tag.equals(TAG_USES_SDK)) { in visitElement()
383 if (tag.equals(TAG_APPLICATION)) { in visitElement()
390 "implications for the application's data)", tag), null); in visitElement()
395 String.format("<%1$s> tag appears after <application> tag", tag), null); in visitElement()
DRegistrationDetector.java98 String tag = element.getTagName(); in visitElement() local
99 String frameworkClass = tagToClass(tag); in visitElement()
180 String tag = classToTag(curr); in report() local
201 className, tag, classToTag(wrongClass)), in report()
203 } else if (!tag.equals(TAG_RECEIVER)) { // don't need to be registered in report()
210 tag, className), in report()
234 private static final String tagToClass(String tag) { in tagToClass() argument
236 if (sTags[i].equals(tag)) { in tagToClass()
DDetectMissingPrefix.java113 String tag = element.getTagName(); in isCustomView() local
114 if (tag.equals(VIEW_TAG)) { in isCustomView()
119 return tag.indexOf('.') != -1 && !tag.startsWith(ANDROID_PKG_PREFIX); in isCustomView()
DSecurityDetector.java206 String tag = element.getTagName(); in visitElement() local
207 if (tag.equals(TAG_SERVICE)) { in visitElement()
209 } else if (tag.equals(TAG_GRANT_PERMISSION)) { in visitElement()
211 } else if (tag.equals(TAG_PROVIDER)) { in visitElement()
213 } else if (tag.equals(TAG_ACTIVITY)) { in visitElement()
215 } else if (tag.equals(TAG_RECEIVER)) { in visitElement()
353 String tag = child.getTagName(); in checkProvider() local
354 if (tag.equals(TAG_PATH_PERMISSION)) { in checkProvider()
DObsoleteLayoutParamsDetector.java307 String tag = parent.getNodeName(); in visitElement() local
308 if (tag.indexOf('.') == -1 && !tag.equals(VIEW_MERGE)) { in visitElement()
317 includes.add(Pair.of(context.file, tag)); in visitElement()
405 String tag = sdk.getParentViewName(parentTag); in isValidParamForParent() local
406 while (tag != null) { in isValidParamForParent()
407 if (tag.equals(parent)) { in isValidParamForParent()
410 tag = sdk.getParentViewName(tag); in isValidParamForParent()
DUselessViewDetector.java197 String tag = element.getTagName(); in checkUselessMiddleLayout() local
207 String message = String.format(format, tag, parentTag); in checkUselessMiddleLayout()
240 String tag = element.getTagName(); in checkUselessLeaf() local
242 "This %1$s view is useless (no children, no background, no id, no style)", tag); in checkUselessLeaf()
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/
DLogFilter.java231 public void setTagMode(String tag) { in setTagMode() argument
232 if (tag != null && tag.length() > 0) { in setTagMode()
237 mTag = tag; in setTagMode()
348 logMessage.data.tag == null || in accept()
349 logMessage.data.tag.equals(mTag) == false)) { in accept()
387 if (mTempTag.equals(logMessage.data.tag) == false) { in accept()
505 void setTempTagFiltering(String tag) { in setTempTagFiltering() argument
506 mTempTag = tag; in setTempTagFiltering()
538 item.setText(3, msg.data.tag); in addTableItem()
DLogCatFilter.java76 public LogCatFilter(String name, String tag, String text, String pid, String appName, in LogCatFilter() argument
79 mTag = tag.trim(); in LogCatFilter()
151 String tag = ""; in fromString() local
161 tag = s.substring(TAG_KEYWORD.length()); in fromString()
170 tag, text, pid, app, minLevel)); in fromString()
DLogCatMessage.java40 String tag, String time, String msg) { in LogCatMessage() argument
44 mTag = tag; in LogCatMessage()
DLogCatFilterSettingsSerializer.java100 String tag = ""; in decodeFromPreferenceString() local
116 tag = value; in decodeFromPreferenceString()
128 fs.add(new LogCatFilter(name, tag, text, pid, app, level)); in decodeFromPreferenceString()
/sdk/templates/docs/
Dprettify.css9 .tag{color:#036}
22 .tag{color:#006}
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/net/
DNetworkPanel.java426 public TrackedItem findOrCreateTrackedItem(int uid, int tag) { in findOrCreateTrackedItem() argument
429 if (item.uid == uid && item.tag == tag) { in findOrCreateTrackedItem()
435 final TrackedItem item = new TrackedItem(uid, tag); in findOrCreateTrackedItem()
443 item.label = "0x" + formatter.format("%08x", tag); in findOrCreateTrackedItem()
500 public final int tag; field in NetworkPanel.TrackedItem
511 public TrackedItem(int uid, int tag) { in TrackedItem() argument
513 this.tag = tag; in TrackedItem()
517 return tag == 0x0; in isTotal()
664 final TrackedItem item = findOrCreateTrackedItem(entry.uid, entry.tag); in run()
757 entry.tag = kernelToTag(cols[2]); in processNewLines()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/
DDdmsPlugin.java173 public void printLog(LogLevel logLevel, String tag, String message) { in start()
175 printToStream(errorConsoleStream, tag, message); in start()
178 printToStream(consoleStream, tag, message); in start()
183 public void printAndPromptLog(final LogLevel logLevel, final String tag, in start()
185 printLog(logLevel, tag, message); in start()
192 MessageDialog.openError(shell, tag, message); in start()
194 MessageDialog.openWarning(shell, tag, message); in start()
764 private static synchronized void printToStream(MessageConsoleStream stream, String tag, in printToStream() argument
766 String dateTag = getMessageTag(tag); in printToStream()
780 private static String getMessageTag(String tag) { in getMessageTag() argument
[all …]
/sdk/screenshot/src/com/android/screenshot/
DScreenshot.java104 public void printAndPromptLog(LogLevel logLevel, String tag, String message) { in main()
105 System.err.println(logLevel.getStringValue() + ":" + tag + ":" + message); in main()
108 public void printLog(LogLevel logLevel, String tag, String message) { in main()
109 System.err.println(logLevel.getStringValue() + ":" + tag + ":" + message); in main()
/sdk/docs/
DNotes_on_WST_StructuredDocument.txt143 Each "region collection" basically matches one XML tag, with sub-regions for all the tokens
144 inside a tag.
149 So for example an outer XML_TAG_NAME region collection is a proper XML tag, and it will contain
150 an opening tag, a closing tag but also an XML_TAG_NAME that is the tag name itself.
158 here, the only case where it matters is in a tag such as <string name="my_string">: for the
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/log/
DGcEventContainer.java51 GcEventContainer(LogEntry entry, int tag, Object data) { in GcEventContainer() argument
52 super(entry, tag, data); in GcEventContainer()
56 GcEventContainer(int tag, int pid, int tid, int sec, int nsec, Object data) { in GcEventContainer() argument
57 super(tag, pid, tid, sec, nsec, data); in GcEventContainer()
/sdk/dumpeventlog/src/com/android/dumpeventlog/
DDumpEventLog.java82 public void printAndPromptLog(LogLevel logLevel, String tag, String message) { in main()
86 public void printLog(LogLevel logLevel, String tag, String message) { in main()

123