Lines Matching defs:CloseGuard
35 import dalvik.system.CloseGuard;
794 // Sets up CloseGuard in Dalvik/libcore
796 if (!(CloseGuard.getReporter() instanceof AndroidCloseGuardReporter)) {
797 CloseGuard.setReporter(new AndroidCloseGuardReporter());
799 CloseGuard.setEnabled(enabled);
968 // VM Policy controls CloseGuard, detection of Activity leaks,
1405 private static class AndroidCloseGuardReporter implements CloseGuard.Reporter {
1839 * <p>TODO: add CloseGuard to this, verifying callers call finish.