Home
last modified time | relevance | path

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

12345678910

/packages/apps/Camera2/src/com/android/camera/debug/
DLog.java50 public Tag(String tag) { in Tag() argument
51 final int lenDiff = tag.length() - MAX_TAG_LEN; in Tag()
53 w(TAG, "Tag " + tag + " is " + lenDiff + " chars longer than limit."); in Tag()
55 mValue = CAMERA_LOGTAG_PREFIX + (lenDiff > 0 ? tag.substring(0, MAX_TAG_LEN) : tag); in Tag()
64 public static void d(Tag tag, String msg) { in d() argument
65 if (isLoggable(tag, android.util.Log.DEBUG)) { in d()
66 android.util.Log.d(tag.toString(), msg); in d()
70 public static void d(Tag tag, Object instance, String msg) { in d() argument
71 if (isLoggable(tag, android.util.Log.DEBUG)) { in d()
72 android.util.Log.d(tag.toString(), LogUtil.addTags(instance, msg)); in d()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DLogUtils.java95 protected static boolean isDebugLoggingEnabled(String tag) { in isDebugLoggingEnabled() argument
102 return Log.isLoggable(tag, Log.DEBUG) || Log.isLoggable(TAG, Log.DEBUG); in isDebugLoggingEnabled()
117 public static String contentUriToString(String tag, Uri uri) { in contentUriToString() argument
118 if (isDebugLoggingEnabled(tag)) { in contentUriToString()
154 public static String sanitizeName(final String tag, final String name) { in sanitizeName() argument
159 if (isDebugLoggingEnabled(tag)) { in sanitizeName()
169 public static boolean isLoggable(String tag, int level) { in isLoggable() argument
173 return Log.isLoggable(tag, level) || Log.isLoggable(TAG, level); in isLoggable()
186 public static int v(String tag, String format, Object... args) { in v() argument
187 if (isLoggable(tag, VERBOSE)) { in v()
[all …]
/packages/services/Telephony/src/com/android/phone/common/mail/utils/
DLogUtils.java94 protected static boolean isDebugLoggingEnabled(String tag) { in isDebugLoggingEnabled() argument
101 return Log.isLoggable(tag, Log.DEBUG) || Log.isLoggable(TAG, Log.DEBUG); in isDebugLoggingEnabled()
116 public static String contentUriToString(String tag, Uri uri) { in contentUriToString() argument
117 if (isDebugLoggingEnabled(tag)) { in contentUriToString()
153 public static String sanitizeName(final String tag, final String name) { in sanitizeName() argument
158 if (isDebugLoggingEnabled(tag)) { in sanitizeName()
168 public static boolean isLoggable(String tag, int level) { in isLoggable() argument
172 return Log.isLoggable(tag, level) || Log.isLoggable(TAG, level); in isLoggable()
185 public static int v(String tag, String format, Object... args) { in v() argument
186 if (isLoggable(tag, VERBOSE)) { in v()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DLogUtil.java76 public static void v(final String tag, final String msg) { in v() argument
77 println(android.util.Log.VERBOSE, tag, msg); in v()
87 public static void v(final String tag, final String msg, final Throwable tr) { in v() argument
88 println(android.util.Log.VERBOSE, tag, msg + '\n' in v()
98 public static void d(final String tag, final String msg) { in d() argument
99 println(android.util.Log.DEBUG, tag, msg); in d()
109 public static void d(final String tag, final String msg, final Throwable tr) { in d() argument
110 println(android.util.Log.DEBUG, tag, msg + '\n' in d()
120 public static void i(final String tag, final String msg) { in i() argument
121 println(android.util.Log.INFO, tag, msg); in i()
[all …]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
DExifParser.java343 mTag = tagEvent.tag; in next()
512 protected void registerForTagValue(ExifTag tag) { in registerForTagValue() argument
513 if (tag.getOffset() >= mTiffStream.getReadByteCount()) { in registerForTagValue()
514 mCorrespondingEvent.put(tag.getOffset(), new ExifTagEvent(tag, true)); in registerForTagValue()
548 ExifTag tag = new ExifTag(tagId, dataFormat, (int) numOfComp, mIfdType, in readTag() local
550 int dataSize = tag.getDataSize(); in readTag()
563 tag.setValue(buf); in readTag()
565 tag.setOffset((int) offset); in readTag()
568 boolean defCount = tag.hasDefinedCount(); in readTag()
570 tag.setHasDefinedCount(false); in readTag()
[all …]
DExifModifier.java41 TagOffset(ExifTag tag, int offset) { in TagOffset() argument
42 mTag = tag; in TagOffset()
147 private void writeTagValue(ExifTag tag, int offset) { in writeTagValue() argument
149 Log.v(TAG, "modifying tag to: \n" + tag.toString()); in writeTagValue()
153 switch (tag.getDataType()) { in writeTagValue()
155 byte buf[] = tag.getStringByte(); in writeTagValue()
156 if (buf.length == tag.getComponentCount()) { in writeTagValue()
166 for (int i = 0, n = tag.getComponentCount(); i < n; i++) { in writeTagValue()
167 mByteBuffer.putInt((int) tag.getValueAt(i)); in writeTagValue()
172 for (int i = 0, n = tag.getComponentCount(); i < n; i++) { in writeTagValue()
[all …]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifParser.java343 mTag = tagEvent.tag; in next()
512 protected void registerForTagValue(ExifTag tag) { in registerForTagValue() argument
513 if (tag.getOffset() >= mTiffStream.getReadByteCount()) { in registerForTagValue()
514 mCorrespondingEvent.put(tag.getOffset(), new ExifTagEvent(tag, true)); in registerForTagValue()
548 ExifTag tag = new ExifTag(tagId, dataFormat, (int) numOfComp, mIfdType, in readTag() local
550 int dataSize = tag.getDataSize(); in readTag()
563 tag.setValue(buf); in readTag()
565 tag.setOffset((int) offset); in readTag()
568 boolean defCount = tag.hasDefinedCount(); in readTag()
570 tag.setHasDefinedCount(false); in readTag()
[all …]
DExifModifier.java42 TagOffset(ExifTag tag, int offset) { in TagOffset() argument
43 mTag = tag; in TagOffset()
148 private void writeTagValue(ExifTag tag, int offset) { in writeTagValue() argument
150 Log.v(TAG, "modifying tag to: \n" + tag.toString()); in writeTagValue()
154 switch (tag.getDataType()) { in writeTagValue()
156 byte buf[] = tag.getStringByte(); in writeTagValue()
157 if (buf.length == tag.getComponentCount()) { in writeTagValue()
167 for (int i = 0, n = tag.getComponentCount(); i < n; i++) { in writeTagValue()
168 mByteBuffer.putInt((int) tag.getValueAt(i)); in writeTagValue()
173 for (int i = 0, n = tag.getComponentCount(); i < n; i++) { in writeTagValue()
[all …]
DExifOutputStream.java162 short tag = mBuffer.getShort(); in write() local
163 if (tag == JpegHeader.EOI) { in write()
285 for (ExifTag tag : tags) { in writeIfd()
286 dataOutputStream.writeShort(tag.getTagId()); in writeIfd()
287 dataOutputStream.writeShort(tag.getDataType()); in writeIfd()
288 dataOutputStream.writeInt(tag.getComponentCount()); in writeIfd()
290 Log.v(TAG, "\n" + tag.toString()); in writeIfd()
292 if (tag.getDataSize() > 4) { in writeIfd()
293 dataOutputStream.writeInt(tag.getOffset()); in writeIfd()
295 ExifOutputStream.writeTagValue(tag, dataOutputStream); in writeIfd()
[all …]
/packages/apps/Camera2/src/com/android/camera/exif/
DExifParser.java343 mTag = tagEvent.tag; in next()
512 protected void registerForTagValue(ExifTag tag) { in registerForTagValue() argument
513 if (tag.getOffset() >= mTiffStream.getReadByteCount()) { in registerForTagValue()
514 mCorrespondingEvent.put(tag.getOffset(), new ExifTagEvent(tag, true)); in registerForTagValue()
548 ExifTag tag = new ExifTag(tagId, dataFormat, (int) numOfComp, mIfdType, in readTag() local
550 int dataSize = tag.getDataSize(); in readTag()
563 tag.setValue(buf); in readTag()
565 tag.setOffset((int) offset); in readTag()
568 boolean defCount = tag.hasDefinedCount(); in readTag()
570 tag.setHasDefinedCount(false); in readTag()
[all …]
DExifModifier.java41 TagOffset(ExifTag tag, int offset) { in TagOffset() argument
42 mTag = tag; in TagOffset()
147 private void writeTagValue(ExifTag tag, int offset) { in writeTagValue() argument
149 Log.v(TAG, "modifying tag to: \n" + tag.toString()); in writeTagValue()
153 switch (tag.getDataType()) { in writeTagValue()
155 byte buf[] = tag.getStringByte(); in writeTagValue()
156 if (buf.length == tag.getComponentCount()) { in writeTagValue()
166 for (int i = 0, n = tag.getComponentCount(); i < n; i++) { in writeTagValue()
167 mByteBuffer.putInt((int) tag.getValueAt(i)); in writeTagValue()
172 for (int i = 0, n = tag.getComponentCount(); i < n; i++) { in writeTagValue()
[all …]
DExifOutputStream.java162 short tag = mBuffer.getShort(); in write() local
163 if (tag == JpegHeader.EOI) { in write()
285 for (ExifTag tag : tags) { in writeIfd()
286 dataOutputStream.writeShort(tag.getTagId()); in writeIfd()
287 dataOutputStream.writeShort(tag.getDataType()); in writeIfd()
288 dataOutputStream.writeInt(tag.getComponentCount()); in writeIfd()
290 Log.v(TAG, "\n" + tag.toString()); in writeIfd()
292 if (tag.getDataSize() > 4) { in writeIfd()
293 dataOutputStream.writeInt(tag.getOffset()); in writeIfd()
295 ExifOutputStream.writeTagValue(tag, dataOutputStream); in writeIfd()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifParser.java344 mTag = tagEvent.tag; in next()
514 protected void registerForTagValue(ExifTag tag) { in registerForTagValue() argument
515 if (tag.getOffset() >= mTiffStream.getReadByteCount()) { in registerForTagValue()
516 mCorrespondingEvent.put(tag.getOffset(), new ExifTagEvent(tag, true)); in registerForTagValue()
550 ExifTag tag = new ExifTag(tagId, dataFormat, (int) numOfComp, mIfdType, in readTag() local
552 int dataSize = tag.getDataSize(); in readTag()
565 tag.setValue(buf); in readTag()
567 tag.setOffset((int) offset); in readTag()
570 boolean defCount = tag.hasDefinedCount(); in readTag()
572 tag.setHasDefinedCount(false); in readTag()
[all …]
DExifModifier.java42 TagOffset(ExifTag tag, int offset) { in TagOffset() argument
43 mTag = tag; in TagOffset()
148 private void writeTagValue(ExifTag tag, int offset) { in writeTagValue() argument
150 Log.v(TAG, "modifying tag to: \n" + tag.toString()); in writeTagValue()
154 switch (tag.getDataType()) { in writeTagValue()
156 byte buf[] = tag.getStringByte(); in writeTagValue()
157 if (buf.length == tag.getComponentCount()) { in writeTagValue()
167 for (int i = 0, n = tag.getComponentCount(); i < n; i++) { in writeTagValue()
168 mByteBuffer.putInt((int) tag.getValueAt(i)); in writeTagValue()
173 for (int i = 0, n = tag.getComponentCount(); i < n; i++) { in writeTagValue()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DLog.java20 public static int v(String tag, String msg) { in v() argument
21 return android.util.Log.v(tag, msg); in v()
23 public static int v(String tag, String msg, Throwable tr) { in v() argument
24 return android.util.Log.v(tag, msg, tr); in v()
26 public static int d(String tag, String msg) { in d() argument
27 return android.util.Log.d(tag, msg); in d()
29 public static int d(String tag, String msg, Throwable tr) { in d() argument
30 return android.util.Log.d(tag, msg, tr); in d()
32 public static int i(String tag, String msg) { in i() argument
33 return android.util.Log.i(tag, msg); in i()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DLog.java20 public static int v(String tag, String msg) { in v() argument
21 return android.util.Log.v(tag, msg); in v()
23 public static int v(String tag, String msg, Throwable tr) { in v() argument
24 return android.util.Log.v(tag, msg, tr); in v()
26 public static int d(String tag, String msg) { in d() argument
27 return android.util.Log.d(tag, msg); in d()
29 public static int d(String tag, String msg, Throwable tr) { in d() argument
30 return android.util.Log.d(tag, msg, tr); in d()
32 public static int i(String tag, String msg) { in i() argument
33 return android.util.Log.i(tag, msg); in i()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DLog.java21 public static int v(String tag, String msg) { in v() argument
22 return android.util.Log.v(tag, msg); in v()
24 public static int v(String tag, String msg, Throwable tr) { in v() argument
25 return android.util.Log.v(tag, msg, tr); in v()
27 public static int d(String tag, String msg) { in d() argument
28 return android.util.Log.d(tag, msg); in d()
30 public static int d(String tag, String msg, Throwable tr) { in d() argument
31 return android.util.Log.d(tag, msg, tr); in d()
33 public static int i(String tag, String msg) { in i() argument
34 return android.util.Log.i(tag, msg); in i()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLog.java20 public static int v(String tag, String msg) { in v() argument
21 return android.util.Log.v(tag, msg); in v()
23 public static int v(String tag, String msg, Throwable tr) { in v() argument
24 return android.util.Log.v(tag, msg, tr); in v()
26 public static int d(String tag, String msg) { in d() argument
27 return android.util.Log.d(tag, msg); in d()
29 public static int d(String tag, String msg, Throwable tr) { in d() argument
30 return android.util.Log.d(tag, msg, tr); in d()
32 public static int i(String tag, String msg) { in i() argument
33 return android.util.Log.i(tag, msg); in i()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/utils/
DObexAppParameters.java43 byte tag = raw[i++]; in ObexAppParameters()
53 this.add(tag, val); in ObexAppParameters()
99 public boolean exists(byte tag) { in exists() argument
100 return mParams.containsKey(tag); in exists()
103 public void add(byte tag, byte val) { in add() argument
105 mParams.put(tag, bval); in add()
108 public void add(byte tag, short val) { in add() argument
110 mParams.put(tag, bval); in add()
113 public void add(byte tag, int val) { in add() argument
115 mParams.put(tag, bval); in add()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
DDoxyfile.in20 # This tag specifies the encoding used for all characters in the config file
22 # before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
43 # Using the PROJECT_BRIEF tag one can provide an optional one line description
49 # With the PROJECT_LOGO tag one can specify an logo or icon that is included in
56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
63 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
73 # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
81 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/perf/
DTimer.java98 public void start(String tag) { in start() argument
100 ArrayList<PerformancePoint> values = mPoints.get(tag); in start()
103 mPoints.put(tag, values); in start()
115 public void pause(String tag) { in pause() argument
117 ArrayList<PerformancePoint> values = mPoints.get(tag); in pause()
125 public void count(String tag) { in count() argument
127 Integer counts = mCounts.get(tag); in count()
131 mCounts.put(tag, counts + 1); in count()
150 String tag = entry.getKey(); in dumpResults() local
167 dumpTimings(tag, 1, cpuDurationNanos, wallDurationMillis); in dumpResults()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsTransaction.java102 public void startTransactionForDb(SQLiteDatabase db, String tag, in startTransactionForDb() argument
106 " tag=" + tag + " listener=" + listener + in startTransactionForDb()
107 " startTransaction=" + !hasDbInTransaction(tag), in startTransactionForDb()
110 if (!hasDbInTransaction(tag)) { in startTransactionForDb()
114 mDatabaseTagMap.put(tag, db); in startTransactionForDb()
126 public boolean hasDbInTransaction(String tag) { in hasDbInTransaction() argument
127 return mDatabaseTagMap.containsKey(tag); in hasDbInTransaction()
136 public SQLiteDatabase getDbForTag(String tag) { in getDbForTag() argument
137 return mDatabaseTagMap.get(tag); in getDbForTag()
148 public SQLiteDatabase removeDbForTag(String tag) { in removeDbForTag() argument
[all …]
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/
DLog.java25 public static void d(final String tag, final String message) { in d() argument
26 System.out.println(tag + " : " + message); in d()
28 public static void d(final String tag, final String message, final Throwable t) { in d() argument
29 System.out.println(tag + " : " + message + " : " + t); in d()
31 public static void e(final String tag, final String message) { in e() argument
32 d(tag, message); in e()
34 public static void e(final String tag, final String message, final Throwable t) { in e() argument
35 d(tag, message, t); in e()
37 public static void w(final String tag, final String message) { in w() argument
38 d(tag, message); in w()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DXmlParseUtils.java40 public IllegalStartTag(final XmlPullParser parser, final String tag, final String parent) { in IllegalStartTag() argument
41 super("Illegal start tag " + tag + " in " + parent, parser); in IllegalStartTag()
47 public IllegalEndTag(final XmlPullParser parser, final String tag, final String parent) { in IllegalEndTag() argument
48 super("Illegal end tag " + tag + " in " + parent, parser); in IllegalEndTag()
54 public IllegalAttribute(final XmlPullParser parser, final String tag, in IllegalAttribute() argument
56 super("Tag " + tag + " has illegal attribute " + attribute, parser); in IllegalAttribute()
62 public NonEmptyTag(final XmlPullParser parser, final String tag) { in NonEmptyTag() argument
63 super(tag + " must be empty tag", parser); in NonEmptyTag()
67 public static void checkEndTag(final String tag, final XmlPullParser parser) in checkEndTag() argument
69 if (parser.next() == XmlPullParser.END_TAG && tag.equals(parser.getName())) in checkEndTag()
[all …]
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java246 public void onRemoteEndpointDiscovered(TagEndpoint tag) { in onRemoteEndpointDiscovered() argument
247 sendMessage(NfcService.MSG_NDEF_TAG, tag); in onRemoteEndpointDiscovered()
848 TagEndpoint tag = (TagEndpoint) findAndRemoveObject(nativeHandle); in ignore() local
849 if (tag != null) { in ignore()
851 int uidLength = tag.getUid().length; in ignore()
856 System.arraycopy(tag.getUid(), 0, mDebounceTagUid, 0, uidLength); in ignore()
862 tag.disconnect(); in ignore()
949 public void dispatch(Tag tag) throws RemoteException { in dispatch() argument
951 mNfcDispatcher.dispatchTag(tag); in dispatch()
1067 TagEndpoint tag = null; in connect() local
[all …]

12345678910