Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DTrace.java149 public static boolean isTagEnabled(long traceTag) { in isTagEnabled() argument
154 return (tags & traceTag) != 0; in isTagEnabled()
166 public static void traceCounter(long traceTag, String counterName, int counterValue) { in traceCounter() argument
167 if (isTagEnabled(traceTag)) { in traceCounter()
168 nativeTraceCounter(traceTag, counterName, counterValue); in traceCounter()
212 public static void traceBegin(long traceTag, String methodName) { in traceBegin() argument
213 if (isTagEnabled(traceTag)) { in traceBegin()
214 nativeTraceBegin(traceTag, methodName); in traceBegin()
226 public static void traceEnd(long traceTag) { in traceEnd() argument
227 if (isTagEnabled(traceTag)) { in traceEnd()
[all …]
DLooper.java149 final long traceTag = me.mTraceTag; in loop() local
150 if (traceTag != 0 && Trace.isTagEnabled(traceTag)) { 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()