OSDN Git Service

android-x86/hardware-interfaces.git
7 years agowifi: Few minor interface changes am: 8c0c8e9aa0 am: 90cc1c0869
Roshan Pius [Wed, 1 Mar 2017 01:26:20 +0000 (01:26 +0000)]
wifi: Few minor interface changes am: 8c0c8e9aa0 am: 90cc1c0869
am: 32c94ad54e

Change-Id: I13522129a19e643688ac235c935fc6ffd66ce15c

7 years agowifi: Few minor interface changes am: 8c0c8e9aa0
Roshan Pius [Wed, 1 Mar 2017 01:23:47 +0000 (01:23 +0000)]
wifi: Few minor interface changes am: 8c0c8e9aa0
am: 90cc1c0869

Change-Id: I03875194e322c6d068e31e1ed82a526c33aca48f

7 years agowifi: Few minor interface changes
Roshan Pius [Wed, 1 Mar 2017 01:21:48 +0000 (01:21 +0000)]
wifi: Few minor interface changes
am: 8c0c8e9aa0

Change-Id: Ib7fe78f075202f6206204210f31f24e82322b268

7 years agoMerge "audiohal: Add diagnostic message to check the number of bytes written"
Mikhail Naganov [Tue, 28 Feb 2017 23:52:03 +0000 (23:52 +0000)]
Merge "audiohal: Add diagnostic message to check the number of bytes written"

7 years agowifi: Few minor interface changes
Roshan Pius [Fri, 24 Feb 2017 16:07:42 +0000 (08:07 -0800)]
wifi: Few minor interface changes

Changes in the CL:
1. Add the buckets scanned bitmask to bgscan.
2. exposed the legacy HAL constants for Bgscan in the HIDL interface.
3. Add a stop method for ring buffer logging.

Bug: 35752950
Bug: 33194311
Test: Compiles
Change-Id: Idb2031c33c5a237d7447410fb733f8e408a17288

7 years agoMerge "Correct reporting of errors in MediaCrypto"
Rahul Frias [Tue, 28 Feb 2017 22:38:39 +0000 (22:38 +0000)]
Merge "Correct reporting of errors in MediaCrypto"

7 years agoMerge "Move baz default implementation to hardware/interfaces" am: b541affafb am...
Hridya Valsaraju [Tue, 28 Feb 2017 21:51:39 +0000 (21:51 +0000)]
Merge "Move baz default implementation to hardware/interfaces" am: b541affafb am: c990e2e15f
am: 7e7d3758d1

Change-Id: I6b8c250747d938d7ca56cd87bf89291c3a61f87f

7 years agoMerge "Add columns to namespace for vts target base test invocation" am: 7d32288474...
Yuexi Ma [Tue, 28 Feb 2017 21:51:29 +0000 (21:51 +0000)]
Merge "Add columns to namespace for vts target base test invocation" am: 7d32288474 am: 1639a26255
am: d605f70f05

Change-Id: I39a4f2a99a52973193247340f1eae980a4e9bf8f

7 years agoMerge "Added the roaming flag for data call APIs" am: 85ac3707bc am: 39ff8ef59d
Jack Yu [Tue, 28 Feb 2017 21:51:08 +0000 (21:51 +0000)]
Merge "Added the roaming flag for data call APIs" am: 85ac3707bc am: 39ff8ef59d
am: 959a71c11a

Change-Id: If4ec2d561f25232d5d62994b958a865dcc40a9d4

7 years agoMerge "Move baz default implementation to hardware/interfaces" am: b541affafb
Hridya Valsaraju [Tue, 28 Feb 2017 21:49:16 +0000 (21:49 +0000)]
Merge "Move baz default implementation to hardware/interfaces" am: b541affafb
am: c990e2e15f

Change-Id: I5b7c2c657807229956613c444a6843345885f071

7 years agoMerge "Add columns to namespace for vts target base test invocation" am: 7d32288474
Yuexi Ma [Tue, 28 Feb 2017 21:49:06 +0000 (21:49 +0000)]
Merge "Add columns to namespace for vts target base test invocation" am: 7d32288474
am: 1639a26255

Change-Id: Ib1202ed705515234ff5e117d71d8ca4a7cdcc273

7 years agoMerge "Added the roaming flag for data call APIs" am: 85ac3707bc
Jack Yu [Tue, 28 Feb 2017 21:48:46 +0000 (21:48 +0000)]
Merge "Added the roaming flag for data call APIs" am: 85ac3707bc
am: 39ff8ef59d

Change-Id: I116729343929f2a3e6345d81464655d61669fedd

7 years agoMerge "Move baz default implementation to hardware/interfaces"
Hridya Valsaraju [Tue, 28 Feb 2017 21:47:10 +0000 (21:47 +0000)]
Merge "Move baz default implementation to hardware/interfaces"
am: b541affafb

Change-Id: I44ad5a3580b4f02b1a1d052d9021552460491595

7 years agoMerge "Add columns to namespace for vts target base test invocation"
Yuexi Ma [Tue, 28 Feb 2017 21:47:00 +0000 (21:47 +0000)]
Merge "Add columns to namespace for vts target base test invocation"
am: 7d32288474

Change-Id: I0e6e7f7038f036979715a5cd18c5ff96d0cc2f73

7 years agoMerge "Added the roaming flag for data call APIs"
Jack Yu [Tue, 28 Feb 2017 21:46:35 +0000 (21:46 +0000)]
Merge "Added the roaming flag for data call APIs"
am: 85ac3707bc

Change-Id: I8c07aec0c3f051f0e7e870cd96de4a3eb177d843

7 years agoMerge "Move baz default implementation to hardware/interfaces"
Treehugger Robot [Tue, 28 Feb 2017 21:10:32 +0000 (21:10 +0000)]
Merge "Move baz default implementation to hardware/interfaces"

7 years agoMerge "Add columns to namespace for vts target base test invocation"
Treehugger Robot [Tue, 28 Feb 2017 20:59:11 +0000 (20:59 +0000)]
Merge "Add columns to namespace for vts target base test invocation"

7 years agoCorrect reporting of errors in MediaCrypto
Rahul Frias [Tue, 28 Feb 2017 03:17:30 +0000 (19:17 -0800)]
Correct reporting of errors in MediaCrypto

Legacy error codes need to be converted into new Status values before
being reported. Decryption errors (that were negative) were changed to
absolute values. This caused their translation to new Status values to
fail.

b/35634335

Test: Verified with GtsExoPlayerTestCases. Some failures, but those
      are unrelated to this CL and will be addressed separately.

Change-Id: I995cac33cb2725d02b0f1a3922e522ce07a9d1be

7 years agoMerge "Add CarSensor properties to DefaultVehicleHal"
TreeHugger Robot [Tue, 28 Feb 2017 20:53:46 +0000 (20:53 +0000)]
Merge "Add CarSensor properties to DefaultVehicleHal"

7 years agoAdd columns to namespace for vts target base test invocation
Yuexi Ma [Tue, 28 Feb 2017 19:24:48 +0000 (11:24 -0800)]
Add columns to namespace for vts target base test invocation

Test: make vts
Change-Id: Ia0284fbc11eadef572dd510bb5847160852bd517

7 years agoMerge "Added the roaming flag for data call APIs"
Jack Yu [Tue, 28 Feb 2017 20:47:01 +0000 (20:47 +0000)]
Merge "Added the roaming flag for data call APIs"

7 years agoMerge "[AWARE] Data-path negotiation update" am: a4b9cad4a1 am: b4c9402e6b
Etan Cohen [Tue, 28 Feb 2017 20:44:29 +0000 (20:44 +0000)]
Merge "[AWARE] Data-path negotiation update" am: a4b9cad4a1 am: b4c9402e6b
am: f7b018dc47

Change-Id: I9dfa037c9e0ca7bb6fa6e2d9a79f71b9d500c139

7 years agoMerge "[AWARE] Data-path negotiation update" am: a4b9cad4a1
Etan Cohen [Tue, 28 Feb 2017 20:42:28 +0000 (20:42 +0000)]
Merge "[AWARE] Data-path negotiation update" am: a4b9cad4a1
am: b4c9402e6b

Change-Id: Ib6c1ef62a2819a76095989217f5d8d6bb091bb4b

7 years agoMerge "[AWARE] Data-path negotiation update"
Etan Cohen [Tue, 28 Feb 2017 20:39:30 +0000 (20:39 +0000)]
Merge "[AWARE] Data-path negotiation update"
am: a4b9cad4a1

Change-Id: Icd15990fab66d98ad65a4c870f7163daf3cc2137

7 years agoMerge "[AWARE] Data-path negotiation update"
Etan Cohen [Tue, 28 Feb 2017 20:35:40 +0000 (20:35 +0000)]
Merge "[AWARE] Data-path negotiation update"

7 years agoMerge "Added the roaming flag for data call APIs"
Jack Yu [Tue, 28 Feb 2017 19:36:31 +0000 (19:36 +0000)]
Merge "Added the roaming flag for data call APIs"

7 years agoAdd CarSensor properties to DefaultVehicleHal
Steve Paik [Tue, 28 Feb 2017 18:36:29 +0000 (10:36 -0800)]
Add CarSensor properties to DefaultVehicleHal

Test:  Run python vhal_emulator_test
Change-Id: I1ebab23942397c5043840ea4ea1dc8e515f38c29

7 years agoMerge "change all vts hidl tests to use VtsHalHidlTargetBaseTest" am: 5fd2ce668d...
Yuexi Ma [Tue, 28 Feb 2017 18:25:17 +0000 (18:25 +0000)]
Merge "change all vts hidl tests to use VtsHalHidlTargetBaseTest" am: 5fd2ce668d am: 3d0093b8e9
am: 93b79bd172

Change-Id: I971ce47c3d1a02ba7540c7076487be958cdf73b1

7 years agoMerge "change all vts hidl tests to use VtsHalHidlTargetBaseTest" am: 5fd2ce668d
Yuexi Ma [Tue, 28 Feb 2017 18:22:48 +0000 (18:22 +0000)]
Merge "change all vts hidl tests to use VtsHalHidlTargetBaseTest" am: 5fd2ce668d
am: 3d0093b8e9

Change-Id: Ib8e545361a7e7db349eb9f44a9ee37a75fe7e4f9

7 years agoMerge "change all vts hidl tests to use VtsHalHidlTargetBaseTest"
Yuexi Ma [Tue, 28 Feb 2017 18:20:16 +0000 (18:20 +0000)]
Merge "change all vts hidl tests to use VtsHalHidlTargetBaseTest"
am: 5fd2ce668d

Change-Id: I96632aa14530d0c7602c86055ea9fafd5ee5ccd2

7 years agoMerge "change all vts hidl tests to use VtsHalHidlTargetBaseTest"
Yuexi Ma [Tue, 28 Feb 2017 18:15:17 +0000 (18:15 +0000)]
Merge "change all vts hidl tests to use VtsHalHidlTargetBaseTest"

7 years agoMerge "Revert "Revert "Protect against null strings in hal wrapper implementation."""
Steven Moreland [Tue, 28 Feb 2017 17:54:53 +0000 (17:54 +0000)]
Merge "Revert "Revert "Protect against null strings in hal wrapper implementation."""

7 years agoRevert "Revert "Protect against null strings in hal wrapper implementation.""
Steven Moreland [Tue, 28 Feb 2017 17:53:43 +0000 (17:53 +0000)]
Revert "Revert "Protect against null strings in hal wrapper implementation.""

This reverts commit 4cc22a0bc8eb95a74bc7d77fd24ba5361650f227.

Reason for revert: Accidental +2, still waiting on: aosp 345923

Change-Id: I57e062b267ad54632c6d7fcd464c7a0dd773de33

7 years agoMerge "Revert "Protect against null strings in hal wrapper implementation.""
TreeHugger Robot [Tue, 28 Feb 2017 17:50:28 +0000 (17:50 +0000)]
Merge "Revert "Protect against null strings in hal wrapper implementation.""

7 years agoaudiohal: Add diagnostic message to check the number of bytes written
Mikhail Naganov [Tue, 28 Feb 2017 17:12:19 +0000 (09:12 -0800)]
audiohal: Add diagnostic message to check the number of bytes written

Temporary change for investigating b/35813113. Need to test
the hypothesis that sometimes either legacy HAL, or the wrapper
reports more bytes written than being asked for.

Bug: 35813113
Change-Id: I6596403e0ddcdcc8b061d1977e329f67670f30db
Test: make

7 years agoRevert "Protect against null strings in hal wrapper implementation."
Steven Moreland [Wed, 22 Feb 2017 03:42:31 +0000 (03:42 +0000)]
Revert "Protect against null strings in hal wrapper implementation."

This reverts commit 6909bfd8ee664c6ef93e1d4c1e0c4ba5650fcba9.

Updated sense null strings are now allowed in hidl as of Iada25da5407c3eccdd28704d993ffdee8b15c5fe.

Bug: 35421240

Change-Id: Ied1745ba7169b2e4bc0a20000503e47172538f08

7 years agoMerge "[AWARE] Data-path cipher API correction" am: 4ba6a7d3dd am: fad3b31234
Etan Cohen [Tue, 28 Feb 2017 14:15:33 +0000 (14:15 +0000)]
Merge "[AWARE] Data-path cipher API correction" am: 4ba6a7d3dd am: fad3b31234
am: c756432b3a

Change-Id: Icb0bd3bb0a866fb16a7f5ea62c91fad854418b0c

7 years agoMerge "[AWARE] Data-path cipher API correction" am: 4ba6a7d3dd
Etan Cohen [Tue, 28 Feb 2017 14:13:32 +0000 (14:13 +0000)]
Merge "[AWARE] Data-path cipher API correction" am: 4ba6a7d3dd
am: fad3b31234

Change-Id: I16d9887f2c82cdcff3dde282bd129232d456dc5a

7 years agoMerge "[AWARE] Data-path cipher API correction"
Etan Cohen [Tue, 28 Feb 2017 14:11:02 +0000 (14:11 +0000)]
Merge "[AWARE] Data-path cipher API correction"
am: 4ba6a7d3dd

Change-Id: Ie9b3a5be561bd2f7db0218d4d5914527f1384c47

7 years agoMerge "[AWARE] Data-path cipher API correction"
Etan Cohen [Tue, 28 Feb 2017 14:08:31 +0000 (14:08 +0000)]
Merge "[AWARE] Data-path cipher API correction"

7 years agochange all vts hidl tests to use VtsHalHidlTargetBaseTest
Yuexi Ma [Fri, 24 Feb 2017 21:17:02 +0000 (13:17 -0800)]
change all vts hidl tests to use VtsHalHidlTargetBaseTest

Bug: 33385836
Test: mma
Change-Id: I660d6e0fce6422d87d4b227273a77c95d20ed3f2

7 years agoAdded the roaming flag for data call APIs
Jack Yu [Thu, 23 Feb 2017 20:40:56 +0000 (12:40 -0800)]
Added the roaming flag for data call APIs

Added the roaming flag for supporting the old vendor
RIL. This parameter is just for backward compatibility
reason. The radio modem should not use it.

Test: Telephony sanity tests
bug: 32224135

Merged-In: Ibd3ba5b4c829c90bb6f65562c6c024c237a2c642
Change-Id: Ibd3ba5b4c829c90bb6f65562c6c024c237a2c642

7 years agoMerge "Add pipe interface to DefaultVehicleHal"
Steve Paik [Tue, 28 Feb 2017 04:44:38 +0000 (04:44 +0000)]
Merge "Add pipe interface to DefaultVehicleHal"

7 years agoBluetooth: move to vendor partition. am: 6ca34f1bf5 am: 677a7b30ce
Steven Moreland [Tue, 28 Feb 2017 04:20:34 +0000 (04:20 +0000)]
Bluetooth: move to vendor partition. am: 6ca34f1bf5 am: 677a7b30ce
am: 9c0de423e8

Change-Id: I863d02d66efce2843069e0adebc7cc6e3c8a2db3

7 years agoBluetooth: move to vendor partition. am: 6ca34f1bf5
Steven Moreland [Tue, 28 Feb 2017 04:06:03 +0000 (04:06 +0000)]
Bluetooth: move to vendor partition. am: 6ca34f1bf5
am: 677a7b30ce

Change-Id: I7c19abc6f7cc3d38128c4321403a79d0ca1d5a44

7 years agoBluetooth: move to vendor partition.
Steven Moreland [Tue, 28 Feb 2017 04:04:08 +0000 (04:04 +0000)]
Bluetooth: move to vendor partition.
am: 6ca34f1bf5

Change-Id: I7d34a8f43cced04d4359e0d8d6f0ed72cee71eb3

7 years agoMerge "Vehicle Hal 2.1: register with the default name"
TreeHugger Robot [Tue, 28 Feb 2017 03:17:32 +0000 (03:17 +0000)]
Merge "Vehicle Hal 2.1: register with the default name"

7 years agoMerge "configstore: build configstore-utils as header library"
Jaesoo Lee [Tue, 28 Feb 2017 03:00:48 +0000 (03:00 +0000)]
Merge "configstore: build configstore-utils as header library"

7 years agoVehicle Hal 2.1: register with the default name
Pavel Maltsev [Tue, 28 Feb 2017 01:49:37 +0000 (17:49 -0800)]
Vehicle Hal 2.1: register with the default name

b/35811488

Test: verified Car Service connected to VHAL 2.1
Change-Id: I5d287b2dc71f62bba501ab872f9a14196d5dabb7

7 years agoBluetooth: move to vendor partition.
Steven Moreland [Mon, 27 Feb 2017 16:58:08 +0000 (08:58 -0800)]
Bluetooth: move to vendor partition.

Bug: 35328775
Test: works in both binderized and passthrough modes
Merged-In: I18f21b53c2282e27342a58716475ae213a2837d4
Change-Id: I18f21b53c2282e27342a58716475ae213a2837d4

7 years agoMerge "Bluetooth: move to vendor partition."
TreeHugger Robot [Tue, 28 Feb 2017 01:30:06 +0000 (01:30 +0000)]
Merge "Bluetooth: move to vendor partition."

7 years agoAdd pipe interface to DefaultVehicleHal
Steve Paik [Wed, 8 Feb 2017 21:51:55 +0000 (13:51 -0800)]
Add pipe interface to DefaultVehicleHal

- Create base communications interface
- Refactor socket calls to use SocketComm class

Test: Use python scripts and custom emulator to test communications

Change-Id: Ia401587223035e748991516a2285cc31cb71a9c9

7 years agoMerge "Correct propagation of asynchonous events"
TreeHugger Robot [Tue, 28 Feb 2017 00:36:30 +0000 (00:36 +0000)]
Merge "Correct propagation of asynchonous events"

7 years agoMerge "Create Broadcast radio HAL 1.1; implement DigitalStatus enum."
Tomasz Wasilczyk [Tue, 28 Feb 2017 00:14:14 +0000 (00:14 +0000)]
Merge "Create Broadcast radio HAL 1.1; implement DigitalStatus enum."

7 years agoBluetooth: move to vendor partition.
Steven Moreland [Mon, 27 Feb 2017 16:58:08 +0000 (08:58 -0800)]
Bluetooth: move to vendor partition.

Bug: 35328775
Test: works in both binderized and passthrough modes
Change-Id: I18f21b53c2282e27342a58716475ae213a2837d4

7 years agoCorrect propagation of asynchonous events
Rahul Frias [Mon, 27 Feb 2017 22:07:44 +0000 (14:07 -0800)]
Correct propagation of asynchonous events

The legacy plugin listener was not set when used in
passthrough mode in Treble. This caused events (session renewal,
key expired etc) not to be propagated to the app.

b/35375500

Test: In progress

Change-Id: I7d74b3320c82e22f67d3c804ee93f9b9791080b2

7 years agoMerge "Fix bugs in power HAL VTS test"
Connor O'Brien [Mon, 27 Feb 2017 22:36:18 +0000 (22:36 +0000)]
Merge "Fix bugs in power HAL VTS test"

7 years agoAdded the roaming flag for data call APIs
Jack Yu [Thu, 23 Feb 2017 20:40:56 +0000 (12:40 -0800)]
Added the roaming flag for data call APIs

Added the roaming flag for supporting the old vendor
RIL. This parameter is just for backward compatibility
reason. The radio modem should not use it.

Test: Telephony sanity tests
bug: 32224135
Change-Id: Ibd3ba5b4c829c90bb6f65562c6c024c237a2c642

7 years agoCreate Broadcast radio HAL 1.1; implement DigitalStatus enum.
Tomasz Wasilczyk [Wed, 8 Feb 2017 01:38:21 +0000 (17:38 -0800)]
Create Broadcast radio HAL 1.1; implement DigitalStatus enum.

Test: VTS
Change-Id: I338c467c4e373cae547f331ba876afa040238376

7 years agoFix bugs in power HAL VTS test
Connor O'Brien [Fri, 24 Feb 2017 20:49:44 +0000 (12:49 -0800)]
Fix bugs in power HAL VTS test

Ensure CPU governor list is null-terminated; stop treating newline
char as a governor name; stop leaking file descriptors on failure.

Bug: 35753237
Test: Test runs and passes on marlin and bullhead
Change-Id: I8a6409a50e5daac36770dc577d0628fec8148847
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoMerge "Add tests for .equals and toString" am: 7128746a9f am: cc51d3b2ae
Yifan Hong [Mon, 27 Feb 2017 18:56:13 +0000 (18:56 +0000)]
Merge "Add tests for .equals and toString" am: 7128746a9f am: cc51d3b2ae
am: 77c34e94c9

Change-Id: If4ba94ff09f9160727befc47f09eaed0d7a8af64

7 years agoMerge "Add tests for .equals and toString" am: 7128746a9f
Yifan Hong [Mon, 27 Feb 2017 18:52:28 +0000 (18:52 +0000)]
Merge "Add tests for .equals and toString" am: 7128746a9f
am: cc51d3b2ae

Change-Id: I6d9393a4822eab544d6cf97e63691090e4f31e94

7 years agoMerge "Add tests for .equals and toString"
Yifan Hong [Mon, 27 Feb 2017 18:49:42 +0000 (18:49 +0000)]
Merge "Add tests for .equals and toString"
am: 7128746a9f

Change-Id: If5641d750e89f01408eb31dee18cef0aa115d5b3

7 years agoMerge "Vr HAL uses "default" service name"
Yifan Hong [Mon, 27 Feb 2017 18:46:22 +0000 (18:46 +0000)]
Merge "Vr HAL uses "default" service name"

7 years agoMerge "Add tests for .equals and toString"
Treehugger Robot [Mon, 27 Feb 2017 18:43:27 +0000 (18:43 +0000)]
Merge "Add tests for .equals and toString"

7 years agoconfigstore: build configstore-utils as header library
Jaesoo Lee [Mon, 27 Feb 2017 04:43:11 +0000 (13:43 +0900)]
configstore: build configstore-utils as header library

This change makes android.hardware.configstore-utils library built as
a header-only library instead of a static library.

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

Change-Id: Idee48816a1a271bdb9ba8cf907d98c3823925da4

7 years agoRemove viral dependency on libhwbinder. am: d28a3dce40 am: 444d759920
Steven Moreland [Sat, 25 Feb 2017 02:55:43 +0000 (02:55 +0000)]
Remove viral dependency on libhwbinder. am: d28a3dce40 am: 444d759920
am: 5c605c8add

Change-Id: I54d6e5a0b38ef9eb507748fd38a8c508e0eb1948

7 years agoRemove viral dependency on libhwbinder. am: d28a3dce40
Steven Moreland [Sat, 25 Feb 2017 02:52:42 +0000 (02:52 +0000)]
Remove viral dependency on libhwbinder. am: d28a3dce40
am: 444d759920

Change-Id: I33ed3e5e4ff9718aedbaddc9ac27b176d89e66d9

7 years agoRemove viral dependency on libhwbinder.
Steven Moreland [Sat, 25 Feb 2017 02:50:15 +0000 (02:50 +0000)]
Remove viral dependency on libhwbinder.
am: d28a3dce40

Change-Id: I9d8e8c7c380cc0abc41370da3853ae288cada9f0

7 years agoMerge "hwcomposer HAL uses "default" service name"
TreeHugger Robot [Sat, 25 Feb 2017 02:40:45 +0000 (02:40 +0000)]
Merge "hwcomposer HAL uses "default" service name"

7 years agoMerge "keymaster HAL uses "default" service name"
TreeHugger Robot [Sat, 25 Feb 2017 01:57:45 +0000 (01:57 +0000)]
Merge "keymaster HAL uses "default" service name"

7 years agohwcomposer HAL uses "default" service name
Yifan Hong [Sat, 25 Feb 2017 00:55:20 +0000 (16:55 -0800)]
hwcomposer HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds

Bug: 33844934
Change-Id: I0c7987ffa7b22bb7386a4a1320242b3248e434e4

7 years agoVr HAL uses "default" service name
Chris Phoenix [Thu, 19 Jan 2017 02:20:05 +0000 (18:20 -0800)]
Vr HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds

Bug: 33844934

Change-Id: I2bd735cff9674ec5955ae30efed27359041ed723

7 years agoMove baz default implementation to hardware/interfaces
Hridya Valsaraju [Wed, 22 Feb 2017 18:51:01 +0000 (10:51 -0800)]
Move baz default implementation to hardware/interfaces

Test: hidl_test and hidl_java_test passes

Change-Id: Iaacfc3f203368ca674cbaddc6cdf06ddb8e34500

7 years agoMerge "Remove viral dependency on libhwbinder. (2/2)"
TreeHugger Robot [Fri, 24 Feb 2017 23:25:25 +0000 (23:25 +0000)]
Merge "Remove viral dependency on libhwbinder. (2/2)"

7 years ago[AWARE] Data-path negotiation update
Etan Cohen [Wed, 22 Feb 2017 20:54:20 +0000 (12:54 -0800)]
[AWARE] Data-path negotiation update

Data-path has two negotiation modes controlled during a
discovery session configuration as auto-accept or not (in
which case an event to framework is triggered).

Bug: 33552694
Test: unit tests and integration (sl4a) tests
Change-Id: I129ee48554daddb606bfd2c20ffdd867a6d998e0

7 years agogatekeeper HAL uses "default" service name
Chris Phoenix [Tue, 24 Jan 2017 21:09:06 +0000 (13:09 -0800)]
gatekeeper HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds

Bug: 33844934
Change-Id: I66ede7833e61d9cf255238888099aa73986b1946

7 years agoMerge "dumpstate HAL uses "default" service name"
Yifan Hong [Fri, 24 Feb 2017 23:14:53 +0000 (23:14 +0000)]
Merge "dumpstate HAL uses "default" service name"

7 years ago[AWARE] Data-path cipher API correction
Etan Cohen [Wed, 22 Feb 2017 20:54:20 +0000 (12:54 -0800)]
[AWARE] Data-path cipher API correction

Data-path security is configured using a specific cipher
type - corrected error which specified a set of cipher
types.

Bug: 33552694
Test: unit tests and integration (sl4a) tests
Change-Id: I2f2d21ebf68bd63906e60b5af76c8808864a1b46

7 years agokeymaster HAL uses "default" service name
Chris Phoenix [Wed, 25 Jan 2017 23:13:40 +0000 (15:13 -0800)]
keymaster HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: marlin boots

Bug: 33844934
Change-Id: I6533e4fe0e63e2d0b0158148f5e438bb4b6b5886

7 years agoMerge "health HAL uses "default" service name"
TreeHugger Robot [Fri, 24 Feb 2017 22:30:22 +0000 (22:30 +0000)]
Merge "health HAL uses "default" service name"

7 years agoMerge "gnss HAL uses "default" service name"
TreeHugger Robot [Fri, 24 Feb 2017 22:21:49 +0000 (22:21 +0000)]
Merge "gnss HAL uses "default" service name"

7 years agoMerge "Car HAL uses "default" service name"
Yifan Hong [Fri, 24 Feb 2017 20:58:52 +0000 (20:58 +0000)]
Merge "Car HAL uses "default" service name"

7 years agognss HAL uses "default" service name
Chris Phoenix [Mon, 23 Jan 2017 23:14:08 +0000 (15:14 -0800)]
gnss HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds

Bug: 33844934
Change-Id: I0c0cafff5079e49edbfd1f4858760f0c53d3fcfa

7 years agoMerge "USB HAL: Fix infinite loop."
TreeHugger Robot [Fri, 24 Feb 2017 20:24:24 +0000 (20:24 +0000)]
Merge "USB HAL: Fix infinite loop."

7 years agoMerge "Allow reregistering callback"
TreeHugger Robot [Fri, 24 Feb 2017 20:21:24 +0000 (20:21 +0000)]
Merge "Allow reregistering callback"

7 years agoRemove viral dependency on libhwbinder. (2/2)
Steven Moreland [Fri, 24 Feb 2017 19:46:32 +0000 (11:46 -0800)]
Remove viral dependency on libhwbinder. (2/2)

find hardware/interfaces -name Android.mk -exec sed -i -e '/libhwbinder
\\/d' {} \;
find hardware/interfaces -name Android.bp -exec sed -i -e
'/"libhwbinder"/d' {} \;
./hardware/interfaces/update-makefiles.sh

Note, automotive has some actual dependencies on libhwbinder, filed
b/35758626 for this.

Test: everything links
Test: (sanity) booted marlin on internal master with these changes
Bug: 35710429
Change-Id: I6d0726c8130d00684b978efbdd48e3ae396f12e5

7 years agoRemove viral dependency on libhwbinder.
Steven Moreland [Fri, 24 Feb 2017 19:20:04 +0000 (11:20 -0800)]
Remove viral dependency on libhwbinder.

find hardware/interfaces -name Android.mk -exec sed -i -e '/libhwbinder
\\/d' {} \;
find hardware/interfaces -name Android.bp -exec sed -i -e
'/"libhwbinder"/d' {} \;
./hardware/interfaces/update-makefiles.sh

Test: everything links
Test: (sanity) booted marlin on internal master with these changes
Bug: 35710429
Change-Id: I6b0b5ae318422b7a9be17a19a79e039ffc0f9272

7 years agoAllow reregistering callback
Badhri Jagan Sridharan [Tue, 31 Jan 2017 02:41:32 +0000 (18:41 -0800)]
Allow reregistering callback

Callbacks would have to be allowed being reregistered
to handle frameworks restarts.

Bug: 35758079
Test: adb shell stop; adb shell start; and see if USB notifications happen.
Change-Id: I256b4e714340f48c1dd8377e660cb28ebd716b8a

7 years agoMerge "gralloc HAL uses "default" service name"
Yifan Hong [Fri, 24 Feb 2017 18:21:11 +0000 (18:21 +0000)]
Merge "gralloc HAL uses "default" service name"

7 years agoUSB HAL: Fix infinite loop.
Badhri Jagan Sridharan [Fri, 24 Feb 2017 13:49:29 +0000 (05:49 -0800)]
USB HAL: Fix infinite loop.

Bug: 35726475
Test: usb-service no longer consumes 100% CPU
Change-Id: I274caec45e7527cbacf57f9a735d711dcb481bfd

7 years agoMerge "Camera: Redirect dump to "/dev/null" instead of stdout"
TreeHugger Robot [Fri, 24 Feb 2017 11:35:21 +0000 (11:35 +0000)]
Merge "Camera: Redirect dump to "/dev/null" instead of stdout"

7 years agoMerge "Bluetooth: Make HciPacketizer reusable" am: c4c2793b01 am: 97603b7a9b
Myles Watson [Fri, 24 Feb 2017 01:52:40 +0000 (01:52 +0000)]
Merge "Bluetooth: Make HciPacketizer reusable" am: c4c2793b01 am: 97603b7a9b
am: 77dc48167b

Change-Id: I2122d075d83f0b3a9c505465a4d2a289edbe8239

7 years agoMerge "Bluetooth: Make HciPacketizer reusable" am: c4c2793b01
Myles Watson [Fri, 24 Feb 2017 01:50:11 +0000 (01:50 +0000)]
Merge "Bluetooth: Make HciPacketizer reusable" am: c4c2793b01
am: 97603b7a9b

Change-Id: I473a94f925e15e507a5ca7c64d71a529d37709e8

7 years agoMerge "Bluetooth: Make HciPacketizer reusable"
Myles Watson [Fri, 24 Feb 2017 01:47:42 +0000 (01:47 +0000)]
Merge "Bluetooth: Make HciPacketizer reusable"
am: c4c2793b01

Change-Id: I9612e7b5743ca0ce8e8271c6eb07e362ba0364a8

7 years agoMerge "Bluetooth: Make HciPacketizer reusable"
Treehugger Robot [Fri, 24 Feb 2017 01:44:15 +0000 (01:44 +0000)]
Merge "Bluetooth: Make HciPacketizer reusable"

7 years agoBluetooth: Make HciPacketizer reusable
Myles Watson [Thu, 23 Feb 2017 14:29:08 +0000 (06:29 -0800)]
Bluetooth: Make HciPacketizer reusable

Test: VtsHalBluetoothV1_0TargetTest passes
Change-Id: I480d156225af2a5dd879f47a897af0b01dab5663

7 years agoMerge "Move OBD2 support to Vehicle HAL 2.1."
TreeHugger Robot [Thu, 23 Feb 2017 22:45:29 +0000 (22:45 +0000)]
Merge "Move OBD2 support to Vehicle HAL 2.1."

7 years agoMove OBD2 support to Vehicle HAL 2.1.
Enrico Granata [Tue, 21 Feb 2017 22:28:27 +0000 (14:28 -0800)]
Move OBD2 support to Vehicle HAL 2.1.

For O-MR1.
Test: build
Bug: 34746908
Change-Id: I369e6531b8957d8e03154fdf5d732e8242a3c245

7 years agoMerge "Bluetooth: deal with framework going away." am: 09e49b0871 am: a936e673d0
Martijn Coenen [Thu, 23 Feb 2017 20:51:40 +0000 (20:51 +0000)]
Merge "Bluetooth: deal with framework going away." am: 09e49b0871 am: a936e673d0
am: 7f8cea65fe

Change-Id: I16cdb86ebf94188f30e0c743f1ddb78659c5bf72