Home
last modified time | relevance | path

Searched refs:countOldGarbage (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
DGarbageMonitorTest.java70 when(mTrackedGarbage.countOldGarbage()).thenReturn(0); in testNoGarbage_doesntDump()
82 when(mTrackedGarbage.countOldGarbage()).thenReturn(4); in testALittleGarbage_doesntDump()
94 when(mTrackedGarbage.countOldGarbage()).thenReturn(100); in testTransientGarbage_doesntDump()
99 when(mTrackedGarbage.countOldGarbage()).thenReturn(0); in testTransientGarbage_doesntDump()
108 when(mTrackedGarbage.countOldGarbage()).thenReturn(100); in testLotsOfPersistentGarbage_dumps()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DTrackedGarbage.java109 public synchronized int countOldGarbage() { in countOldGarbage() method in TrackedGarbage
DGarbageMonitor.java171 if (mTrackedGarbage.countOldGarbage() > GARBAGE_ALLOWANCE) { in gcAndCheckGarbage()
179 int count = mTrackedGarbage.countOldGarbage(); in reinspectGarbageAfterGc()