OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoMerge "Seed CL for radio VTS." am: 7d86d72356 am: d7814de27c am: 83e04fd3e9
Sanket Padawe [Thu, 16 Feb 2017 23:58:51 +0000 (23:58 +0000)]
Merge "Seed CL for radio VTS." am: 7d86d72356 am: d7814de27c am: 83e04fd3e9
am: 8833640eb3

Change-Id: Iadcaed5c0e456e1c4801ce18ec65c186c72ceec9

7 years agoMerge "Seed CL for radio VTS." am: 7d86d72356 am: d7814de27c
Sanket Padawe [Thu, 16 Feb 2017 23:54:50 +0000 (23:54 +0000)]
Merge "Seed CL for radio VTS." am: 7d86d72356 am: d7814de27c
am: 83e04fd3e9

Change-Id: I5719abfa0e0e9678655fded4aefa2b4d19889520

7 years agoMerge "Seed CL for radio VTS." am: 7d86d72356
Sanket Padawe [Thu, 16 Feb 2017 23:50:20 +0000 (23:50 +0000)]
Merge "Seed CL for radio VTS." am: 7d86d72356
am: d7814de27c

Change-Id: I0f4c1729a77ff67026e7ba113c516e24ae69ffe4

7 years agoMerge "Seed CL for radio VTS."
Sanket Padawe [Thu, 16 Feb 2017 23:46:20 +0000 (23:46 +0000)]
Merge "Seed CL for radio VTS."
am: 7d86d72356

Change-Id: I193bc0446842ae1addd838adcefa7a5275535654

7 years agoMerge "Seed CL for radio VTS."
Sanket Padawe [Thu, 16 Feb 2017 23:38:02 +0000 (23:38 +0000)]
Merge "Seed CL for radio VTS."

7 years agoMerge "Added the new RIL request to set SIM power state"
TreeHugger Robot [Thu, 16 Feb 2017 22:38:41 +0000 (22:38 +0000)]
Merge "Added the new RIL request to set SIM power state"

7 years agosupplicant(interface): Add new EAP phase 2 type and NFC methods am: 72b5eb0f29 am...
Roshan Pius [Thu, 16 Feb 2017 22:05:30 +0000 (22:05 +0000)]
supplicant(interface): Add new EAP phase 2 type and NFC methods am: 72b5eb0f29 am: bc30b55f06 am: 58844785a5
am: 021f1e758b

Change-Id: Idc40c2668e27a1367c251953b4b55da7d4062d9d

7 years agosupplicant(interface): Add new EAP phase 2 type and NFC methods am: 72b5eb0f29 am...
Roshan Pius [Thu, 16 Feb 2017 22:01:02 +0000 (22:01 +0000)]
supplicant(interface): Add new EAP phase 2 type and NFC methods am: 72b5eb0f29 am: bc30b55f06
am: 58844785a5

Change-Id: If40eb51b5175b09abad77e3c9ebae67ff5bb8eb6

7 years agosupplicant(interface): Add new EAP phase 2 type and NFC methods am: 72b5eb0f29
Roshan Pius [Thu, 16 Feb 2017 21:56:58 +0000 (21:56 +0000)]
supplicant(interface): Add new EAP phase 2 type and NFC methods am: 72b5eb0f29
am: bc30b55f06

Change-Id: If5e25b45fa8a4ad617eb6e398534d0290c673498

7 years agosupplicant(interface): Add new EAP phase 2 type and NFC methods
Roshan Pius [Thu, 16 Feb 2017 21:53:16 +0000 (21:53 +0000)]
supplicant(interface): Add new EAP phase 2 type and NFC methods
am: 72b5eb0f29

Change-Id: If855f86cdca0716404d33dd488ad0554ceb40825

7 years agoSeed CL for radio VTS.
Sanket Padawe [Tue, 7 Feb 2017 23:58:34 +0000 (15:58 -0800)]
Seed CL for radio VTS.

Test: VTS test succeeds
Bug: 32022332
Change-Id: I3127826cad4c97db9a8ff77bdb80ad1c848751c6

7 years agoMerge "Initial submit of Vehicle HAL 2.1"
TreeHugger Robot [Thu, 16 Feb 2017 20:43:35 +0000 (20:43 +0000)]
Merge "Initial submit of Vehicle HAL 2.1"

7 years agosupplicant(interface): Add new EAP phase 2 type and NFC methods
Roshan Pius [Mon, 13 Feb 2017 21:19:38 +0000 (13:19 -0800)]
supplicant(interface): Add new EAP phase 2 type and NFC methods

These new EAP methods were recently added in b/34835771. Add HIDL
support for them.

Bug: 35270422
Bug: 35311730
Test: Compiles
Change-Id: I3488f5e49ff72fe1717a16c27ffbe45ac2a8ebf4

7 years agoMerge "RenderScript HIDL HAL definition and server-side implementation."
Miao Wang [Thu, 16 Feb 2017 18:55:58 +0000 (18:55 +0000)]
Merge "RenderScript HIDL HAL definition and server-side implementation."

7 years agoUpdate tests for enforcing minor version upgrade. am: 6283d249f9 am: 811652124d am...
Yifan Hong [Thu, 16 Feb 2017 18:49:07 +0000 (18:49 +0000)]
Update tests for enforcing minor version upgrade. am: 6283d249f9 am: 811652124d am: 10a766ff2c
am: a056eaeb17

Change-Id: Ie4e38bbdd3b4d824d3e1afeb0a8d7a37c9acff19

7 years agoUpdate tests for enforcing minor version upgrade. am: 6283d249f9 am: 811652124d
Yifan Hong [Thu, 16 Feb 2017 18:44:29 +0000 (18:44 +0000)]
Update tests for enforcing minor version upgrade. am: 6283d249f9 am: 811652124d
am: 10a766ff2c

Change-Id: I2368b44257ada459791a7cb3ca39a729472030bf

7 years agoUpdate tests for enforcing minor version upgrade. am: 6283d249f9
Yifan Hong [Thu, 16 Feb 2017 18:40:29 +0000 (18:40 +0000)]
Update tests for enforcing minor version upgrade. am: 6283d249f9
am: 811652124d

Change-Id: I2f9f2c3a0b3b5c57b59ab9c7753f07ec26e5928b

7 years agoAdded the new RIL request to set SIM power state
Jack Yu [Wed, 15 Feb 2017 23:31:34 +0000 (15:31 -0800)]
Added the new RIL request to set SIM power state

The new RIL request for powering up/down the SIM card.

Test: Telephony sanity tests
bug: 32224755
Change-Id: Ib4204b9612fd9bc02bd99baebabf5ed7120e89fe

7 years agoUpdate tests for enforcing minor version upgrade.
Yifan Hong [Thu, 16 Feb 2017 18:36:29 +0000 (18:36 +0000)]
Update tests for enforcing minor version upgrade.
am: 6283d249f9

Change-Id: I971c779ad54e8b7fb8f5129e4b36aa499fc0d8e9

7 years agoUpdate tests for enforcing minor version upgrade.
Yifan Hong [Wed, 15 Feb 2017 23:18:19 +0000 (15:18 -0800)]
Update tests for enforcing minor version upgrade.

Test: ./hardware/interfaces/update-makefiles.sh
Test: mma

Bug: 28825532

Change-Id: I1ae86f597f184d75ad5476b248e03248346b0c33

7 years agoMerge "update-makefiles.sh" am: dcec84e96c am: 1eed5f2d5d am: 238c76ee22
Steven Moreland [Thu, 16 Feb 2017 06:03:19 +0000 (06:03 +0000)]
Merge "update-makefiles.sh" am: dcec84e96c am: 1eed5f2d5d am: 238c76ee22
am: 67188b98a8

Change-Id: I781587bacb5fb165d54d42bf7c8a87db7ef322f1

7 years agoMerge "update-makefiles.sh" am: dcec84e96c am: 1eed5f2d5d
Steven Moreland [Thu, 16 Feb 2017 05:59:08 +0000 (05:59 +0000)]
Merge "update-makefiles.sh" am: dcec84e96c am: 1eed5f2d5d
am: 238c76ee22

Change-Id: Ibc5871e70fb648c823623ca47990dd7c041dc987

7 years agoMerge "update-makefiles.sh" am: dcec84e96c
Steven Moreland [Thu, 16 Feb 2017 05:55:08 +0000 (05:55 +0000)]
Merge "update-makefiles.sh" am: dcec84e96c
am: 1eed5f2d5d

Change-Id: Ic745f9bd08c20c408e21459616bdf42e688f9d28

7 years agoMerge "update-makefiles.sh"
Steven Moreland [Thu, 16 Feb 2017 05:51:07 +0000 (05:51 +0000)]
Merge "update-makefiles.sh"
am: dcec84e96c

Change-Id: If6fcacee6314035e217d291c231c06320f4ab21e

7 years agoMerge "update-makefiles.sh"
Steven Moreland [Thu, 16 Feb 2017 05:48:01 +0000 (05:48 +0000)]
Merge "update-makefiles.sh"

7 years agoMerge changes from topic 'cfg_nsfbuf'
Jaesoo Lee [Thu, 16 Feb 2017 05:27:03 +0000 (05:27 +0000)]
Merge changes from topic 'cfg_nsfbuf'

* changes:
  configstore: add new configuration item
  configstore: add utility library functions for configstore

7 years agoMerge "Protect against null strings in hal wrapper implementation."
TreeHugger Robot [Thu, 16 Feb 2017 04:54:00 +0000 (04:54 +0000)]
Merge "Protect against null strings in hal wrapper implementation."

7 years agoMerge "Modify method to get MQDescriptor for unsynchronized FMQ." am: 02f3f834fc...
Hridya Valsaraju [Thu, 16 Feb 2017 02:10:31 +0000 (02:10 +0000)]
Merge "Modify method to get MQDescriptor for unsynchronized FMQ." am: 02f3f834fc am: f869630d3b am: 02bcec2054
am: a7c7253bf3

Change-Id: I8c092e5b2d40d2a0ee0bf511c44b2587f6b6d2e6

7 years agoMerge "Modify method to get MQDescriptor for unsynchronized FMQ." am: 02f3f834fc...
Hridya Valsaraju [Thu, 16 Feb 2017 02:06:29 +0000 (02:06 +0000)]
Merge "Modify method to get MQDescriptor for unsynchronized FMQ." am: 02f3f834fc am: f869630d3b
am: 02bcec2054

Change-Id: I7f19f01e1434b507af6af5fa41b58617018f8b3e

7 years agoMerge "Modify method to get MQDescriptor for unsynchronized FMQ." am: 02f3f834fc
Hridya Valsaraju [Thu, 16 Feb 2017 02:02:54 +0000 (02:02 +0000)]
Merge "Modify method to get MQDescriptor for unsynchronized FMQ." am: 02f3f834fc
am: f869630d3b

Change-Id: I3f32ced1c079671db27be1e8d63af620d5bbc440

7 years agoMerge "Modify method to get MQDescriptor for unsynchronized FMQ."
Hridya Valsaraju [Thu, 16 Feb 2017 01:58:57 +0000 (01:58 +0000)]
Merge "Modify method to get MQDescriptor for unsynchronized FMQ."
am: 02f3f834fc

Change-Id: I1ecbf5eee1c298405c3385e320a61577fafdb18e

7 years agoMerge "Modify method to get MQDescriptor for unsynchronized FMQ."
Treehugger Robot [Thu, 16 Feb 2017 01:48:06 +0000 (01:48 +0000)]
Merge "Modify method to get MQDescriptor for unsynchronized FMQ."

7 years agoProtect against null strings in hal wrapper implementation.
Ashutosh Joshi [Thu, 16 Feb 2017 01:00:27 +0000 (17:00 -0800)]
Protect against null strings in hal wrapper implementation.

Some HALs may provide null pointers in lieu of empty strings.
Avoid simple copies of these strings.

Bug: 35384551
Test: Verify affected device (Pixel-C) boots and auto-rotate works.
Change-Id: I37ab6e781d6dfdcc1667bcc0467690f7c2c9a557

7 years agoMerge "Move example extensions to test folder."
TreeHugger Robot [Thu, 16 Feb 2017 00:21:12 +0000 (00:21 +0000)]
Merge "Move example extensions to test folder."

7 years agoRenderScript HIDL HAL definition and server-side implementation.
Miao Wang [Fri, 20 Jan 2017 18:30:38 +0000 (10:30 -0800)]
RenderScript HIDL HAL definition and server-side implementation.

Contains the definition and implementation of the HAL.

Bug: 34396220

Test: mm, all cts tests pass on bullhead and sailfish
Change-Id: Ic560efef34f647f441c32ba01ca29d83a3d98b69

7 years agoconfigstore: add new configuration item
Jaesoo Lee [Mon, 23 Jan 2017 10:09:02 +0000 (19:09 +0900)]
configstore: add new configuration item

This change adds to configstore@1.0 HAL a new configuration item
for surfaceflinger; useTripleFramebuffer()

In the default implementation, useTripleFramebuffer() will return true
only if the build flag NUM_FRAMEBUFFER_SURFACE_BUFFERS is defined as 3.

Bug: 34723491
Test: build & run. log message "SurfaceFlinger FrameBuffer: ?"
      should be seen.

Change-Id: Iac97e25cd69717c73a135f6b2a44538124544987

7 years agoconfigstore: add utility library functions for configstore
Jaesoo Lee [Mon, 23 Jan 2017 10:09:02 +0000 (19:09 +0900)]
configstore: add utility library functions for configstore

this change adds a set of library functions to facilitate
accessing(retrieving) configuration items.

Specifically, added template functions for accessing configuration
items for following types:

OptionalBool, OptionalInt32, OptionalUInt32, OptionalInt64,
OptionalUInt64, OptionalString

Design doc: go/design-confighal
Bug: 34724435
Test: build, run

Change-Id: Icca56d0d9e086b9d94c9b1168df041bf7d418698

7 years agowifi(vts): simplify HIDL calls am: 90f321722c am: c5aeaa22fc am: 39d8cb99a4
mukesh agrawal [Wed, 15 Feb 2017 23:03:52 +0000 (23:03 +0000)]
wifi(vts): simplify HIDL calls am: 90f321722c am: c5aeaa22fc am: 39d8cb99a4
am: 3dbc0add6a

Change-Id: I286c2a62b2050ada056abd09b83d532d30f78eb2

7 years agowifi(vts): simplify HIDL calls am: 90f321722c am: c5aeaa22fc
mukesh agrawal [Wed, 15 Feb 2017 22:42:51 +0000 (22:42 +0000)]
wifi(vts): simplify HIDL calls am: 90f321722c am: c5aeaa22fc
am: 39d8cb99a4

Change-Id: Ic9f63abc2e508f8dfef5520d3e6aec4e54e58853

7 years agowifi(vts): simplify HIDL calls am: 90f321722c
mukesh agrawal [Wed, 15 Feb 2017 22:38:38 +0000 (22:38 +0000)]
wifi(vts): simplify HIDL calls am: 90f321722c
am: c5aeaa22fc

Change-Id: I8ed6215038c2d04dcfde349f651e54d0589366c2

7 years agoMerge "Update HIDL with CompositorTiming."
Brian C. Anderson [Wed, 15 Feb 2017 22:32:45 +0000 (22:32 +0000)]
Merge "Update HIDL with CompositorTiming."

7 years agowifi(vts): simplify HIDL calls
mukesh agrawal [Wed, 15 Feb 2017 22:31:08 +0000 (22:31 +0000)]
wifi(vts): simplify HIDL calls
am: 90f321722c

Change-Id: Ideb1faa2adfc47831e5e4b94b9961c7e91702b18

7 years agoMove example extensions to test folder.
Steven Moreland [Wed, 15 Feb 2017 18:54:01 +0000 (10:54 -0800)]
Move example extensions to test folder.

Fixes: 34969978
Test: hal registers itself and works.

Change-Id: I9e4795b1acbabceed017c469b89baea7e529308a

7 years agowifi(vts): simplify HIDL calls
mukesh agrawal [Thu, 26 Jan 2017 03:43:08 +0000 (19:43 -0800)]
wifi(vts): simplify HIDL calls

Presently, the core of the Wifi test logic is
obscured by the boilerplate required to create
a callback.

This CL provides some utilities to simplify
the creation of a HIDL result callback, and
migrates existing Wifi code to use the new
utilities.

Along the way: add a .clang-format file, so
that I don't misformat code with 2-space
indents (the Google default).

Bug: 34817351
Test: vts-tradefed run commandAndExit vts --module=HalWifiHidlTargetTest
Change-Id: Id2c728f96c3369c74adc8dfce7228b0a15a0781e

7 years agoupdate-makefiles.sh
Steven Moreland [Wed, 15 Feb 2017 18:59:23 +0000 (10:59 -0800)]
update-makefiles.sh

There have been some changes to the way hidl-gen generates these and
some CLs got out of sync with hidl-gen.

Test: pass
Change-Id: I33c573499d5dd37de447902fd93929b80a5df371

7 years agoMerge "Remove coverage flags from tests."
TreeHugger Robot [Wed, 15 Feb 2017 18:47:47 +0000 (18:47 +0000)]
Merge "Remove coverage flags from tests."

7 years agoMerge "[AWARE] Correct comment on Discovery Window usage" am: 751dc694a4 am: 224d83b4...
Etan Cohen [Wed, 15 Feb 2017 15:09:01 +0000 (15:09 +0000)]
Merge "[AWARE] Correct comment on Discovery Window usage" am: 751dc694a4 am: 224d83b432 am: a0e225ec89
am: 00536359a3

Change-Id: Ie971d01fc5b4201aad51f2943fcd4a165b2eb26a

7 years agoMerge "[AWARE] Correct comment on Discovery Window usage" am: 751dc694a4 am: 224d83b432
Etan Cohen [Wed, 15 Feb 2017 15:05:07 +0000 (15:05 +0000)]
Merge "[AWARE] Correct comment on Discovery Window usage" am: 751dc694a4 am: 224d83b432
am: a0e225ec89

Change-Id: Ic43f3be2129e6e6da66850486123a39e48bee571

7 years agoMerge "[AWARE] Correct comment on Discovery Window usage" am: 751dc694a4
Etan Cohen [Wed, 15 Feb 2017 15:01:36 +0000 (15:01 +0000)]
Merge "[AWARE] Correct comment on Discovery Window usage" am: 751dc694a4
am: 224d83b432

Change-Id: I59901d50215f7362f5769b4c9ae8225921e6d643

7 years agoMerge "[AWARE] Correct comment on Discovery Window usage"
Etan Cohen [Wed, 15 Feb 2017 14:58:06 +0000 (14:58 +0000)]
Merge "[AWARE] Correct comment on Discovery Window usage"
am: 751dc694a4

Change-Id: I96a0b00713d01cb4a587a8ba44833c2a5f1a2cf0

7 years agoMerge "[AWARE] Correct comment on Discovery Window usage"
Etan Cohen [Wed, 15 Feb 2017 14:52:51 +0000 (14:52 +0000)]
Merge "[AWARE] Correct comment on Discovery Window usage"

7 years agoMerge "Remove --coverage in Android.bp" am: 8cd0125d2e am: 6439f344ad am: b7046d211d
Dan Willemsen [Wed, 15 Feb 2017 05:20:54 +0000 (05:20 +0000)]
Merge "Remove --coverage in Android.bp" am: 8cd0125d2e am: 6439f344ad am: b7046d211d
am: bca7f2db08

Change-Id: I2d78476add5792361f6d1e786fac80a6c30f0be8

7 years agoMerge "Remove --coverage in Android.bp" am: 8cd0125d2e am: 6439f344ad
Dan Willemsen [Wed, 15 Feb 2017 05:17:30 +0000 (05:17 +0000)]
Merge "Remove --coverage in Android.bp" am: 8cd0125d2e am: 6439f344ad
am: b7046d211d

Change-Id: I29044eba5da1c72a5e8a14d97617a1d1db3b0adc

7 years agoMerge "Remove --coverage in Android.bp" am: 8cd0125d2e
Dan Willemsen [Wed, 15 Feb 2017 05:14:30 +0000 (05:14 +0000)]
Merge "Remove --coverage in Android.bp" am: 8cd0125d2e
am: 6439f344ad

Change-Id: I8a5f2071751984ff0ce400968d49781b247a5977

7 years agoMerge "Remove --coverage in Android.bp"
Dan Willemsen [Wed, 15 Feb 2017 05:11:30 +0000 (05:11 +0000)]
Merge "Remove --coverage in Android.bp"
am: 8cd0125d2e

Change-Id: I64c14bbb96b132b3b26d6d61a11e4c8cf84bd161

7 years agoMerge "Remove --coverage in Android.bp"
Treehugger Robot [Wed, 15 Feb 2017 05:08:16 +0000 (05:08 +0000)]
Merge "Remove --coverage in Android.bp"

7 years agoMerge "Fix shim layer bugs for Sensors HIDL wrapper."
Ashutosh Joshi [Wed, 15 Feb 2017 02:51:02 +0000 (02:51 +0000)]
Merge "Fix shim layer bugs for Sensors HIDL wrapper."

7 years agoRemove coverage flags from tests.
Ryan Campbell [Wed, 15 Feb 2017 00:50:34 +0000 (16:50 -0800)]
Remove coverage flags from tests.

Remove unnecessary coverage flags from HAL tests.

Bug: 32749731
Test: none
Change-Id: I7e4e3bce2d9d444bfa8475c140bce2ee7e3b0c0d

7 years agoInitial submit of Vehicle HAL 2.1
Pavel Maltsev [Wed, 8 Feb 2017 20:33:46 +0000 (12:33 -0800)]
Initial submit of Vehicle HAL 2.1

Major changes / decisions:

- created empty IVehicle@2.1 interface to distinguish HAL impls
  from client's (Car Service) perspective;
- created default 2.1 implementation that currently delegates all
  calls to existing 2.0 implementation
- had to refactor a little bit 2.0 thus components could be esily
  imported in 2.1

TOOD:
- move OBD and VMS code to 2.1
- decouple "DefaultVehicleHal.cpp"
- rename "DefaultVehicleHal" to Emulator (let's call things by their names)

b/34716856

Test: todo

Change-Id: Ib23650ca1277f0dfb24e5c789d65a19dce8b1abc

7 years agoMerge "Revert "Enable loading of treble-based plugins""
Jeff Tinker [Tue, 14 Feb 2017 21:53:14 +0000 (21:53 +0000)]
Merge "Revert "Enable loading of treble-based plugins""

7 years ago[AWARE] Correct comment on Discovery Window usage
Etan Cohen [Tue, 14 Feb 2017 21:51:11 +0000 (13:51 -0800)]
[AWARE] Correct comment on Discovery Window usage

Clarify that DW period specification on discovery session
does not override the overall system DW period specification
(if one is provided).

Bug: 35040192
Test: none - comment fix
Change-Id: Ia7c495f1cd50a4bce0ffbaf242e52bc4f110eef2

7 years agoRevert "Enable loading of treble-based plugins"
Jeff Tinker [Tue, 14 Feb 2017 21:04:31 +0000 (21:04 +0000)]
Revert "Enable loading of treble-based plugins"

bug:35329920

Tests: Verfied playback on Ryu with Play Movies in combination with
ag/1907708, ag/1909159

This reverts commit fbf365037014e81711611384aeee9469590210f6.

Change-Id: I4a35a329b24e4cd9efcff4fe84e9d8901c714d57

7 years agoFix shim layer bugs for Sensors HIDL wrapper.
Ashutosh Joshi [Mon, 13 Feb 2017 20:52:14 +0000 (12:52 -0800)]
Fix shim layer bugs for Sensors HIDL wrapper.

i) Increase the number of default threads to 2.
ii) Handle the flush complete event correctly.

Bug: 35189074
Bug: 35067266

Test: Test that sensors work in both binderized and passthrough modes.
      Ensure that camera photosphere works.

Change-Id: Ic8dadf03395b4e96092ae962cf790c93d65a1c8d

7 years agoMerge "Update .vts files on master based on the latest .hal file and hidl-gen"
Zhuoyao Zhang [Tue, 14 Feb 2017 18:51:26 +0000 (18:51 +0000)]
Merge "Update .vts files on master based on the latest .hal file and hidl-gen"

7 years agoMerge "Camera: Fix ION buffer leaks"
Yin-Chia Yeh [Tue, 14 Feb 2017 18:17:37 +0000 (18:17 +0000)]
Merge "Camera: Fix ION buffer leaks"

7 years agoMerge "update vms hal index"
Asaf Rosenfeld [Tue, 14 Feb 2017 16:45:36 +0000 (16:45 +0000)]
Merge "update vms hal index"

7 years agoMerge "Have generateKey() treat additional entropy as optional"
TreeHugger Robot [Tue, 14 Feb 2017 13:00:59 +0000 (13:00 +0000)]
Merge "Have generateKey() treat additional entropy as optional"

7 years agoHave generateKey() treat additional entropy as optional
Bartosz Fabianowski [Mon, 13 Feb 2017 15:50:24 +0000 (16:50 +0100)]
Have generateKey() treat additional entropy as optional

KeyStore.generateKey() takes an entropy parameter. This is optional
and can be null. That is how KeyStore used to work but a recent
refactor made us always feed the entropy to keymaster, even if it
is empty (null or byte[0] on the Java side). This CL makes us ignore
such empty entropy again.

We only noticed this because a recently added GTS test that happens
to set the entropy to null is failing on some hardware (other
keymaster implementations silently ignore this invalid attempt to
set entropy).

Bug: 35156555
Test: gts-tradefed run gts --module GtsGmscoreHostTestCases
      --test com.google.android.gts.security.DeviceIdAttestationHostTest

Change-Id: Iadaf40e69350c17dd18e4dc2a1dab97fa911e1bf

7 years agoCamera: Fix ION buffer leaks
Emilian Peev [Mon, 13 Feb 2017 15:26:00 +0000 (15:26 +0000)]
Camera: Fix ION buffer leaks

Native buffer handles should always get closed
and deleted during buffer release.

BUG: 35338606
Test: Manual using application
Change-Id: I5d7a4b02a28b29b872b66843d623166f04207c2e

7 years agoupdate vms hal index
asafro [Mon, 13 Feb 2017 19:30:10 +0000 (11:30 -0800)]
update vms hal index

Test: tested in VmsServiceHal tests (new test in a separate cl)
Bug: 35313387
Change-Id: I18379fed2b8e59b21cfe732e3a81f63e611cdd36

7 years agoMerge "Bluetooth: Add CHECK and move ASSERT" am: b835ea3f11 am: 028ce01354 am: 4bbcb8f41e
Myles Watson [Tue, 14 Feb 2017 02:22:13 +0000 (02:22 +0000)]
Merge "Bluetooth: Add CHECK and move ASSERT" am: b835ea3f11 am: 028ce01354 am: 4bbcb8f41e
am: 93df786d5e

Change-Id: I74bba26880c4f30d869d6f142d4ac83820452594

7 years agoMerge "Bluetooth: Add CHECK and move ASSERT" am: b835ea3f11 am: 028ce01354
Myles Watson [Tue, 14 Feb 2017 02:20:43 +0000 (02:20 +0000)]
Merge "Bluetooth: Add CHECK and move ASSERT" am: b835ea3f11 am: 028ce01354
am: 4bbcb8f41e

Change-Id: Id503d07ba2adeef890882df2f686635abc7749d9

7 years agoMerge "Bluetooth: Add CHECK and move ASSERT" am: b835ea3f11
Myles Watson [Tue, 14 Feb 2017 02:18:43 +0000 (02:18 +0000)]
Merge "Bluetooth: Add CHECK and move ASSERT" am: b835ea3f11
am: 028ce01354

Change-Id: Ia432ecc1676f926a157eb6b978990c19814f2aa4

7 years agoMerge "Bluetooth: Add CHECK and move ASSERT"
Myles Watson [Tue, 14 Feb 2017 02:16:43 +0000 (02:16 +0000)]
Merge "Bluetooth: Add CHECK and move ASSERT"
am: b835ea3f11

Change-Id: I37ab797a98e3b126771de6aa6104b65dd3cab55a

7 years agoMerge "fix a sign-compare warning and use -Wall"
TreeHugger Robot [Tue, 14 Feb 2017 02:16:16 +0000 (02:16 +0000)]
Merge "fix a sign-compare warning and use -Wall"

7 years agoMerge "Bluetooth: Add CHECK and move ASSERT"
Treehugger Robot [Tue, 14 Feb 2017 02:09:59 +0000 (02:09 +0000)]
Merge "Bluetooth: Add CHECK and move ASSERT"

7 years agoUpdate .vts files on master based on the latest .hal file and hidl-gen
Zhuoyao Zhang [Tue, 14 Feb 2017 02:03:06 +0000 (18:03 -0800)]
Update .vts files on master based on the latest .hal file and hidl-gen

Test: mma
Change-Id: I9558f300505db83e26f7c241c5cf729cd005a07b

7 years agoMove hidl shims to the vendor partition. am: 46c0b94992 am: 0a9133b271 am: 0c5f363811
Steven Moreland [Tue, 14 Feb 2017 01:22:16 +0000 (01:22 +0000)]
Move hidl shims to the vendor partition. am: 46c0b94992 am: 0a9133b271 am: 0c5f363811
am: 88db3fc412  -s ours

Change-Id: I00fecf0cd7eb51d6e5fca57664a70411706996c5

7 years agoMove hidl shims to the vendor partition. am: 46c0b94992 am: 0a9133b271
Steven Moreland [Tue, 14 Feb 2017 01:19:15 +0000 (01:19 +0000)]
Move hidl shims to the vendor partition. am: 46c0b94992 am: 0a9133b271
am: 0c5f363811

Change-Id: Icdf33f1473013ecba1d70ebcb1d85641024b3213

7 years agoMove hidl shims to the vendor partition. am: 46c0b94992
Steven Moreland [Tue, 14 Feb 2017 01:17:16 +0000 (01:17 +0000)]
Move hidl shims to the vendor partition. am: 46c0b94992
am: 0a9133b271

Change-Id: Ibe01a4a070c612b86fb31c0543695df5da924624

7 years agoMove hidl shims to the vendor partition.
Steven Moreland [Tue, 14 Feb 2017 01:15:08 +0000 (01:15 +0000)]
Move hidl shims to the vendor partition.
am: 46c0b94992

Change-Id: I9f508ce24e07a1d78eac3bea94a21a45a8b2cd81

7 years agoModify method to get MQDescriptor for unsynchronized FMQ.
Hridya Valsaraju [Mon, 13 Feb 2017 22:38:26 +0000 (14:38 -0800)]
Modify method to get MQDescriptor for unsynchronized FMQ.

The modified method adds a new parameter specifying
if a new unsynchronized FMQ needs to be set up by the server
or if it is to return an MQDescriptor to
an unsynchronized FMQ that has already been configured
by the server(if one exists)

Bug: 35319190
Test: FMQ unit tests
Change-Id: I64a5b356a2761faaeeea6fdd2c3a7da9b60f0016

7 years agoUpdate HIDL with CompositorTiming.
Brian Anderson [Mon, 13 Feb 2017 23:26:13 +0000 (15:26 -0800)]
Update HIDL with CompositorTiming.

Test: Tested manually with Chrome.
Change-Id: I0e911612f4db1ae57098a5bc53afdce61dfe5837

7 years agoMove hidl shims to the vendor partition.
Steven Moreland [Thu, 12 Jan 2017 21:33:16 +0000 (13:33 -0800)]
Move hidl shims to the vendor partition.

We need google shims on the vendor partition because they are providing
an implementation of a vendor defined interface. They were written by
google just as a courtesy/to make the transition easier. They're
basically a set for vendors to assemble their hal implementations
from.

Bug: 34135607
Test: marlin persist.hal.binderization on/off

Merged-In: I3f86c77c147514fe470f08088a66de312ae32d4e
Change-Id: I3f86c77c147514fe470f08088a66de312ae32d4e

7 years agoMove hidl shims to the vendor partition. (2/2)
Steven Moreland [Mon, 13 Feb 2017 17:59:06 +0000 (09:59 -0800)]
Move hidl shims to the vendor partition. (2/2)

We need google shims on the vendor partition because they are providing
an implementation of a vendor defined interface. They were written by
google just as a courtesy/to make the transition easier. They're
basically a set for vendors to assemble their hal implementations
from.

Bug: 34135607
Test: marlin persist.hal.binderization on/off
Change-Id: I2e2af5af39264cf290259755bb9b2eb9827a21f5

7 years agoMove hidl shims to the vendor partition.
Steven Moreland [Thu, 12 Jan 2017 21:33:16 +0000 (13:33 -0800)]
Move hidl shims to the vendor partition.

We need google shims on the vendor partition because they are providing
an implementation of a vendor defined interface. They were written by
google just as a courtesy/to make the transition easier. They're
basically a set for vendors to assemble their hal implementations
from.

Bug: 34135607
Test: marlin persist.hal.binderization on/off
Change-Id: I3f86c77c147514fe470f08088a66de312ae32d4e

7 years agoMerge changes Ieee26013,I275bba11,I7e7258e7,I88111181 am: 3646298ab6 am: b853615e6e...
Roshan Pius [Mon, 13 Feb 2017 21:41:22 +0000 (21:41 +0000)]
Merge changes Ieee26013,I275bba11,I7e7258e7,I88111181 am: 3646298ab6 am: b853615e6e am: f404487631
am: 4ffdf9c3a0

Change-Id: Ib9e28840ac6a6c7b4667ff037e80f0219f8307b8

7 years agoMerge changes Ieee26013,I275bba11,I7e7258e7,I88111181 am: 3646298ab6 am: b853615e6e
Roshan Pius [Mon, 13 Feb 2017 21:38:54 +0000 (21:38 +0000)]
Merge changes Ieee26013,I275bba11,I7e7258e7,I88111181 am: 3646298ab6 am: b853615e6e
am: f404487631

Change-Id: I29a4bb5ff276182e2864a29daabec396c2df8ee0

7 years agoMerge changes Ieee26013,I275bba11,I7e7258e7,I88111181 am: 3646298ab6
Roshan Pius [Mon, 13 Feb 2017 21:36:24 +0000 (21:36 +0000)]
Merge changes Ieee26013,I275bba11,I7e7258e7,I88111181 am: 3646298ab6
am: b853615e6e

Change-Id: Id42bcb5657613884386b1b978d6931511425c49e

7 years agoMerge changes Ieee26013,I275bba11,I7e7258e7,I88111181
Roshan Pius [Mon, 13 Feb 2017 21:33:59 +0000 (21:33 +0000)]
Merge changes Ieee26013,I275bba11,I7e7258e7,I88111181
am: 3646298ab6

Change-Id: Ica61adc41d15404f2998002f4c950a0b3ddc8296

7 years agoMerge changes Ieee26013,I275bba11,I7e7258e7,I88111181
Roshan Pius [Mon, 13 Feb 2017 21:25:38 +0000 (21:25 +0000)]
Merge changes Ieee26013,I275bba11,I7e7258e7,I88111181

* changes:
  supplicant(interface): Remove redundant callbacks
  wifi(implementation): Copy the user complete callback by value
  wifi(implementation): Add status check for all cb invocation
  wifi(implementation): Add global lock

7 years agosupplicant(interface): Remove redundant callbacks
Roshan Pius [Fri, 27 Jan 2017 21:32:03 +0000 (13:32 -0800)]
supplicant(interface): Remove redundant callbacks

The information broadcast via these callbacks are already available via
other callbacks.

1. All of the onProvisionDiscovery* callback data can be retrieved via the
|onProvisionDiscoveryCompleted| callback.
2. OnAssociated & onConnected callbacks data can retrieved via the
onStateChanges callback.

Bug: 34221586
Test: ./hardware/interfaces/update-makefiles.sh

Change-Id: Ieee26013dfda7a9be41a80e98ff1537da16b3466

7 years agowifi(implementation): Copy the user complete callback by value
Roshan Pius [Thu, 2 Feb 2017 17:54:27 +0000 (09:54 -0800)]
wifi(implementation): Copy the user complete callback by value

The callback object may go out of scope by the time it's invoked. So,
make a copy of it. We're doing the same for the other user callbacks
received in this class.

Bug: 34930275
Test: Compiles
Change-Id: I275bba11ae8735a21514d871e8aa473f92f0fd7d

7 years agoBluetooth: Add CHECK and move ASSERT
Myles Watson [Mon, 13 Feb 2017 18:57:47 +0000 (10:57 -0800)]
Bluetooth: Add CHECK and move ASSERT

Test: bluetooth_hidl_hal_test passes
Change-Id: Ib857265204d39ffb54afc6f589fdc1b852362a97

7 years agoMerge "example-light HAL uses "default" service name"
Steven Moreland [Mon, 13 Feb 2017 19:22:47 +0000 (19:22 +0000)]
Merge "example-light HAL uses "default" service name"

7 years agoMerge "Update vts files on aosp." am: 248e3932fe am: 848e5db57f am: 832e7bd89a
Zhuoyao Zhang [Mon, 13 Feb 2017 19:21:04 +0000 (19:21 +0000)]
Merge "Update vts files on aosp." am: 248e3932fe am: 848e5db57f am: 832e7bd89a
am: 47497a0536

Change-Id: I2a66a8ef82ce6d93ad8ab274832dd3fdb15a0f95

7 years agoMerge "Update vts files on aosp." am: 248e3932fe am: 848e5db57f
Zhuoyao Zhang [Mon, 13 Feb 2017 19:17:51 +0000 (19:17 +0000)]
Merge "Update vts files on aosp." am: 248e3932fe am: 848e5db57f
am: 832e7bd89a

Change-Id: If86e71c6f1d99c3a4cd37adf320c2598621c30e9

7 years agoMerge "Update vts files on aosp." am: 248e3932fe
Zhuoyao Zhang [Mon, 13 Feb 2017 19:15:20 +0000 (19:15 +0000)]
Merge "Update vts files on aosp." am: 248e3932fe
am: 848e5db57f

Change-Id: Ie29071455c9ca3cf1a7293972347cbc6c9a9f9f1

7 years agoMerge "Update vts files on aosp."
Zhuoyao Zhang [Mon, 13 Feb 2017 19:12:36 +0000 (19:12 +0000)]
Merge "Update vts files on aosp."
am: 248e3932fe

Change-Id: I147799a7b93d100a5340aa0150540f6b6142e72e

7 years agoMerge "Add missing response function." am: 6267062af5 am: b3e6021641 am: 63ab2b318b
Amit Mahajan [Mon, 13 Feb 2017 19:12:25 +0000 (19:12 +0000)]
Merge "Add missing response function." am: 6267062af5 am: b3e6021641 am: 63ab2b318b
am: f6f5316460  -s ours

Change-Id: I3dc67d3d85656f768d2acedb24b87a97655c92ba