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

/frameworks/base/services/java/com/android/server/
H A DAppWidgetServiceImpl.java100 ArrayList<AppWidgetId> instances = new ArrayList<AppWidgetId>(); field in class:AppWidgetServiceImpl.Provider
111 ArrayList<AppWidgetId> instances = new ArrayList<AppWidgetId>(); field in class:AppWidgetServiceImpl.Host
129 * and may lead us to leak AppWidgetService instances (if there were more than one).
183 // These are for debugging only -- widgets are going missing in some rare instances
342 pw.print(" instances.size="); pw.print(host.instances.size());
431 host.instances.add(id);
484 final int N = host.instances.size();
486 AppWidgetId id = host.instances.get(i);
489 host.instances
[all...]
/frameworks/base/core/java/android/os/
H A DStrictMode.java326 * Creates {@link ThreadPolicy} instances. Methods whose names start
537 // Map from class to max number of allowed instances in memory.
554 * Creates {@link VmPolicy} instances. Methods whose names start
592 * Set an upper bound on how many instances of a class can be in memory
1424 long instances = VMDebug.countInstancesOfClass(klass, false);
1425 if (instances <= limit) {
1428 Throwable tr = new InstanceCountViolation(klass, instances, limit);
1891 * Returns an object that is used to track instances of activites.
1952 // This is the work that we are trying to avoid by tracking the object instances
1960 long instances
2179 InstanceCountViolation(Class klass, long instances, int limit) argument
[all...]

Completed in 531 milliseconds