7037a0bd3d8e925a9115f475f5c0d05ddae2eeee |
|
17-Dec-2013 |
Jerry Xie <jjx@google.com> |
Disable, suppress, remove broken and obsolete Email tests Change-Id: Ia4dcba1c6966f23dd2a15e69324b7345aed8f944
/packages/apps/Email/tests/src/com/android/email/provider/ContentCacheTests.java
|
17d3a29c9d8f7a27c463239f190bdcc4e0804527 |
|
27-Nov-2013 |
Jerry Xie <jjx@google.com> |
Get Email units to compile Change-Id: I171a0e2421c5006d9862ad94f886932146547020
/packages/apps/Email/tests/src/com/android/email/provider/ContentCacheTests.java
|
7fdde9bb4a24e931618a7a64227e2194c89034da |
|
07-Feb-2013 |
Scott Kennedy <skennedy@google.com> |
Cache column name/indexes so we can use getColumnIndex() MatrixCursor doesn't do this, so we need to add our own cache. Depends on Ia5ffd31f54a2a335f495df5e0d1a0886ee08c14b Change-Id: Ica78e3cec747bf86fcef16508156e359216c64fe
/packages/apps/Email/tests/src/com/android/email/provider/ContentCacheTests.java
|
f5418f1f93b02e7fab9f15eb201800b65510998e |
|
14-Jun-2011 |
Marc Blank <mblank@google.com> |
Move Account into its own top-level class Change-Id: Ide7c991b7d4d418dbe17164421425bf898ba64ee
/packages/apps/Email/tests/src/com/android/email/provider/ContentCacheTests.java
|
53ea83ebf91f820692e8fa8e781f5cc982dd94db |
|
14-May-2011 |
Ben Komalo <benkomalo@google.com> |
Move Mailbox to top level class. No other changes made. Change-Id: I3d8f3c521dc0d902be313b25252b4b6a4a96e7ee
/packages/apps/Email/tests/src/com/android/email/provider/ContentCacheTests.java
|
31d9acbf0623872f9d4a2b3210b5970854b654c7 |
|
12-Feb-2011 |
Marc Blank <mblank@google.com> |
Email split, part huit: Refactor constants, clean emailcommon * There are three pieces to this CL (sorry): 1) Move and/or rename some constants into emailcommon 2) Move Utility to emailcommon, moving the few UI related utilities back into Email (FolderProperties and UiUtilities) 3) Remove all references to resources from emailcommon * The three pieces relate in that, between them, they allow the emailcommon static library to compile cleanly Bug: 3442973 Change-Id: Ic5e3abaa2a1b36999e0b6653c6c2134ea1bd544f
/packages/apps/Email/tests/src/com/android/email/provider/ContentCacheTests.java
|
a7bc0319a75184ad706bb35c049af107ac3688e6 |
|
10-Feb-2011 |
Marc Blank <mblank@google.com> |
Email split, part six: EmailContent * Moved EmailContent to emailcommon Change-Id: Ib3db1bfcfe74554c0e5afd3cfce6d72f26e9aeb9
/packages/apps/Email/tests/src/com/android/email/provider/ContentCacheTests.java
|
3aee641aab491a3da53364aafb9074ae69dd2212 |
|
26-Jan-2011 |
Jesse Wilson <jessewilson@google.com> |
Use a field rather than a superclass for ContentCache's cache. This makes it easier for cache experiments to swap out the LinkedHashMap for another cache. http://b/3184897 Change-Id: Iacdb266e41f5a98efd9bb30bc09ff8fff5a0a5a9
/packages/apps/Email/tests/src/com/android/email/provider/ContentCacheTests.java
|
c159d32be05ee744f3726579d9cd8eed39545137 |
|
03-Dec-2010 |
Marc Blank <mblank@google.com> |
Never close underlying cursor if there are active users Bug: 3249537 Bug: 3238216 Change-Id: I281f0b0d6319adaffd78fe8e4c3da6f126eb71da
/packages/apps/Email/tests/src/com/android/email/provider/ContentCacheTests.java
|
68dc380d62b29b4b6733bc1b20e44b8931c1d341 |
|
30-Nov-2010 |
Marc Blank <mblank@google.com> |
Don't throw exception on moveToPosition in CachedCursor * Just return false Bug: 3240290 Change-Id: I808ca88c7897c573d19c2c2c92b179b4106a6dd3
/packages/apps/Email/tests/src/com/android/email/provider/ContentCacheTests.java
|
2199c7ddf5d497e816bef1a1b7473098369a1bdf |
|
17-Nov-2010 |
Andy Stadler <stadler@android.com> |
Minor cleanups for ContentCache * Change CounterMap to not extend HashMap * Renamed remove() to subtract() * Comment out a failing test * Add a flag that prevents any objects from being cached Change-Id: I74754133b505178e8b0166390f69509f006a3da2
/packages/apps/Email/tests/src/com/android/email/provider/ContentCacheTests.java
|
fab77f147f85766d2f75d8aece0aaa4ffb3838e8 |
|
28-Oct-2010 |
Marc Blank <mblank@google.com> |
EmailProvider content caching * In this CL, we cache individual rows, based on the CONTENT_PROJECTION defined for the most common queries (Account, HostAuth, Mailbox, and Message) * Queries on individual rows (most often Class.restoreClassById()) will look to the cache first, rather than querying the database * Queries on smaller projections will build MatrixCursor's from cached data * Write-through caching updates the cache with changed columns * Experiments with live data indicate that > 95% of queries that are cacheable (single row, no selection) can be retrieved from the cache, thereby saving a great deal of disk access. * Timing experiments show that cache hits are > 40x faster than cache misses * Unit tests for the various classes exist, with more coming TODO ---- * More unit tests Change-Id: I386a948a2f4cc02b6548d07d9b2fefd1e018a262
/packages/apps/Email/tests/src/com/android/email/provider/ContentCacheTests.java
|