Loading core/java/android/os/Process.java +0 −3 Original line number Original line Diff line number Diff line Loading @@ -632,9 +632,6 @@ public class Process { if ((debugFlags & Zygote.DEBUG_ENABLE_CHECKJNI) != 0) { if ((debugFlags & Zygote.DEBUG_ENABLE_CHECKJNI) != 0) { argsForZygote.add("--enable-checkjni"); argsForZygote.add("--enable-checkjni"); } } if ((debugFlags & Zygote.DEBUG_ENABLE_JIT) != 0) { argsForZygote.add("--enable-jit"); } if ((debugFlags & Zygote.DEBUG_GENERATE_DEBUG_INFO) != 0) { if ((debugFlags & Zygote.DEBUG_GENERATE_DEBUG_INFO) != 0) { argsForZygote.add("--generate-debug-info"); argsForZygote.add("--generate-debug-info"); } } Loading core/java/com/android/internal/os/Zygote.java +1 −3 Original line number Original line Diff line number Diff line Loading @@ -39,10 +39,8 @@ public final class Zygote { public static final int DEBUG_ENABLE_SAFEMODE = 1 << 3; public static final int DEBUG_ENABLE_SAFEMODE = 1 << 3; /** Enable logging of third-party JNI activity. */ /** Enable logging of third-party JNI activity. */ public static final int DEBUG_ENABLE_JNI_LOGGING = 1 << 4; public static final int DEBUG_ENABLE_JNI_LOGGING = 1 << 4; /** enable the JIT compiler */ public static final int DEBUG_ENABLE_JIT = 1 << 5; /** Force generation of native debugging information. */ /** Force generation of native debugging information. */ public static final int DEBUG_GENERATE_DEBUG_INFO = 1 << 6; public static final int DEBUG_GENERATE_DEBUG_INFO = 1 << 5; /** No external storage should be mounted. */ /** No external storage should be mounted. */ public static final int MOUNT_EXTERNAL_NONE = 0; public static final int MOUNT_EXTERNAL_NONE = 0; Loading core/java/com/android/internal/os/ZygoteConnection.java +1 −3 Original line number Original line Diff line number Diff line Loading @@ -322,7 +322,7 @@ class ZygoteConnection { /** /** * From --enable-debugger, --enable-checkjni, --enable-assert, * From --enable-debugger, --enable-checkjni, --enable-assert, * --enable-safemode, --enable-jit, --generate-debug-info and --enable-jni-logging. * --enable-safemode, --generate-debug-info and --enable-jni-logging. */ */ int debugFlags; int debugFlags; Loading Loading @@ -432,8 +432,6 @@ class ZygoteConnection { debugFlags |= Zygote.DEBUG_ENABLE_SAFEMODE; debugFlags |= Zygote.DEBUG_ENABLE_SAFEMODE; } else if (arg.equals("--enable-checkjni")) { } else if (arg.equals("--enable-checkjni")) { debugFlags |= Zygote.DEBUG_ENABLE_CHECKJNI; debugFlags |= Zygote.DEBUG_ENABLE_CHECKJNI; } else if (arg.equals("--enable-jit")) { debugFlags |= Zygote.DEBUG_ENABLE_JIT; } else if (arg.equals("--generate-debug-info")) { } else if (arg.equals("--generate-debug-info")) { debugFlags |= Zygote.DEBUG_GENERATE_DEBUG_INFO; debugFlags |= Zygote.DEBUG_GENERATE_DEBUG_INFO; } else if (arg.equals("--enable-jni-logging")) { } else if (arg.equals("--enable-jni-logging")) { Loading services/core/java/com/android/server/am/ActivityManagerService.java +0 −9 Original line number Original line Diff line number Diff line Loading @@ -3337,15 +3337,6 @@ public final class ActivityManagerService extends ActivityManagerNative if ("1".equals(SystemProperties.get("debug.checkjni"))) { if ("1".equals(SystemProperties.get("debug.checkjni"))) { debugFlags |= Zygote.DEBUG_ENABLE_CHECKJNI; debugFlags |= Zygote.DEBUG_ENABLE_CHECKJNI; } } String jitDebugProperty = SystemProperties.get("debug.usejit"); if ("true".equals(jitDebugProperty)) { debugFlags |= Zygote.DEBUG_ENABLE_JIT; } else if (!"false".equals(jitDebugProperty)) { // If we didn't force disable by setting false, defer to the dalvik vm options. if ("true".equals(SystemProperties.get("dalvik.vm.usejit"))) { debugFlags |= Zygote.DEBUG_ENABLE_JIT; } } String genDebugInfoProperty = SystemProperties.get("debug.generate-debug-info"); String genDebugInfoProperty = SystemProperties.get("debug.generate-debug-info"); if ("true".equals(genDebugInfoProperty)) { if ("true".equals(genDebugInfoProperty)) { debugFlags |= Zygote.DEBUG_GENERATE_DEBUG_INFO; debugFlags |= Zygote.DEBUG_GENERATE_DEBUG_INFO; Loading Loading
core/java/android/os/Process.java +0 −3 Original line number Original line Diff line number Diff line Loading @@ -632,9 +632,6 @@ public class Process { if ((debugFlags & Zygote.DEBUG_ENABLE_CHECKJNI) != 0) { if ((debugFlags & Zygote.DEBUG_ENABLE_CHECKJNI) != 0) { argsForZygote.add("--enable-checkjni"); argsForZygote.add("--enable-checkjni"); } } if ((debugFlags & Zygote.DEBUG_ENABLE_JIT) != 0) { argsForZygote.add("--enable-jit"); } if ((debugFlags & Zygote.DEBUG_GENERATE_DEBUG_INFO) != 0) { if ((debugFlags & Zygote.DEBUG_GENERATE_DEBUG_INFO) != 0) { argsForZygote.add("--generate-debug-info"); argsForZygote.add("--generate-debug-info"); } } Loading
core/java/com/android/internal/os/Zygote.java +1 −3 Original line number Original line Diff line number Diff line Loading @@ -39,10 +39,8 @@ public final class Zygote { public static final int DEBUG_ENABLE_SAFEMODE = 1 << 3; public static final int DEBUG_ENABLE_SAFEMODE = 1 << 3; /** Enable logging of third-party JNI activity. */ /** Enable logging of third-party JNI activity. */ public static final int DEBUG_ENABLE_JNI_LOGGING = 1 << 4; public static final int DEBUG_ENABLE_JNI_LOGGING = 1 << 4; /** enable the JIT compiler */ public static final int DEBUG_ENABLE_JIT = 1 << 5; /** Force generation of native debugging information. */ /** Force generation of native debugging information. */ public static final int DEBUG_GENERATE_DEBUG_INFO = 1 << 6; public static final int DEBUG_GENERATE_DEBUG_INFO = 1 << 5; /** No external storage should be mounted. */ /** No external storage should be mounted. */ public static final int MOUNT_EXTERNAL_NONE = 0; public static final int MOUNT_EXTERNAL_NONE = 0; Loading
core/java/com/android/internal/os/ZygoteConnection.java +1 −3 Original line number Original line Diff line number Diff line Loading @@ -322,7 +322,7 @@ class ZygoteConnection { /** /** * From --enable-debugger, --enable-checkjni, --enable-assert, * From --enable-debugger, --enable-checkjni, --enable-assert, * --enable-safemode, --enable-jit, --generate-debug-info and --enable-jni-logging. * --enable-safemode, --generate-debug-info and --enable-jni-logging. */ */ int debugFlags; int debugFlags; Loading Loading @@ -432,8 +432,6 @@ class ZygoteConnection { debugFlags |= Zygote.DEBUG_ENABLE_SAFEMODE; debugFlags |= Zygote.DEBUG_ENABLE_SAFEMODE; } else if (arg.equals("--enable-checkjni")) { } else if (arg.equals("--enable-checkjni")) { debugFlags |= Zygote.DEBUG_ENABLE_CHECKJNI; debugFlags |= Zygote.DEBUG_ENABLE_CHECKJNI; } else if (arg.equals("--enable-jit")) { debugFlags |= Zygote.DEBUG_ENABLE_JIT; } else if (arg.equals("--generate-debug-info")) { } else if (arg.equals("--generate-debug-info")) { debugFlags |= Zygote.DEBUG_GENERATE_DEBUG_INFO; debugFlags |= Zygote.DEBUG_GENERATE_DEBUG_INFO; } else if (arg.equals("--enable-jni-logging")) { } else if (arg.equals("--enable-jni-logging")) { Loading
services/core/java/com/android/server/am/ActivityManagerService.java +0 −9 Original line number Original line Diff line number Diff line Loading @@ -3337,15 +3337,6 @@ public final class ActivityManagerService extends ActivityManagerNative if ("1".equals(SystemProperties.get("debug.checkjni"))) { if ("1".equals(SystemProperties.get("debug.checkjni"))) { debugFlags |= Zygote.DEBUG_ENABLE_CHECKJNI; debugFlags |= Zygote.DEBUG_ENABLE_CHECKJNI; } } String jitDebugProperty = SystemProperties.get("debug.usejit"); if ("true".equals(jitDebugProperty)) { debugFlags |= Zygote.DEBUG_ENABLE_JIT; } else if (!"false".equals(jitDebugProperty)) { // If we didn't force disable by setting false, defer to the dalvik vm options. if ("true".equals(SystemProperties.get("dalvik.vm.usejit"))) { debugFlags |= Zygote.DEBUG_ENABLE_JIT; } } String genDebugInfoProperty = SystemProperties.get("debug.generate-debug-info"); String genDebugInfoProperty = SystemProperties.get("debug.generate-debug-info"); if ("true".equals(genDebugInfoProperty)) { if ("true".equals(genDebugInfoProperty)) { debugFlags |= Zygote.DEBUG_GENERATE_DEBUG_INFO; debugFlags |= Zygote.DEBUG_GENERATE_DEBUG_INFO; Loading