Home
last modified time | relevance | path

Searched refs:LeakDetector (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DLeakDetector.java32 public class LeakDetector implements Dumpable { class
41 public LeakDetector(TrackedCollections trackedCollections, in LeakDetector() method in LeakDetector
133 public static LeakDetector create() { in create()
136 return new LeakDetector(collections, new TrackedGarbage(collections), in create()
139 return new LeakDetector(null, null, null); in create()
DLeakReporter.java64 private final LeakDetector mLeakDetector;
68 public LeakReporter(Context context, LeakDetector leakDetector, in LeakReporter()
DGarbageMonitor.java115 LeakDetector leakDetector, in GarbageMonitor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerServiceImpl.java41 import com.android.systemui.util.leak.LeakDetector;
74 private final HashSet<Tunable> mTunables = LeakDetector.ENABLED ? new HashSet<>() : null;
76 private final LeakDetector mLeakDetector;
86 LeakDetector leakDetector) { in TunerServiceImpl()
182 if (LeakDetector.ENABLED) { in addTunable()
201 if (LeakDetector.ENABLED) { in removeTunable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
DLeakDetectorTest.java42 private LeakDetector mLeakDetector;
70 mLeakDetector = LeakDetector.create(); in setup()
115 mLeakDetector = new LeakDetector(null, null, null); in testDisabled()
DLeakReporterTest.java46 private LeakDetector mLeakDetector;
62 mLeakDetector = mock(LeakDetector.class); in setup()
DGarbageMonitorTest.java56 new LeakDetector(null, mTrackedGarbage, null), in setup()
120 LeakDetector leakDetector, in TestableGarbageMonitor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependencyProvider.java54 import com.android.systemui.util.leak.LeakDetector;
160 public LeakDetector provideLeakDetector() { in provideLeakDetector()
161 return LeakDetector.create(); in provideLeakDetector()
DDependency.java110 import com.android.systemui.util.leak.LeakDetector;
219 @Inject Lazy<LeakDetector> mLeakDetector;
371 mProviders.put(LeakDetector.class, mLeakDetector::get); in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DExtensionControllerImpl.java28 import com.android.systemui.util.leak.LeakDetector;
51 private final LeakDetector mLeakDetector;
60 LeakDetector leakDetector, in ExtensionControllerImpl()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DExtensionControllerImplTest.java42 import com.android.systemui.util.leak.LeakDetector;
67 mock(LeakDetector.class), mPluginManager, mTunerService, mConfigurationController); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryManager.java48 import com.android.systemui.util.leak.LeakDetector;
330 Dependency.get(LeakDetector.class).trackGarbage(entry); in removeNotificationInternal()
395 Dependency.get(LeakDetector.class).trackInstance(entry); in addNotificationInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
DFragmentHostManager.java40 import com.android.systemui.util.leak.LeakDetector;
90 Dependency.get(LeakDetector.class).trackGarbage(f); in createFragmentHost()