Home
last modified time | relevance | path

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

12345678910>>...15

/frameworks/base/core/java/android/util/
DLog.java99 void onTerribleFailure(String tag, TerribleFailure what); in onTerribleFailure() argument
103 public void onTerribleFailure(String tag, TerribleFailure what) {
104 RuntimeInit.wtf(tag, what);
117 public static int v(String tag, String msg) { in v() argument
118 return println_native(LOG_ID_MAIN, VERBOSE, tag, msg); in v()
128 public static int v(String tag, String msg, Throwable tr) { in v() argument
129 return println_native(LOG_ID_MAIN, VERBOSE, tag, msg + '\n' + getStackTraceString(tr)); in v()
138 public static int d(String tag, String msg) { in d() argument
139 return println_native(LOG_ID_MAIN, DEBUG, tag, msg); in d()
149 public static int d(String tag, String msg, Throwable tr) { in d() argument
[all …]
DSlog.java32 public static int v(String tag, String msg) { in v() argument
33 return Log.println_native(Log.LOG_ID_SYSTEM, Log.VERBOSE, tag, msg); in v()
36 public static int v(String tag, String msg, Throwable tr) { in v() argument
37 return Log.println_native(Log.LOG_ID_SYSTEM, Log.VERBOSE, tag, in v()
41 public static int d(String tag, String msg) { in d() argument
42 return Log.println_native(Log.LOG_ID_SYSTEM, Log.DEBUG, tag, msg); in d()
45 public static int d(String tag, String msg, Throwable tr) { in d() argument
46 return Log.println_native(Log.LOG_ID_SYSTEM, Log.DEBUG, tag, in d()
50 public static int i(String tag, String msg) { in i() argument
51 return Log.println_native(Log.LOG_ID_SYSTEM, Log.INFO, tag, msg); in i()
[all …]
/frameworks/base/telephony/java/android/telephony/
DRlog.java36 public static int v(String tag, String msg) { in v() argument
37 return Log.println_native(Log.LOG_ID_RADIO, Log.VERBOSE, tag, msg); in v()
40 public static int v(String tag, String msg, Throwable tr) { in v() argument
41 return Log.println_native(Log.LOG_ID_RADIO, Log.VERBOSE, tag, in v()
45 public static int d(String tag, String msg) { in d() argument
46 return Log.println_native(Log.LOG_ID_RADIO, Log.DEBUG, tag, msg); in d()
49 public static int d(String tag, String msg, Throwable tr) { in d() argument
50 return Log.println_native(Log.LOG_ID_RADIO, Log.DEBUG, tag, in d()
54 public static int i(String tag, String msg) { in i() argument
55 return Log.println_native(Log.LOG_ID_RADIO, Log.INFO, tag, msg); in i()
[all …]
/frameworks/base/packages/WallpaperCropper/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 …]
DExifReader.java48 ExifTag tag = null; in read() local
57 tag = parser.getTag(); in read()
58 if (!tag.hasValue()) { in read()
59 parser.registerForTagValue(tag); in read()
61 exifData.getIfdData(tag.getIfd()).setTag(tag); in read()
65 tag = parser.getTag(); in read()
66 if (tag.getDataType() == ExifTag.TYPE_UNDEFINED) { in read()
67 parser.readFullTagValue(tag); in read()
69 exifData.getIfdData(tag.getIfd()).setTag(tag); in read()
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 …]
DIfdData.java85 protected ExifTag setTag(ExifTag tag) { in setTag() argument
86 tag.setIfd(mIfdId); in setTag()
87 return mExifTags.put(tag.getTagId(), tag); in setTag()
138 for (ExifTag tag : tags) { in equals()
139 if (ExifInterface.isOffsetTag(tag.getTagId())) { in equals()
142 ExifTag tag2 = mExifTags.get(tag.getTagId()); in equals()
143 if (!tag.equals(tag2)) { in equals()
DExifData.java159 protected ExifTag getTag(short tag, int ifd) { in getTag() argument
161 return (ifdData == null) ? null : ifdData.getTag(tag); in getTag()
168 protected ExifTag addTag(ExifTag tag) { in addTag() argument
169 if (tag != null) { in addTag()
170 int ifd = tag.getIfd(); in addTag()
171 return addTag(tag, ifd); in addTag()
180 protected ExifTag addTag(ExifTag tag, int ifdId) { in addTag() argument
181 if (tag != null && ExifTag.isValidIfd(ifdId)) { in addTag()
183 return ifdData.setTag(tag); in addTag()
221 ExifTag tag = ifdData.getTag(ExifInterface.getTrueTagKey(ExifInterface.TAG_USER_COMMENT)); in getUserComment() local
[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 …]
/frameworks/base/core/java/android/os/
DDropBoxManager.java98 public Entry(String tag, long millis) { in Entry() argument
99 if (tag == null) throw new NullPointerException("tag == null"); in Entry()
101 mTag = tag; in Entry()
109 public Entry(String tag, long millis, String text) { in Entry() argument
110 if (tag == null) throw new NullPointerException("tag == null"); in Entry()
113 mTag = tag; in Entry()
124 public Entry(String tag, long millis, byte[] data, int flags) { in Entry() argument
125 if (tag == null) throw new NullPointerException("tag == null"); in Entry()
130 mTag = tag; in Entry()
141 public Entry(String tag, long millis, ParcelFileDescriptor data, int flags) { in Entry() argument
[all …]
DTokenWatcher.java42 public TokenWatcher(Handler h, String tag) in TokenWatcher() argument
45 mTag = tag != null ? tag : "TokenWatcher"; in TokenWatcher()
68 public void acquire(IBinder token, String tag) in acquire() argument
75 Death d = new Death(token, tag); in acquire()
140 a.add("[" + i + "] " + mTokens.get(b).tag + " - " + b); in dumpInternal()
183 String tag; field in TokenWatcher.Death
185 Death(IBinder token, String tag) in Death() argument
188 this.tag = tag; in Death()
200 Log.w(mTag, "cleaning up leaked reference: " + tag); in finalize()
/frameworks/av/camera/
DCameraMetadata.cpp168 status_t CameraMetadata::checkType(uint32_t tag, uint8_t expectedType) { in checkType() argument
169 int tagType = get_camera_metadata_tag_type(tag); in checkType()
171 ALOGE("Update metadata entry: Unknown tag %d", tag); in checkType()
177 get_camera_metadata_tag_name(tag), tag, in checkType()
185 status_t CameraMetadata::update(uint32_t tag, in update() argument
192 if ( (res = checkType(tag, TYPE_INT32)) != OK) { in update()
195 return updateImpl(tag, (const void*)data, data_count); in update()
198 status_t CameraMetadata::update(uint32_t tag, in update() argument
205 if ( (res = checkType(tag, TYPE_BYTE)) != OK) { in update()
208 return updateImpl(tag, (const void*)data, data_count); in update()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DGestureRecorder.java79 public String tag, info; field in GestureRecorder.Gesture.TagRecord
80 public TagRecord(long when, String tag, String info) { in TagRecord() argument
82 this.tag = tag; in TagRecord()
88 this.tag, in toJson()
114 public void tag(long when, String tag, String info) { in tag() method in GestureRecorder.Gesture
115 mRecords.add(new TagRecord(when, tag, info)); in tag()
116 mTags.add(tag); in tag()
171 public void tag(long when, String tag, String info) { in tag() method in GestureRecorder
177 mCurrentGesture.tag(when, tag, info); in tag()
182 public void tag(long when, String tag) { in tag() method in GestureRecorder
[all …]
/frameworks/av/include/camera/
DCameraMetadata.h126 status_t update(uint32_t tag,
128 status_t update(uint32_t tag,
130 status_t update(uint32_t tag,
132 status_t update(uint32_t tag,
134 status_t update(uint32_t tag,
136 status_t update(uint32_t tag,
138 status_t update(uint32_t tag,
142 status_t update(uint32_t tag, Vector<T> data) { in update() argument
143 return update(tag, data.array(), data.size()); in update()
150 bool exists(uint32_t tag) const;
[all …]
/frameworks/base/core/jni/
Dandroid_os_Trace.cpp48 jlong tag, jstring nameStr, jint value) { in android_os_Trace_nativeTraceCounter() argument
51 ALOGV("%s: %lld %s %d", __FUNCTION__, tag, name.c_str(), value); in android_os_Trace_nativeTraceCounter()
52 atrace_int(tag, name.c_str(), value); in android_os_Trace_nativeTraceCounter()
56 jlong tag, jstring nameStr) { in android_os_Trace_nativeTraceBegin() argument
62 ALOGV("%s: %lld %s", __FUNCTION__, tag, utf8Chars.string()); in android_os_Trace_nativeTraceBegin()
63 atrace_begin(tag, utf8Chars.string()); in android_os_Trace_nativeTraceBegin()
67 jlong tag) { in android_os_Trace_nativeTraceEnd() argument
69 ALOGV("%s: %lld", __FUNCTION__, tag); in android_os_Trace_nativeTraceEnd()
70 atrace_end(tag); in android_os_Trace_nativeTraceEnd()
74 jlong tag, jstring nameStr, jint cookie) { in android_os_Trace_nativeAsyncTraceBegin() argument
[all …]
Dandroid_util_Log.cpp60 static jboolean isLoggable(const char* tag, jint level) { in isLoggable() argument
63 key.append(tag); in isLoggable()
74 static jboolean android_util_Log_isLoggable(JNIEnv* env, jobject clazz, jstring tag, jint level) in android_util_Log_isLoggable() argument
76 if (tag == NULL) { in android_util_Log_isLoggable()
80 const char* chars = env->GetStringUTFChars(tag, NULL); in android_util_Log_isLoggable()
96 env->ReleaseStringUTFChars(tag, chars); in android_util_Log_isLoggable()
100 bool android_util_Log_isVerboseLogEnabled(const char* tag) { in android_util_Log_isVerboseLogEnabled() argument
101 return isLoggable(tag, levels.verbose); in android_util_Log_isVerboseLogEnabled()
111 const char* tag = NULL; in android_util_Log_println_native() local
125 tag = env->GetStringUTFChars(tagObj, NULL); in android_util_Log_println_native()
[all …]
Dandroid_hardware_camera2_CameraMetadata.cpp63 uint32_t tag, in updateAny()
88 return metadata->update(tag, dataPtr, dataCount); \ in updateAny()
114 static jint CameraMetadata_getTypeFromTag(JNIEnv *env, jobject thiz, jint tag);
230 static jbyteArray CameraMetadata_readValues(JNIEnv *env, jobject thiz, jint tag) { in CameraMetadata_readValues() argument
231 ALOGV("%s (tag = %d)", __FUNCTION__, tag); in CameraMetadata_readValues()
236 int tagType = get_camera_metadata_tag_type(tag); in CameraMetadata_readValues()
239 "Tag (%d) did not have a type", tag); in CameraMetadata_readValues()
244 camera_metadata_entry entry = metadata->find(tag); in CameraMetadata_readValues()
246 if (!metadata->exists(tag)) { in CameraMetadata_readValues()
247 ALOGV("%s: Tag %d does not have any entries", __FUNCTION__, tag); in CameraMetadata_readValues()
[all …]
/frameworks/support/v4/java/android/support/v4/net/
DTrafficStatsCompat.java34 void incrementOperationCount(int tag, int operationCount); in incrementOperationCount() argument
35 void setThreadStatsTag(int tag); in setThreadStatsTag() argument
67 public void incrementOperationCount(int tag, int operationCount) { in incrementOperationCount() argument
71 public void setThreadStatsTag(int tag) { in setThreadStatsTag() argument
72 mThreadSocketTags.get().statsTag = tag; in setThreadStatsTag()
101 public void incrementOperationCount(int tag, int operationCount) { in incrementOperationCount() argument
102 TrafficStatsCompatIcs.incrementOperationCount(tag, operationCount); in incrementOperationCount()
106 public void setThreadStatsTag(int tag) { in setThreadStatsTag() argument
107 TrafficStatsCompatIcs.setThreadStatsTag(tag); in setThreadStatsTag()
166 public static void incrementOperationCount(int tag, int operationCount) { in incrementOperationCount() argument
[all …]
/frameworks/base/services/java/com/android/server/
DDropBoxManagerService.java181 final String tag = entry.getTag(); in add() local
187 if (!isTagEnabled(tag)) return; in add()
238 … Slog.w(TAG, "Dropping: " + tag + " (" + temp.length() + " > " + max + " bytes)"); in add()
245 long time = createEntry(temp, tag, flags); in add()
249 dropboxIntent.putExtra(DropBoxManager.EXTRA_TAG, tag); in add()
260 Slog.e(TAG, "Can't write: " + tag, e); in add()
268 public boolean isTagEnabled(String tag) { in isTagEnabled() argument
272 mContentResolver, Settings.Global.DROPBOX_TAG_PREFIX + tag)); in isTagEnabled()
278 public synchronized DropBoxManager.Entry getNextEntry(String tag, long millis) { in getNextEntry() argument
291 FileList list = tag == null ? mAllFiles : mFilesByTag.get(tag); in getNextEntry()
[all …]
/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java31 private final String tag; field in StatusBarNotification
43 public StatusBarNotification(String pkg, int id, String tag, int uid, int initialPid, int score, in StatusBarNotification() argument
45 this(pkg, null, id, tag, uid, initialPid, score, notification, user); in StatusBarNotification()
49 public StatusBarNotification(String pkg, String basePkg, int id, String tag, int uid, in StatusBarNotification() argument
51 this(pkg, basePkg, id, tag, uid, initialPid, score, notification, user, in StatusBarNotification()
55 public StatusBarNotification(String pkg, String basePkg, int id, String tag, int uid, in StatusBarNotification() argument
64 this.tag = tag; in StatusBarNotification()
80 this.tag = in.readString(); in StatusBarNotification()
82 this.tag = null; in StatusBarNotification()
97 if (this.tag != null) { in writeToParcel()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DAndroidPrintStream.java29 private final String tag; field in AndroidPrintStream
37 public AndroidPrintStream(int priority, String tag) { in AndroidPrintStream() argument
38 if (tag == null) { in AndroidPrintStream()
43 this.tag = tag; in AndroidPrintStream()
47 Log.println(priority, tag, line); in log()
/frameworks/av/media/libstagefright/
DESDS.cpp71 uint8_t *tag, size_t *data_offset, size_t *data_size) const { in skipDescriptorHeader() argument
76 *tag = mData[offset++]; in skipDescriptorHeader()
94 ALOGV("tag=0x%02x data_size=%d", *tag, *data_size); in skipDescriptorHeader()
106 uint8_t tag; in parse() local
110 skipDescriptorHeader(0, mSize, &tag, &data_offset, &data_size); in parse()
116 if (tag != kTag_ESDescriptor) { in parse()
173 uint8_t tag; in parseESDescriptor() local
176 offset, size, &tag, &sub_offset, &sub_size); in parseESDescriptor()
182 if (tag != kTag_DecoderConfigDescriptor) { in parseESDescriptor()
207 uint8_t tag; in parseDecoderConfigDescriptor() local
[all …]
/frameworks/base/core/java/android/text/
DHtml.java87 public void handleTag(boolean opening, String tag, in handleTag() argument
478 private void handleStartTag(String tag, Attributes attributes) { in handleStartTag() argument
479 if (tag.equalsIgnoreCase("br")) { in handleStartTag()
482 } else if (tag.equalsIgnoreCase("p")) { in handleStartTag()
484 } else if (tag.equalsIgnoreCase("div")) { in handleStartTag()
486 } else if (tag.equalsIgnoreCase("strong")) { in handleStartTag()
488 } else if (tag.equalsIgnoreCase("b")) { in handleStartTag()
490 } else if (tag.equalsIgnoreCase("em")) { in handleStartTag()
492 } else if (tag.equalsIgnoreCase("cite")) { in handleStartTag()
494 } else if (tag.equalsIgnoreCase("dfn")) { in handleStartTag()
[all …]
/frameworks/base/core/java/android/net/
DNetworkStats.java67 private int[] tag; field in NetworkStats
78 public int tag; field in NetworkStats.Entry
94 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, in Entry() argument
99 this.tag = tag; in Entry()
130 builder.append(" tag=").append(tagToString(tag)); in toString()
143 return uid == e.uid && set == e.set && tag == e.tag && rxBytes == e.rxBytes in equals()
158 this.tag = new int[initialSize]; in NetworkStats()
172 tag = parcel.createIntArray(); in NetworkStats()
187 dest.writeIntArray(tag); in writeToParcel()
214 public NetworkStats addValues(String iface, int uid, int set, int tag, long rxBytes, in addValues() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DBerTlv.java38 private BerTlv(int tag, List<ComprehensionTlv> ctlvs, boolean lengthValid) { in BerTlv() argument
39 mTag = tag; in BerTlv()
81 int tag, length = 0; in decode() local
86 tag = data[curIndex++] & 0xff; in decode()
87 if (tag == BER_PROACTIVE_COMMAND_TAG) { in decode()
110 if (ComprehensionTlvTag.COMMAND_DETAILS.value() == (tag & ~0x80)) { in decode()
111 tag = BER_UNKNOWN_TAG; in decode()
133 if (tag == BER_PROACTIVE_COMMAND_TAG) { in decode()
159 return new BerTlv(tag, ctlvs, isLengthValid); in decode()

12345678910>>...15