/frameworks/base/core/java/android/security/keymaster/ |
D | KeymasterArguments.java | 74 public void addEnum(int tag, int value) { in addEnum() argument 75 int tagType = KeymasterDefs.getTagType(tag); in addEnum() 77 throw new IllegalArgumentException("Not an enum or repeating enum tag: " + tag); in addEnum() 79 addEnumTag(tag, value); in addEnum() 87 public void addEnums(int tag, int... values) { in addEnums() argument 88 if (KeymasterDefs.getTagType(tag) != KeymasterDefs.KM_ENUM_REP) { in addEnums() 89 throw new IllegalArgumentException("Not a repeating enum tag: " + tag); in addEnums() 92 addEnumTag(tag, value); in addEnums() 102 public int getEnum(int tag, int defaultValue) { in getEnum() argument 103 if (KeymasterDefs.getTagType(tag) != KeymasterDefs.KM_ENUM) { in getEnum() [all …]
|
D | KeyCharacteristics.java | 87 public Integer getEnum(int tag) { in getEnum() argument 88 if (hwEnforced.containsTag(tag)) { in getEnum() 89 return hwEnforced.getEnum(tag, -1); in getEnum() 90 } else if (swEnforced.containsTag(tag)) { in getEnum() 91 return swEnforced.getEnum(tag, -1); in getEnum() 102 public List<Integer> getEnums(int tag) { in getEnums() argument 104 result.addAll(hwEnforced.getEnums(tag)); in getEnums() 105 result.addAll(swEnforced.getEnums(tag)); in getEnums() 115 public long getUnsignedInt(int tag, long defaultValue) { in getUnsignedInt() argument 116 if (hwEnforced.containsTag(tag)) { in getUnsignedInt() [all …]
|
D | KeymasterArgument.java | 31 public final int tag; field in KeymasterArgument 38 final int tag = in.readInt(); 39 switch (KeymasterDefs.getTagType(tag)) { 44 return new KeymasterIntArgument(tag, in); 47 return new KeymasterLongArgument(tag, in); 49 return new KeymasterDateArgument(tag, in); 52 return new KeymasterBlobArgument(tag, in); 54 return new KeymasterBooleanArgument(tag, in); 56 throw new ParcelFormatException("Bad tag: " + tag + " at " + pos); 66 protected KeymasterArgument(int tag) { in KeymasterArgument() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | Slogf.java | 62 public static int v(String tag, String msg) { in v() argument 63 return Slog.v(tag, msg); in v() 67 public static int v(String tag, String msg, Throwable tr) { in v() argument 68 return Slog.v(tag, msg, tr); in v() 72 public static int d(String tag, String msg) { in d() argument 73 return Slog.d(tag, msg); in d() 77 public static int d(String tag, String msg, Throwable tr) { in d() argument 78 return Slog.d(tag, msg, tr); in d() 82 public static int i(String tag, String msg) { in i() argument 83 return Slog.i(tag, msg); in i() [all …]
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | ShadowSlog.java | 28 protected static int v(String tag, String msg) { in v() argument 29 return Log.v(tag, msg); in v() 33 protected static int v(String tag, String msg, Throwable tr) { in v() argument 34 return Log.v(tag, msg, tr); in v() 38 protected static int d(String tag, String msg) { in d() argument 39 return Log.d(tag, msg); in d() 43 protected static int d(String tag, String msg, Throwable tr) { in d() argument 44 return Log.d(tag, msg, tr); in d() 48 protected static int i(String tag, String msg) { in i() argument 49 return Log.i(tag, msg); in i() [all …]
|
/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 | 124 void onTerribleFailure(String tag, TerribleFailure what, boolean system); in onTerribleFailure() argument 128 public void onTerribleFailure(String tag, TerribleFailure what, boolean system) { 129 RuntimeInit.wtf(tag, what, system); 143 public static int v(@Nullable String tag, @NonNull String msg) { in v() argument 144 return println_native(LOG_ID_MAIN, VERBOSE, tag, msg); in v() 155 public static int v(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in v() argument 156 return printlns(LOG_ID_MAIN, VERBOSE, tag, msg, tr); in v() 166 public static int d(@Nullable String tag, @NonNull String msg) { in d() argument 167 return println_native(LOG_ID_MAIN, DEBUG, tag, msg); in d() 178 public static int d(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in d() argument [all …]
|
D | Slog.java | 49 public static int v(@Nullable String tag, @NonNull String msg) { in v() argument 50 return Log.println_native(Log.LOG_ID_SYSTEM, Log.VERBOSE, tag, msg); in v() 64 public static int v(@Nullable String tag, @NonNull String msg, @Nullable Throwable tr) { in v() argument 65 return Log.println_native(Log.LOG_ID_SYSTEM, Log.VERBOSE, tag, in v() 79 public static int d(@Nullable String tag, @NonNull String msg) { in d() argument 80 return Log.println_native(Log.LOG_ID_SYSTEM, Log.DEBUG, tag, msg); in d() 95 public static int d(@Nullable String tag, @NonNull String msg, @Nullable Throwable tr) { in d() argument 96 return Log.println_native(Log.LOG_ID_SYSTEM, Log.DEBUG, tag, in d() 110 public static int i(@Nullable String tag, @NonNull String msg) { in i() argument 111 return Log.println_native(Log.LOG_ID_SYSTEM, Log.INFO, tag, msg); in i() [all …]
|
/frameworks/base/telephony/java/com/android/telephony/ |
D | Rlog.java | 39 private static int log(int priority, String tag, String msg) { in log() argument 40 return Log.logToRadioBuffer(priority, tag, msg); in log() 43 public static int v(String tag, String msg) { in v() argument 44 return log(Log.VERBOSE, tag, msg); in v() 47 public static int v(String tag, String msg, Throwable tr) { in v() argument 48 return log(Log.VERBOSE, tag, in v() 52 public static int d(String tag, String msg) { in d() argument 53 return log(Log.DEBUG, tag, msg); in d() 56 public static int d(String tag, String msg, Throwable tr) { in d() argument 57 return log(Log.DEBUG, tag, in d() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/table/ |
D | LogProxy.kt | 25 fun v(tag: String, message: String) in v() 28 fun d(tag: String, message: String) in v() 31 fun i(tag: String, message: String) in v() 34 fun w(tag: String, message: String) in v() 37 fun e(tag: String, message: String) in v() 40 fun wtf(tag: String, message: String) in v() 44 override fun v(tag: String, message: String) { in v() 45 Log.v(tag, message) in v() 48 override fun d(tag: String, message: String) { in v() 49 Log.d(tag, message) in v() [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/base/core/jni/ |
D | android_os_Trace.cpp | 61 jlong tag, jstring nameStr, jlong value) { in android_os_Trace_nativeTraceCounter() argument 62 withString(env, nameStr, [tag, value](const char* str) { in android_os_Trace_nativeTraceCounter() 63 atrace_int64(tag, str, value); in android_os_Trace_nativeTraceCounter() 68 jlong tag, jstring nameStr) { in android_os_Trace_nativeTraceBegin() argument 69 withString(env, nameStr, [tag](const char* str) { in android_os_Trace_nativeTraceBegin() 70 atrace_begin(tag, str); in android_os_Trace_nativeTraceBegin() 74 static void android_os_Trace_nativeTraceEnd(JNIEnv*, jclass, jlong tag) { in android_os_Trace_nativeTraceEnd() argument 75 atrace_end(tag); in android_os_Trace_nativeTraceEnd() 79 jlong tag, jstring nameStr, jint cookie) { in android_os_Trace_nativeAsyncTraceBegin() argument 80 withString(env, nameStr, [tag, cookie](const char* str) { in android_os_Trace_nativeAsyncTraceBegin() [all …]
|
/frameworks/base/core/java/android/telephony/ |
D | Rlog.java | 42 public static int v(String tag, String msg) { in v() argument 43 return Log.println_native(Log.LOG_ID_RADIO, Log.VERBOSE, tag, msg); in v() 46 public static int v(String tag, String msg, Throwable tr) { in v() argument 47 return Log.println_native(Log.LOG_ID_RADIO, Log.VERBOSE, tag, in v() 52 public static int d(String tag, String msg) { in d() argument 53 return Log.println_native(Log.LOG_ID_RADIO, Log.DEBUG, tag, msg); in d() 57 public static int d(String tag, String msg, Throwable tr) { in d() argument 58 return Log.println_native(Log.LOG_ID_RADIO, Log.DEBUG, tag, in d() 63 public static int i(String tag, String msg) { in i() argument 64 return Log.println_native(Log.LOG_ID_RADIO, Log.INFO, tag, msg); in i() [all …]
|
/frameworks/base/tools/traceinjection/test/com/android/traceinjection/ |
D | InjectionTests.java | 107 @Trace(tag = TRACE_TAG) 112 @Trace(tag = TRACE_TAG) 117 @Trace(tag = TRACE_TAG) 127 @Trace(tag = TRACE_TAG) 136 @Trace(tag = TRACE_TAG) 145 @Trace(tag = TRACE_TAG, label = CUSTOM_TRACE_NAME) 149 @Trace(tag = TRACE_TAG) 155 @Trace(tag = TRACE_TAG) 160 @Trace(tag = TRACE_TAG) 166 @Trace(tag = TRACE_TAG) [all …]
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | KeyStore2ParameterUtils.java | 49 static @NonNull KeyParameter makeBool(int tag) { in makeBool() argument 50 int type = KeymasterDefs.getTagType(tag); in makeBool() 52 throw new IllegalArgumentException("Not a boolean tag: " + tag); in makeBool() 55 p.tag = tag; in makeBool() 67 static @NonNull KeyParameter makeEnum(int tag, int v) { in makeEnum() argument 69 kp.tag = tag; in makeEnum() 70 switch (tag) { in makeEnum() 100 throw new IllegalArgumentException("Not an enum or repeatable enum tag: " + tag); in makeEnum() 112 static @NonNull KeyParameter makeInt(int tag, int v) { in makeInt() argument 113 int type = KeymasterDefs.getTagType(tag); in makeInt() [all …]
|
/frameworks/base/tools/aapt2/trace/ |
D | TraceBuffer.h | 34 Trace(const std::string& tag); 35 Trace(const std::string& tag, const std::vector<android::StringPiece>& args); 40 void BeginTrace(const std::string& tag); 47 explicit FlushTrace(const std::string& basepath, const std::string& tag); 48 explicit FlushTrace(const std::string& basepath, const std::string& tag, 50 explicit FlushTrace(const std::string& basepath, const std::string& tag, 58 #define TRACE_NAME(tag) Trace __t(tag) argument 59 #define TRACE_NAME_ARGS(tag, args) Trace __t(tag, args) argument 61 #define TRACE_FLUSH(basename, tag) FlushTrace __t(basename, tag) argument 62 #define TRACE_FLUSH_ARGS(basename, tag, args) FlushTrace __t(basename, tag, args) argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/ |
D | FakeLogProxy.kt | 33 override fun v(tag: String, message: String) { in v() 34 logs.add("V $tag: $message") in v() 37 override fun d(tag: String, message: String) { in d() 38 logs.add("D $tag: $message") in d() 41 override fun i(tag: String, message: String) { in i() 42 logs.add("I $tag: $message") in i() 45 override fun w(tag: String, message: String) { in w() 46 logs.add("W $tag: $message") in w() 49 override fun e(tag: String, message: String) { in e() 50 logs.add("E $tag: $message") in e() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/ |
D | Asn1Node.java | 50 private Builder(int tag) { in Builder() argument 51 if (!isConstructedTag(tag)) { in Builder() 53 "Builder should be created for a constructed tag: " + tag); in Builder() 55 mTag = tag; in Builder() 102 public Builder addChildAsInteger(int tag, int value) { in addChildAsInteger() argument 103 if (isConstructedTag(tag)) { in addChildAsInteger() 104 throw new IllegalStateException("Cannot set value of a constructed tag: " + tag); in addChildAsInteger() 107 addChild(new Asn1Node(tag, dataBytes, 0, dataBytes.length)); in addChildAsInteger() 117 public Builder addChildAsString(int tag, String value) { in addChildAsString() argument 118 if (isConstructedTag(tag)) { in addChildAsString() [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 …]
|
/frameworks/av/camera/ |
D | VendorTagDescriptor.cpp | 40 static const char* vendor_tag_descriptor_get_section_name(const vendor_tag_ops_t* v, uint32_t tag); 41 static const char* vendor_tag_descriptor_get_tag_name(const vendor_tag_ops_t* v, uint32_t tag); 42 static int vendor_tag_descriptor_get_tag_type(const vendor_tag_ops_t* v, uint32_t tag); 47 static const char* vendor_tag_descriptor_cache_get_section_name(uint32_t tag, 49 static const char* vendor_tag_descriptor_cache_get_tag_name(uint32_t tag, 51 static int vendor_tag_descriptor_cache_get_tag_type(uint32_t tag, 131 uint32_t tag, sectionIndex; in readFromParcel() local 136 if ((res = parcel->readInt32(reinterpret_cast<int32_t*>(&tag))) != OK) { in readFromParcel() 140 if (tag < CAMERA_METADATA_VENDOR_TAG_BOUNDARY) { in readFromParcel() 141 ALOGE("%s: vendor tag %d not in vendor tag section.", __FUNCTION__, tag); in readFromParcel() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | GestureRecorder.java | 78 public String tag, info; field in GestureRecorder.Gesture.TagRecord 79 public TagRecord(long when, String tag, String info) { in TagRecord() argument 81 this.tag = tag; in TagRecord() 87 this.tag, in toJson() 113 public void tag(long when, String tag, String info) { in tag() method in GestureRecorder.Gesture 114 mRecords.add(new TagRecord(when, tag, info)); in tag() 115 mTags.add(tag); in tag() 170 public void tag(long when, String tag, String info) { in tag() method in GestureRecorder 176 mCurrentGesture.tag(when, tag, info); in tag() 181 public void tag(long when, String tag) { in tag() method in GestureRecorder [all …]
|
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | Uptc.java | 35 public final String tag; field in Uptc 40 Uptc(int userId, @NonNull String packageName, @Nullable String tag) { in Uptc() argument 43 this.tag = tag; in Uptc() 47 + tag == null ? 0 : (31 * tag.hashCode()); in Uptc() 52 return string(userId, packageName, tag); in toString() 60 proto.write(UptcProto.TAG, tag); in dumpDebug() 74 && Objects.equals(tag, other.tag); in equals() 85 static String string(int userId, @NonNull String packageName, @Nullable String tag) { in string() argument 86 return "<" + userId + ">" + packageName + (tag == null ? "" : ("::" + tag)); in string()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DropBoxManagerService.java | 169 public void addData(String tag, byte[] data, int flags) { 170 DropBoxManagerService.this.addData(tag, data, flags); 174 public void addFile(String tag, ParcelFileDescriptor fd, int flags) { 175 DropBoxManagerService.this.addFile(tag, fd, flags); 179 public boolean isTagEnabled(String tag) { 180 return DropBoxManagerService.this.isTagEnabled(tag); 184 public DropBoxManager.Entry getNextEntry(String tag, long millis, String callingPackage) { 185 return getNextEntryWithAttribution(tag, millis, callingPackage, null); 189 public DropBoxManager.Entry getNextEntryWithAttribution(String tag, long millis, 191 return DropBoxManagerService.this.getNextEntry(tag, millis, callingPackage, [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/base/core/java/com/android/internal/inputmethod/ |
D | CompletableFutureUtil.java | 67 @Nullable String tag, @Nullable String methodName, in getValueOrNullInternal() argument 80 logCancellationInternal(tag, methodName); in getValueOrNullInternal() 83 logErrorInternal(tag, methodName, e.getMessage()); in getValueOrNullInternal() 86 logCancellationInternal(tag, methodName); in getValueOrNullInternal() 91 logTimeoutInternal(tag, methodName, timeoutMillis); in getValueOrNullInternal() 94 logErrorInternal(tag, methodName, e.getMessage()); in getValueOrNullInternal() 109 private static void logTimeoutInternal(@Nullable String tag, @Nullable String methodName, in logTimeoutInternal() argument 111 if (tag == null || methodName == null) { in logTimeoutInternal() 114 Log.w(tag, methodName + " didn't respond in " + timeout + " msec."); in logTimeoutInternal() 118 private static void logErrorInternal(@Nullable String tag, @Nullable String methodName, in logErrorInternal() argument [all …]
|