14457 Commits

Author SHA1 Message Date
Yuhao Zheng
b1bf5f6132 am 41c55361: am e91a3f52: Merge "Add a hidden API to toggle airplane mode." into klp-dev
* commit '41c55361d1a68d5d41cc2ff5b1b486b0ed0109fc':
  Add a hidden API to toggle airplane mode.
2013-09-10 10:16:50 -07:00
Yuhao Zheng
5cd1a0e8d7 Add a hidden API to toggle airplane mode.
Added a hidden API under ConnectivityManager to toggle airplane mode.
This may be a temp solution for b/10653570.
bug:10653570

Change-Id: I0b2b42230073289eb8dc6891317d62b84e26c133
2013-09-10 09:57:12 -07:00
Craig Mautner
72a533adac am e2b8bd72: am 16c32207: Merge "Do not enter resumeTopActivity recursively." into klp-dev
* commit 'e2b8bd72bd325de9c258fa9c8ef4143420796614':
  Do not enter resumeTopActivity recursively.
2013-09-09 15:02:44 -07:00
Craig Mautner
16c3220734 Merge "Do not enter resumeTopActivity recursively." into klp-dev 2013-09-09 21:55:20 +00:00
Svetoslav Ganov
b47a65eeec am 5e811115: am cf305e18: Merge "Add dumping the state of the print sub-system." into klp-dev
* commit '5e811115a9e106a9a167354ba6700146015ecb97':
  Add dumping the state of the print sub-system.
2013-09-09 14:14:39 -07:00
Dianne Hackborn
9542acab2f am d8c06fab: am 80213add: Merge "Fix issue #10671878: Proc stats needs to remove old data structures" into klp-dev
* commit 'd8c06fab80d4fa6c2eeef697bdfdbaff88b3d934':
  Fix issue #10671878: Proc stats needs to remove old data structures
2013-09-09 14:14:36 -07:00
Svetoslav Ganov
cf305e18c3 Merge "Add dumping the state of the print sub-system." into klp-dev 2013-09-09 20:41:28 +00:00
Dianne Hackborn
80213addda Merge "Fix issue #10671878: Proc stats needs to remove old data structures" into klp-dev 2013-09-09 20:37:02 +00:00
Svetoslav Ganov
b669917825 Add dumping the state of the print sub-system.
Being able to dump the state of the print sub-system especially when
taking a bugreport is very useful for bug fixing and observing whether
the print system operates properly.

bug:10659019

Change-Id: Id098b788f474ab17766966a4563ffdfc0171c76b
2013-09-09 13:15:15 -07:00
Craig Mautner
e5273b422e Do not enter resumeTopActivity recursively.
Changes for translucent activity were causing activities to be
launched twice due to a recursive call into resumeTopActivity.
Putting the translucent action onto a handler removes the recursivity
and fixes the multiple launch problem.

Fixes bug 10556969.

Change-Id: I2bb53cd555b0aaf093ab35db2859acb10b58211e
2013-09-09 12:57:47 -07:00
Eric Rowe
001ebe0ec6 am a130a316: am e13aa0ba: Merge "Add PID to ANR logcat printout." into klp-dev
* commit 'a130a3161432bd4e2f267d3de43c75c9a87c667a':
  Add PID to ANR logcat printout.
2013-09-09 11:36:30 -07:00
Eric Rowe
4e94f93a7d Add PID to ANR logcat printout.
Bug: 10568033
Change-Id: I7131520c887df1f897b7a135b04509bdad9bdb88
2013-09-09 10:34:12 -07:00
Dianne Hackborn
be4c1d74a7 Fix issue #10671878: Proc stats needs to remove old data structures
We now keep track of which process and service states are actively
in use, and remove any that are not in use during a commit.  The
activity manager needed to be tweaked to report this data, and ensure
it does not try to operate on one of these structures when not in
use.

Also some other fixes:

- We now keep track of process names associated with services, for
display in the UI.
- Keep track of total run time for each service, also for UI.
- The parceled format is more efficient, not storing duplicates of
process/package names, and writing times as ints when possible.
- Reduced commit period from 1 day to 12 hours, so that our UI can
be a little closer at its attempt to display the stats over 1 day.

Change-Id: Ifeda0ffe963a7b49d8eb2a3f6923f3a5e71a4e43
2013-09-09 09:49:52 -07:00
Wink Saville
3553be2bff am a71947ff: am bdd61696: Merge "Tighten test for warm sim and add more debug." into klp-dev
* commit 'a71947ff7f28686f0f0fdc0586d85718e1a62352':
  Tighten test for warm sim and add more debug.
2013-09-09 02:48:37 -07:00
Christopher Tate
8474ae7df0 am 6b86ac70: am ffe0a803: Fix permission checks around setBackupEnabled()
* commit '6b86ac70460c2fc393159fa7a88d14460a917117':
  Fix permission checks around setBackupEnabled()
2013-09-09 02:48:30 -07:00
Christopher Tate
be8e9ff7ed am bb595190: am 89c5a118: Merge "Don\'t crash attempting restore of uninstalled live wallpaper" into klp-dev
* commit 'bb595190242a5405c0a6f0470532407543d6e00b':
  Don't crash attempting restore of uninstalled live wallpaper
2013-09-09 02:24:46 -07:00
Wink Saville
bdd61696c6 Merge "Tighten test for warm sim and add more debug." into klp-dev 2013-09-09 01:32:45 +00:00
Christopher Tate
ffe0a803f8 Fix permission checks around setBackupEnabled()
...by making sure to drop binder identity before writing our new
state to secure settings etc.

Bug 10506933

Change-Id: I00505cc5215c8fe5f30f2f35698b30645fe14c87
2013-09-08 15:41:32 -07:00
Christopher Tate
89c5a11808 Merge "Don't crash attempting restore of uninstalled live wallpaper" into klp-dev 2013-09-08 20:07:20 +00:00
Christopher Tate
909522048f Don't crash attempting restore of uninstalled live wallpaper
Bug 10658041

Change-Id: I08b38cc81fbb89907a4ffe5b6f94e9a507226011
2013-09-08 13:01:28 -07:00
Svetoslav Ganov
d0ff896789 am d8adcd21: am c7222124: Merge "Printers for a disappearing print serivce incorrectly removed." into klp-dev
* commit 'd8adcd219dab97682a808b1ba12cd6528e33505e':
  Printers for a disappearing print serivce incorrectly removed.
2013-09-07 15:09:24 -07:00
Svetoslav Ganov
c72221242e Merge "Printers for a disappearing print serivce incorrectly removed." into klp-dev 2013-09-07 22:05:14 +00:00
Jeff Brown
c9f779824e am affacbcc: am 82975e40: Merge "Emit a more meaningful cause for watchdog restarts." into klp-dev
* commit 'affacbcceda789021c338d8aac3ff40e33c33e4c':
  Emit a more meaningful cause for watchdog restarts.
2013-09-06 18:38:11 -07:00
Jeff Brown
82975e4008 Merge "Emit a more meaningful cause for watchdog restarts." into klp-dev 2013-09-07 01:33:00 +00:00
Stan Chesnutt
44a8fe1f54 am 0b87a637: am f3b88c7a: Merge "Simplistic fix for initialization race" into klp-dev
* commit '0b87a6373c4f92e81e5375ec59474588e820ef92':
  Simplistic fix for initialization race
2013-09-06 16:57:50 -07:00
Stan Chesnutt
f3b88c7a42 Merge "Simplistic fix for initialization race" into klp-dev 2013-09-06 23:52:33 +00:00
Jeff Brown
7dd2d19725 Emit a more meaningful cause for watchdog restarts.
Print the real thread name and a better indication of where the
hang was detected.

Bug: 10646480
Change-Id: Ic94742d0db08b8531cfd1429bb0026d6c30b779d
2013-09-06 16:23:54 -07:00
Robert Greenwalt
e52785e6a7 am 9234e15d: am ecd0db5a: Merge "Setting MTU size for specific network." into klp-dev
* commit '9234e15d8d4d99b211e6bb5c199790a77cf36be7':
  Setting MTU size for specific network.
2013-09-06 15:49:42 -07:00
Sreeram Ramachandran
dd2fc86db7 am 086a36f5: am 1aa3202b: Merge "Minor fixes: Add a missing "break" and some cosmetic fixes." into klp-dev
* commit '086a36f5a9d498c0aee789fe50e4d4dde6457c52':
  Minor fixes: Add a missing "break" and some cosmetic fixes.
2013-09-06 15:42:51 -07:00
Robert Greenwalt
ecd0db5a73 Merge "Setting MTU size for specific network." into klp-dev 2013-09-06 22:42:10 +00:00
Sreeram Ramachandran
1aa3202b1b Merge "Minor fixes: Add a missing "break" and some cosmetic fixes." into klp-dev 2013-09-06 22:37:21 +00:00
sy.yun
9d9b74a900 Setting MTU size for specific network.
Able to config network specific MTU size. Normally, the default size of MTU is 1500.
 US - ATT 1410, TMUS 1440, SPRINT 1422
 KR - SKT 1440, KT 1450, LGU+ 1428
 JP - KDDI 1420, SoftBank 1340
 CA - RGS 1430, FIDO 1430, MTS 1430, BELL 1358, SaskTel 1358
 AU - TEL 1400

Bug: 10195070
Change-Id: Ie18650b37a3d44af944f2dae4aa97c04fb12cd5e
2013-09-06 15:26:19 -07:00
Svetoslav Ganov
4e4518383f Printers for a disappearing print serivce incorrectly removed.
The code that removes printers for a disappearing print serivice was
using printer infos instead printer ids and also wrong map methods.

bug:10651739

Change-Id: Idb9ccdaad9a59b3b6d16b079b33afad56bc45255
2013-09-06 14:50:22 -07:00
Stan Chesnutt
8183aac3eb Simplistic fix for initialization race
The monkey run described in the bug report hits this server at a
vulnerable point, and the RuntimeException causes a subsequent NPE.

Note that I'm making this fixup CL "blind", as monkey running on
my platform (mantaray) doesn't show this specific failure.

http://b/9438025

Change-Id: I8e16cf5cfc21dcf3061f31b0741525881bbf9724
2013-09-06 13:57:16 -07:00
Mathias Agopian
84e6ccf790 am e669c7ac: am 52a5096f: Merge "tweak the electron beam animation a bit" into klp-dev
* commit 'e669c7aca3c02b9991d5a1cfcad40b5ae48faab2':
  tweak the electron beam animation a bit
2013-09-06 13:46:22 -07:00
Dianne Hackborn
2949d1af93 am 5e615ee5: am a4796d51: Merge "Fix to show correct duration." into klp-dev
* commit '5e615ee5ad4fb02cec2c328555cf5fb4fc1ea424':
  Fix to show correct duration.
2013-09-06 13:46:18 -07:00
Mathias Agopian
52a5096f7c Merge "tweak the electron beam animation a bit" into klp-dev 2013-09-06 19:16:37 +00:00
Dianne Hackborn
a4796d51f6 Merge "Fix to show correct duration." into klp-dev 2013-09-06 18:48:02 +00:00
Dianne Hackborn
d6d54a4694 Fix to show correct duration.
Change-Id: I1032d90d5b7bf39006b20f3374104421dcc53305
2013-09-06 11:46:43 -07:00
Wink Saville
4fea0413c1 Tighten test for warm sim and add more debug.
- Require a non-204 response multiple times before declaring a
redirected error and hence a warm sim.

- If there is no connection or dns don't declare its a warm-sim.

- Add printing of the http headers to try to get more information
if we still get a false positive result.


Bug: 9972012
Change-Id: Ic115685cdbbe39c2b4de88b128eaf8d2ea96b45c
2013-09-06 09:54:24 -07:00
Jeff Sharkey
a53fb42f31 am 775bdbdb: am dc8d7048: Merge changes I7277880e,Ia5584bd6 into klp-dev
* commit '775bdbdb11ad790f45ee66e8fdf8dca3fcba969a':
  Provide calling package to ContentProviders.
  Separate root and document management.
2013-09-06 09:53:04 -07:00
Wink Saville
010bbf42ff am 78f4e10b: am a1d6a9b4: am fc7a146b: am 50f86448: am 59a9884b: Merge "Do not change NetworkInfo.DetailedState." into jb-mr2-dev
* commit '78f4e10bb206acc13095a6daeb880751fb28f313':
  Do not change NetworkInfo.DetailedState.
2013-09-06 09:53:01 -07:00
Jeff Sharkey
dc8d704899 Merge changes I7277880e,Ia5584bd6 into klp-dev
* changes:
  Provide calling package to ContentProviders.
  Separate root and document management.
2013-09-06 16:26:34 +00:00
Wink Saville
a1d6a9b474 am fc7a146b: am 50f86448: am 59a9884b: Merge "Do not change NetworkInfo.DetailedState." into jb-mr2-dev
* commit 'fc7a146b82774514bad4bc307489ece7ac27ee50':
  Do not change NetworkInfo.DetailedState.
2013-09-06 09:19:40 -07:00
Wink Saville
fc7a146b82 am 50f86448: am 59a9884b: Merge "Do not change NetworkInfo.DetailedState." into jb-mr2-dev
* commit '50f864480d6e9cf9e4d83b4533e3764753b4d408':
  Do not change NetworkInfo.DetailedState.
2013-09-06 09:17:19 -07:00
Matthew Williams
abc1d89950 Merge "Fix broken javadocs" 2013-09-06 16:06:17 +00:00
Jeff Sharkey
911d7f411f Provide calling package to ContentProviders.
The calling package is important for ContentProviders that want to
grant Uri permissions as a side effect of operations, so offer it
through a new API.  Validates the provided package against the
calling UID before returning.

Bug: 10626527
Change-Id: I7277880eebbd48444c024bcf5f69199133cd59e4
2013-09-06 08:08:18 -07:00
Christopher Tate
48103dc3f9 am abe49daf: am 8fe79f66: Merge "Turn off verbose wakeup-alarm stats" into klp-dev
* commit 'abe49dafa0de201520589249083a5274d16b5287':
  Turn off verbose wakeup-alarm stats
2013-09-05 23:51:56 -07:00
Mathias Agopian
97f0aa6f8a tweak the electron beam animation a bit
we make the "beam" vanish in the center of the screen.

Bug: 10641933

Change-Id: I61fdb4d46e9f62dc80d65356a884dff0b177384a
2013-09-05 18:58:51 -07:00
Amith Yamasani
cd57b4950f am 3d27c9f9: am f1eebfc2: Merge "Remove unused APIs and rename others based on API review" into klp-dev
* commit '3d27c9f973b1dd35ed457785b452851316cdca8a':
  Remove unused APIs and rename others based on API review
2013-09-05 17:33:19 -07:00