Home | History | Annotate | Download | only in native

Lines Matching refs:debug_flags

51 static void EnableDebugFeatures(uint32_t debug_flags) {
61 if ((debug_flags & DEBUG_ENABLE_CHECKJNI) != 0) {
72 debug_flags &= ~DEBUG_ENABLE_CHECKJNI;
75 if ((debug_flags & DEBUG_ENABLE_JNI_LOGGING) != 0) {
77 debug_flags &= ~DEBUG_ENABLE_JNI_LOGGING;
80 Dbg::SetJdwpAllowed((debug_flags & DEBUG_ENABLE_DEBUGGER) != 0);
81 if ((debug_flags & DEBUG_ENABLE_DEBUGGER) != 0) {
84 debug_flags &= ~DEBUG_ENABLE_DEBUGGER;
86 if ((debug_flags & DEBUG_ENABLE_SAFEMODE) != 0) {
90 debug_flags &= ~DEBUG_ENABLE_SAFEMODE;
94 debug_flags &= ~DEBUG_ENABLE_ASSERT;
96 if (debug_flags != 0) {
97 LOG(ERROR) << StringPrintf("Unknown bits set in debug_flags: %#x", debug_flags);
112 static void ZygoteHooks_nativePostForkChild(JNIEnv* env, jclass, jlong token, jint debug_flags,
117 EnableDebugFeatures(debug_flags);