6577 Commits

Author SHA1 Message Date
Wu-cheng Li
eb12309583 Merge "Disconnect the native window in CameraService::Client::disconnect." 2011-07-19 14:47:20 -07:00
Wu-cheng Li
13528f78f9 Disconnect the native window in CameraService::Client::disconnect.
bug:5048372
Change-Id: I6886907a672ddf5580b988ca5bc13e3dc26d4385
2011-07-20 05:35:02 +08:00
Mathias Agopian
ff86f37b95 use SurfaceTexture new scaling mode in SF
SF now obeys SurfaceTexture's scaling mode instead
of inferring it from the buffer's size

Change-Id: I4d50e9851abedd7e64bfcfc8af9eefb9fb668529
2011-07-19 13:05:12 -07:00
Doug Zongker
9d29d155c5 Merge "add rebootWipeCache call to RecoverySystem API" 2011-07-19 13:00:30 -07:00
Doug Zongker
3365120137 add rebootWipeCache call to RecoverySystem API
Also remove the never-used encrypted-filesystem-via-recovery stuff
that was stripped out of recovery a while ago.

Change-Id: I3349cba83daa9bc4765bd9b3f96d15000a801824
2011-07-19 12:45:09 -07:00
Wink Saville
782ed09f2f am 57aebc61: am f679d4cb: Merge "Fix FeatureUser leak in ConnectivityService" into honeycomb-LTE
* commit '57aebc6109f2059ba335a02bf95928a494cff4ba':
  Fix FeatureUser leak in ConnectivityService
2011-07-19 12:42:01 -07:00
Wink Saville
57aebc6109 am f679d4cb: Merge "Fix FeatureUser leak in ConnectivityService" into honeycomb-LTE
* commit 'f679d4cb92b6d1c193a154abb5ae8fb3a786fc43':
  Fix FeatureUser leak in ConnectivityService
2011-07-19 12:39:42 -07:00
Kazuhiro Ondo
3bed4c9f50 Fix FeatureUser leak in ConnectivityService
In case infinite restoral timer is used for a network feature,
FeatureUser could be keep added but never released if a user
is keep calling "startUsingNetworkFeature".

This patch will add duplication check when adding a FeatureUser
into the list in case infinite restoral timer is used.

Bug: 5043513
Change-Id: I47e7076e217f201454fae33ce596ecdc63cf7908
2011-07-19 12:02:01 -07:00
satok
35be3dee17 Merge "Hide "Configure input method" button when the screen is locked." 2011-07-18 20:43:24 -07:00
satok
4273ed652a Merge "Enable IMEs to set additional subtypes in background" 2011-07-18 20:42:54 -07:00
satok
f90a33e92a Hide "Configure input method" button when the screen is locked.
Bug: 5022109

Change-Id: I5c6b59044d03b3f0335de1f602d1c3749b038c75
2011-07-19 12:21:39 +09:00
Jeff Brown
ea4265512c Fix drag and drop regression.
Bug: 5032496

Change-Id: I6504df1261f563092dadc84155d413f43e921ab8
2011-07-18 18:09:15 -07:00
Mike Lockwood
395765a9cb Merge "UsbManager: document that passing null setCurrentFunction restores default function" 2011-07-18 15:59:35 -07:00
Jamie Gennis
a97eba3d48 Merge "CameraService: (dis)connect from preview windows" 2011-07-18 15:19:20 -07:00
satok
91e88122cf Enable IMEs to set additional subtypes in background
Bug: 4591792

Change-Id: I7e61a576c56d1a3a56001bdf2fd51ad3801add01
2011-07-19 04:59:48 +09:00
Svetoslav Ganov
35bfedeaba Touch exploration separate setting and API to poll the latter state.
1. Seperated touch exploration to be a seperate setting rather being
   magically enabled by the system of accessiiblity is on the there
   is at leas one accessibility service that speaks enabled. Now
   there is a setting for requesting touch exploration but still the
   system will enabled it only if that makes sense i.e. accessibility
   is on and one accessibility service that speaks is enabled.

2. Added public API for checking of touch exploration is enabled.

3. Added description attribute in accessibility service declaration
   which will be shown to the user before enabling the service.

4. Added API for quick cloning of AccessibilityNodeInfo.

5. Added clone functionality to SparseArray, SparseIntArray, and
   SparseBooleanArray.

bug:5034010
bug:5033928

Change-Id: Ia442edbe55c20309244061cd9d24e0545c01b54f
2011-07-18 12:44:08 -07:00
Dianne Hackborn
d94b71de3b Merge "Work on death recipient leaks in Activity Manager and Content Service." 2011-07-18 11:30:16 -07:00
Mike Lockwood
875c24b897 UsbManager: document that passing null setCurrentFunction restores default function
Change-Id: I4340b336f3e91b3b8242f2a66c34a7a7f5c3021f
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-07-18 10:54:32 -07:00
Dianne Hackborn
1b64e0d865 Work on death recipient leaks in Activity Manager and Content Service.
This should fix a leak of process death recipients in the activity manager.

Also add debugging of content observers to try to track down what looks
like a leak of them in the content service.

Change-Id: Id6823679493ef0cde5307bb66490ebe31b878556
2011-07-17 17:50:37 -07:00
Jeff Sharkey
bd029f64f2 Merge "Data usage notifs, newly installed apps, defaults." 2011-07-17 16:29:11 -07:00
Jeff Sharkey
02e21d6a5b Data usage notifs, newly installed apps, defaults.
Only show warning/limit notifications for active networks, since they
aren't actionable for inactive IMSI.  Include IMSI in debug output on
engineering builds.

Move default policy warning to be configured through overlay.  Watch
for newly installed packages to enforce global policy.

Bug: 5038729, 5038541, 4979026, 5023634
Change-Id: I8fc8ab4c23c440a3091504ea16133ed6ababf58e
2011-07-17 16:28:02 -07:00
Dianne Hackborn
0e3328fbdd Rework and fix "adb shell dumpsys meminfo"
We now collect more detailed information splitting the maps into
additional useful categories.

Fixed some bugs in account, such as not correctly handling all of
the current dalvik allocations.

The activity manager now prints a final summary of all pss organized
by the apps and the categories.

Change-Id: Iafc5f27c998095812b1483c6803b8e0f0587aeae
2011-07-17 13:48:37 -07:00
Jeff Sharkey
9cbf8e270d Merge "Acquire wakelock during network stats collection." 2011-07-17 13:06:38 -07:00
Jeff Sharkey
6248926e19 Acquire wakelock during network stats collection.
Bug: 4517275
Change-Id: I01dfe3b13d7aca84605446e9e9927d0648623552
2011-07-17 13:03:29 -07:00
Svetoslav Ganov
8eb89cc778 Merge "Throw an exception if accessibility service has not requested to retrieve window content." 2011-07-17 12:26:14 -07:00
Svetoslav Ganov
4a49d9fe52 Throw an exception if accessibility service has not requested to retrieve window content.
1. If an accessibility service does not request access to the window
   content and does so, an exception is thrown to point the developer
   to the reason.

bug:5038284

Change-Id: Ibf08f4d2c8ad8939c4f4c2e288048a4f8ff1e31b
2011-07-17 12:22:14 -07:00
Ken Sumrall
d53f8a86d3 Merge "During encryption, don't throw exceptions for unknown vold state" 2011-07-17 12:21:00 -07:00
Svetoslav Ganov
4d34ddc780 Merge "Exception in TouchExplorer due to invalid pointer id." 2011-07-16 13:42:11 -07:00
Svetoslav Ganov
ea80b2d02f Exception in TouchExplorer due to invalid pointer id.
Change-Id: Iec5d3b3b0d3ae5676e16384ed2b12352fe4a7f3c
2011-07-16 13:41:21 -07:00
Jeff Brown
11c2dcf259 Merge "Add support for orientationAware touch pads. Bug: 5038388" 2011-07-15 21:06:09 -07:00
Jeff Brown
6f9790086f Merge "Remove more edge flag cruft." 2011-07-15 21:05:36 -07:00
Jeff Brown
612891e07b Add support for orientationAware touch pads.
Bug: 5038388

Change-Id: I9c571b1542299334d2d64c5b33e456ec20ebc0ae
2011-07-15 20:54:03 -07:00
Ken Sumrall
18db5c5690 During encryption, don't throw exceptions for unknown vold state
This is a temporary fix until we get something better.  During the
encryption process, vold does not respond to commands because it is
blocked doing the encryption.  Because it doesn't respond, this code
times out, sets the state to null, and thows an exception.  For now,
just don't throw an exception if the device is encrypting.

Change-Id: I7e821ec2addd60475fb10834df533beccb2650fe
2011-07-15 20:24:17 -07:00
Jeff Brown
6069139356 Remove more edge flag cruft.
Change-Id: I4f9f4f4cc7c771a918aee82a941a3e86ecfe48fe
2011-07-15 19:08:26 -07:00
Glenn Kasten
0bd30801c9 Merge "Log CPU usage" 2011-07-15 16:27:13 -07:00
Christopher Tate
755c7dc48d Merge "Support for compressed backups" 2011-07-15 15:05:53 -07:00
Christopher Tate
7bdb096289 Support for compressed backups
The backup format now includes a stream header.  That header begins with
a magic string and version number, then includes a flag stating whether
the archive data is compressed, and then in the case of encrypted archives
states the password salt used during encryption key stretching.

When compression is used, everything following the header is run through
a standard zlib "deflate" compressor before being sent downstream.

Change-Id: Ica72753e4ef2c3d13e63b45e7722a00652940a55
2011-07-15 14:55:30 -07:00
Irfan Sheriff
75683d59db Merge "WifiWatchdog rewrite to formal statemachine" 2011-07-15 14:38:04 -07:00
Mathias Agopian
700e13d7a1 Merge "dump GLES strings in SF dumpsys log" 2011-07-15 14:32:10 -07:00
Mathias Agopian
ab95117be0 dump GLES strings in SF dumpsys log
Change-Id: I438d511159b2bd915c84954f30574340017d4f47
2011-07-15 14:29:25 -07:00
Glenn Kasten
da494f9625 Log CPU usage
Change-Id: Ie447e59be139153e526b7ad467c46c659d26816f
2011-07-15 13:28:19 -07:00
Isaac Levy
654f509075 WifiWatchdog rewrite to formal statemachine
Rewrote wifiwatchdog service to use net.statemachine

Change-Id: Id6fd42b13192ac2e99f842ff50e9edff1696675d
2011-07-15 12:31:58 -07:00
Robert Greenwalt
ef75edaf0f am e1635197: am 476f5525: Small fix to 5008973 fix.
* commit 'e1635197bb6e6471b333d194855bb399da419957':
  Small fix to 5008973 fix.
2011-07-15 11:03:52 -07:00
Robert Greenwalt
d9212d3088 resolved conflicts for merge of 8550f3b8 to master
Change-Id: If2881b8b7faea5139af83a37cba04ccac5904f81
2011-07-15 10:52:54 -07:00
Robert Greenwalt
e1635197bb am 476f5525: Small fix to 5008973 fix.
* commit '476f55253adc670d7290ad8c90b5adc9e4f58d3b':
  Small fix to 5008973 fix.
2011-07-15 10:20:48 -07:00
Robert Greenwalt
8550f3b86a resolved conflicts for merge of 0a46db5d to honeycomb-plus-aosp
Change-Id: I0f1bea54d999ab3ef10400ee67bd4d3b2a5d1783
2011-07-15 09:55:48 -07:00
Robert Greenwalt
476f55253a Small fix to 5008973 fix.
Removed redundent log.
Cleaned some logic.
Will try to modify route even if recursive operation had an error.

bug: 5008973
Change-Id: Ie2ca51cc39cfac027a8a2e2eaddcb7d6c378c4da
2011-07-15 09:45:08 -07:00
Jeff Brown
997ea74ef7 Merge "Remove edge slop support." 2011-07-14 22:32:09 -07:00
Jeff Brown
a6111377e1 Remove edge slop support.
The edge slop feature was added a long time ago for a specific
device that had severe non-linear touch response issues near
the edges of its touch screen.  The feature is not useful on
modern hardware that is property calibrated.

Change-Id: I26716cbc7411c31883ddb4bb4ddd981027790d0f
2011-07-14 21:48:23 -07:00
Jeff Sharkey
4e814c348c Hide NetworkTemplate details, buffered stats I/O.
Move template matching to builder methods instead of exposing the
internal constants.  Also rule to match Ethernet usage.  Buffer
reading and writing of network stats, making operations 5x faster.

Change-Id: Iedb2d0ab3b26a976811c050f84a164e909eb74b6
2011-07-14 20:43:27 -07:00