Searched refs:tag (Results 1 - 25 of 231) sorted by relevance

12345678910

/packages/services/Telephony/src/com/android/phone/vvm/omtp/
H A DVvmLog.java35 public static void log(String tag, String log) { argument
36 sLocalLog.log(tag + ": " + log);
46 public static int e(String tag, String log) { argument
47 log(tag, log);
48 return Log.e(tag, log);
51 public static int e(String tag, String log, Throwable e) { argument
52 log(tag, log + " " + e);
53 return Log.e(tag, log, e);
56 public static int w(String tag, String log) { argument
57 log(tag, lo
61 w(String tag, String log, Throwable e) argument
66 i(String tag, String log) argument
71 i(String tag, String log, Throwable e) argument
76 d(String tag, String log) argument
81 d(String tag, String log, Throwable e) argument
86 v(String tag, String log) argument
91 v(String tag, String log, Throwable e) argument
96 wtf(String tag, String log) argument
101 wtf(String tag, String log, Throwable e) argument
[all...]
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/
H A DLog.java25 public static void d(final String tag, final String message) { argument
26 System.out.println(tag + " : " + message);
28 public static void d(final String tag, final String message, final Throwable t) { argument
29 System.out.println(tag + " : " + message + " : " + t);
31 public static void e(final String tag, final String message) { argument
32 d(tag, message);
34 public static void e(final String tag, final String message, final Throwable t) { argument
35 d(tag, message, t);
37 public static void w(final String tag, final String message) { argument
38 d(tag, messag
40 w(final String tag, final String message, final Throwable t) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DLog.java20 public static int v(String tag, String msg) { argument
21 return android.util.Log.v(tag, msg);
23 public static int v(String tag, String msg, Throwable tr) { argument
24 return android.util.Log.v(tag, msg, tr);
26 public static int d(String tag, String msg) { argument
27 return android.util.Log.d(tag, msg);
29 public static int d(String tag, String msg, Throwable tr) { argument
30 return android.util.Log.d(tag, msg, tr);
32 public static int i(String tag, String msg) { argument
33 return android.util.Log.i(tag, ms
35 i(String tag, String msg, Throwable tr) argument
38 w(String tag, String msg) argument
41 w(String tag, String msg, Throwable tr) argument
44 w(String tag, Throwable tr) argument
47 e(String tag, String msg) argument
50 e(String tag, String msg, Throwable tr) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DLog.java20 public static int v(String tag, String msg) { argument
21 return android.util.Log.v(tag, msg);
23 public static int v(String tag, String msg, Throwable tr) { argument
24 return android.util.Log.v(tag, msg, tr);
26 public static int d(String tag, String msg) { argument
27 return android.util.Log.d(tag, msg);
29 public static int d(String tag, String msg, Throwable tr) { argument
30 return android.util.Log.d(tag, msg, tr);
32 public static int i(String tag, String msg) { argument
33 return android.util.Log.i(tag, ms
35 i(String tag, String msg, Throwable tr) argument
38 w(String tag, String msg) argument
41 w(String tag, String msg, Throwable tr) argument
44 w(String tag, Throwable tr) argument
47 e(String tag, String msg) argument
50 e(String tag, String msg, Throwable tr) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DLog.java21 public static int v(String tag, String msg) { argument
22 return android.util.Log.v(tag, msg);
24 public static int v(String tag, String msg, Throwable tr) { argument
25 return android.util.Log.v(tag, msg, tr);
27 public static int d(String tag, String msg) { argument
28 return android.util.Log.d(tag, msg);
30 public static int d(String tag, String msg, Throwable tr) { argument
31 return android.util.Log.d(tag, msg, tr);
33 public static int i(String tag, String msg) { argument
34 return android.util.Log.i(tag, ms
36 i(String tag, String msg, Throwable tr) argument
39 w(String tag, String msg) argument
42 w(String tag, String msg, Throwable tr) argument
45 w(String tag, Throwable tr) argument
48 e(String tag, String msg) argument
51 e(String tag, String msg, Throwable tr) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DLog.java20 public static int v(String tag, String msg) { argument
21 return android.util.Log.v(tag, msg);
23 public static int v(String tag, String msg, Throwable tr) { argument
24 return android.util.Log.v(tag, msg, tr);
26 public static int d(String tag, String msg) { argument
27 return android.util.Log.d(tag, msg);
29 public static int d(String tag, String msg, Throwable tr) { argument
30 return android.util.Log.d(tag, msg, tr);
32 public static int i(String tag, String msg) { argument
33 return android.util.Log.i(tag, ms
35 i(String tag, String msg, Throwable tr) argument
38 w(String tag, String msg) argument
41 w(String tag, String msg, Throwable tr) argument
44 w(String tag, Throwable tr) argument
47 e(String tag, String msg) argument
50 e(String tag, String msg, Throwable tr) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/debug/
H A DLog.java25 * All Camera logging using this class will use this tag prefix.
30 * adb shell setprop log.tag.CAM_ VERBOSE
31 * adb shell setprop log.tag.CAM_ ""
39 * This class restricts the length of the log tag to be less than the
40 * framework limit and also prepends the common tag prefix defined by
50 public Tag(String tag) { argument
51 final int lenDiff = tag.length() - MAX_TAG_LEN;
53 w(TAG, "Tag " + tag + " is " + lenDiff + " chars longer than limit.");
55 mValue = CAMERA_LOGTAG_PREFIX + (lenDiff > 0 ? tag.substring(0, MAX_TAG_LEN) : tag);
64 d(Tag tag, String msg) argument
70 d(Tag tag, Object instance, String msg) argument
76 d(Tag tag, Object instance, String msg, String tags) argument
82 d(Tag tag, String msg, Throwable tr) argument
88 e(Tag tag, String msg) argument
94 e(Tag tag, Object instance, String msg) argument
100 e(Tag tag, Object instance, String msg, String tags) argument
106 e(Tag tag, String msg, Throwable tr) argument
112 i(Tag tag, String msg) argument
118 i(Tag tag, Object instance, String msg) argument
124 i(Tag tag, Object instance, String msg, String tags) argument
130 i(Tag tag, String msg, Throwable tr) argument
136 v(Tag tag, String msg) argument
142 v(Tag tag, Object instance, String msg) argument
148 v(Tag tag, Object instance, String msg, String tags) argument
154 v(Tag tag, String msg, Throwable tr) argument
160 w(Tag tag, String msg) argument
166 w(Tag tag, Object instance, String msg) argument
172 w(Tag tag, Object instance, String msg, String tags) argument
178 w(Tag tag, String msg, Throwable tr) argument
194 isLoggable(Tag tag, int level) argument
214 shouldLog(Tag tag, int level) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DXmlParseUtils.java40 public IllegalStartTag(final XmlPullParser parser, final String tag, final String parent) { argument
41 super("Illegal start tag " + tag + " in " + parent, parser);
47 public IllegalEndTag(final XmlPullParser parser, final String tag, final String parent) { argument
48 super("Illegal end tag " + tag + " in " + parent, parser);
54 public IllegalAttribute(final XmlPullParser parser, final String tag, argument
56 super("Tag " + tag + " has illegal attribute " + attribute, parser);
62 public NonEmptyTag(final XmlPullParser parser, final String tag) { argument
63 super(tag
67 checkEndTag(final String tag, final XmlPullParser parser) argument
74 checkAttributeExists(final TypedArray attr, final int attrId, final String attrName, final String tag, final XmlPullParser parser) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DLogUtils.java95 protected static boolean isDebugLoggingEnabled(String tag) { argument
102 return Log.isLoggable(tag, Log.DEBUG) || Log.isLoggable(TAG, Log.DEBUG);
117 public static String contentUriToString(String tag, Uri uri) { argument
118 if (isDebugLoggingEnabled(tag)) {
154 public static String sanitizeName(final String tag, final String name) { argument
159 if (isDebugLoggingEnabled(tag)) {
167 * Checks to see whether or not a log for the specified tag is loggable at the specified level.
169 public static boolean isLoggable(String tag, int level) { argument
173 return Log.isLoggable(tag, level) || Log.isLoggable(TAG, level);
178 * @param tag Use
186 v(String tag, String format, Object... args) argument
204 v(String tag, Throwable tr, String format, Object... args) argument
221 d(String tag, String format, Object... args) argument
239 d(String tag, Throwable tr, String format, Object... args) argument
256 i(String tag, String format, Object... args) argument
274 i(String tag, Throwable tr, String format, Object... args) argument
291 w(String tag, String format, Object... args) argument
309 w(String tag, Throwable tr, String format, Object... args) argument
326 e(String tag, String format, Object... args) argument
344 e(String tag, Throwable tr, String format, Object... args) argument
365 wtf(String tag, String format, Object... args) argument
384 wtf(String tag, Throwable tr, String format, Object... args) argument
[all...]
/packages/services/Telephony/src/com/android/phone/common/mail/utils/
H A DLogUtils.java95 protected static boolean isDebugLoggingEnabled(String tag) { argument
102 return Log.isLoggable(tag, Log.DEBUG) || Log.isLoggable(TAG, Log.DEBUG);
117 public static String contentUriToString(String tag, Uri uri) { argument
118 if (isDebugLoggingEnabled(tag)) {
154 public static String sanitizeName(final String tag, final String name) { argument
159 if (isDebugLoggingEnabled(tag)) {
167 * Checks to see whether or not a log for the specified tag is loggable at the specified level.
169 public static boolean isLoggable(String tag, int level) { argument
173 return Log.isLoggable(tag, level) || Log.isLoggable(TAG, level);
178 * @param tag Use
186 v(String tag, String format, Object... args) argument
204 v(String tag, Throwable tr, String format, Object... args) argument
221 d(String tag, String format, Object... args) argument
239 d(String tag, Throwable tr, String format, Object... args) argument
256 i(String tag, String format, Object... args) argument
274 i(String tag, Throwable tr, String format, Object... args) argument
291 w(String tag, String format, Object... args) argument
309 w(String tag, Throwable tr, String format, Object... args) argument
326 e(String tag, String format, Object... args) argument
344 e(String tag, Throwable tr, String format, Object... args) argument
365 wtf(String tag, String format, Object... args) argument
384 wtf(String tag, Throwable tr, String format, Object... args) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/utils/
H A DObexAppParameters.java43 byte tag = raw[i++];
53 this.add(tag, val);
99 public boolean exists(byte tag) { argument
100 return mParams.containsKey(tag);
103 public void add(byte tag, byte val) { argument
105 mParams.put(tag, bval);
108 public void add(byte tag, short val) { argument
110 mParams.put(tag, bval);
113 public void add(byte tag, int val) { argument
115 mParams.put(tag, bva
118 add(byte tag, long val) argument
123 add(byte tag, String val) argument
128 add(byte tag, byte[] bval) argument
132 getByte(byte tag) argument
142 getShort(byte tag) argument
152 getInt(byte tag) argument
162 getString(byte tag) argument
172 getByteArray(byte tag) argument
[all...]
/packages/apps/TV/common/src/com/android/tv/common/
H A DSoftPreconditions.java43 * @param tag Used to identify the source of a log message. It usually
48 public static void checkArgument(final boolean expression, String tag, String msg) { argument
50 warn(tag, "Illegal argument", msg, new IllegalArgumentException(msg));
69 * @param tag Used to identify the source of a log message. It usually
75 public static <T> T checkNotNull(final T reference, String tag, String msg) { argument
77 warn(tag, "Null Pointer", msg, new NullPointerException(msg));
98 * @param tag Used to identify the source of a log message. It usually
103 public static void checkState(final boolean expression, String tag, String msg) { argument
105 warn(tag, "Illegal State", msg, new IllegalStateException(msg));
125 * @param tag use
129 checkFeatureEnabled(Context context, Feature feature, String tag) argument
141 warn(String tag, String prefix, String msg, Exception e) argument
[all...]
/packages/apps/Messaging/src/com/android/messaging/util/
H A DLogUtil.java72 * @param tag Used to identify the source of a log message. It usually identifies
76 public static void v(final String tag, final String msg) { argument
77 println(android.util.Log.VERBOSE, tag, msg);
82 * @param tag Used to identify the source of a log message. It usually identifies
87 public static void v(final String tag, final String msg, final Throwable tr) { argument
88 println(android.util.Log.VERBOSE, tag, msg + '\n'
94 * @param tag Used to identify the source of a log message. It usually identifies
98 public static void d(final String tag, final String msg) { argument
99 println(android.util.Log.DEBUG, tag, msg);
104 * @param tag Use
109 d(final String tag, final String msg, final Throwable tr) argument
120 i(final String tag, final String msg) argument
131 i(final String tag, final String msg, final Throwable tr) argument
142 w(final String tag, final String msg) argument
153 w(final String tag, final String msg, final Throwable tr) argument
164 e(final String tag, final String msg) argument
175 e(final String tag, final String msg, final Throwable tr) argument
189 wtf(final String tag, final String msg) argument
205 wtf(final String tag, final String msg, final Throwable tr) argument
219 println(final int level, final String tag, final String msg) argument
236 save(final int level, final String tag, final String msg) argument
247 isLoggable(final String tag, final int level) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsTransaction.java99 * @param tag A constant that can be used to retrieve the DB instance in this transaction.
102 public void startTransactionForDb(SQLiteDatabase db, String tag, argument
106 " tag=" + tag + " listener=" + listener +
107 " startTransaction=" + !hasDbInTransaction(tag),
110 if (!hasDbInTransaction(tag)) {
114 mDatabaseTagMap.put(tag, db);
124 * Returns whether DB corresponding to the given tag is currently enlisted in this transaction.
126 public boolean hasDbInTransaction(String tag) { argument
127 return mDatabaseTagMap.containsKey(tag);
136 getDbForTag(String tag) argument
148 removeDbForTag(String tag) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/exif/
H A DExifReader.java48 ExifTag tag = null;
57 tag = parser.getTag();
58 if (!tag.hasValue()) {
59 parser.registerForTagValue(tag);
61 exifData.getIfdData(tag.getIfd()).setTag(tag);
65 tag = parser.getTag();
66 if (tag.getDataType() == ExifTag.TYPE_UNDEFINED) {
67 parser.readFullTagValue(tag);
69 exifData.getIfdData(tag
[all...]
H A DIfdData.java75 * Gets the {@link ExifTag} with given tag id. Return null if there is no
76 * such tag.
85 protected ExifTag setTag(ExifTag tag) { argument
86 tag.setIfd(mIfdId);
87 return mExifTags.put(tag.getTagId(), tag);
95 * Removes the tag of the given ID
138 for (ExifTag tag : tags) {
139 if (ExifInterface.isOffsetTag(tag.getTagId())) {
142 ExifTag tag2 = mExifTags.get(tag
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifReader.java48 ExifTag tag = null;
57 tag = parser.getTag();
58 if (!tag.hasValue()) {
59 parser.registerForTagValue(tag);
61 exifData.getIfdData(tag.getIfd()).setTag(tag);
65 tag = parser.getTag();
66 if (tag.getDataType() == ExifTag.TYPE_UNDEFINED) {
67 parser.readFullTagValue(tag);
69 exifData.getIfdData(tag
[all...]
H A DIfdData.java75 * Gets the {@link ExifTag} with given tag id. Return null if there is no
76 * such tag.
85 protected ExifTag setTag(ExifTag tag) { argument
86 tag.setIfd(mIfdId);
87 return mExifTags.put(tag.getTagId(), tag);
95 * Removes the tag of the given ID
138 for (ExifTag tag : tags) {
139 if (ExifInterface.isOffsetTag(tag.getTagId())) {
142 ExifTag tag2 = mExifTags.get(tag
[all...]
/packages/apps/Messaging/src/com/android/messaging/util/exif/
H A DExifReader.java49 ExifTag tag = null;
58 tag = parser.getTag();
59 if (!tag.hasValue()) {
60 parser.registerForTagValue(tag);
62 exifData.getIfdData(tag.getIfd()).setTag(tag);
66 tag = parser.getTag();
67 if (tag.getDataType() == ExifTag.TYPE_UNDEFINED) {
68 parser.readFullTagValue(tag);
70 exifData.getIfdData(tag
[all...]
H A DIfdData.java75 * Gets the {@link ExifTag} with given tag id. Return null if there is no
76 * such tag.
85 protected ExifTag setTag(ExifTag tag) { argument
86 tag.setIfd(mIfdId);
87 return mExifTags.put(tag.getTagId(), tag);
95 * Removes the tag of the given ID
138 for (ExifTag tag : tags) {
139 if (ExifInterface.isOffsetTag(tag.getTagId())) {
142 ExifTag tag2 = mExifTags.get(tag
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DLogProblemReporter.java27 public LogProblemReporter(final String tag) { argument
28 TAG = tag;
/packages/apps/UnifiedEmail/src/com/android/mail/perf/
H A DTimer.java42 * timer will accumulate the results for each tag, and dump the results when asked.
95 * Starts timing an event indicated by the {@code tag}.
98 public void start(String tag) { argument
100 ArrayList<PerformancePoint> values = mPoints.get(tag);
103 mPoints.put(tag, values);
112 * Stops timing an event indicated by the {@code tag}
115 public void pause(String tag) { argument
117 ArrayList<PerformancePoint> values = mPoints.get(tag);
125 public void count(String tag) { argument
127 Integer counts = mCounts.get(tag);
188 startTiming(String tag) argument
197 stopTiming(String tag) argument
208 stopTiming(String tag, int numSubIterations) argument
226 dumpTimings(String tag, int numSubIterations, long cpuDurationNanos, long wallDurationMillis) argument
[all...]
/packages/apps/Tag/src/com/android/apps/tag/message/
H A DNdefMessageParser.java17 package com.android.apps.tag.message;
19 import com.android.apps.tag.record.ImageRecord;
20 import com.android.apps.tag.record.MimeRecord;
21 import com.android.apps.tag.record.ParsedNdefRecord;
22 import com.android.apps.tag.record.SmartPoster;
23 import com.android.apps.tag.record.TextRecord;
24 import com.android.apps.tag.record.UnknownRecord;
25 import com.android.apps.tag.record.UriRecord;
26 import com.android.apps.tag.record.VCardRecord;
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
H A DPackedString.java34 * element : [ value ] or [ value TAG-DELIMITER tag ]
54 * Get the value referred to by a given tag. If the tag does not exist, return null.
55 * @param tag identifier of string of interest
58 public String get(String tag) { argument
62 return mExploded.get(tag);
66 * Return a map of all of the values referred to by a given tag. This is a shallow
96 String tag;
100 // so synthesize a positional tag for the value, and don't update tagEndIndex
102 tag
142 put(String tag, String value) argument
155 get(String tag) argument
[all...]
/packages/services/Telephony/src/com/android/phone/common/mail/
H A DPackedString.java33 * element : [ value ] or [ value TAG-DELIMITER tag ]
53 * Get the value referred to by a given tag. If the tag does not exist, return null.
54 * @param tag identifier of string of interest
57 public String get(String tag) { argument
61 return mExploded.get(tag);
65 * Return a map of all of the values referred to by a given tag. This is a shallow
95 String tag;
99 // so synthesize a positional tag for the value, and don't update tagEndIndex
101 tag
141 put(String tag, String value) argument
154 get(String tag) argument
[all...]

Completed in 8212 milliseconds

12345678910