Commit Graph

892 Commits

Author SHA1 Message Date
Romain Guy
f2314133bd am 0bbd8d82: Revert "Check whether an AsyncTask is created/executed on a looper thread."
* commit '0bbd8d8273c1dde9e0504f67bd8eb159bef2406a':
  Revert "Check whether an AsyncTask is created/executed on a looper thread."
2011-10-12 19:38:25 -07:00
Romain Guy
d7b6df5b1b am 5e7f2d0b: Revert "Fix the build"
* commit '5e7f2d0b227df38f6dbc2313ac8b5c9f225c135e':
  Revert "Fix the build"
2011-10-12 19:38:23 -07:00
Romain Guy
3ef396bb0a am f751210b: Merge "Fix the build"
* commit 'f751210b4b040458df789e217f168bccbb95117a':
  Fix the build
2011-10-12 12:37:22 -07:00
Romain Guy
1f66e8bd4e am df61887f: Merge "Check whether an AsyncTask is created/executed on a looper thread."
* commit 'df61887feb5348f1d30a2e86b13ae64c271c4acc':
  Check whether an AsyncTask is created/executed on a looper thread.
2011-10-12 12:37:15 -07:00
Romain Guy
0bbd8d8273 Revert "Check whether an AsyncTask is created/executed on a looper thread."
This reverts commit 7498ccb6b9.
2011-10-11 18:13:37 -07:00
Romain Guy
5e7f2d0b22 Revert "Fix the build"
This reverts commit 4db2504ada.
2011-10-11 18:13:05 -07:00
Romain Guy
f751210b4b Merge "Fix the build" 2011-10-11 14:51:18 -07:00
Romain Guy
4db2504ada Fix the build
Change-Id: I3071feab62abee7393557ceb920786b476fb0b02
2011-10-11 14:48:56 -07:00
Romain Guy
df61887feb Merge "Check whether an AsyncTask is created/executed on a looper thread." 2011-10-11 14:10:10 -07:00
Romain Guy
7498ccb6b9 Check whether an AsyncTask is created/executed on a looper thread.
Change-Id: I181b253c50a6579f35e61cd4b0c500379462e035
2011-10-11 14:09:27 -07:00
Jeff Brown
24285a1ad3 am e69eaf5c: Merge "Don\'t log BlockGuard violations on ENG builds."
* commit 'e69eaf5c6de95a0db7d5cddf079169a925bac85f':
  Don't log BlockGuard violations on ENG builds.
2011-10-11 12:36:25 -07:00
Jeff Brown
be7c29c9f7 Don't log BlockGuard violations on ENG builds.
We want to see CloseGuard violations in the log in ENG builds
because they indicate serious problems, but BlockGuard is
too noisy and is best viewed in the aggregate from the
drop box based tools.

Change-Id: I77d4d0a561a4299355c111d0ccb5a2147646245b
2011-10-11 11:35:23 -07:00
Jeff Brown
5ae0810722 am 48731318: Merge "Always log StrictMode violations on ENG builds."
* commit '4873131858a78708d42ffbdae0753c1bcd04d46f':
  Always log StrictMode violations on ENG builds.
2011-10-10 11:51:34 -07:00
Jeff Brown
d5875d98f0 Always log StrictMode violations on ENG builds.
The drop-box is too quiet and it masking real problems from
developers.  On ENG builds, use both logging and the drop-box
to ensure that problems are noticed promptly.

Change-Id: Id8fb8d392a7e01b532b73cb1a026b0d1f17af742
2011-10-09 15:01:11 -07:00
Dianne Hackborn
ee806f9fc7 am 01017cdf: Merge "Some new ICS target SDK changes."
* commit '01017cdf7452baa13908cba6aa26632114544b33':
  Some new ICS target SDK changes.
2011-10-05 11:26:48 -07:00
Dianne Hackborn
01017cdf74 Merge "Some new ICS target SDK changes." 2011-10-05 11:25:02 -07:00
Joe Fernandez
90b66cb321 am cac15eb2: Merge "docs: add developer guide cross-references, Project ACRE"
* commit 'cac15eb21cab68e5b76fe06f9aff273978c92054':
  docs: add developer guide cross-references, Project ACRE
2011-10-04 14:04:53 -07:00
Joe Fernandez
cac15eb21c Merge "docs: add developer guide cross-references, Project ACRE" 2011-10-04 14:03:12 -07:00
Joe Fernandez
b54e7a3d9f docs: add developer guide cross-references, Project ACRE
Change-Id: I5df1c4e13af67ff4c4a5b22f3cb1247bf0103b09
2011-10-04 13:57:00 -07:00
Dianne Hackborn
08286c1224 am c04db7e0: Fix handling of "allow fds" state.
* commit 'c04db7e06737c5b9bae276ac462858d44002672e':
  Fix handling of "allow fds" state.
2011-10-03 21:23:02 -07:00
Dianne Hackborn
c04db7e067 Fix handling of "allow fds" state.
Didn't take into account nesting of bundles.  Boo.

Change-Id: Ic8cf21ad8d6f4938a3e105128624c9d162310d01
2011-10-03 21:09:35 -07:00
Dianne Hackborn
e08ce59a1d am 7d657e5c: Merge "Add mechanism for Parcel to not allow FDs to be written to it."
* commit '7d657e5cfacec1f0be845c86dd4336e7efde5ede':
  Add mechanism for Parcel to not allow FDs to be written to it.
2011-10-03 17:15:39 -07:00
Dianne Hackborn
9ecebbfbf7 Add mechanism for Parcel to not allow FDs to be written to it.
This is to help implement issue #5224703.

Change-Id: I026a5890495537d15b57fe61227a640aac806d46
2011-10-03 16:58:41 -07:00
repo sync
b95dc6834e am 82afa6e6: Merge "Fix IPv6 on wifi"
* commit '82afa6e61e6e8df57b71096a9f07eda956442fec':
  Fix IPv6 on wifi
2011-09-30 09:59:52 -07:00
repo sync
7960d9f888 Fix IPv6 on wifi
Bug: 5388757
Change-Id: I3c8c776c26dad1daa9801d0455fde749c0206401
2011-09-29 16:59:01 -07:00
Dianne Hackborn
9d0e37e27c Some new ICS target SDK changes.
Change-Id: I5a500a5faddadbcb98bf181ad413c6d9fd7e663e
2011-09-22 12:58:54 -07:00
Jeff Sharkey
c57f411211 am ff2aff2a: am 3d1d57dc: Merge "Collect and persist tethering stats." into ics-factoryrom
* commit 'ff2aff2ac18daa758e5d51a4fd58976ce5f66d46':
  Collect and persist tethering stats.
2011-09-18 16:19:42 -07:00
Jeff Brown
70e4a25904 am daa98fe9: Merge "Revert "Forces AsyncTask to use the main looper Bug #5333924""
* commit 'daa98fe9f799fcb3d2fe90e400d9f722d64a5bbe':
  Revert "Forces AsyncTask to use the main looper Bug #5333924"
2011-09-16 21:05:07 -07:00
Jeff Brown
99f801da15 Revert "Forces AsyncTask to use the main looper Bug #5333924"
This reverts commit 6dafefb0f4

This change is breaking the system on startup with an NPE.  Need to fix that first then resubmit.
2011-09-16 20:44:06 -07:00
Romain Guy
af45bd56ac am 364a92eb: Merge "Forces AsyncTask to use the main looper Bug #5333924"
* commit '364a92ebb06de563d2024af24538737d619606ab':
  Forces AsyncTask to use the main looper Bug #5333924
2011-09-16 16:51:59 -07:00
Jeff Sharkey
cdd02c5d76 Collect and persist tethering stats.
Use new "gettetherstats" netd command to retrieve statistics for
active tethering connections.  Keep tethering poll events separate
from UID poll, even though they end up same historical structures.

Bug: 5244846
Change-Id: Ia0c5165f6712c12b51586f86c331a2aad4ad6afb
2011-09-16 16:05:51 -07:00
Romain Guy
6dafefb0f4 Forces AsyncTask to use the main looper
Bug #5333924

This might break applications trying to use AsyncTask on a looper
that is not the main thread, but such apps would already have
issues (AsyncTask has a single static handler and attempting to
use AsyncTask outside of the main thread would likely result
in weird threading issues in other parts of the app.)

Change-Id: Ibbf480627fc7b91326a27d4f5e5af49e8c5b5115
2011-09-16 16:00:59 -07:00
Dianne Hackborn
7722eec159 am 67eb4320: Merge "ICS is API 14."
* commit '67eb4320d2832b43fe3150ba07fd05ea98ea617f':
  ICS is API 14.
2011-09-14 16:05:31 -07:00
Dianne Hackborn
67eb4320d2 Merge "ICS is API 14." 2011-09-14 16:04:15 -07:00
Irfan Sheriff
cdca7e925a am 62e61d73: Merge "Add support to change IPv6 privacy extensions"
* commit '62e61d73f2f4edc480c1e6ab2110ff54ce699020':
  Add support to change IPv6 privacy extensions
2011-09-14 15:06:42 -07:00
Dianne Hackborn
0784cfb4b7 ICS is API 14.
Change-Id: I95f500f94ce206ae6ca6938d17537431d8799237
2011-09-14 13:51:59 -07:00
Irfan Sheriff
7329361cdc Add support to change IPv6 privacy extensions
Bug: 3360737
Change-Id: I9136992d05f7abf15bdfd92aad3a3e0c0fe3bee2
2011-09-14 12:31:56 -07:00
Ben Komalo
4b2efcb26f am 6c048260: Merge "Revert encryption mapping for device wipes."
* commit '6c048260f30d9bba1a83c4f79388cd6b3109be7d':
  Revert encryption mapping for device wipes.
2011-09-11 16:53:00 -07:00
Ben Komalo
13c7197da8 Revert encryption mapping for device wipes.
External storage volumes that were emulated+encrypted needed to have
their encryption mapping removed so that it doesn't try to encrypt the
volume after formatting them.

This just wires through an argument through vold, and assumes that vold
will do the right thing even if there is no encryption mapping set.

Bug: 5017638
Change-Id: I858fae3d12cb415bc34637f520f71220ad9daaad
2011-09-09 14:44:40 -07:00
Ben Komalo
e25b4f9779 am 8e147b29: Merge "Expose getting encryptstate through IMountService"
* commit '8e147b29377cab139515d17fba6ef00c868e87b6':
  Expose getting encryptstate through IMountService
2011-09-06 17:16:51 -07:00
Ben Komalo
444eca2329 Expose getting encryptstate through IMountService
- this really just calls cryptfs cryptocomplete
- needed so that UI logic can present a factory reset option if
encryption screwed up

Bug: 3384231
Change-Id: I553de87f0d03a65851030c9c5266e85866d30fa6
2011-09-06 12:48:53 -07:00
Mike Lockwood
7dafec932f SystemServer: Add support for disabling AudioService and MountService
Using the same convention in system_init.cpp, you can disable these
services by setting system properties:

	system_init.startaudioservice=0
	system_init.startmountservice=0

Change-Id: Ie6c0225bf6e204b0b5e3280b29c7d493d08b8a5c
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-18 06:32:03 -07:00
Dianne Hackborn
62f20ecf49 Add new am option to profile the launching of an activity.
Change-Id: Ie71a8043eafe41f53a0b3dbb5170276d87acbc9b
2011-08-15 17:55:57 -07:00
Adam Powell
6e90a362bc Fix bug 5159736 - Make DeviceDefault the default
Have the framework refer to the DeviceDefault themes for ICS apps that
don't explicitly request another theme.

Change-Id: I27dd0bbaa60f71df4f36e47d260f556d923ba075
2011-08-14 16:49:22 -07:00
Xavier Ducrohet
7f9f99ea11 Make some methods/fields package private so that layoutlib can access them.
Change-Id: I4aeadfbaf8a4f6a459fa19937c21ac23d9e5fb64
2011-08-11 12:57:51 -07:00
Irfan Sheriff
7244c977ec Ensure interface down before wpa_supplicant start
Now that the driver is built into the kernel, a runtime crash
followed by a driver unload and reload does not reset the interface.

Ensure interface is down before bringing up supplicant

Bug: 5032635
Change-Id: Ib8f3d47617e587139a8a91a82146ee3a2f329700
2011-08-10 15:49:25 -07:00
Irfan Sheriff
cb30b22ff5 Add firmware reload support for P2P
Refactor firmware reload call to support various modes - AP, STA & P2P

Bug: 5002384
Change-Id: I10d20fe5a7842437cf80861bc8a834990db87db5
2011-08-10 10:18:59 -07:00
Kristian Monsen
588d8560b3 Fix for bug 5115066 Handler override of toString() hides derived class name
Dynamically getting the class name.

Change-Id: I3140bee67ee2e5a1790e53cf4dfc240d3bb25218
2011-08-09 16:27:06 +01:00
Dianne Hackborn
b437e090ec Improved memory use reporting.
Change-Id: I38e53e6228bba92a142bafeedb5af8df4e4e5724
2011-08-05 18:18:05 -07:00
Jeff Sharkey
63d27a9233 Network stats with varint, omit parcel fields.
Persist NetworkStatsHistory using variable-length encoding; since
most buckets have small numbers, we can encode them tighter. Initial
test showed 44% space savings. Also persist packet and operation
counters.

Let NetworkStatsHistory consumers request which fields they actually
need to reduce parcel overhead.

Tests for verify varint and history field requests, also verify end-
to-end by persisting history into byte[] and restoring. Expose
bandwidth control enabled state. Extend random generation to create
packet and operation counts. Moved operation counts to long.

Fix bug that miscalculated bytes since last persist, which would
cause partial stats loss when battery pulled.

Bug: 4581977, 5023706, 5023635, 5096903
Change-Id: If61e89f681ffa11fe5711471fd9f7c238d3d37b0
2011-08-03 17:21:07 -07:00