Searched refs:GarbageMonitor (Results 1 – 10 of 10) sorted by relevance
47 private GarbageMonitor mGarbageMonitor;54 new GarbageMonitor( in setup()65 when(mTrackedGarbage.countOldGarbage()).thenReturn(GarbageMonitor.GARBAGE_ALLOWANCE); in testALittleGarbage_doesntDump()74 when(mTrackedGarbage.countOldGarbage()).thenReturn(GarbageMonitor.GARBAGE_ALLOWANCE + 1); in testTransientGarbage_doesntDump()92 when(mTrackedGarbage.countOldGarbage()).thenReturn(GarbageMonitor.GARBAGE_ALLOWANCE + 1); in testLotsOfPersistentGarbage_dumps()96 verify(mLeakReporter).dumpLeak(GarbageMonitor.GARBAGE_ALLOWANCE + 1); in testLotsOfPersistentGarbage_dumps()101 when(mTrackedGarbage.countOldGarbage()).thenReturn(GarbageMonitor.GARBAGE_ALLOWANCE + 1); in testLotsOfPersistentGarbage_dumpsAfterAtime()111 verify(mLeakReporter).dumpLeak(GarbageMonitor.GARBAGE_ALLOWANCE + 1); in testLotsOfPersistentGarbage_dumpsAfterAtime()
32 @ClassKey(GarbageMonitor::class)33 fun bindGarbageMonitorService(sysui: GarbageMonitor.Service): CoreStartable37 @StringKey(GarbageMonitor.MemoryTile.TILE_SPEC)38 fun bindMemoryTile(memoryTile: GarbageMonitor.MemoryTile): QSTileImpl<*>
53 private final GarbageMonitor mGarbageMonitor;58 public DumpTruck(Context context, GarbageMonitor garbageMonitor) { in DumpTruck()83 GarbageMonitor.ProcessMemInfo info = mGarbageMonitor.getMemInfo(pid); in captureHeaps()
80 public class GarbageMonitor implements Dumpable { class137 public GarbageMonitor( in GarbageMonitor() method in GarbageMonitor414 private final GarbageMonitor gm;430 GarbageMonitor monitor, in MemoryTile()575 private final GarbageMonitor mGarbageMonitor;578 public Service(Context context, GarbageMonitor garbageMonitor) { in Service()
27 import com.android.systemui.util.leak.GarbageMonitor;50 && GarbageMonitor.ADD_MEMORY_TILE_TO_DEFAULT_ON_DEBUGGABLE_BUILDS) { in getDefaultSpecs()51 tiles.add(GarbageMonitor.MemoryTile.TILE_SPEC); in getDefaultSpecs()
30 import com.android.systemui.util.leak.GarbageMonitor;85 && (!tileSpec.equals(GarbageMonitor.MemoryTile.TILE_SPEC) || Build.IS_DEBUGGABLE)) { in createTileInternal()
46 import com.android.systemui.util.leak.GarbageMonitor;117 if (Build.IS_DEBUGGABLE && !current.contains(GarbageMonitor.MemoryTile.TILE_SPEC)) { in addCurrentAndStockTiles()118 possibleTiles.add(GarbageMonitor.MemoryTile.TILE_SPEC); in addCurrentAndStockTiles()
53 import com.android.systemui.util.leak.GarbageMonitor119 @Mock private lateinit var memoryTile: GarbageMonitor.MemoryTile
142 …om.android.systemui.util.leak.GarbageMonitor$Service](/packages/SystemUI/src/com/android/systemui/…
129 import com.android.systemui.util.leak.GarbageMonitor;265 @Inject Lazy<GarbageMonitor> mGarbageMonitor;425 mProviders.put(GarbageMonitor.class, mGarbageMonitor::get); in start()