long function ( ) { long loc0 = nativeGetEnabledTags ( ) ; sEnabledTags = loc0 ; return loc0 ; }
caches a copy of the enabled-tag bits . the `` master '' copy is held by the native code , and comes from the property_trace_tag_enableflags property . if the native code has n't yet read the property , we will cause it to do one-time initialization . we do n't want to do this during class init , because this class is preloaded , so all apps would be stuck with whatever the zygote saw . the zygote does n't see the system-property update broadcasts . we want to defer initialization until the first use by an app , post-zygote . we 're okay if multiple threads call here simultaneously -- the native state is synchronized , and senabledtags is volatile prevents word tearing . concode_field_sep long TRACE_TAG_BIONIC concode_elem_sep long TRACE_TAG_ALWAYS concode_elem_sep long TRACE_TAG_VIEW concode_elem_sep int MAX_SECTION_NAME_LEN concode_elem_sep long TRACE_TAG_NEVER concode_elem_sep long TRACE_TAG_VIDEO concode_elem_sep long TRACE_TAG_PACKAGE_MANAGER concode_elem_sep long TRACE_TAG_RS concode_elem_sep long TRACE_TAG_SYNC_MANAGER concode_elem_sep long TRACE_TAG_INPUT concode_elem_sep long TRACE_TAG_APP concode_elem_sep long TRACE_TAG_SYSTEM_SERVER concode_elem_sep long TRACE_TAG_DALVIK concode_elem_sep long sEnabledTags concode_elem_sep long TRACE_TAG_RESOURCES concode_elem_sep String TAG concode_elem_sep long TRACE_TAG_CAMERA concode_elem_sep long TRACE_TAG_NOT_READY concode_elem_sep long TRACE_TAG_POWER concode_elem_sep long TRACE_TAG_WEBVIEW concode_elem_sep long TRACE_TAG_GRAPHICS concode_elem_sep long TRACE_TAG_AUDIO concode_elem_sep long TRACE_TAG_WINDOW_MANAGER concode_elem_sep long TRACE_TAG_HAL concode_elem_sep long TRACE_TAG_ACTIVITY_MANAGER concode_field_sep void traceEnd concode_elem_sep void traceBegin concode_elem_sep void nativeTraceEnd concode_elem_sep void nativeSetAppTracingAllowed concode_elem_sep void run concode_elem_sep long nativeGetEnabledTags concode_elem_sep void nativeTraceCounter concode_elem_sep void setTracingEnabled concode_elem_sep boolean isTagEnabled concode_elem_sep void traceCounter concode_elem_sep void asyncTraceEnd concode_elem_sep void asyncTraceBegin concode_elem_sep void endSection concode_elem_sep void nativeAsyncTraceEnd concode_elem_sep void setAppTracingAllowed concode_elem_sep void nativeTraceBegin concode_elem_sep void nativeAsyncTraceBegin concode_elem_sep void nativeSetTracingEnabled concode_elem_sep void beginSection