commit | 4a97122ebf4d92a3f94402041729d77905e6c0c0 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Sat Jun 11 22:16:55 2011 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Sat Jun 11 22:17:17 2011 -0700 |
tree | 2dce98de643ebbfe98c06c70b54d743362a900d2 | |
parent | 39ebc2195ed16b9e955dd57f5c95212bb7b934b6 [diff] |
Growable NetworkStats object instead of builder. NetworkStats now grows in place with arraycopy() instead of callers needing to know record count a priori. Better growth calculation for both NetworkStats and NetworkStatsHistory; 50% each time. Better estimates of buckets needed in calling services. Change-Id: I3adbffa0b7407612cc6349d9135a8b4eb63cd440