/frameworks/base/core/java/android/os/ |
D | Trace.java | 134 private static boolean nativeIsTagEnabled$ravenwood(long traceTag) { in nativeIsTagEnabled$ravenwood() argument 183 public static boolean isTagEnabled(long traceTag) { in isTagEnabled() argument 184 return nativeIsTagEnabled(traceTag); in isTagEnabled() 198 public static void traceCounter(long traceTag, @NonNull String counterName, int counterValue) { in traceCounter() argument 199 if (isTagEnabled(traceTag)) { in traceCounter() 200 nativeTraceCounter(traceTag, counterName, counterValue); in traceCounter() 238 public static void traceBegin(long traceTag, @NonNull String methodName) { in traceBegin() argument 239 if (isTagEnabled(traceTag)) { in traceBegin() 240 nativeTraceBegin(traceTag, methodName); in traceBegin() 254 public static void traceEnd(long traceTag) { in traceEnd() argument [all …]
|
D | Looper.java | 204 final long traceTag = me.mTraceTag; in loopOnce() local 220 if (traceTag != 0 && Trace.isTagEnabled(traceTag)) { in loopOnce() 221 Trace.traceBegin(traceTag, msg.target.getTraceName(msg)); in loopOnce() 244 if (traceTag != 0) { in loopOnce() 245 Trace.traceEnd(traceTag); in loopOnce() 392 public void setTraceTag(long traceTag) { in setTraceTag() argument 393 mTraceTag = traceTag; in setTraceTag()
|
/frameworks/base/core/java/android/util/ |
D | TimingsTraceLog.java | 55 public TimingsTraceLog(String tag, long traceTag) { in TimingsTraceLog() argument 56 this(tag, traceTag, DEBUG_BOOT_TIME ? MAX_NESTED_CALLS : -1); in TimingsTraceLog() 60 public TimingsTraceLog(String tag, long traceTag, int maxNestedCalls) { in TimingsTraceLog() argument 62 mTraceTag = traceTag; in TimingsTraceLog()
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | TimingsTraceAndSlog.java | 77 public TimingsTraceAndSlog(@NonNull String tag, long traceTag) { in TimingsTraceAndSlog() argument 78 super(tag, traceTag); in TimingsTraceAndSlog()
|
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/ |
D | JobInfo.java | 1041 final String traceTag = in.readString(); in JobInfo() local 1042 mTraceTag = traceTag == null ? null : traceTag.intern(); in JobInfo() 2206 public Builder setTraceTag(@Nullable String traceTag) { in setTraceTag() argument 2207 mTraceTag = validateTraceTag(traceTag); in setTraceTag() 2516 public static String validateTraceTag(@Nullable String traceTag) { in validateTraceTag() argument 2517 if (traceTag == null) { in validateTraceTag() 2520 traceTag = traceTag.trim(); in validateTraceTag() 2521 if (traceTag.isEmpty()) { in validateTraceTag() 2524 if (traceTag.length() > MAX_TRACE_TAG_LENGTH) { in validateTraceTag() 2528 if (traceTag.contains("|") || traceTag.contains("\n") || traceTag.contains("\0")) { in validateTraceTag() [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/database/ |
D | SQLiteDatabasePerfTest.java | 274 private void testInsertInternal(String traceTag) { 284 android.os.Trace.beginSection(traceTag); 343 private void testBulkInsertInternal(String traceTag) { 352 android.os.Trace.beginSection(traceTag); 406 private void testUpdateInternal(String traceTag) { 414 android.os.Trace.beginSection(traceTag);
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ForegroundServiceTypeLoggerModule.java | 139 final String traceTag = record.getComponentName().flattenToString() + ":" + uid; in logForegroundServiceStart() local 140 Trace.asyncTraceForTrackBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, traceTag, in logForegroundServiceStart() 215 final String traceTag = record.getComponentName().flattenToString() + ":" + uid; in logForegroundServiceStop() local 217 traceTag, record.hashCode()); in logForegroundServiceStop()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | JobStatus.java | 1079 StringBuilder traceTag = new StringBuilder(128); in computeSystemTraceTagInner() local 1080 traceTag.append("*job*<").append(sourceUid).append(">").append(sourcePackageName); in computeSystemTraceTagInner() 1082 traceTag.append(":").append(componentPackage); in computeSystemTraceTagInner() 1084 traceTag.append("/").append(getServiceComponent().getShortClassName()); in computeSystemTraceTagInner() 1086 traceTag.append("$").append(serviceProcessName); in computeSystemTraceTagInner() 1089 traceTag.append("@").append(mNamespace); in computeSystemTraceTagInner() 1091 traceTag.append("#").append(getJobId()); in computeSystemTraceTagInner() 1093 return traceTag.toString(); in computeSystemTraceTagInner()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobStore.java | 1001 final String traceTag = jobStatus.getJob().getTraceTag(); 1002 if (traceTag == null && numTags == 0) { 1006 if (traceTag != null) { 1007 out.attribute(null, "trace-tag", traceTag);
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 2944 private static void traceBegin(long traceTag, String methodName, String subInfo) { in traceBegin() argument 2945 if (Trace.isTagEnabled(traceTag)) { in traceBegin() 2946 Trace.traceBegin(traceTag, methodName + subInfo); in traceBegin()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableNotificationRow.java | 2047 private String appendTraceStyleTag(@NonNull String traceTag) { 2049 return traceTag; 2052 return traceTag + "(" + getEntry().getNotificationStyle() + ")";
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 1059 final String traceTag = "usageStatsQueueEvent(" + userId + ") #" in reportEventOrAddToQueue() local 1061 Trace.traceBegin(Trace.TRACE_TAG_SYSTEM_SERVER, traceTag); in reportEventOrAddToQueue()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 7235 private void traceEvent(QueuedInputEvent q, long traceTag) { in traceEvent() argument 7236 if (!Trace.isTagEnabled(traceTag)) { in traceEvent() 7243 Trace.traceBegin(traceTag, mTracePrefix + " id=0x" in traceEvent()
|