OSDN Git Service
David Srbecky [Fri, 19 Jun 2015 20:04:16 +0000 (20:04 +0000)]
am
a34e4a39: am
528c8ddc: Rename --include-cfi to --generate-debug-info.
* commit '
a34e4a398b708e1cca6de3448953a07169fb40e0':
Rename --include-cfi to --generate-debug-info.
David Srbecky [Fri, 19 Jun 2015 20:04:15 +0000 (20:04 +0000)]
am
0a394f54: Merge commit \'
3822b8b7\' into mnc-dev-plus-aosp
* commit '
0a394f54284d1d6006cf938b1da28bb365aa52b9':
Installd: Add debug.gencfi to run_dex2oat
David Srbecky [Fri, 19 Jun 2015 19:54:57 +0000 (19:54 +0000)]
am
528c8ddc: Rename --include-cfi to --generate-debug-info.
* commit '
528c8ddc60df7b3d291b389117e4db878a20ad48':
Rename --include-cfi to --generate-debug-info.
David Srbecky [Fri, 19 Jun 2015 19:36:37 +0000 (20:36 +0100)]
Merge commit '
3822b8b7' into mnc-dev-plus-aosp
David Srbecky [Thu, 28 May 2015 15:55:50 +0000 (16:55 +0100)]
Rename --include-cfi to --generate-debug-info.
This follows a change in dex2oat.
(cherry picked from commit
741a6ff2e264b96edbca3ac95e720b21c8e39382)
Bug:
21924613
Change-Id: I6b2df1668fdd09d82cfe86e6e51360b954b6c8a9
Andreas Gampe [Fri, 24 Apr 2015 21:30:04 +0000 (14:30 -0700)]
Installd: Add debug.gencfi to run_dex2oat
Add the debug.gencfi system property that forces generation of
CFI data.
(cherry picked from commit
816243d470bade03c264e67e39590f6852581898)
Bug:
21924613
Change-Id: Ida66f8c1567634d05cfdbba1a982be3684e94369
Mark Salyzyn [Mon, 15 Jun 2015 15:07:15 +0000 (15:07 +0000)]
am
df7f7831: am
8f37aa50: dumpstate: modify logcat timeout to compensate for storage speed
* commit '
df7f783159300ab3843699d6296b60f04885d7c2':
dumpstate: modify logcat timeout to compensate for storage speed
Mark Salyzyn [Mon, 15 Jun 2015 14:54:15 +0000 (14:54 +0000)]
am
8f37aa50: dumpstate: modify logcat timeout to compensate for storage speed
* commit '
8f37aa5011bf5d8c0a67126b92e3b435ffd4dca0':
dumpstate: modify logcat timeout to compensate for storage speed
Mark Salyzyn [Mon, 15 Jun 2015 14:53:44 +0000 (14:53 +0000)]
am
2efacef1: am
3a6a953c: am
2ab05fc5: Merge "dumpstate: modify logcat timeout to compensate for storage speed"
* commit '
2efacef121a680f2f180cab63601d96879345d06':
dumpstate: modify logcat timeout to compensate for storage speed
Mark Salyzyn [Mon, 15 Jun 2015 14:47:27 +0000 (14:47 +0000)]
am
3a6a953c: am
2ab05fc5: Merge "dumpstate: modify logcat timeout to compensate for storage speed"
* commit '
3a6a953ccc09cf70f11000e98d8639fcf934cbc0':
dumpstate: modify logcat timeout to compensate for storage speed
Mark Salyzyn [Mon, 15 Jun 2015 14:35:49 +0000 (14:35 +0000)]
am
2ab05fc5: Merge "dumpstate: modify logcat timeout to compensate for storage speed"
* commit '
2ab05fc551f8ee8442b05484cce0350c1b523678':
dumpstate: modify logcat timeout to compensate for storage speed
Mark Salyzyn [Fri, 12 Jun 2015 19:28:24 +0000 (12:28 -0700)]
dumpstate: modify logcat timeout to compensate for storage speed
(cherry pick from commit
f989162bb89dff6387f2021101306a1be6d875f7)
Discover the logcat buffer size, divide by the worst storage
speed in kb/s, and multiply by ten to estimate the timeout in
ms for each named buffer. If that value is less than 20 seconds,
then select 20 seconds. Apply this to each logcat request.
Bug:
21555259
Change-Id: Id36aebff83cb06e94350e4a84fa266b66a8444fc
Mark Salyzyn [Mon, 15 Jun 2015 14:27:10 +0000 (14:27 +0000)]
Merge "dumpstate: modify logcat timeout to compensate for storage speed"
Sharvil Nanavati [Fri, 12 Jun 2015 22:05:35 +0000 (22:05 +0000)]
am
28237a70: am
94a9875f: Merge "Remove Bluedroid kernel dump from dumpstate." into mnc-dev
* commit '
28237a7044269c215e213a82b920b72bb5d15e86':
Remove Bluedroid kernel dump from dumpstate.
Sharvil Nanavati [Fri, 12 Jun 2015 21:52:23 +0000 (21:52 +0000)]
am
94a9875f: Merge "Remove Bluedroid kernel dump from dumpstate." into mnc-dev
* commit '
94a9875f7565617a000814039a4134420397a6aa':
Remove Bluedroid kernel dump from dumpstate.
Sharvil Nanavati [Fri, 12 Jun 2015 21:30:02 +0000 (21:30 +0000)]
Merge "Remove Bluedroid kernel dump from dumpstate." into mnc-dev
Mark Salyzyn [Fri, 12 Jun 2015 19:28:24 +0000 (12:28 -0700)]
dumpstate: modify logcat timeout to compensate for storage speed
Discover the logcat buffer size, divide by the worst storage
speed in kb/s, and multiply by ten to estimate the timeout in
ms for each named buffer. If that value is less than 20 seconds,
then select 20 seconds. Apply this to each logcat request.
Bug:
21555259
Change-Id: Id36aebff83cb06e94350e4a84fa266b66a8444fc
Dan Stoza [Fri, 12 Jun 2015 20:12:42 +0000 (20:12 +0000)]
am
918537dc: am
0501cdbc: am
2b5b55e7: Merge "sf: Fix incorrect state reporting in dumpsys"
* commit '
918537dc764dc2a8e266fc5f89fd072d34656688':
sf: Fix incorrect state reporting in dumpsys
Dan Stoza [Fri, 12 Jun 2015 20:05:27 +0000 (20:05 +0000)]
am
0501cdbc: am
2b5b55e7: Merge "sf: Fix incorrect state reporting in dumpsys"
* commit '
0501cdbc0431f50eb22cc761dbdcbc3975005a70':
sf: Fix incorrect state reporting in dumpsys
Sharvil Nanavati [Fri, 12 Jun 2015 18:35:24 +0000 (11:35 -0700)]
Remove Bluedroid kernel dump from dumpstate.
Bluedroid doesn't have much of a kernel component and no devices
expose a bluedroid node in debugfs.
Change-Id: I5600e88c543a109257d95591704a8f2a7261dfdc
Manoj Kumar AVM [Fri, 12 Jun 2015 17:44:06 +0000 (17:44 +0000)]
am
407f48c8: am
e04e4edc: sf: Fix incorrect state reporting in dumpsys
* commit '
407f48c825351e7b5cbf455a85aff2154c696fdd':
sf: Fix incorrect state reporting in dumpsys
Manoj Kumar AVM [Fri, 12 Jun 2015 17:31:23 +0000 (17:31 +0000)]
am
e04e4edc: sf: Fix incorrect state reporting in dumpsys
* commit '
e04e4edcd1a852058775caa34cf73e2c20dc1066':
sf: Fix incorrect state reporting in dumpsys
Dan Stoza [Fri, 12 Jun 2015 17:00:44 +0000 (17:00 +0000)]
am
2b5b55e7: Merge "sf: Fix incorrect state reporting in dumpsys"
* commit '
2b5b55e73c79658b9a0ae3fdf347f6dbe65e3c68':
sf: Fix incorrect state reporting in dumpsys
Manoj Kumar AVM [Thu, 11 Jun 2015 21:18:14 +0000 (14:18 -0700)]
sf: Fix incorrect state reporting in dumpsys
Dumpsys utility accesses layer compositionType variable
with out proper protection. These variables are modified
during hwc_prepare call. Existing HAL lock protection is not
sufficient to address this issue. Failure to do this will
result in incorrect state reporting in dumpsys.
A new displayLock mutex in HWComposer will be used in both
dumpsys and draw calls to ensure correct state is accessed.
Change-Id: I8a57de59525adc0e089b3bed95c067c01e42b666
(cherry picked from commit
e54506b81a3b81683056ad48294e37d6b4b4e36b)
Dan Stoza [Fri, 12 Jun 2015 16:47:21 +0000 (16:47 +0000)]
Merge "sf: Fix incorrect state reporting in dumpsys"
Manoj Kumar AVM [Thu, 11 Jun 2015 21:18:14 +0000 (14:18 -0700)]
sf: Fix incorrect state reporting in dumpsys
Dumpsys utility accesses layer compositionType variable
with out proper protection. These variables are modified
during hwc_prepare call. Existing HAL lock protection is not
sufficient to address this issue. Failure to do this will
result in incorrect state reporting in dumpsys.
A new displayLock mutex in HWComposer will be used in both
dumpsys and draw calls to ensure correct state is accessed.
Change-Id: I8a57de59525adc0e089b3bed95c067c01e42b666
Dan Stoza [Thu, 11 Jun 2015 20:25:27 +0000 (20:25 +0000)]
am
e8bdcc67: am
25a83393: am
85e271d0: Merge "sf: Add a NULL check in getDisplayConfigs"
* commit '
e8bdcc67c5b560212c9af3cfb6d922fcaecada91':
sf: Add a NULL check in getDisplayConfigs
Dan Stoza [Thu, 11 Jun 2015 19:54:23 +0000 (19:54 +0000)]
am
25a83393: am
85e271d0: Merge "sf: Add a NULL check in getDisplayConfigs"
* commit '
25a83393e6a49b136eb7b58eb2f0b3f00b915f2e':
sf: Add a NULL check in getDisplayConfigs
Dan Stoza [Thu, 11 Jun 2015 19:40:31 +0000 (19:40 +0000)]
am
85e271d0: Merge "sf: Add a NULL check in getDisplayConfigs"
* commit '
85e271d051770fdd5bb1bb017255f735cbd45459':
sf: Add a NULL check in getDisplayConfigs
Dan Stoza [Thu, 11 Jun 2015 19:31:43 +0000 (19:31 +0000)]
Merge "sf: Add a NULL check in getDisplayConfigs"
Tatenda Chipeperekwa [Wed, 29 Oct 2014 23:47:19 +0000 (16:47 -0700)]
sf: Add a NULL check in getDisplayConfigs
Validate the display binder by adding a NULL check in getDisplayConfigs.
This will prevent a false match if the caller queries the display
configs for an inactive display (whose binder is NULL by default).
Without this change we might end up attempting to index the display
config array, which is unpopulated for inactive displays, and this will
result in a crash. (See getDisplayInfo in SurfaceComposerClient.cpp for
an example of this scenario)
Change-Id: Ib32a7dc8378d3438df0dba1ecd608bbcfc837717
Tatenda Chipeperekwa [Thu, 11 Jun 2015 19:09:30 +0000 (19:09 +0000)]
am
c1d4662f: am
23e16bb5: sf: Add a NULL check in getDisplayConfigs
* commit '
c1d4662f0e596021e0d8360cd1c5d213c3c8c4ba':
sf: Add a NULL check in getDisplayConfigs
Tatenda Chipeperekwa [Thu, 11 Jun 2015 18:57:28 +0000 (18:57 +0000)]
am
23e16bb5: sf: Add a NULL check in getDisplayConfigs
* commit '
23e16bb5dae277cd20a739ca56553ae931c43ccf':
sf: Add a NULL check in getDisplayConfigs
Dan Stoza [Thu, 11 Jun 2015 18:18:39 +0000 (18:18 +0000)]
am
7ba43681: am
35710ab0: am
ffe3e96a: Merge "GLConsumer: Fix crop math"
* commit '
7ba4368100c10e0c15f5f92c097fcf7fc32eed2a':
GLConsumer: Fix crop math
Dan Stoza [Thu, 11 Jun 2015 18:01:37 +0000 (18:01 +0000)]
am
35710ab0: am
ffe3e96a: Merge "GLConsumer: Fix crop math"
* commit '
35710ab014b6ff4a914f00509ecb34737d37fb47':
GLConsumer: Fix crop math
Dan Stoza [Thu, 11 Jun 2015 17:47:58 +0000 (17:47 +0000)]
am
ffe3e96a: Merge "GLConsumer: Fix crop math"
* commit '
ffe3e96afe99e94904ca0c8f458a3eb708d78066':
GLConsumer: Fix crop math
Dan Stoza [Thu, 11 Jun 2015 17:47:31 +0000 (17:47 +0000)]
am
765511d8: am
6cd8771c: Merge "GLConsumer: Fix crop math" into mnc-dev
* commit '
765511d8a19cac4035366e7bfbc719153e9f9e6b':
GLConsumer: Fix crop math
Tatenda Chipeperekwa [Wed, 29 Oct 2014 23:47:19 +0000 (16:47 -0700)]
sf: Add a NULL check in getDisplayConfigs
Validate the display binder by adding a NULL check in getDisplayConfigs.
This will prevent a false match if the caller queries the display
configs for an inactive display (whose binder is NULL by default).
Without this change we might end up attempting to index the display
config array, which is unpopulated for inactive displays, and this will
result in a crash. (See getDisplayInfo in SurfaceComposerClient.cpp for
an example of this scenario)
Change-Id: I1a12f43b7c375b9c01998dadd5b658275c733fb2
(cherry picked from commit
ac71c26e9180d9d181be5ec9e45da72d39144a8b)
Dan Stoza [Thu, 11 Jun 2015 17:34:15 +0000 (17:34 +0000)]
Merge "GLConsumer: Fix crop math"
Dan Stoza [Thu, 11 Jun 2015 17:32:56 +0000 (17:32 +0000)]
am
6cd8771c: Merge "GLConsumer: Fix crop math" into mnc-dev
* commit '
6cd8771c9cb9512e094bc2944bb7dd38665c1838':
GLConsumer: Fix crop math
Dan Stoza [Tue, 9 Jun 2015 22:05:23 +0000 (15:05 -0700)]
GLConsumer: Fix crop math
When we have excess pixels that need to be removed from (for example)
the left and right sides, we currently do something like:
left += excess / 2;
right -= excess / 2;
If excess is odd, however, this removes 1 too few pixels since the odd
pixel gets rounded down twice. This changes the math to effectively:
left += excess / 2;
right -= (excess - excess / 2);
Which removes the correct total number of pixels.
Bug:
19611086
Change-Id: I8d1ad9fe7ba67c149794c148663d12acbccccef0
(cherry picked from commit
ec4cb387502d5bd09e49b55605cf679fe3a0207a)
Dan Stoza [Thu, 11 Jun 2015 17:12:49 +0000 (17:12 +0000)]
Merge "GLConsumer: Fix crop math" into mnc-dev
Chris Craik [Thu, 11 Jun 2015 02:35:27 +0000 (02:35 +0000)]
am
58996069: am
8a4222a6: Merge "Add tracing header" into mnc-dev
* commit '
58996069ae6613b54840943709517d0e4eec7a8f':
Add tracing header
Aravind Akella [Thu, 11 Jun 2015 02:35:26 +0000 (02:35 +0000)]
am
ce5af4b2: am
52720f45: Merge "Use LOCATION_HARDWARE permission for data injection." into mnc-dev
* commit '
ce5af4b234ed6f5d6c39d47426d4e961bf3c2858':
Use LOCATION_HARDWARE permission for data injection.
Chris Craik [Thu, 11 Jun 2015 02:08:20 +0000 (02:08 +0000)]
am
8a4222a6: Merge "Add tracing header" into mnc-dev
* commit '
8a4222a647bd17c991959eca17a50ba911c3ab6b':
Add tracing header
Aravind Akella [Thu, 11 Jun 2015 02:08:19 +0000 (02:08 +0000)]
am
52720f45: Merge "Use LOCATION_HARDWARE permission for data injection." into mnc-dev
* commit '
52720f45098e9aed57c906e64a13e4a4a2173ce8':
Use LOCATION_HARDWARE permission for data injection.
Chris Craik [Wed, 10 Jun 2015 23:48:13 +0000 (23:48 +0000)]
Merge "Add tracing header" into mnc-dev
Aravind Akella [Wed, 10 Jun 2015 22:56:26 +0000 (22:56 +0000)]
Merge "Use LOCATION_HARDWARE permission for data injection." into mnc-dev
Aravind Akella [Wed, 10 Jun 2015 22:15:57 +0000 (15:15 -0700)]
Use LOCATION_HARDWARE permission for data injection.
Change-Id: Ie81cb0d5f537d5431f2127891cca1d39c969ee7b
Dan Stoza [Wed, 10 Jun 2015 20:54:00 +0000 (20:54 +0000)]
am
19174ceb: am
430f5f5a: am
127cf2ef: Merge "SF: Swap w/h when capturing rotated screenshots"
* commit '
19174ceb57102ae5f1b80e0df4f2e83d5f8a196b':
SF: Swap w/h when capturing rotated screenshots
Dan Stoza [Wed, 10 Jun 2015 20:36:51 +0000 (20:36 +0000)]
am
430f5f5a: am
127cf2ef: Merge "SF: Swap w/h when capturing rotated screenshots"
* commit '
430f5f5a6203cf6a4d688bc59a7082eb517533e3':
SF: Swap w/h when capturing rotated screenshots
Chris Craik [Wed, 10 Jun 2015 00:28:05 +0000 (17:28 -0700)]
Add tracing header
bug:
21195272
Change-Id: I520de9fee7fc40d0570d6bef450d756ce42a1462
Dan Stoza [Wed, 10 Jun 2015 18:21:55 +0000 (18:21 +0000)]
am
127cf2ef: Merge "SF: Swap w/h when capturing rotated screenshots"
* commit '
127cf2eff638a98c5318ba8b3edaf3ca651c4090':
SF: Swap w/h when capturing rotated screenshots
Dan Stoza [Wed, 10 Jun 2015 18:10:07 +0000 (18:10 +0000)]
Merge "SF: Swap w/h when capturing rotated screenshots"
Dan Stoza [Wed, 10 Jun 2015 18:08:31 +0000 (18:08 +0000)]
am
355950c1: am
d177e044: Merge "SF: Swap w/h when capturing rotated screenshots" into mnc-dev
* commit '
355950c1fc19c35c75203ea761882168f0980181':
SF: Swap w/h when capturing rotated screenshots
Christopher Tate [Wed, 10 Jun 2015 18:08:30 +0000 (18:08 +0000)]
am
633b35b4: am
2560442a: Merge "Prevent integer overflow when calculating buffer resizes" into mnc-dev
* commit '
633b35b4dcadc772fae5bc35404db965b18d370f':
Prevent integer overflow when calculating buffer resizes
Dan Stoza [Wed, 10 Jun 2015 17:52:50 +0000 (17:52 +0000)]
am
d177e044: Merge "SF: Swap w/h when capturing rotated screenshots" into mnc-dev
* commit '
d177e044d129bbecc3900a7fcd442b354de768df':
SF: Swap w/h when capturing rotated screenshots
Christopher Tate [Wed, 10 Jun 2015 17:52:50 +0000 (17:52 +0000)]
am
2560442a: Merge "Prevent integer overflow when calculating buffer resizes" into mnc-dev
* commit '
2560442a1ed7e21b9d941218d2e9e203626fa731':
Prevent integer overflow when calculating buffer resizes
Michael Wright [Wed, 10 Jun 2015 17:47:58 +0000 (17:47 +0000)]
am
f8b34319: am
043bd36b: Merge "Only log dropped input when disabled for the first event." into mnc-dev
* commit '
f8b34319a4c1ccce63b5a8e4732f162d228085cb':
Only log dropped input when disabled for the first event.
Dan Stoza [Tue, 9 Jun 2015 23:44:40 +0000 (16:44 -0700)]
SF: Swap w/h when capturing rotated screenshots
Swaps width and height when capturing a screenshot that is rotated by
90 or 270 degrees.
Bug:
8433742
Change-Id: Ibf0b604f541e3cc271e56fe0ad04dc366beb5d79
(cherry picked from commit
3502416204d9dbd905012ee586d8bd145323809f)
Michael Wright [Wed, 10 Jun 2015 17:32:41 +0000 (17:32 +0000)]
am
043bd36b: Merge "Only log dropped input when disabled for the first event." into mnc-dev
* commit '
043bd36b0d50efa81d010c64009317af160d5fec':
Only log dropped input when disabled for the first event.
Dan Stoza [Wed, 10 Jun 2015 17:28:32 +0000 (17:28 +0000)]
Merge "SF: Swap w/h when capturing rotated screenshots" into mnc-dev
Christopher Tate [Wed, 10 Jun 2015 17:26:43 +0000 (17:26 +0000)]
Merge "Prevent integer overflow when calculating buffer resizes" into mnc-dev
Dan Stoza [Tue, 9 Jun 2015 22:05:23 +0000 (15:05 -0700)]
GLConsumer: Fix crop math
When we have excess pixels that need to be removed from (for example)
the left and right sides, we currently do something like:
left += excess / 2;
right -= excess / 2;
If excess is odd, however, this removes 1 too few pixels since the odd
pixel gets rounded down twice. This changes the math to effectively:
left += excess / 2;
right -= (excess - excess / 2);
Which removes the correct total number of pixels.
Bug:
19611086
Change-Id: I8d1ad9fe7ba67c149794c148663d12acbccccef0
Michael Wright [Wed, 10 Jun 2015 17:08:01 +0000 (17:08 +0000)]
Merge "Only log dropped input when disabled for the first event." into mnc-dev
Tim Kilbourn [Wed, 10 Jun 2015 16:38:40 +0000 (16:38 +0000)]
Merge "Mock out more inputflinger host functions"
Michael Wright [Wed, 10 Jun 2015 14:26:13 +0000 (15:26 +0100)]
Only log dropped input when disabled for the first event.
Bug:
19851495
Change-Id: I8cb8076723c1ca1732c3bc37f283d8eb48b7bee0
Erik Kline [Wed, 10 Jun 2015 00:00:17 +0000 (00:00 +0000)]
am
78c8a700: am
47a7dc81: Merge "Incorporate network diagnostics during a bugreport" into mnc-dev
* commit '
78c8a7005c0f4d6c57d3f6be176574408aedf063':
Incorporate network diagnostics during a bugreport
Erik Kline [Tue, 9 Jun 2015 23:47:36 +0000 (23:47 +0000)]
am
47a7dc81: Merge "Incorporate network diagnostics during a bugreport" into mnc-dev
* commit '
47a7dc81d0fedc1e85091f0e8a868768d0e8cadd':
Incorporate network diagnostics during a bugreport
Dan Stoza [Tue, 9 Jun 2015 23:44:40 +0000 (16:44 -0700)]
SF: Swap w/h when capturing rotated screenshots
Swaps width and height when capturing a screenshot that is rotated by
90 or 270 degrees.
Bug:
8433742
Change-Id: Ibf0b604f541e3cc271e56fe0ad04dc366beb5d79
Erik Kline [Tue, 9 Jun 2015 23:24:53 +0000 (23:24 +0000)]
Merge "Incorporate network diagnostics during a bugreport" into mnc-dev
Dan Stoza [Tue, 9 Jun 2015 21:06:17 +0000 (21:06 +0000)]
am
024e38a8: am
558f55c7: am
5ab3ba1e: Merge "SF: Don\'t crop surface damage against viewport"
* commit '
024e38a8b9e38f2a2d8d51387f3d789893deef9f':
SF: Don't crop surface damage against viewport
Dan Stoza [Tue, 9 Jun 2015 20:56:34 +0000 (20:56 +0000)]
am
558f55c7: am
5ab3ba1e: Merge "SF: Don\'t crop surface damage against viewport"
* commit '
558f55c79874990cb629a02fd015eec445a20e44':
SF: Don't crop surface damage against viewport
Dan Stoza [Tue, 9 Jun 2015 20:40:48 +0000 (20:40 +0000)]
am
5ab3ba1e: Merge "SF: Don\'t crop surface damage against viewport"
* commit '
5ab3ba1e43e609c7a77cc780c888f666d153a4c9':
SF: Don't crop surface damage against viewport
Dan Stoza [Tue, 9 Jun 2015 20:28:59 +0000 (20:28 +0000)]
Merge "SF: Don't crop surface damage against viewport"
Dan Stoza [Fri, 5 Jun 2015 02:40:03 +0000 (19:40 -0700)]
SF: Don't crop surface damage against viewport
Apply the display transform to surface damage, but don't intersect it
with the viewport.
Bug:
21486007
Change-Id: I94e697cea52096a960385d5f3b89609fdcf30a02
(cherry picked from commit
17833a1b0d70cd5cea342cadea9fdbbf16748bc6)
Dan Stoza [Tue, 9 Jun 2015 20:21:34 +0000 (20:21 +0000)]
am
9fc80d74: am
837b9fb8: am
816c9e0e: Merge "libgui/SurfaceFlinger: Add getConsumerName"
* commit '
9fc80d74a2106f851d4d4c5803205b04f825f09b':
libgui/SurfaceFlinger: Add getConsumerName
Dan Stoza [Tue, 9 Jun 2015 20:21:32 +0000 (20:21 +0000)]
am
8efa01d9: am
9a9bedc8: (-s ours) am
b169b49a: Merge "libgui: Add generation numbers to BufferQueue"
* commit '
8efa01d9da98b036628a73353bd0ac8a6e360c7d':
libgui: Add generation numbers to BufferQueue
Dan Stoza [Tue, 9 Jun 2015 20:13:53 +0000 (20:13 +0000)]
am
837b9fb8: am
816c9e0e: Merge "libgui/SurfaceFlinger: Add getConsumerName"
* commit '
837b9fb87b0a8ea8a4ca680952b86e4d759723d0':
libgui/SurfaceFlinger: Add getConsumerName
Dan Stoza [Tue, 9 Jun 2015 20:13:52 +0000 (20:13 +0000)]
am
9a9bedc8: (-s ours) am
b169b49a: Merge "libgui: Add generation numbers to BufferQueue"
* commit '
9a9bedc815c98a55e9fb25107be5b9d74410b8cf':
libgui: Add generation numbers to BufferQueue
Dan Stoza [Tue, 9 Jun 2015 18:37:09 +0000 (18:37 +0000)]
am
816c9e0e: Merge "libgui/SurfaceFlinger: Add getConsumerName"
* commit '
816c9e0eab939322360da972569506ba19fafc74':
libgui/SurfaceFlinger: Add getConsumerName
Dan Stoza [Tue, 9 Jun 2015 18:37:08 +0000 (18:37 +0000)]
am
b169b49a: Merge "libgui: Add generation numbers to BufferQueue"
* commit '
b169b49aecdbf3424f334ac2b22c36a2988a8338':
libgui: Add generation numbers to BufferQueue
Dan Stoza [Tue, 9 Jun 2015 18:34:10 +0000 (18:34 +0000)]
Merge "libgui/SurfaceFlinger: Add getConsumerName"
Dan Stoza [Mon, 8 Jun 2015 16:32:50 +0000 (09:32 -0700)]
libgui/SurfaceFlinger: Add getConsumerName
Adds a getConsumerName method to IGraphicBufferProducer and Surface.
Currently, the name is cached inside of IGBP and is update on connect
and dequeueBuffer, which should be good enough for most uses.
Bug:
6667401
Change-Id: I22c7881d778e495cf8276de7bbcd769e52429915
(cherry picked from commit
c6f30bdee1f634eb90d68cb76efe935b6535a1e8)
Dan Stoza [Tue, 9 Jun 2015 18:23:48 +0000 (18:23 +0000)]
Merge "libgui: Add generation numbers to BufferQueue"
Narayan Kamath [Tue, 9 Jun 2015 13:16:23 +0000 (13:16 +0000)]
am
d6f86874: am
3d051856: Merge "Add an installd command to link files" into mnc-dev
* commit '
d6f86874c4d995841751de6e723aec39aafd70d5':
Add an installd command to link files
Narayan Kamath [Tue, 9 Jun 2015 13:01:30 +0000 (13:01 +0000)]
am
3d051856: Merge "Add an installd command to link files" into mnc-dev
* commit '
3d0518565a5e704dc8020a96c5bb3a96a093f4cd':
Add an installd command to link files
Narayan Kamath [Tue, 9 Jun 2015 11:31:01 +0000 (11:31 +0000)]
Merge "Add an installd command to link files" into mnc-dev
Narayan Kamath [Thu, 4 Jun 2015 12:20:27 +0000 (13:20 +0100)]
Add an installd command to link files
Given a pair of absolute paths {from_path, to_path} , check that
they are both valid apk subpaths (eg. /data/app/package/foo) and
link(2) to_path to from_path. This is required by staged installs,
where we link existing apks and oat files to their staging location.
bug:
20889739
Change-Id: I3b5e3b43677af68be59308121a4409caaa6a72f0
Erik Kline [Tue, 9 Jun 2015 08:38:12 +0000 (17:38 +0900)]
Incorporate network diagnostics during a bugreport
Bug:
21449922
Change-Id: I81a3774683c08f5d4ab4ea75bec45d279fb210ec
Lajos Molnar [Tue, 9 Jun 2015 00:40:39 +0000 (00:40 +0000)]
am
76ade36b: am
037d4ca3: Merge "media: change parameters for OMX_EventOutputRendered" into mnc-dev
* commit '
76ade36bd8374678a918dac44cab60f95a0d54f3':
media: change parameters for OMX_EventOutputRendered
Lajos Molnar [Tue, 9 Jun 2015 00:29:41 +0000 (00:29 +0000)]
am
037d4ca3: Merge "media: change parameters for OMX_EventOutputRendered" into mnc-dev
* commit '
037d4ca35abbcf40e244a5d09bade6dd8b9b2b0b':
media: change parameters for OMX_EventOutputRendered
Lajos Molnar [Tue, 9 Jun 2015 00:04:17 +0000 (00:04 +0000)]
Merge "media: change parameters for OMX_EventOutputRendered" into mnc-dev
Christopher Tate [Mon, 8 Jun 2015 21:45:14 +0000 (14:45 -0700)]
Prevent integer overflow when calculating buffer resizes
Make sure that we don't go haywire if an exponential buffer growth
operation winds up wrapping integer range. Along the way, fix a
bookkeeping bug in BufferedTextOutput that would cause it to keep
spuriously realloc()ing on every append().
Bug
20674694
Change-Id: Ia845b7de36b90672a151a918ffc26c7da68e20a2
Christopher Tate [Mon, 8 Jun 2015 21:46:01 +0000 (21:46 +0000)]
am
aeac647a: am
98e67d35: Don\'t corrupt parcel when writeFileDescriptor() fails
* commit '
aeac647a003c48cc8570b6c87513f0e45ea7f30e':
Don't corrupt parcel when writeFileDescriptor() fails
Tim Kilbourn [Sat, 9 May 2015 00:13:43 +0000 (17:13 -0700)]
Mock out more inputflinger host functions
Change-Id: I3de1e95930578410d8f7c1e77329c00f05b72325
Christopher Tate [Mon, 8 Jun 2015 21:32:58 +0000 (21:32 +0000)]
am
98e67d35: Don\'t corrupt parcel when writeFileDescriptor() fails
* commit '
98e67d352b8805a868ca0e7c2be3ea830fb7c338':
Don't corrupt parcel when writeFileDescriptor() fails
Christopher Tate [Thu, 4 Jun 2015 01:44:15 +0000 (18:44 -0700)]
Don't corrupt parcel when writeFileDescriptor() fails
We now check for fd-legality before committing binder objects to
the flattened data buffer rather than after. Previously we would
wind up corrupting the parcel and incurring driver-level errors,
as well as potentially leaking FDs.
Bug
21428802
Change-Id: Ice0d641b3dcc41fb1b8c68ce2e2ebd744c2863a1
Dan Stoza [Mon, 8 Jun 2015 18:38:53 +0000 (18:38 +0000)]
am
bcb868db: am
c6f30bde: libgui/SurfaceFlinger: Add getConsumerName
* commit '
bcb868db922b7114e2a295282da723e1bad585f3':
libgui/SurfaceFlinger: Add getConsumerName
Dan Stoza [Tue, 2 Jun 2015 22:45:22 +0000 (15:45 -0700)]
libgui: Add generation numbers to BufferQueue
This change allows producers to set a generation number on a
BufferQueue. This number will be embedded in any new GraphicBuffers
created in that BufferQueue, and attempts to attach buffers which have
a different generation number will fail.
It also plumbs the setGenerationNumber method through Surface, with the
additional effect that any buffers attached to the Surface after
setting a new generation number will automatically be updated with the
new number (as opposed to failing, as would happen on through IGBP).
Bug:
20923096
Change-Id: I32bf726b035f99c3e5834beaf76afb9f01adcbc2
(cherry picked from commit
812ed0644f8f8f71ca403f4e5793f0dbc1fcf9b2)