Searched refs:tracker (Results 1 - 4 of 4) sorted by relevance

/libcore/dalvik/src/main/java/dalvik/system/
H A DCloseGuard.java182 * @throws NullPointerException if tracker is null
184 public static void setTracker(Tracker tracker) { argument
185 if (tracker == null) {
186 throw new NullPointerException("tracker == null");
188 currentTracker = tracker;
268 * Default tracker which does nothing special and simply leaves it up to the GC to detect a
/libcore/dalvik/test-rules/src/main/java/dalvik/system/
H A DCloseGuardSupport.java101 // Get the previous tracker so that it can be restored afterwards.
105 TestCloseGuardTracker tracker = new TestCloseGuardTracker();
108 // Set the test tracker and enable close guard detection.
109 CloseGuard.setTracker(tracker);
117 // Restore the previous tracker and enabled state.
122 tracker.getAllocationSitesForUnreleasedResources();
142 * A tracker that keeps a record of the allocation sites for all resources allocated but not
/libcore/ojluni/src/main/java/java/io/
H A DFileInputStream.java73 private final IoTracker tracker = new IoTracker(); field in class:FileInputStream
253 tracker.trackIo(len);
H A DFileOutputStream.java86 private final IoTracker tracker = new IoTracker(); field in class:FileOutputStream
325 tracker.trackIo(len);

Completed in 1083 milliseconds