f9f240e3ad5ff5eeaa32fbb2dd65ef7f3b06af32 |
|
25-Feb-2011 |
Fred Quintana <fredq@google.com> |
Fix a deadlock in AccountManagerService cause by different paths of code getting the mCacheLock and DB locks in different orders. The philosophy I followed for this was to ensure that the DatabaseHelper is only ever accessed from within a synchronized(mCacheLock) block. I also renamed a bunch of methods to make it easier to know if a given method should be called from within this synchronized block. Bug: 3404506 Change-Id: Ia48f95e77b77647d0717f70f1d8364da3719cc13
/frameworks/base/core/tests/coretests/src/android/accounts/AccountManagerServiceTest.java
|
56285a60e83138bb4b4f2d3bdec91b2f3ca11aa2 |
|
02-Dec-2010 |
Fred Quintana <fredq@google.com> |
add caching to the AccountManagerService - cache the accounts, userdata and authtokens - make the AccountManagerServiceTest work again - add a log statement for every binder call http://b/issue?id=3188457 Change-Id: I96b94b9b690cf391fe4341e2a72893a6d823777b
/frameworks/base/core/tests/coretests/src/android/accounts/AccountManagerServiceTest.java
|
1a44d5dcabc18cd5ef111f732ccff91683a1a093 |
|
13-Jan-2010 |
Neal Nguyen <tommyn@google.com> |
Phase 2 of test cleanup: moving test files from AndroidTests closer to their sources. Most of these are file moves; a couple notable exceptions are the changes due to the move, and fixing up test code: - database/DatabaseCursorTest.java - database/DatabaseStatementTest.java - net/UriTest.java
/frameworks/base/core/tests/coretests/src/android/accounts/AccountManagerServiceTest.java
|