113982 Commits

Author SHA1 Message Date
Dianne Hackborn
68ba583b79 am 366894b5: am 0a6a80f4: Fix build.
* commit '366894b544e723b11f591a3071599066d0ada2da':
  Fix build.
2013-09-16 15:29:46 -07:00
Dianne Hackborn
366894b544 am 0a6a80f4: Fix build.
* commit '0a6a80f43de1b64b452aff2cbb6bdbfc9915c2a9':
  Fix build.
2013-09-16 15:26:16 -07:00
Dianne Hackborn
0a6a80f43d Fix build.
Change-Id: I2b2168ff3b2826a60353fd137a2fa255b1ace4bb
2013-09-16 15:20:27 -07:00
Dianne Hackborn
df2dae01b0 am 40489be9: am 61158244: Merge "Implement issue #10691359: Kill long-running processes" into klp-dev
* commit '40489be90b7c145da75034f793932500f0e5d380':
  Implement issue #10691359: Kill long-running processes
2013-09-16 14:37:30 -07:00
Dianne Hackborn
40489be90b am 61158244: Merge "Implement issue #10691359: Kill long-running processes" into klp-dev
* commit '61158244b42df547ecf8ca145d539c814b154a4a':
  Implement issue #10691359: Kill long-running processes
2013-09-16 14:34:55 -07:00
Dianne Hackborn
61158244b4 Merge "Implement issue #10691359: Kill long-running processes" into klp-dev 2013-09-16 21:33:04 +00:00
Craig Mautner
afada2c7dc am 660a7fde: am deec7e48: Merge "Put next task on top of stack if top is finishing." into klp-dev
* commit '660a7fdef3c1ca8ce148a1978ad5c24d6a013bea':
  Put next task on top of stack if top is finishing.
2013-09-16 14:29:43 -07:00
Craig Mautner
660a7fdef3 am deec7e48: Merge "Put next task on top of stack if top is finishing." into klp-dev
* commit 'deec7e481a403749ec3977c946192abbc5c5501e':
  Put next task on top of stack if top is finishing.
2013-09-16 14:27:15 -07:00
Craig Mautner
deec7e481a Merge "Put next task on top of stack if top is finishing." into klp-dev 2013-09-16 21:21:11 +00:00
Xia Wang
b2ca5bf607 am bac2fcac: am 326f4505: Merge "Update the Connectivity Manager test suit to use InstrumentationTestCase." into klp-dev
* commit 'bac2fcacbef1366327aa3450d6be942688fb6a68':
  Update the Connectivity Manager test suit to use InstrumentationTestCase.
2013-09-16 14:19:18 -07:00
Yu Shan Emily Lau
5a1490a75c am 8e09984a: am 98d18bbc: Merge "Fix media stress test." into klp-dev
* commit '8e09984a56a4ff12c8726d7c2c6902f1bf081d6f':
  Fix media stress test.
2013-09-16 14:19:15 -07:00
Xia Wang
bac2fcacbe am 326f4505: Merge "Update the Connectivity Manager test suit to use InstrumentationTestCase." into klp-dev
* commit '326f4505e04b24f384e84da7efcefab256777a27':
  Update the Connectivity Manager test suit to use InstrumentationTestCase.
2013-09-16 14:15:55 -07:00
Yu Shan Emily Lau
8e09984a56 am 98d18bbc: Merge "Fix media stress test." into klp-dev
* commit '98d18bbc5e59c98c890593d521b5b641030a5f1d':
  Fix media stress test.
2013-09-16 14:15:52 -07:00
Xia Wang
326f4505e0 Merge "Update the Connectivity Manager test suit to use InstrumentationTestCase." into klp-dev 2013-09-16 21:11:31 +00:00
Yu Shan Emily Lau
98d18bbc5e Merge "Fix media stress test." into klp-dev 2013-09-16 21:11:25 +00:00
Chet Haase
ea3b4506f3 am 8b575ec3: am c05c3628: Merge "Ensure that transitions animating alpha end on a reasonable value" into klp-dev
* commit '8b575ec3a733d5e08b0fc9ce995d2aa2148f47a6':
  Ensure that transitions animating alpha end on a reasonable value
2013-09-16 14:08:26 -07:00
Igor Murashkin
8f64e3cd42 am 14297141: am 5cf86aa7: Merge "media: Update ImageReader to remove MaxImagesAcquiredException" into klp-dev
* commit '142971418c8e9ca539dae40f3c2532956f258e6b':
  media: Update ImageReader to remove MaxImagesAcquiredException
2013-09-16 14:08:23 -07:00
Xia Wang
19306af73a Update the Connectivity Manager test suit to use InstrumentationTestCase.
- Remove ConnectivityManagerTestActivity as the test activity could be destroyed
  after a system config change, which cause test failure in the wifi stress test.
- Update all tests to use InstrumentationTestCase, which instruments the test package.

Bug : 10426067

Change-Id: Ibf6f1f7cffd7a7eabc4cc63c7e033b59274b724e
2013-09-16 14:07:25 -07:00
Dianne Hackborn
35f72be50b Implement issue #10691359: Kill long-running processes
We now have the activity manager kill long-running processes
during idle maintanence.

This involved adding some more information to the activity manager
about the current memory state, so that it could know if it really
should bother killing anything.  While doing this, I also improved
how we determine when memory is getting low by better ignoring cases
where processes are going away for other reasons (such as now idle
maintenance).  We now won't raise our memory state if either a process
is going away because we wanted it gone for another reason or the
total number of processes is not decreasing.

The idle maintanence killing also uses new per-process information
about whether the process has ever gone into the cached state since
the last idle maintenance, and the initial pss and current pss size
over its run time.

Change-Id: Iceaa7ffb2ad2015c33a64133a72a272b56dbad53
2013-09-16 14:05:34 -07:00
Chet Haase
8b575ec3a7 am c05c3628: Merge "Ensure that transitions animating alpha end on a reasonable value" into klp-dev
* commit 'c05c36285dbc715e851671cb4495d376743c4399':
  Ensure that transitions animating alpha end on a reasonable value
2013-09-16 14:05:18 -07:00
Igor Murashkin
142971418c am 5cf86aa7: Merge "media: Update ImageReader to remove MaxImagesAcquiredException" into klp-dev
* commit '5cf86aa7564eff8443158644e866a420d865b1bc':
  media: Update ImageReader to remove MaxImagesAcquiredException
2013-09-16 14:05:14 -07:00
Chet Haase
c05c36285d Merge "Ensure that transitions animating alpha end on a reasonable value" into klp-dev 2013-09-16 21:03:28 +00:00
Igor Murashkin
5cf86aa756 Merge "media: Update ImageReader to remove MaxImagesAcquiredException" into klp-dev 2013-09-16 21:02:32 +00:00
Chet Haase
23c61f6bc5 Ensure that transitions animating alpha end on a reasonable value
The Fade transition sets an initial alpha value of 0 when items are
appearing. This makes items invisible to start with, and then they
eventually fade in as part of the transition when the transition's
animation runs.

But if that animation/transition gets interrupted, or not started, then
the alpha value would not be restored, and the value would stay 0,
making the items invisible indefinitely. This is what was happening in
the action bar of the People app when performing a search.

The fix is to handle Transition and animation events to restore the alpha
to its true value when the transition completes, whether that
transition is canceled or not.

Issue #10726905 ActionBar weirdness in People app

Change-Id: Idb65fd8d471d2ac0a1ddc243fee00ae99f7e72d8
2013-09-16 13:58:23 -07:00
Yuhao Zheng
3cb31ed094 am 69ea6665: am af672998: Merge "Fix Settings app crash while enabling tethering" into klp-dev
* commit '69ea666520af496b6cd1c106df727d74be70c491':
  Fix Settings app crash while enabling tethering
2013-09-16 13:42:36 -07:00
Yuhao Zheng
69ea666520 am af672998: Merge "Fix Settings app crash while enabling tethering" into klp-dev
* commit 'af672998af7fb0bba90f7d56504584a63ff189fa':
  Fix Settings app crash while enabling tethering
2013-09-16 13:39:35 -07:00
Yuhao Zheng
af672998af Merge "Fix Settings app crash while enabling tethering" into klp-dev 2013-09-16 20:36:50 +00:00
Vinit Deshapnde
998c7007d1 am 664b5df7: am 7354b834: Merge "Fix an NPE in WifiService" into klp-dev
* commit '664b5df781c2ee7784800a9d86c5ee33edeb512c':
  Fix an NPE in WifiService
2013-09-16 13:31:51 -07:00
Vinit Deshapnde
664b5df781 am 7354b834: Merge "Fix an NPE in WifiService" into klp-dev
* commit '7354b834fc53a9d1885553aea58f632df16a5655':
  Fix an NPE in WifiService
2013-09-16 13:29:05 -07:00
Vinit Deshapnde
7354b834fc Merge "Fix an NPE in WifiService" into klp-dev 2013-09-16 20:25:52 +00:00
Igor Murashkin
5454e3ddcc am 720b1fce: am 26cb5fd5: Merge "media: Update ImageReader APIs" into klp-dev
* commit '720b1fcecd6c21bf4fbe6d3822e52c8a092b93c4':
  media: Update ImageReader APIs
2013-09-16 13:24:58 -07:00
Yuhao Zheng
8c461c6fc6 Fix Settings app crash while enabling tethering
While enabling Portable Wifi hotspot in Settings, a null WifiConfiguration
is provided. This null config is on purpose and meanful, and it should bypass
the validation test to avoid the NullPointerException.

Bug: 10780414

Change-Id: Ic507ecae463946c925b3d5fb5a1d185b37db410f
2013-09-16 13:24:04 -07:00
Igor Murashkin
720b1fcecd am 26cb5fd5: Merge "media: Update ImageReader APIs" into klp-dev
* commit '26cb5fd5fffb2204ec12994cacb3b32639eb4d59':
  media: Update ImageReader APIs
2013-09-16 13:22:06 -07:00
Igor Murashkin
26cb5fd5ff Merge "media: Update ImageReader APIs" into klp-dev 2013-09-16 20:19:15 +00:00
Daniel Sandler
e0339ab5a3 am c1c5e117: am 311daf20: Merge "New platlogo for K." into klp-dev
* commit 'c1c5e1177d0ad675c151a7081bd42eef9b0872d2':
  New platlogo for K.
2013-09-16 13:14:00 -07:00
Daniel Sandler
c1c5e1177d am 311daf20: Merge "New platlogo for K." into klp-dev
* commit '311daf205348849c97822d33d6a4f7b75bfec6d8':
  New platlogo for K.
2013-09-16 13:11:11 -07:00
Daniel Sandler
311daf2053 Merge "New platlogo for K." into klp-dev 2013-09-16 20:09:05 +00:00
Craig Mautner
7dd9fdfca0 Put next task on top of stack if top is finishing.
In the case where the top task is finishing and another task is
launching make sure that the next task will be launched once the
top task actually completes pausing.

In the case of b/10550460 the top task, Dialtacts, was finishing
but had not yet completed pausing. It was configured to return to
the home screen (mLaunchHomeTaskNext true) but because its finishing
flag was set all the tests we have thought that the InCallActivity
task was the top task. When it finally did complete the
mLaunchHomeTaskNext flag caused the home activity to be started
instead of the InCallActivity.

If the InCallActivity task had been moved above the Dialtacts task
at the time it was judged to be the top task the home activity
would not have been launched when Dialtacts completed. This fix
moves the judged top task over the finishing top task.

Fixes bug 10550460.

Change-Id: I14052ad2282008679b560dd7fb16b216664ec24d
2013-09-16 13:05:41 -07:00
Yu Shan Emily Lau
c10b55a5e4 Fix media stress test.
1) Fix the CamcorderProifle initalization.
2) Insert 2 seconds after camera release.

Change-Id: Ib22f1922a917233f3d1020dc67de834e00fd0959
2013-09-16 12:50:12 -07:00
Vinit Deshapnde
ffec332727 Fix an NPE in WifiService
The check to validate incoming configurations is flagging a correct
API usage as well - which doesn't provide any configuration to test.
Fixing code to accommodate this.

Bug: 10749041

Change-Id: I972f0edbdfa14aaa3edb34e4c6784b436c288383
2013-09-16 12:41:12 -07:00
Daniel Sandler
c0a9709ad2 am 8c9905eb: am 1656a346: Merge "Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS." into klp-dev
* commit '8c9905ebfac3a3a7ca97faa447d5f118072adb59':
  Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS.
2013-09-16 11:46:17 -07:00
Daniel Sandler
1fe69fac4b am 32327048: am 9cb5445d: Merge "Fix recent SystemUI dump crash." into klp-dev
* commit '32327048d4d628e985e2581a98078768bd267b92':
  Fix recent SystemUI dump crash.
2013-09-16 11:46:14 -07:00
Daniel Sandler
8c9905ebfa am 1656a346: Merge "Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS." into klp-dev
* commit '1656a346d9b69470cf8336a3059e9624797c7b7d':
  Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS.
2013-09-16 11:44:19 -07:00
Daniel Sandler
32327048d4 am 9cb5445d: Merge "Fix recent SystemUI dump crash." into klp-dev
* commit '9cb5445d26a7973b0212d3bb9b807877cce1f5c6':
  Fix recent SystemUI dump crash.
2013-09-16 11:44:16 -07:00
Daniel Sandler
1656a346d9 Merge "Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS." into klp-dev 2013-09-16 18:40:14 +00:00
Daniel Sandler
80c3c4e960 New platlogo for K.
Bug: 10605145
Change-Id: I23f285ec24118982b10f5d801b75925b9dc81c64
2013-09-16 14:40:03 -04:00
Daniel Sandler
9cb5445d26 Merge "Fix recent SystemUI dump crash." into klp-dev 2013-09-16 18:36:04 +00:00
Glenn Kasten
d441ce0570 am b66cc514: am 6b2b8459: Merge "Miscellaneous fixes to SoundPool unit test" into klp-dev
* commit 'b66cc5147f45b5fe181f18d0f6b55c5f470c731f':
  Miscellaneous fixes to SoundPool unit test
2013-09-16 11:30:43 -07:00
Glenn Kasten
3a881d639a am ef5b1a05: am 36317eac: Merge "Stress test for AudioTrack shared memory bug" into klp-dev
* commit 'ef5b1a05a084ea66d906c6014b4de0081893d16c':
  Stress test for AudioTrack shared memory bug
2013-09-16 11:30:40 -07:00
Zhijun He
cc6b5bf214 am e4688207: am 78a1de65: Merge "Camera2: Add MAX_CAMERAS_IN_USE error case handling" into klp-dev
* commit 'e468820757743b95fb5622ae3010fbccb9338a0c':
  Camera2: Add MAX_CAMERAS_IN_USE error case handling
2013-09-16 11:30:34 -07:00