Home
last modified time | relevance | path

Searched refs:traceTag (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/os/
DTrace.java147 public static boolean isTagEnabled(long traceTag) { in isTagEnabled() argument
152 return (tags & traceTag) != 0; in isTagEnabled()
164 public static void traceCounter(long traceTag, String counterName, int counterValue) { in traceCounter() argument
165 if (isTagEnabled(traceTag)) { in traceCounter()
166 nativeTraceCounter(traceTag, counterName, counterValue); in traceCounter()
210 public static void traceBegin(long traceTag, String methodName) { in traceBegin() argument
211 if (isTagEnabled(traceTag)) { in traceBegin()
212 nativeTraceBegin(traceTag, methodName); in traceBegin()
224 public static void traceEnd(long traceTag) { in traceEnd() argument
225 if (isTagEnabled(traceTag)) { in traceEnd()
[all …]
DLooper.java149 final long traceTag = me.mTraceTag; in loop() local
150 if (traceTag != 0) { in loop()
151 Trace.traceBegin(traceTag, msg.target.getTraceName(msg)); in loop()
156 if (traceTag != 0) { in loop()
157 Trace.traceEnd(traceTag); in loop()
223 public void setTraceTag(long traceTag) { in setTraceTag() argument
224 mTraceTag = traceTag; in setTraceTag()