Commit Graph

50849 Commits

Author SHA1 Message Date
Chong Zhang
db8cad1585 add a parameter for PCM limiter enable
Bug: 17470065
Change-Id: I327115fc16e7afe2bf5870e123d63f9887161206
2014-10-01 10:39:10 -07:00
Jesse Hall
5bf786d8f0 surfaceflinger: recompute visibility after sideband stream change
We normally recompute layer visibility when a layer gets its first
buffer; before then it's treated as invisible. Sideband layers never
get a buffer (as far as SurfaceFlinger knows), so never became
visible. Now we also recompute visibility when a layer gets a new
sideband stream.

Bug: 17752511
Change-Id: I84e150f196eb2eb7bcd2616248e5e3fa73624809
2014-10-01 09:00:34 -07:00
The Android Automerger
6560c5f0df merge in lmp-mr1-release history after reset to deb71b2812 2014-10-01 06:13:06 -07:00
Dianne Hackborn
5ee2c9d20c Work on issue #17656716: Unhandled exception in Window Manager
Try to clean up the code paths coming in and out of binder IPCs to
plug any places where we could disrupt the gather flag of a thread,
causing it to keep gathering stack crawls (which is the thing that
is causing our strict mode data to become so large).

We now take care of saving and restoring this state in the core
IPC code path, not at the Java layer.

Change-Id: I73d564778da127bdce00f304225930e7f2318293
2014-09-30 11:30:03 -07:00
The Android Automerger
28e900c775 merge in lmp-mr1-release history after reset to deb71b2812 2014-09-30 06:13:55 -07:00
The Android Automerger
2facb0115e merge in lmp-mr1-release history after reset to deb71b2812 2014-09-29 06:15:46 -07:00
Aravind Akella
deb71b2812 Merge "Fix a possible SensorService deadlock." into lmp-dev 2014-09-29 00:49:26 +00:00
Jesse Hall
bacc28ef1d surfaceflinger: Use landscape resolution for default dpi
When HWC doesn't provide DPI values for a display, we pick a default
DPI based on resolution. The intent was that 1080p and higher displays
would get XHIGH density, and lower resolutions would get TV density.
In KK (and possibly forever) we had a bug that we'd always use TV
density. That was fixed in L, but that fix exposed a pre-existing bug
that we always used the display's height in its native orientation,
rather than in landscape orientation. So an 800x1280 tablet like N7v1
started getting XHIGH density instead of the intended TV density.

Bug: 17461633
Change-Id: Ia57fa49e61f36bdda63ce283ef62c9953297222c
2014-09-28 22:26:28 +00:00
Aravind Akella
e148bc29c2 Fix a possible SensorService deadlock.
If the destructor of SensorEventConnection gets called when the main
 sendEvents loop of SensorService is executing it may result in a deadlock.
 The loop promotes each connection to a strong_pointer, calls sendEvents
 and cleans up the connection if necessary. It is possible that the sp's
 destructor may delete SensorEventConnection which will call the dtor
 ~SensorEventConnection(). This dtor again needs SensorService mLock to
 execute which may result in a deadlock.

Bug: 17617897
Change-Id: I76c244dbe85fadb591c0bd1a9a5eb01d93f56505
2014-09-28 21:26:49 +00:00
The Android Automerger
7fe8b2b7d6 merge in lmp-mr1-release history after reset to 71e351d96b 2014-09-28 06:10:26 -07:00
The Android Automerger
6a0a0fe0f7 merge in lmp-mr1-release history after reset to 71e351d96b 2014-09-27 06:11:32 -07:00
Aravind Akella
71e351d96b Merge "Revert "Fix sockfd leakage in SensorService. Remove sockfd from Looper when the connection is removed from mActiveConnections."" into lmp-dev 2014-09-27 02:09:30 +00:00
Aravind Akella
678f4fce90 Revert "Fix sockfd leakage in SensorService. Remove sockfd from Looper when the connection is removed from mActiveConnections."
This reverts commit 5105960d49.

Change-Id: I4d39ded2e50ef8a8e0aac27e438876203385a1f0
2014-09-27 02:06:32 +00:00
Michael Wright
4b20d40218 Merge "Only mark repeated keys as PASS_TO_USER if the original key was." into lmp-dev 2014-09-26 01:38:57 +00:00
Michael Wright
2e732956ad Only mark repeated keys as PASS_TO_USER if the original key was.
Bug: 17629695
Change-Id: Ic569aba4149c6cc321c2cf8aede7c5e8a1196234
2014-09-25 13:20:20 -07:00
The Android Automerger
1635df88c4 merge in lmp-mr1-release history after reset to 5105960d49 2014-09-25 06:13:48 -07:00
Jesse Hall
728a8da146 Merge "surfaceflinger: Check sideband stream changed to trigger sideband Layer update." into lmp-dev 2014-09-24 22:07:01 +00:00
The Android Automerger
e02b69cfad merge in lmp-mr1-release history after reset to 5105960d49 2014-09-24 06:13:22 -07:00
chenhg
0ea1cb9195 surfaceflinger: Check sideband stream changed to trigger sideband Layer update.
BUG: 17382907
Change-Id: I65fd037bd25238ae68a3976468ae7fd7ce49c562
2014-09-23 17:26:00 -07:00
Aravind Akella
5105960d49 Fix sockfd leakage in SensorService. Remove sockfd from Looper
when the connection is removed from mActiveConnections.

Bug: 17472228
Change-Id: Iaabe0968bd2104ef961ff5e8659bf91712e2e1db
2014-09-23 23:46:22 +00:00
The Android Automerger
8c9f7cce8b merge in lmp-mr1-release history after reset to 12c4bdad7b 2014-09-23 15:15:26 -07:00
Michael Lentine
12c4bdad7b Add rate-limited logging for unimplemented es functions.
Bug: 17322013

Change-Id: I7aa5ab2f76cf344cfb75802edbfd44e8e7526ff1
2014-09-23 08:30:12 -07:00
The Android Automerger
2969368f4b merge in lmp-release history after reset to d94854030c 2014-09-23 06:16:24 -07:00
The Android Automerger
15e2cff615 merge in lmp-mr1-release history after reset to d94854030c 2014-09-23 04:46:25 -07:00
Lorenzo Colitti
d94854030c Merge "Include the VPN server IP address in the VPN state file." into lmp-dev 2014-09-23 00:29:59 +00:00
The Android Automerger
68ff95aad4 merge in lmp-mr1-release history after reset to b1982b75c4 2014-09-22 11:44:59 -07:00
The Android Automerger
d57a5b0cb8 merge in lmp-mr1-release history after reset to b1982b75c4 2014-09-22 11:14:20 -07:00
The Android Automerger
0c263b041c merge in lmp-mr1-release history after reset to b1982b75c4 2014-09-22 10:18:17 -07:00
The Android Automerger
da10dcc5dd merge in lmp-release history after reset to b1982b75c4 2014-09-22 06:13:42 -07:00
The Android Automerger
5640d5abe3 merge in lmp-release history after reset to b1982b75c4 2014-09-21 06:11:28 -07:00
The Android Automerger
7de711504d merge in lmp-release history after reset to dcb16082dd 2014-09-20 21:01:53 -07:00
The Android Automerger
888824cc0d merge in lmp-release history after reset to b1982b75c4 2014-09-20 06:12:10 -07:00
Sean Wan
b1982b75c4 am 60d31a0f: am 3c648e37: Update comment to use correct GPS file for wearable.
* commit '60d31a0fc0724d4538d105a800a1565e5f843130':
  Update comment to use correct GPS file for wearable.
2014-09-19 22:02:37 +00:00
Sean Wan
60d31a0fc0 am 3c648e37: Update comment to use correct GPS file for wearable.
* commit '3c648e373a44237c1924fc886daf8418a6e9f4cf':
  Update comment to use correct GPS file for wearable.
2014-09-19 21:49:11 +00:00
Sean Wan
3c648e373a Update comment to use correct GPS file for wearable.
Change-Id: I91c4363dbcc6cada8d6e9599d1b15e77febee0e5
2014-09-19 14:33:51 -07:00
Lorenzo Colitti
a9e8374c72 Include the VPN server IP address in the VPN state file.
This will be used by LegacyVpnRunner to create a throw route
pointing at it.

Bug: 17462989
Change-Id: I3ebf0cec726dd12b2c57ba5d66775f8c02b25b70
2014-09-19 13:27:56 +09:00
Lajos Molnar
67d8bd66aa surfaceflinger: add getDisplayStats() method
This is used by media service to schedule video frames at the
proper time, based on precise vsync timings.

Bug: 14659809
Change-Id: I1a90603f3dc09dca9aa4f90a3aa845fab56e0a5e
2014-09-18 17:03:20 -07:00
The Android Automerger
dcb16082dd merge in lmp-release history after reset to 5bbf73ced3 2014-09-18 06:12:20 -07:00
The Android Automerger
1255b81a87 merge in lmp-release history after reset to 5bbf73ced3 2014-09-17 06:13:11 -07:00
The Android Automerger
7b463a21f7 merge in lmp-release history after reset to 5bbf73ced3 2014-09-16 06:13:06 -07:00
Unsuk Jung
5bbf73ced3 Merge "Fix typo for android.hardware.audio.output feature in handheld device config" into lmp-dev 2014-09-15 23:42:54 +00:00
Aravind Akella
e225f6fd4a Merge "SensorService fixes." into lmp-dev 2014-09-15 22:09:53 +00:00
Aravind Akella
0ec2066e47 SensorService fixes.
i) Initialize sensor_event.flags to zero or wake_up flag before sending dropped flush_complete_events. This will avoid unnecessary acks. 
Currently it is not set to anything which may result in garbage values for flags field.
   ii) Change the dump format of SensorEventConnection.
   iii) Add const to method signatures wherever applicable.

Bug id: https://b2.corp.google.com/issues/17498626

Change-Id: Ia736ffb01c366540aab73cdcf596ce852c052593
2014-09-15 20:32:21 +00:00
Ihab Awad
5430cead9f Add system feature for ConnectionService API support (2/3)
Bug: 17445268

Change-Id: Ib96e50e2558d2744f74419fd022f3f20d578a2de
2014-09-15 09:13:10 -07:00
The Android Automerger
a9a104def3 merge in lmp-release history after reset to 2ab32d6915 2014-09-15 06:13:42 -07:00
The Android Automerger
22d7949df3 merge in lmp-release history after reset to 2ab32d6915 2014-09-14 06:12:39 -07:00
The Android Automerger
77e252057f merge in lmp-release history after reset to 5e7504bb77 2014-09-13 08:43:26 -07:00
The Android Automerger
9582d66692 merge in lmp-release history after reset to 2ab32d6915 2014-09-13 06:13:31 -07:00
Unsuk Jung
edaee1a927 Fix typo for android.hardware.audio.output feature in handheld device config
Bug: 15318046
Change-Id: I6437a2e87a909a8ef4ce6fcdc56ff06c5599a15a
2014-09-12 15:49:32 -07:00
Amith Yamasani
2ab32d6915 Rename managed_profiles feature to managed_users
Bug: 17392243
Change-Id: Ib60d1563ecdda9a979196ef51e849be2f9e9f841
2014-09-12 14:21:03 -07:00