Kenny Root
5b61ad2cda
Check the padded size of the read byte array
...
Bug: 13509200
Change-Id: Id93894fcc617ec1cd4ce66921c6e1f1c3cf40b09
2014-03-17 13:18:16 -07:00
Adam Lesinski
80acb20ca9
am 7cd122a5
: Merge "Add device admin to wearables for API8 Compat" into klp-modular-dev
...
* commit '7cd122a549831611ce79389e481484ade16744f1':
Add device admin to wearables for API8 Compat
2014-03-17 19:52:35 +00:00
Adam Lesinski
aa89a91482
am fc34b7b7
: Merge "Remove accessibility as an optional feature" into klp-modular-dev
...
* commit 'fc34b7b7fc9749a3fb1f8e7d924274a5768366aa':
Remove accessibility as an optional feature
2014-03-17 19:52:34 +00:00
Adam Lesinski
7cd122a549
Merge "Add device admin to wearables for API8 Compat" into klp-modular-dev
2014-03-17 19:50:56 +00:00
Adam Lesinski
fc34b7b7fc
Merge "Remove accessibility as an optional feature" into klp-modular-dev
2014-03-17 19:50:31 +00:00
Adam Lesinski
0f5d4dde76
Add device admin to wearables for API8 Compat
...
Bug:13386441
Change-Id: I8814976db791bb1f2e60b6a9fc49afdd5f360414
2014-03-17 12:19:18 -07:00
Adam Lesinski
de7388bf1d
Remove accessibility as an optional feature
...
Bug:13439904
Change-Id: Icc6b84d05a24cbfdaa121929e7c7c77c0f7eed17
2014-03-17 12:16:25 -07:00
Dan Stoza
2c22093c1c
Merge "Remove deprecated BufferQueue constructor"
2014-03-17 18:46:14 +00:00
Marco Nelissen
37b44969c0
Add support for writing byte arrays to parcels
...
b/13418320
Cherrypicked from f0190bff38
https://googleplex-android-review.git.corp.google.com/#/c/433320/
Change-Id: I2285df9e9d3dc8a6a54055b13b352b81660bf45d
2014-03-17 11:13:30 -07:00
Wonsik Kim
29fa9590ad
Revert "Implement video plane layer"
...
This reverts commit f837c93a1b
.
Change-Id: I6a1aa9ad0aca023267dc53d19c950b1535123ca7
2014-03-17 11:17:28 +00:00
Wonsik Kim
0ee14ca23d
Fill in sideband stream caveat
...
Change-Id: I20db8aea8f13acf31b42db08d90b338da8a5209c
2014-03-17 17:46:53 +09:00
Marco Nelissen
ce9f107c9d
am 793be12c
: am b730a452
: am f0190bff
: Add support for writing byte arrays to parcels
...
* commit '793be12c0f5a7878d1085e94e58a9c36c84f0911':
Add support for writing byte arrays to parcels
2014-03-15 00:30:46 +00:00
Marco Nelissen
793be12c0f
am b730a452
: am f0190bff
: Add support for writing byte arrays to parcels
...
* commit 'b730a45216991cf22c39451c47393b4bccae111b':
Add support for writing byte arrays to parcels
2014-03-14 23:33:08 +00:00
Marco Nelissen
b730a45216
am f0190bff
: Add support for writing byte arrays to parcels
...
* commit 'f0190bff38b6c29abbfc4a877442f71fc3d7dad8':
Add support for writing byte arrays to parcels
2014-03-14 22:55:54 +00:00
Mark Salyzyn
993146092f
am d4dabf87
: am cdbf28b3
: Merge "native frameworks: 64-bit compile issues"
...
* commit 'd4dabf872ac0a12e12aebae9032f7d62762c2aeb':
native frameworks: 64-bit compile issues
2014-03-13 23:12:09 +00:00
Jesse Hall
49bfda1fbd
Fix broken build for more tests
...
Change-Id: I7bdd12a833233724805d01d993541ee05caa9bf6
2014-03-13 15:09:17 -07:00
Jesse Hall
85c0fee024
Fix broken test build
...
Change-Id: I767bcefd92899334e4769dd3495595f546133694
2014-03-13 14:34:28 -07:00
Marco Nelissen
f0190bff38
Add support for writing byte arrays to parcels
...
b/13418320
Change-Id: I2285df9e9d3dc8a6a54055b13b352b81660bf45d
2014-03-13 14:17:40 -07:00
Jesse Hall
73ed82f809
Merge "Add sideband streams to BufferQueue and related classes"
2014-03-13 20:28:17 +00:00
Dan Stoza
6d5a7bb970
Remove deprecated BufferQueue constructor
...
Bug: 13415624
Change-Id: I52f58a4d22296d9fc3cdbd4ad53eb10a785db3ce
2014-03-13 11:39:09 -07:00
Dan Stoza
6780a2d6a5
Remove deprecated BufferQueue constructor
...
Bug: 13415624
Change-Id: I1c17833511b5961af5a9bbb9cc3d627ce558d424
2014-03-13 11:31:43 -07:00
Dan Stoza
fe50d2a0a1
BufferItemConsumer: Use IGBC instead of BQ
...
Change-Id: Id1756ac62954ba412f2c23c5fa6e5d760c299347
2014-03-13 11:12:04 -07:00
Mark Salyzyn
d4dabf872a
am cdbf28b3
: Merge "native frameworks: 64-bit compile issues"
...
* commit 'cdbf28b3f7f5327f4cb0eb95b8326bf4c24c87ba':
native frameworks: 64-bit compile issues
2014-03-13 15:26:10 +00:00
Mark Salyzyn
cdbf28b3f7
Merge "native frameworks: 64-bit compile issues"
2014-03-13 15:20:45 +00:00
RoboErik
a3f519fe6f
am ffd353a7
: (-s ours) am d9e113f0
: b/12068020 add nonce to InputDeviceDescriptor. Do not merge
...
* commit 'ffd353a73eb7794ef556c4e646f866b580a03abb':
b/12068020 add nonce to InputDeviceDescriptor. Do not merge
2014-03-12 23:04:49 +00:00
Michael Wright
0c28f11e22
Merge "Controllers must have buttons and a movement mechanism."
2014-03-12 21:56:24 +00:00
RoboErik
ffd353a73e
am d9e113f0
: b/12068020 add nonce to InputDeviceDescriptor. Do not merge
...
* commit 'd9e113f0e0feac1a801f8339d2f907302bd432c5':
b/12068020 add nonce to InputDeviceDescriptor. Do not merge
2014-03-12 21:12:28 +00:00
Mark Salyzyn
92dc3fc52c
native frameworks: 64-bit compile issues
...
- Fix format (print/scanf)
- Suppress unused argument warning messages (bonus)
Change-Id: I05c7724d2aba6da1e82a86000e11f3a8fef4e728
2014-03-12 13:12:44 -07:00
Anwar Ghuloum
d105876a6c
am 85864b87
: am 06ed9491
: Merge "Fix parameter ordering for installd\'s dex2oat execl."
...
* commit '85864b8724b3908d2f5aa861276ce5e80d7f820e':
Fix parameter ordering for installd's dex2oat execl.
2014-03-12 19:57:05 +00:00
Michael Wright
4059bb574a
am d0f7ce45
: (-s ours) am 9b04f860
: Add MAX_CONTROLLER_LEDS constant. DO NOT MERGE
...
* commit 'd0f7ce457c59d5f50b0fefc0fe768fad564d0c7e':
Add MAX_CONTROLLER_LEDS constant. DO NOT MERGE
2014-03-12 19:56:40 +00:00
RoboErik
d9e113f0e0
b/12068020 add nonce to InputDeviceDescriptor. Do not merge
...
This is a cherry-pick of https://googleplex-android-review.git.corp.google.com/#/c/401795/
Adds a nonce field to allow generation of unique descriptors for
input devices.
Change-Id: Ie82bfb728bea95792b3b138dd3974f8b0aff63e0
2014-03-12 12:51:54 -07:00
Michael Wright
42f2c6a92c
Controllers must have buttons and a movement mechanism.
...
Some devices have joystick axes or DPad keys, but no gamepad buttons (or vice
versa). We shouldn't count these as gamepads since games can't really be
expected to work with this setup in the general case. Instead, require that a
device has a movement mechanism (joystick axes or DPad buttons), as well as at
least one gamepad button before considering it a controller.
Bug: 13432364
Change-Id: I64372e69d29c775094e2b1faa89714da8c29e2be
2014-03-12 12:18:01 -07:00
Dan Stoza
685c0ae8de
Merge "BufferQueue: Allow returning interfaces as I*/Bn*"
2014-03-12 19:14:53 +00:00
Dan Stoza
f522af7eb6
BufferQueue: Allow returning interfaces as I*/Bn*
...
This adds a second createBufferQueue method that returns
sp<IGraphicBuffer*> interfaces instead of sp<BnGraphicBuffer*>, since
most clients don't actually need the Binderized versions (but some
might).
Change-Id: Iaf4f719c96ddb6f704afc75cf52be22588173e32
2014-03-12 10:17:20 -07:00
Andy McFadden
047b81ce05
Merge "Adjust for device orientation"
2014-03-12 16:56:12 +00:00
Andy McFadden
709d7dec79
Adjust for device orientation
...
When the device is rotated, reverse the width/height values.
Change-Id: Idc2b80b1cb96d9379cd94192997580e1ade70bf6
2014-03-12 09:50:15 -07:00
Dan Stoza
88a459a9b3
VirtualDisplaySurface: no attach/detach support
...
Change-Id: I630dd6e352940318c33a4e072d2f33a6ec58c556
2014-03-12 09:34:36 -07:00
Dan Stoza
c9ed7d3768
Merge "BufferQueue: Allow detaching/reattaching buffers"
2014-03-11 23:47:15 +00:00
Anwar Ghuloum
85864b8724
am 06ed9491
: Merge "Fix parameter ordering for installd\'s dex2oat execl."
...
* commit '06ed9491418ce84e4272bf4201545fa6cfe3932e':
Fix parameter ordering for installd's dex2oat execl.
2014-03-11 23:43:19 +00:00
Michael Wright
d0f7ce457c
am 9b04f860
: Add MAX_CONTROLLER_LEDS constant. DO NOT MERGE
...
* commit '9b04f860f23481d39c3b45379a324d3630966825':
Add MAX_CONTROLLER_LEDS constant. DO NOT MERGE
2014-03-11 23:22:00 +00:00
Anwar Ghuloum
06ed949141
Merge "Fix parameter ordering for installd's dex2oat execl."
2014-03-11 23:11:02 +00:00
Anwar Ghuloum
4bc054019d
Fix parameter ordering for installd's dex2oat execl.
...
Change-Id: Ibd6fd46c6ec3137874f9a3d5eea134bc804e039a
2014-03-11 15:42:58 -07:00
Michael Wright
9b04f860f2
Add MAX_CONTROLLER_LEDS constant. DO NOT MERGE
...
Change-Id: Ie6dbce926280c748f39e3c54d2ed4accbdcf9e59
2014-03-11 14:19:33 -07:00
Jesse Hall
399184a4cd
Add sideband streams to BufferQueue and related classes
...
Sideband streams are essentially a device-specific buffer queue that
bypasses the BufferQueue system. They can be used for situations with
hard real-time requirements like high-quality TV and video playback
with A/V sync. A handle to the stream is provided by the source HAL,
and attached to a BufferQueue. The sink HAL can read buffers via the
stream handle rather than acquiring individual buffers from the
BufferQueue.
Change-Id: Ib3f262eddfc520f4bbe3d9b91753ed7dd09d3a9b
2014-03-11 12:23:14 -07:00
Andy McFadden
e98151e004
Remove "screenshot"
...
This is the old screenshot utility, which relies on direct access
to the framebuffer device. It was replaced a long time ago by
"screencap", which talks to SurfaceFlinger (and includes a fallback
that tries to use the FB dev).
Change-Id: Id75a574bc78033761070b64d528fed06e23a0189
2014-03-11 11:21:21 -07:00
Dan Stoza
9f3053de78
BufferQueue: Allow detaching/reattaching buffers
...
Adds detachBuffer and attachBuffer calls to both the producer and
consumer sides of BufferQueue. Buffers may be detached while dequeued
by the producer or acquired by the consumer, and when attached, enter
the dequeued and acquired states, respectively.
Bug: 13173343
Change-Id: Ic152692b0a94d99e0135b9bfa62747dab2a54220
2014-03-10 16:45:38 -07:00
Michael Wright
f72b35ea02
Merge "Support unique calibration per orientation"
2014-03-10 23:40:41 +00:00
Michael Wright
ab7ba13e3a
Merge "Add test for InputReader location calibration"
2014-03-10 23:40:27 +00:00
Michael Wright
17bc9abdb5
Merge "Initialize mAffineTransform and update on modification"
2014-03-10 23:40:14 +00:00
Jason Gerecke
71b16e81f9
Support unique calibration per orientation
...
Updates the format of the calibration XML to store the Surface rotation
that a specific calibration applies to. Also updates the API to require
a rotation value for get/set, and has the native framework supply this
according to the current rotation whenever it changes.
Change-Id: If38563ceba27c9d8a75f9fd7928c8d7c9d187afb
2014-03-10 16:25:49 -07:00