Searched defs:instances (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/core/java/android/os/
H A DStrictMode.java335 * Creates {@link ThreadPolicy} instances. Methods whose names start
546 // Map from class to max number of allowed instances in memory.
563 * Creates {@link VmPolicy} instances. Methods whose names start
601 * Set an upper bound on how many instances of a class can be in memory
1463 long instances = VMDebug.countInstancesOfClass(klass, false);
1464 if (instances <= limit) {
1467 Throwable tr = new InstanceCountViolation(klass, instances, limit);
1974 * Returns an object that is used to track instances of activites.
2035 // This is the work that we are trying to avoid by tracking the object instances
2046 long instances
2277 InstanceCountViolation(Class klass, long instances, int limit) argument
[all...]

Completed in 85 milliseconds