Lines Matching defs:CloseGuard
37 import dalvik.system.CloseGuard;
798 // Sets up CloseGuard in Dalvik/libcore
800 if (!(CloseGuard.getReporter() instanceof AndroidCloseGuardReporter)) {
801 CloseGuard.setReporter(new AndroidCloseGuardReporter());
803 CloseGuard.setEnabled(enabled);
972 // VM Policy controls CloseGuard, detection of Activity leaks,
1422 private static class AndroidCloseGuardReporter implements CloseGuard.Reporter {
1858 * <p>TODO: add CloseGuard to this, verifying callers call finish.