/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/debug/ |
D | Log.java | 44 public Tag(String tag) { in Tag() argument 45 final int lenDiff = tag.length() - MAX_TAG_LEN; in Tag() 47 w(TAG, "Tag " + tag + " is " + lenDiff + " chars longer than limit."); in Tag() 49 mValue = CAMERA_LOGTAG_PREFIX + (lenDiff > 0 ? tag.substring(0, MAX_TAG_LEN) : tag); in Tag() 58 public static void d(Tag tag, String msg) { in d() argument 59 if (isLoggable(tag, android.util.Log.DEBUG)) { in d() 60 android.util.Log.d(tag.toString(), msg); in d() 64 public static void d(Tag tag, String msg, Throwable tr) { in d() argument 65 if (isLoggable(tag, android.util.Log.DEBUG)) { in d() 66 android.util.Log.d(tag.toString(), msg, tr); in d() [all …]
|
/frameworks/base/core/java/android/util/ |
D | Log.java | 99 void onTerribleFailure(String tag, TerribleFailure what, boolean system); in onTerribleFailure() argument 103 public void onTerribleFailure(String tag, TerribleFailure what, boolean system) { 104 RuntimeInit.wtf(tag, what, system); 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 …]
|
D | Slog.java | 27 public static int v(String tag, String msg) { in v() argument 28 return Log.println_native(Log.LOG_ID_SYSTEM, Log.VERBOSE, tag, msg); in v() 31 public static int v(String tag, String msg, Throwable tr) { in v() argument 32 return Log.println_native(Log.LOG_ID_SYSTEM, Log.VERBOSE, tag, in v() 36 public static int d(String tag, String msg) { in d() argument 37 return Log.println_native(Log.LOG_ID_SYSTEM, Log.DEBUG, tag, msg); in d() 40 public static int d(String tag, String msg, Throwable tr) { in d() argument 41 return Log.println_native(Log.LOG_ID_SYSTEM, Log.DEBUG, tag, in d() 45 public static int i(String tag, String msg) { in i() argument 46 return Log.println_native(Log.LOG_ID_SYSTEM, Log.INFO, tag, msg); in i() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | Rlog.java | 31 public static int v(String tag, String msg) { in v() argument 32 return Log.println_native(Log.LOG_ID_RADIO, Log.VERBOSE, tag, msg); in v() 35 public static int v(String tag, String msg, Throwable tr) { in v() argument 36 return Log.println_native(Log.LOG_ID_RADIO, Log.VERBOSE, tag, in v() 40 public static int d(String tag, String msg) { in d() argument 41 return Log.println_native(Log.LOG_ID_RADIO, Log.DEBUG, tag, msg); in d() 44 public static int d(String tag, String msg, Throwable tr) { in d() argument 45 return Log.println_native(Log.LOG_ID_RADIO, Log.DEBUG, tag, in d() 49 public static int i(String tag, String msg) { in i() argument 50 return Log.println_native(Log.LOG_ID_RADIO, Log.INFO, tag, msg); in i() [all …]
|
/frameworks/multidex/library/test/src/android/util/ |
D | Log.java | 67 public static int v(String tag, String msg) { in v() argument 68 return println(LOG_ID_MAIN, VERBOSE, tag, msg); in v() 78 public static int v(String tag, String msg, Throwable tr) { in v() argument 79 return println(LOG_ID_MAIN, VERBOSE, tag, msg + '\n' + getStackTraceString(tr)); in v() 88 public static int d(String tag, String msg) { in d() argument 89 return println(LOG_ID_MAIN, DEBUG, tag, msg); in d() 99 public static int d(String tag, String msg, Throwable tr) { in d() argument 100 return println(LOG_ID_MAIN, DEBUG, tag, msg + '\n' + getStackTraceString(tr)); in d() 109 public static int i(String tag, String msg) { in i() argument 110 return println(LOG_ID_MAIN, INFO, tag, msg); in i() [all …]
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/ |
D | ObexAppParameters.java | 43 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 …]
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/ |
D | ObexAppParameters.java | 43 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 …]
|
/frameworks/av/camera/ |
D | VendorTagDescriptor.cpp | 39 static const char* vendor_tag_descriptor_get_section_name(const vendor_tag_ops_t* v, uint32_t tag); 40 static const char* vendor_tag_descriptor_get_tag_name(const vendor_tag_ops_t* v, uint32_t tag); 41 static int vendor_tag_descriptor_get_tag_type(const vendor_tag_ops_t* v, uint32_t tag); 85 uint32_t tag = tagArray[i]; in createDescriptorFromOps() local 86 if (tag < CAMERA_METADATA_VENDOR_TAG_BOUNDARY) { in createDescriptorFromOps() 87 ALOGE("%s: vendor tag %d not in vendor tag section.", __FUNCTION__, tag); in createDescriptorFromOps() 90 const char *tagName = vOps->get_tag_name(vOps, tag); in createDescriptorFromOps() 92 ALOGE("%s: no tag name defined for vendor tag %d.", __FUNCTION__, tag); in createDescriptorFromOps() 95 desc->mTagToNameMap.add(tag, String8(tagName)); in createDescriptorFromOps() 96 const char *sectionName = vOps->get_section_name(vOps, tag); in createDescriptorFromOps() [all …]
|
D | CameraMetadata.cpp | 171 status_t CameraMetadata::checkType(uint32_t tag, uint8_t expectedType) { in checkType() argument 172 int tagType = get_camera_metadata_tag_type(tag); in checkType() 174 ALOGE("Update metadata entry: Unknown tag %d", tag); in checkType() 180 get_camera_metadata_tag_name(tag), tag, in checkType() 188 status_t CameraMetadata::update(uint32_t tag, in update() argument 195 if ( (res = checkType(tag, TYPE_INT32)) != OK) { in update() 198 return updateImpl(tag, (const void*)data, data_count); in update() 201 status_t CameraMetadata::update(uint32_t tag, in update() argument 208 if ( (res = checkType(tag, TYPE_BYTE)) != OK) { in update() 211 return updateImpl(tag, (const void*)data, data_count); in update() [all …]
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | ExifParser.java | 343 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 …]
|
D | ExifReader.java | 48 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()
|
D | ExifModifier.java | 41 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 …]
|
/frameworks/base/core/java/android/os/ |
D | DropBoxManager.java | 95 public Entry(String tag, long millis) { in Entry() argument 96 if (tag == null) throw new NullPointerException("tag == null"); in Entry() 98 mTag = tag; in Entry() 106 public Entry(String tag, long millis, String text) { in Entry() argument 107 if (tag == null) throw new NullPointerException("tag == null"); in Entry() 110 mTag = tag; in Entry() 121 public Entry(String tag, long millis, byte[] data, int flags) { in Entry() argument 122 if (tag == null) throw new NullPointerException("tag == null"); in Entry() 127 mTag = tag; in Entry() 138 public Entry(String tag, long millis, ParcelFileDescriptor data, int flags) { in Entry() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | GestureRecorder.java | 79 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() argument 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() argument 177 mCurrentGesture.tag(when, tag, info); in tag() 182 public void tag(long when, String tag) { in tag() argument [all …]
|
/frameworks/av/camera/tests/ |
D | VendorTagDescriptorTests.cpp | 41 static bool ContainsTag(uint32_t* tagArray, size_t size, uint32_t tag) { in ContainsTag() argument 43 if (tag == tagArray[i]) return true; in ContainsTag() 64 static const char* default_get_section_name(const vendor_tag_ops_t* vOps, uint32_t tag) { in default_get_section_name() argument 68 static const char* default_get_tag_name(const vendor_tag_ops_t* vOps, uint32_t tag) { in default_get_tag_name() argument 72 static int default_get_tag_type(const vendor_tag_ops_t* vOps, uint32_t tag) { in default_get_tag_type() argument 113 uint32_t tag; in TEST() local 116 tag = descTagArray[i]; in TEST() 117 EXPECT_CONTAINS_TAG(tag, opsTagArray); in TEST() 118 EXPECT_EQ(vDesc->getTagType(tag), vOps->get_tag_type(vOps, tag)); in TEST() 119 EXPECT_STREQ(vDesc->getSectionName(tag), vOps->get_section_name(vOps, tag)); in TEST() [all …]
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | TiffWriter.h | 144 status_t addEntry(uint16_t tag, uint32_t count, const T* data, uint32_t ifd); 161 status_t buildEntry(uint16_t tag, uint32_t count, const T* data, 182 virtual sp<TiffEntry> getEntry(uint16_t tag, uint32_t ifd) const; 187 virtual void removeEntry(uint16_t tag, uint32_t ifd); 204 virtual TagType getDefaultType(uint16_t tag) const; 210 virtual uint32_t getDefaultCount(uint16_t tag) const; 220 virtual bool checkIfDefined(uint16_t tag) const; 226 virtual const char* getTagName(uint16_t tag) const; 243 static sp<TiffEntry> uncheckedBuildEntry(uint16_t tag, TagType type, 260 const TagDefinition_t* lookupDefinition(uint16_t tag) const; [all …]
|
/frameworks/av/include/camera/ |
D | CameraMetadata.h | 126 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/ |
D | android_os_Trace.cpp | 48 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 …]
|
D | android_util_Log.cpp | 60 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 …]
|
/frameworks/support/v4/java/android/support/v4/net/ |
D | TrafficStatsCompat.java | 34 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/core/java/com/android/server/ |
D | DropBoxManagerService.java | 181 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/ |
D | StatusBarNotification.java | 31 private final String tag; field in StatusBarNotification 45 public StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, in StatusBarNotification() argument 47 this(pkg, opPkg, id, tag, uid, initialPid, score, notification, user, in StatusBarNotification() 51 public StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, in StatusBarNotification() argument 60 this.tag = tag; in StatusBarNotification() 76 this.tag = in.readString(); in StatusBarNotification() 78 this.tag = null; in StatusBarNotification() 91 return user.getIdentifier() + "|" + pkg + "|" + id + "|" + tag + "|" + uid; in key() 111 if (this.tag != null) { in writeToParcel() 113 out.writeString(this.tag); in writeToParcel() [all …]
|
/frameworks/base/core/java/android/text/ |
D | Html.java | 84 public void handleTag(boolean opening, String tag, in handleTag() argument 475 private void handleStartTag(String tag, Attributes attributes) { in handleStartTag() argument 476 if (tag.equalsIgnoreCase("br")) { in handleStartTag() 479 } else if (tag.equalsIgnoreCase("p")) { in handleStartTag() 481 } else if (tag.equalsIgnoreCase("div")) { in handleStartTag() 483 } else if (tag.equalsIgnoreCase("strong")) { in handleStartTag() 485 } else if (tag.equalsIgnoreCase("b")) { in handleStartTag() 487 } else if (tag.equalsIgnoreCase("em")) { in handleStartTag() 489 } else if (tag.equalsIgnoreCase("cite")) { in handleStartTag() 491 } else if (tag.equalsIgnoreCase("dfn")) { in handleStartTag() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | AndroidPrintStream.java | 29 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/ |
D | ESDS.cpp | 71 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=%zu", *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() 179 uint8_t tag; in parseESDescriptor() local 182 offset, size, &tag, &sub_offset, &sub_size); in parseESDescriptor() 188 if (tag != kTag_DecoderConfigDescriptor) { in parseESDescriptor() 213 uint8_t tag; in parseDecoderConfigDescriptor() local [all …]
|