/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/ |
D | AndroidPackageParsingValidationTest.kt | 78 val tag = "manifest" in <lambda>() constant 79 validateTagAttr(tag, "package", null, 256) in <lambda>() 80 validateTagAttr(tag, "sharedUserId", null, 256) in <lambda>() 81 validateTagAttr(tag, "versionName", null, 1024) in <lambda>() 82 validateTagCount("application", 100, tag) in <lambda>() 83 validateTagCount("overlay", 100, tag) in <lambda>() 84 validateTagCount("instrumentation", 100, tag) in <lambda>() 85 validateTagCount("permission-group", 100, tag) in <lambda>() 86 validateTagCount("permission-tree", 100, tag) in <lambda>() 87 validateTagCount("supports-gl-texture", 100, tag) in <lambda>() [all …]
|
/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 | 130 void onTerribleFailure(String tag, TerribleFailure what, boolean system); in onTerribleFailure() argument 134 public void onTerribleFailure(String tag, TerribleFailure what, boolean system) { 135 RuntimeInit.wtf(tag, what, system); 149 public static int v(@Nullable String tag, @NonNull String msg) { in v() argument 150 return println_native(LOG_ID_MAIN, VERBOSE, tag, msg); in v() 161 public static int v(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in v() argument 162 return printlns(LOG_ID_MAIN, VERBOSE, tag, msg, tr); in v() 172 public static int d(@Nullable String tag, @NonNull String msg) { in d() argument 173 return println_native(LOG_ID_MAIN, DEBUG, tag, msg); in d() 184 public static int d(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in d() argument [all …]
|
D | Slog.java | 50 public static int v(@Nullable String tag, @NonNull String msg) { in v() argument 51 return Log.println_native(Log.LOG_ID_SYSTEM, Log.VERBOSE, tag, msg); in v() 65 public static int v(@Nullable String tag, @NonNull String msg, @Nullable Throwable tr) { in v() argument 66 return Log.println_native(Log.LOG_ID_SYSTEM, Log.VERBOSE, tag, in v() 80 public static int d(@Nullable String tag, @NonNull String msg) { in d() argument 81 return Log.println_native(Log.LOG_ID_SYSTEM, Log.DEBUG, tag, msg); in d() 96 public static int d(@Nullable String tag, @NonNull String msg, @Nullable Throwable tr) { in d() argument 97 return Log.println_native(Log.LOG_ID_SYSTEM, Log.DEBUG, tag, in d() 111 public static int i(@Nullable String tag, @NonNull String msg) { in i() argument 112 return Log.println_native(Log.LOG_ID_SYSTEM, Log.INFO, tag, msg); in i() [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 | 62 jlong tag, jstring nameStr, jlong value) { in android_os_Trace_nativeTraceCounter() argument 64 [tag, value](const char* str) { tracing_perfetto::traceCounter(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) { tracing_perfetto::traceBegin(tag, str); }); in android_os_Trace_nativeTraceBegin() 72 static void android_os_Trace_nativeTraceEnd(JNIEnv*, jclass, jlong tag) { in android_os_Trace_nativeTraceEnd() argument 73 tracing_perfetto::traceEnd(tag); in android_os_Trace_nativeTraceEnd() 77 jlong tag, jstring nameStr, jint cookie) { in android_os_Trace_nativeAsyncTraceBegin() argument 78 withString(env, nameStr, [tag, cookie](const char* str) { in android_os_Trace_nativeAsyncTraceBegin() 79 tracing_perfetto::traceAsyncBegin(tag, str, cookie); in android_os_Trace_nativeAsyncTraceBegin() 84 jlong tag, jstring nameStr, jint cookie) { in android_os_Trace_nativeAsyncTraceEnd() argument [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 …]
|
D | PersistentLogger.java | 39 public void debug(@NonNull String tag, @NonNull String msg) { in debug() argument 40 mPersistentLoggerBackend.debug(tag, msg); in debug() 48 public void info(@NonNull String tag, @NonNull String msg) { in info() argument 49 mPersistentLoggerBackend.info(tag, msg); in info() 57 public void warn(@NonNull String tag, @NonNull String msg) { in warn() argument 58 mPersistentLoggerBackend.warn(tag, msg); in warn() 67 public void warn(@NonNull String tag, @NonNull String msg, @NonNull Throwable t) { in warn() argument 68 mPersistentLoggerBackend.warn(tag, msg, t); in warn() 76 public void error(@NonNull String tag, @NonNull String msg) { in error() argument 77 mPersistentLoggerBackend.error(tag, msg); in error() [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/tools/aapt2/trace/ |
D | TraceBuffer.h | 35 Trace(const char* tag); 36 Trace(std::string tag); 37 Trace(std::string_view tag, const std::vector<android::StringPiece>& args); 47 void BeginTrace(std::string tag); 48 void EndTrace(std::string tag); 54 explicit FlushTrace(std::string_view basepath, std::string_view tag); 55 explicit FlushTrace(std::string_view basepath, std::string_view tag, 57 explicit FlushTrace(std::string_view basepath, std::string_view tag, 67 #define TRACE_NAME(tag) Trace __t(tag) argument 68 #define TRACE_NAME_ARGS(tag, args) Trace __t(tag, args) argument [all …]
|
D | TraceBuffer.cpp | 42 std::string tag; member 57 void AddWithTime(std::string tag, char type, int64_t time) noexcept { in AddWithTime() argument 58 TracePoint t = {type, getpid(), time, std::move(tag)}; in AddWithTime() 62 void Add(std::string tag, char type) noexcept { in Add() argument 63 AddWithTime(std::move(tag), type, GetTime()); in Add() 85 delimiter, trace.time, trace.type, 0, trace.tid, trace.tag.c_str()); in Flush() 99 void BeginTrace(std::string tag) { in BeginTrace() argument 101 tracebuffer::Add(std::move(tag), tracebuffer::kBegin); in BeginTrace() 104 void EndTrace(std::string tag) { in EndTrace() argument 106 tracebuffer::Add(std::move(tag), tracebuffer::kEnd); in EndTrace() [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/telephony/java/com/android/telephony/ |
D | Rlog.java | 43 private static int log(int priority, String tag, String msg) { in log() argument 44 return Log.logToRadioBuffer(priority, tag, msg); in log() 47 public static int v(String tag, String msg) { in v() argument 48 return log(Log.VERBOSE, tag, msg); in v() 51 public static int v(String tag, String msg, Throwable tr) { in v() argument 52 return log(Log.VERBOSE, tag, in v() 56 public static int d(String tag, String msg) { in d() argument 57 return log(Log.DEBUG, tag, msg); in d() 60 public static int d(String tag, String msg, Throwable tr) { in d() argument 61 return log(Log.DEBUG, tag, in d() [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/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/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/native/libs/binder/ |
D | OS_android.cpp | 39 void trace_begin(uint64_t tag, const char* name) { in trace_begin() argument 40 atrace_begin(tag, name); in trace_begin() 43 void trace_end(uint64_t tag) { in trace_end() argument 44 atrace_end(tag); in trace_end() 47 void trace_int(uint64_t tag, const char* name, int32_t value) { in trace_int() argument 48 atrace_int(tag, name, value); in trace_int() 54 void atrace_begin(uint64_t tag, const char* name) { in atrace_begin() argument 55 os::trace_begin(tag, name); in atrace_begin() 59 void atrace_end(uint64_t tag) { in atrace_end() argument 60 os::trace_end(tag); in atrace_end()
|
/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() argument 176 mCurrentGesture.tag(when, tag, info); in tag() 181 public void tag(long when, String tag) { in tag() method in GestureRecorder [all …]
|