Lines Matching refs:debug_flags

59 static void EnableDebugFeatures(uint32_t debug_flags) {  in EnableDebugFeatures()  argument
72 if ((debug_flags & DEBUG_ENABLE_CHECKJNI) != 0) { in EnableDebugFeatures()
82 debug_flags &= ~DEBUG_ENABLE_CHECKJNI; in EnableDebugFeatures()
85 if ((debug_flags & DEBUG_ENABLE_JNI_LOGGING) != 0) { in EnableDebugFeatures()
87 debug_flags &= ~DEBUG_ENABLE_JNI_LOGGING; in EnableDebugFeatures()
90 Dbg::SetJdwpAllowed((debug_flags & DEBUG_ENABLE_DEBUGGER) != 0); in EnableDebugFeatures()
91 if ((debug_flags & DEBUG_ENABLE_DEBUGGER) != 0) { in EnableDebugFeatures()
94 debug_flags &= ~DEBUG_ENABLE_DEBUGGER; in EnableDebugFeatures()
96 const bool safe_mode = (debug_flags & DEBUG_ENABLE_SAFEMODE) != 0; in EnableDebugFeatures()
100 debug_flags &= ~DEBUG_ENABLE_SAFEMODE; in EnableDebugFeatures()
104 if ((debug_flags & DEBUG_ENABLE_JIT) != 0) { in EnableDebugFeatures()
111 debug_flags &= ~DEBUG_ENABLE_JIT; in EnableDebugFeatures()
115 const bool generate_debug_info = (debug_flags & DEBUG_GENERATE_DEBUG_INFO) != 0; in EnableDebugFeatures()
118 debug_flags &= ~DEBUG_GENERATE_DEBUG_INFO; in EnableDebugFeatures()
122 debug_flags &= ~DEBUG_ENABLE_ASSERT; in EnableDebugFeatures()
124 if (debug_flags != 0) { in EnableDebugFeatures()
125 LOG(ERROR) << StringPrintf("Unknown bits set in debug_flags: %#x", debug_flags); in EnableDebugFeatures()
144 static void ZygoteHooks_nativePostForkChild(JNIEnv* env, jclass, jlong token, jint debug_flags, in ZygoteHooks_nativePostForkChild() argument
149 EnableDebugFeatures(debug_flags); in ZygoteHooks_nativePostForkChild()