The test runner will only load TestCase classes that have a public
constructor with either no params or a single String parameter.
This is fairly subtle behavior and can be difficult to catch. This change
adds a log message when a TestCase class is not loaded, and adds some
associated unit tests.
Change-Id: I6fc63e4179c949620f5773e0ae134f99905a6fb2
Merge commit '27e5a95afc10faca6314f9b710f07e8f99b3311f' into kraken
* commit '27e5a95afc10faca6314f9b710f07e8f99b3311f':
Re-enabling unit tests for PackageManager/Apps on SD.
Merge commit '5fa65082f16741394dcfbe756e3880d5c018dace' into froyo-plus-aosp
* commit '5fa65082f16741394dcfbe756e3880d5c018dace':
Re-enabling unit tests for PackageManager/Apps on SD.
Merge commit 'b6c770e4e387bd73d4e7d4cbad99079b37f59043' into kraken
* commit 'b6c770e4e387bd73d4e7d4cbad99079b37f59043':
Respond to changes in throttle policy.
Merge commit '0b2ebe9b45172b9147f86fd69eedb2a200982b68' into froyo-plus-aosp
* commit '0b2ebe9b45172b9147f86fd69eedb2a200982b68':
Respond to changes in throttle policy.
We were updating limits and such before, but we were not applying them
to the current situation if we were already throttled. Now it can result in
us throttling or changing our throttle rate or unthrottling or even making
the ui come or go (disabling/enable throttling)
bug:2622543
bug:2619879
Change-Id: I64a62634d54f4768ab8625f8d72f9f66a239cb19
Merge commit 'dc14dc6d60675be688c333bbc60a315d2c658054' into kraken
* commit 'dc14dc6d60675be688c333bbc60a315d2c658054':
Some debugging help for issue #2594388
Merge commit 'bf73bbffc18f5abb5350fa3a410830c05ad10206' into froyo-plus-aosp
* commit 'bf73bbffc18f5abb5350fa3a410830c05ad10206':
Some debugging help for issue #2594388
1. when an entry is pushed out of cache, it should be released if it is not
in use by any thread. This didn't have to be done when cache was NOT LRU
because the object either got into the cache while the caller had a reference
to it or it didn't. if it didn't get into cache (because cache is full),
the caller's close() released the object. But in LRU cache, an object
could get pushed out of cache due to LRU policy and if it is NOT in use
by any thread at the time it was pushed out of cache, then it
got GC'ed - which caused warnings to be pronted in the log.
2. also delete some unused methods in SQLiteDatabase.
Change-Id: I7831952647d3a057342bcc8ac186a6a26eb58f33
Merge commit '1b5a9c5d2fdf353d12ef1ca11dafc78f4c6f6c81' into kraken
* commit '1b5a9c5d2fdf353d12ef1ca11dafc78f4c6f6c81':
Add a Throttle check shortly after boot.
Merge commit '251ccef0445d4456809bfc41a6344e2dae24f2c3' into froyo-plus-aosp
* commit '251ccef0445d4456809bfc41a6344e2dae24f2c3':
Add a Throttle check shortly after boot.
WallpaperService doesn't always call onSurfaceDestroyed()
Just helps us see a little better what is going on.
Change-Id: Ibe8efd9e343e880ca31df446c8b36c7fa3722e87
Merge commit '4bcdd6b0688735d7da0eb2a4f211b4b4c8911e3b' into kraken
* commit '4bcdd6b0688735d7da0eb2a4f211b4b4c8911e3b':
Fix issue #2619247: Music sometimes stops playing when navigation talks
Merge commit '476a57e64a7fa7143e434c1064df1fa87fe4b01a' into kraken
* commit '476a57e64a7fa7143e434c1064df1fa87fe4b01a':
Fix issue #2608292: Fails to launch the video camera preview
Merge commit '90c6aec10f969acf9b171b82920480fb6aeb007f' into froyo-plus-aosp
* commit '90c6aec10f969acf9b171b82920480fb6aeb007f':
Fix issue #2619247: Music sometimes stops playing when navigation talks
Merge commit '9bc0a572d8459e0b6209e8a68cb680389c1f8b73' into froyo-plus-aosp
* commit '9bc0a572d8459e0b6209e8a68cb680389c1f8b73':
Fix issue #2608292: Fails to launch the video camera preview
When a service transitions from foreground to background, we now push it
to the top of the LRU list. Also fix the activity manager to take care
of killing processes if we go beyond a reasonable number of background
process to keep around.
Change-Id: Ic9f44c02af7a111ee6f1d06142386b301948bafe
Need to clear the attached hidden flag on the window, even if it does
not yet have an actual surface.
Change-Id: I0a90f6b03cd8e347a3eae4d6bea3ab93f7128bf4
Merge commit 'a298d6fd2a920e8ff2dfd5fd03a2f95cbce5451f' into kraken
* commit 'a298d6fd2a920e8ff2dfd5fd03a2f95cbce5451f':
Fix error code when media is filled up.
Merge commit 'a2a568e58d77848471a2f1d9ab6df2cbb2c916d6' into froyo-plus-aosp
* commit 'a2a568e58d77848471a2f1d9ab6df2cbb2c916d6':
Fix error code when media is filled up.
Throttle is useless when ntp and imsi are not yet ready. In the real world
the second check won't happen for 10 minutes letting people do what they want
for 10 minutes each boot. Trim this down with a quicker first check.
bug:2614247
Change-Id: I84ec33f31e8fed37b3933482fbc187b8e9e94e79