Commit Graph

50880 Commits

Author SHA1 Message Date
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
Jeff Brown
70b9e6c8f3 Merge "Make dumpstate vibrate immediately." into lmp-dev 2014-09-11 22:32:05 +00:00
Jeff Brown
1dc94e3156 Make dumpstate vibrate immediately.
Previously, the vibration was not performed until after stacks
were gathered which takes a long time.  Moved the vibration
to happen earlier so we provide better user feedback for the
three-button salute when collecting a bug report.

Deleted some dead code for playing begin/end sounds.

Improved the timing measurement code to help track down why
bug reports are so slow.  (They take over a minute now which
can cause us to lose valuable diagnostic information.)

Bug: 17474152
Change-Id: Iac73f7993d7dc85196aad96f459b22fd4a710f94
2014-09-11 14:19:04 -07:00
The Android Automerger
5e7504bb77 merge in lmp-release history after reset to 9e691c1093 2014-09-11 06:12:53 -07:00
Aravind Akella
8493b79e1c SensorService fixes
i) Significant Motion multiple clients fix. Make a copy of
  mActiveConnections vector before cleaning up SensorEventConnections
  when one-shot sensors trigger.
  ii) Maintain a mapping between flush_complete_events and
  SensorEventConnections to accurately map flush() API calls and
  corresponding flush_complete_events
  iii) Remove all references to 1_1 and 1_2 HALs.
  iv) Dynamically allocate sensor_event buffers in SensorService main
  threadLoop.

Bug: 17412359
Change-Id: If3c3986197660cafef2d2e0b4dc7582e229cf1c4
2014-09-10 18:24:18 -07:00
The Android Automerger
a136a0c9c2 merge in lmp-release history after reset to 9e691c1093 2014-09-10 06:11:45 -07:00
Adam Connors
9e691c1093 Merge "Add feature flags for verified boot and securely remove users." into lmp-dev 2014-09-10 10:07:49 +00:00
Jeff Tinker
1173137af3 Merge "Add support for max res decode" into lmp-dev 2014-09-09 23:56:00 +00:00
Christopher Ferris
5ef471c5f9 Merge "Use time() instead of clock() for timeouts." into lmp-dev 2014-09-09 20:29:15 +00:00
Christopher Ferris
89d4949f86 Use time() instead of clock() for timeouts.
The clock() function returns the processor time used by the process. This
is not a good timeout mechanism since the code is suspended most of the
time waiting for the forked process to finish. Replace with the time()
function.

Bug: 17154069
Change-Id: Ib383329f9db269445d71a100553b08e71fddda3f
2014-09-09 13:10:49 -07:00
Riley Andrews
d15ef27f9b Update ScreenshotClient to take advantage of rotation in surfaceflinger's screencap api
Change-Id: I836649d9d5cd5958ce34e47f26f4a36d2d05d24c
2014-09-09 19:41:32 +00:00
Riley Andrews
edb86f9f68 Merge "Add rotation to surfaceflingers screen cap." into lmp-dev 2014-09-09 19:40:53 +00:00
Jeff Sharkey
464e539cd3 Merge "Add new system APK locations." into lmp-dev 2014-09-09 16:27:06 +00:00
Jeff Sharkey
770180a4dd Add new system APK locations.
Add /system/priv-app and /oem/app paths to system paths.  Also allow
rmdex on system apps, and quietly ignore when it was already removed.

Also relax logging when clearing code cache, since it's optional.

Bug: 17205122
Change-Id: I4fc4d0f63a3596937c4defbd64e1f8a1c563f02d
2014-09-09 08:22:58 -07:00
The Android Automerger
c994b54ba3 merge in lmp-release history after reset to 7eff26a02a 2014-09-09 06:13:08 -07:00
Riley Andrews
c3ebe66b49 Add rotation to surfaceflingers screen cap.
+ This is needed so that activity manager does not
  have to do cpu side rotations when capturing recents
  thumbnails.

Change-Id: If998008e675ad01305db8399fd643cf4608b7025
2014-09-09 03:51:16 +00:00
Michael Wright
7eff26a02a Merge "Add FEATURE_GAMEPAD." into lmp-dev 2014-09-08 23:21:35 +00:00
Glenn Kasten
d44fea6896 Merge "Make IPowerManager native conform to .aidl for oneway" into lmp-dev 2014-09-08 16:33:55 +00:00
Adam Connors
cb152a556e Add feature flags for verified boot and securely remove users.
Bug: 17405636
Change-Id: I06c0319f7903787910c52d65025b0d77d9e0575f
2014-09-08 17:33:16 +01:00
The Android Automerger
4d1022b20c merge in lmp-release history after reset to 0fef06294c 2014-09-08 06:13:51 -07:00