OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoSupport multiple codecs per crypto instance
Jeff Tinker [Thu, 16 Feb 2017 20:20:30 +0000 (12:20 -0800)]
Support multiple codecs per crypto instance

The initial drm hidl hal implementation assumed one
codec per crypto instance, but in fact there can be
multiple codecs per crypto instance. This change
extends the drm hal to allow multiple memory heaps
per crypto plugin. It fixes the issue of mapping
memory frequently during playback.

bug:35275191

Test: manual verification with Play Movies on angler
and in binderized mode on marlin

Change-Id: I0ec36856248623d2ad8acb8ce9873e9274883a40

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 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 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

7 years agoMerge "Add missing response function." am: 6267062af5 am: b3e6021641
Amit Mahajan [Mon, 13 Feb 2017 19:09:54 +0000 (19:09 +0000)]
Merge "Add missing response function." am: 6267062af5 am: b3e6021641
am: 63ab2b318b

Change-Id: I4c499d60c5ac213fe6d351dce98f4d587d6bccdf

7 years agoMerge "Update vts files on aosp."
Zhuoyao Zhang [Mon, 13 Feb 2017 19:09:47 +0000 (19:09 +0000)]
Merge "Update vts files on aosp."

7 years agoMerge "Add missing response function." am: 6267062af5
Amit Mahajan [Mon, 13 Feb 2017 19:06:53 +0000 (19:06 +0000)]
Merge "Add missing response function." am: 6267062af5
am: b3e6021641

Change-Id: I0ee6a5540ccbd40c6c11b4f42b8d6cae26629da4

7 years agoMerge "Add missing response function."
Amit Mahajan [Mon, 13 Feb 2017 19:04:24 +0000 (19:04 +0000)]
Merge "Add missing response function."
am: 6267062af5

Change-Id: I47995ad80fe34a54a7346a92957a3d3219842188

7 years agoMerge "Add missing response function."
Amit Mahajan [Mon, 13 Feb 2017 19:00:19 +0000 (19:00 +0000)]
Merge "Add missing response function."

7 years agoMerge "Camera: Delete streams after successful configuration"
TreeHugger Robot [Mon, 13 Feb 2017 11:18:28 +0000 (11:18 +0000)]
Merge "Camera: Delete streams after successful configuration"

7 years agoUpdate vts files on aosp.
Zhuoyao Zhang [Tue, 24 Jan 2017 21:33:21 +0000 (13:33 -0800)]
Update vts files on aosp.

* Based on the latest hidl-gen and .hal files.

Test: mma
      make vts.

Change-Id: I4765450d985afd552fe720d91b9ab3422f5b7a47

7 years agowifi(implementation): Add status check for all cb invocation
Roshan Pius [Tue, 31 Jan 2017 01:07:42 +0000 (17:07 -0800)]
wifi(implementation): Add status check for all cb invocation

Bug: 34820508
Test: Compiles
Change-Id: I7e7258e782142bae7373fa0543e6c17184b043a9

7 years agowifi(implementation): Add global lock
Roshan Pius [Tue, 31 Jan 2017 00:40:50 +0000 (16:40 -0800)]
wifi(implementation): Add global lock

Add a global lock to address synchronization issues between the main
HIDL method servicing thread and the legacy HAL's event loop thread.

Also, added some documentation for the threading model used.

Bug: 34261034
Test: Compiles
Change-Id: I881111814ff5ebd601d6a4c85cf284b30ae47ed3

7 years agoMerge "[WIFI] Update VTS generated file" am: 96518722ee am: 189e70056b am: 7a93784f05
Etan Cohen [Sat, 11 Feb 2017 04:49:32 +0000 (04:49 +0000)]
Merge "[WIFI] Update VTS generated file" am: 96518722ee am: 189e70056b am: 7a93784f05
am: 8330ff9553

Change-Id: I9cb8156773d03fa6b0be9af7fad63f9f35c0a551

7 years agoMerge "[WIFI] Update VTS generated file" am: 96518722ee am: 189e70056b
Etan Cohen [Sat, 11 Feb 2017 04:47:01 +0000 (04:47 +0000)]
Merge "[WIFI] Update VTS generated file" am: 96518722ee am: 189e70056b
am: 7a93784f05

Change-Id: Iee6d5141fd406484b789be5d4387251851ca8312

7 years agoMerge "[WIFI] Update VTS generated file" am: 96518722ee
Etan Cohen [Sat, 11 Feb 2017 04:44:53 +0000 (04:44 +0000)]
Merge "[WIFI] Update VTS generated file" am: 96518722ee
am: 189e70056b

Change-Id: I8e825299c906dc23383bf6ea8d9758aff40a043c

7 years agoMerge "[WIFI] Update VTS generated file"
Etan Cohen [Sat, 11 Feb 2017 04:42:01 +0000 (04:42 +0000)]
Merge "[WIFI] Update VTS generated file"
am: 96518722ee

Change-Id: I7b5b59f05b422d8f453fe89162908f4340b211a6

7 years agoMerge "[WIFI] Update VTS generated file"
Etan Cohen [Sat, 11 Feb 2017 04:38:05 +0000 (04:38 +0000)]
Merge "[WIFI] Update VTS generated file"

7 years agofix a sign-compare warning and use -Wall
Keun Soo Yim [Sat, 11 Feb 2017 03:36:53 +0000 (19:36 -0800)]
fix a sign-compare warning and use -Wall

Test: mma
Bug: 34901468
Change-Id: If68c1540a88ea28987fb7359a0ee01cf45263579

7 years ago[WIFI] Update VTS generated file
Etan Cohen [Sat, 11 Feb 2017 02:11:19 +0000 (18:11 -0800)]
[WIFI] Update VTS generated file

Large churn in files - seems to be mostly driven
by changes in generated code as opposed to HAL
changes.

Bug: 33459306
Test: build + vts-tradefed run commandAndExit vts --module=HalWifiHidlTargetTest
Change-Id: I1762a24108f9119dbc9c6807d6a2870f016a26d9

7 years agoAdd missing response function.
Amit Mahajan [Wed, 1 Feb 2017 01:00:26 +0000 (17:00 -0800)]
Add missing response function.

Test: None; only interface change.
Bug: 32020264
Merged-in: I28638f9371a6b09d72862a13a15d5f7e319d9337
Change-Id: I28638f9371a6b09d72862a13a15d5f7e319d9337

7 years agoMerge "[AWARE] Update capabilties" am: 10569b1bb4 am: dbaff93416 am: 95e7e5a098
Etan Cohen [Sat, 11 Feb 2017 01:09:53 +0000 (01:09 +0000)]
Merge "[AWARE] Update capabilties" am: 10569b1bb4 am: dbaff93416 am: 95e7e5a098
am: a5bc4c820a

Change-Id: I7f29a28fd55af6e2d2d2a45cb8002df597ac0396

7 years agoMerge "[AWARE] Update capabilties" am: 10569b1bb4 am: dbaff93416
Etan Cohen [Sat, 11 Feb 2017 01:07:31 +0000 (01:07 +0000)]
Merge "[AWARE] Update capabilties" am: 10569b1bb4 am: dbaff93416
am: 95e7e5a098

Change-Id: I6022b5763984280d148804d0364bd4cf89bf45f6

7 years agoMerge "[AWARE] Update capabilties" am: 10569b1bb4
Etan Cohen [Sat, 11 Feb 2017 01:05:02 +0000 (01:05 +0000)]
Merge "[AWARE] Update capabilties" am: 10569b1bb4
am: dbaff93416

Change-Id: I874de1d8668ea0df50d0c84357469e719841c4f8

7 years agoMerge "[AWARE] Update capabilties"
Etan Cohen [Sat, 11 Feb 2017 01:02:32 +0000 (01:02 +0000)]
Merge "[AWARE] Update capabilties"
am: 10569b1bb4

Change-Id: Ica1d8beff6fd7063751cc9b22c841038a2cfa510

7 years agoMerge "[AWARE] Update capabilties"
Etan Cohen [Sat, 11 Feb 2017 00:58:35 +0000 (00:58 +0000)]
Merge "[AWARE] Update capabilties"

7 years agoMerge "Add tests for minor version upgrade enforcement." am: ea8ff054fa am: af52b4849...
Yifan Hong [Fri, 10 Feb 2017 23:47:13 +0000 (23:47 +0000)]
Merge "Add tests for minor version upgrade enforcement." am: ea8ff054fa am: af52b48490 am: 2e14b7cc0f
am: 982f85242c

Change-Id: Ie391c983761cd540775abe2e2d72feeeaa2ec5de

7 years agoMerge "Add tests for minor version upgrade enforcement." am: ea8ff054fa am: af52b48490
Yifan Hong [Fri, 10 Feb 2017 23:44:42 +0000 (23:44 +0000)]
Merge "Add tests for minor version upgrade enforcement." am: ea8ff054fa am: af52b48490
am: 2e14b7cc0f

Change-Id: Ia0c520eb080e02b0b51d86b0c8f88da2cbe1c429

7 years agoMerge "Add tests for minor version upgrade enforcement." am: ea8ff054fa
Yifan Hong [Fri, 10 Feb 2017 23:42:42 +0000 (23:42 +0000)]
Merge "Add tests for minor version upgrade enforcement." am: ea8ff054fa
am: af52b48490

Change-Id: Idad63da1d39457f14bdbf3e087d36d7fd1fe5f6c

7 years agoMerge "Add tests for minor version upgrade enforcement."
Yifan Hong [Fri, 10 Feb 2017 23:40:12 +0000 (23:40 +0000)]
Merge "Add tests for minor version upgrade enforcement."
am: ea8ff054fa

Change-Id: I6538ac98fa28f6f9c08d45a2cedfb8764acbc9ef

7 years agoMerge "Add tests for minor version upgrade enforcement."
Yifan Hong [Fri, 10 Feb 2017 23:38:01 +0000 (23:38 +0000)]
Merge "Add tests for minor version upgrade enforcement."

7 years agoMerge "Merge "[AWARE] Add support for Subscribe Service ID List Attribute" am: 11cea0...
Android Build Merger (Role) [Fri, 10 Feb 2017 23:26:04 +0000 (23:26 +0000)]
Merge "Merge "[AWARE] Add support for Subscribe Service ID List Attribute" am: 11cea0d4a3 am: a80d8de804 am: 98bd5591b6 am: 3b6de6e6db"

7 years agoMerge "Update makefiles to use filgroup syntax."
TreeHugger Robot [Fri, 10 Feb 2017 23:25:52 +0000 (23:25 +0000)]
Merge "Update makefiles to use filgroup syntax."

7 years agoMerge "[AWARE] Add support for Subscribe Service ID List Attribute" am: 11cea0d4a3...
Etan Cohen [Fri, 10 Feb 2017 23:25:47 +0000 (23:25 +0000)]
Merge "[AWARE] Add support for Subscribe Service ID List Attribute" am: 11cea0d4a3 am: a80d8de804 am: 98bd5591b6
am: 3b6de6e6db

Change-Id: I8423eb0194fc5bf17fca4c0fceb7b489c7a9a595

7 years agoMerge "[AWARE] Add support for SDEA.ServiceInfo field" am: 97c3540042 am: d57bae0f76...
Etan Cohen [Fri, 10 Feb 2017 23:25:36 +0000 (23:25 +0000)]
Merge "[AWARE] Add support for SDEA.ServiceInfo field" am: 97c3540042 am: d57bae0f76 am: 07d3618832
am: f8dd4dfcdd

Change-Id: Ifaa64e0a91ff05d13db23845ab6f9b50fd191983

7 years agoMerge "[AWARE] Update HIDL to match spec and add comments" am: 66dcae0656 am: a4cd134...
Etan Cohen [Fri, 10 Feb 2017 23:25:14 +0000 (23:25 +0000)]
Merge "[AWARE] Update HIDL to match spec and add comments" am: 66dcae0656 am: a4cd134e93 am: bf0091ffef
am: 8fc8e3634c

Change-Id: Ib71d01027902dcf0b485ce0cad28fb6908f3e165

7 years agoMerge "audio: Remove timeout from waits on event flags in HAL driver threads"
TreeHugger Robot [Fri, 10 Feb 2017 23:24:53 +0000 (23:24 +0000)]
Merge "audio: Remove timeout from waits on event flags in HAL driver threads"

7 years agoMerge "[AWARE] Add support for Subscribe Service ID List Attribute" am: 11cea0d4a3...
Etan Cohen [Fri, 10 Feb 2017 23:23:17 +0000 (23:23 +0000)]
Merge "[AWARE] Add support for Subscribe Service ID List Attribute" am: 11cea0d4a3 am: a80d8de804
am: 98bd5591b6

Change-Id: Ibba393e4d34084234e44b667b072338257d61984

7 years agoMerge "[AWARE] Add support for SDEA.ServiceInfo field" am: 97c3540042 am: d57bae0f76
Etan Cohen [Fri, 10 Feb 2017 23:23:05 +0000 (23:23 +0000)]
Merge "[AWARE] Add support for SDEA.ServiceInfo field" am: 97c3540042 am: d57bae0f76
am: 07d3618832

Change-Id: I070cac8b02ff1d6d03c4d8329ca7d2d5f390cda2

7 years agoMerge "[AWARE] Update HIDL to match spec and add comments" am: 66dcae0656 am: a4cd134e93
Etan Cohen [Fri, 10 Feb 2017 23:22:44 +0000 (23:22 +0000)]
Merge "[AWARE] Update HIDL to match spec and add comments" am: 66dcae0656 am: a4cd134e93
am: bf0091ffef

Change-Id: I75f722915a2c7ec367fb0d73e413f7e57081739b

7 years agoMerge "[AWARE] Add support for Subscribe Service ID List Attribute" am: 11cea0d4a3
Etan Cohen [Fri, 10 Feb 2017 23:21:16 +0000 (23:21 +0000)]
Merge "[AWARE] Add support for Subscribe Service ID List Attribute" am: 11cea0d4a3
am: a80d8de804

Change-Id: I103c555c1d9580d056800a1d1e28ef9b27780b2d

7 years agoMerge "[AWARE] Add support for SDEA.ServiceInfo field" am: 97c3540042
Etan Cohen [Fri, 10 Feb 2017 23:21:06 +0000 (23:21 +0000)]
Merge "[AWARE] Add support for SDEA.ServiceInfo field" am: 97c3540042
am: d57bae0f76

Change-Id: Ib55c7df302c9c3b01ae36ce52dce0470ff4f0cf1

7 years agoMerge "[AWARE] Update HIDL to match spec and add comments" am: 66dcae0656
Etan Cohen [Fri, 10 Feb 2017 23:20:41 +0000 (23:20 +0000)]
Merge "[AWARE] Update HIDL to match spec and add comments" am: 66dcae0656
am: a4cd134e93

Change-Id: Icec27c2da9e2d5facded4db478fa0ef08309457e

7 years agoMerge "[AWARE] Add support for Subscribe Service ID List Attribute"
Etan Cohen [Fri, 10 Feb 2017 23:19:29 +0000 (23:19 +0000)]
Merge "[AWARE] Add support for Subscribe Service ID List Attribute"
am: 11cea0d4a3

Change-Id: I4ab614028e59c0ae2effab6cc7e1b65172bb3335

7 years agoMerge "[AWARE] Add support for SDEA.ServiceInfo field"
Etan Cohen [Fri, 10 Feb 2017 23:19:14 +0000 (23:19 +0000)]
Merge "[AWARE] Add support for SDEA.ServiceInfo field"
am: 97c3540042

Change-Id: Ic47df91fd4e2a8dc72d9a825079a8cfa3f633444

7 years agoMerge "[AWARE] Update HIDL to match spec and add comments"
Etan Cohen [Fri, 10 Feb 2017 23:18:42 +0000 (23:18 +0000)]
Merge "[AWARE] Update HIDL to match spec and add comments"
am: 66dcae0656

Change-Id: I2b22e9c2cc879db26eaa85ba3a1e486da609abb8

7 years agoMerge "Fingerprint VTS"
TreeHugger Robot [Fri, 10 Feb 2017 23:12:53 +0000 (23:12 +0000)]
Merge "Fingerprint VTS"

7 years agoMerge "[AWARE] Add support for Subscribe Service ID List Attribute"
Etan Cohen [Fri, 10 Feb 2017 23:12:14 +0000 (23:12 +0000)]
Merge "[AWARE] Add support for Subscribe Service ID List Attribute"

7 years agoMerge "[AWARE] Add support for SDEA.ServiceInfo field"
Etan Cohen [Fri, 10 Feb 2017 23:11:55 +0000 (23:11 +0000)]
Merge "[AWARE] Add support for SDEA.ServiceInfo field"

7 years agoMerge "[AWARE] Update HIDL to match spec and add comments"
Etan Cohen [Fri, 10 Feb 2017 23:11:36 +0000 (23:11 +0000)]
Merge "[AWARE] Update HIDL to match spec and add comments"

7 years agoMerge "Camera: fix open_legacy crash"
TreeHugger Robot [Fri, 10 Feb 2017 23:01:48 +0000 (23:01 +0000)]
Merge "Camera: fix open_legacy crash"

7 years agoMerge "graphics: use FIFO scheduler in IComposer"
TreeHugger Robot [Fri, 10 Feb 2017 22:47:13 +0000 (22:47 +0000)]
Merge "graphics: use FIFO scheduler in IComposer"

7 years agoMerge "camera.provider default: Don't stop init if vendor tags are bad."
Eino-Ville Talvala [Fri, 10 Feb 2017 22:04:47 +0000 (22:04 +0000)]
Merge "camera.provider default: Don't stop init if vendor tags are bad."

7 years agocamera.provider default: Don't stop init if vendor tags are bad.
Eino-Ville Talvala [Fri, 10 Feb 2017 03:45:31 +0000 (19:45 -0800)]
camera.provider default: Don't stop init if vendor tags are bad.

And definitely don't stop init if there are no vendor tags defined at
all.

Instead, just log about it.

Test: gce camera HAL init succeeds; no regression to sailfish camera
Bug: 35036220
Change-Id: I7f4481d7ec1a88df0c67a66c364f351b3321b221

7 years agoMerge "Post-O. Finalize Vehicle HAL support for OBD2 diagnostics."
TreeHugger Robot [Fri, 10 Feb 2017 21:22:42 +0000 (21:22 +0000)]
Merge "Post-O. Finalize Vehicle HAL support for OBD2 diagnostics."

7 years ago[AWARE] Update capabilties
Etan Cohen [Fri, 10 Feb 2017 01:52:34 +0000 (17:52 -0800)]
[AWARE] Update capabilties

Update capability configuration to reflect added/remove fields:
- Added extendedServiceSpecificInfo
- Remove vendor-specific attribute (VSA)

Bug: 35193423
Bug: 35193235
Test: unit tests and integration (sl4a) tests
Change-Id: I0dad08ff9d16ea54f5db7303cc5f90e942f48037

7 years ago[AWARE] Add support for Subscribe Service ID List Attribute
Etan Cohen [Thu, 9 Feb 2017 20:55:23 +0000 (12:55 -0800)]
[AWARE] Add support for Subscribe Service ID List Attribute

Add HAL definition to support Subscribe Service ID List Attribute
inclusion in beacons. Until support is added in legacy HAL will not
be functional.

Rationale: enhances likelihood of being able to find the right service.

Bug: 35195516
Bug: 35040192
Test: unit tests & integration (sl4a) tests
Change-Id: I343266e3277c7351f29f6851cb1a9c1746cda6e8

7 years ago[AWARE] Add support for SDEA.ServiceInfo field
Etan Cohen [Thu, 9 Feb 2017 17:16:25 +0000 (09:16 -0800)]
[AWARE] Add support for SDEA.ServiceInfo field

Add support for SDEA.ServiceInfo as extended service
specific information field in all SDF-related APIs:
discovery (configure & match), message sending and
receiving.

Rationale: SDEA.ServiceInfo will form the basis for
upper layer discovery protocols on NAN (e.g. mDNS).
Even if not exposed to user-facing API will need to
have handle to be able to create adaptation layers.

Bug: 35193423
Bug: 35040192
Test: unit test and integration (sl4a) tests.
Change-Id: I3fc225952e93a134d5e58795281238829ed4b1ea

7 years agoUpdate makefiles to use filgroup syntax.
Tri Vo [Fri, 10 Feb 2017 20:45:17 +0000 (12:45 -0800)]
Update makefiles to use filgroup syntax.

Test: mmma hardware/interfaces
Change-Id: I9f4457c78b7820c242d46359f0debe05d1b3e482

7 years ago[AWARE] Update HIDL to match spec and add comments
Etan Cohen [Thu, 9 Feb 2017 17:16:25 +0000 (09:16 -0800)]
[AWARE] Update HIDL to match spec and add comments

Update some HIDL names to match more closely the spec
naming convention. Add comments - whenever possible
provide reference to NAN spec.

Bug: 34985658
Bug: 35040192
Test: unit tests and integration (sl4a) tests
Change-Id: I957fb8a9814b3acaf8b710d397fe18b39f6a8c77

7 years agoMerge "audio: Check status of registerPassthroughServiceImplementation"
Mikhail Naganov [Fri, 10 Feb 2017 20:28:06 +0000 (20:28 +0000)]
Merge "audio: Check status of registerPassthroughServiceImplementation"

7 years agographics: use FIFO scheduler in IComposer
Chia-I Wu [Fri, 10 Feb 2017 16:11:55 +0000 (08:11 -0800)]
graphics: use FIFO scheduler in IComposer

Make IComposer default implementation use the same process scheduler
as SurfaceFlinger does.

Bug: 35210697
Test: manual
Change-Id: Ie2ebe1d3fd26505984d9f6c33d63b5db36b0b64a

7 years agoMerge "Fix warning in Vehicle HAL"
TreeHugger Robot [Fri, 10 Feb 2017 19:56:25 +0000 (19:56 +0000)]
Merge "Fix warning in Vehicle HAL"

7 years agoaudio: Remove timeout from waits on event flags in HAL driver threads
Mikhail Naganov [Fri, 10 Feb 2017 16:37:19 +0000 (08:37 -0800)]
audio: Remove timeout from waits on event flags in HAL driver threads

This fixes a power regression caused by periodic wakeups of
the driver threads even when the device is idle.

The timeout is really not needed, it used to be there to ensure that
the thread exits its loop, but then an explicit wake-up call before
closing the thread had been added for this purpose.

Bug: 34682579
Test: Follow repro steps from the bug, compare power consumption
      to the legacy version of the audio HAL.

Change-Id: I0bfc2079a449894c5d0bd6ef19b53ca425795a9e

7 years agoMerge "audiohal: Pass thread identifiers to the client for priority adjustment"
Mikhail Naganov [Fri, 10 Feb 2017 16:19:41 +0000 (16:19 +0000)]
Merge "audiohal: Pass thread identifiers to the client for priority adjustment"

7 years agoCamera: fix open_legacy crash
Yin-Chia Yeh [Fri, 10 Feb 2017 02:43:35 +0000 (18:43 -0800)]
Camera: fix open_legacy crash

If the torch callback is fired during CameraProvider
constructor, the sp will cause it being deleted
when the callback returns.

Test: fix the crash
Bug: 35216523
Change-Id: I133d866ed603d6c7e549b57d20a911af7a7e0698

7 years agoMerge "Add missing response function."
TreeHugger Robot [Fri, 10 Feb 2017 06:41:21 +0000 (06:41 +0000)]
Merge "Add missing response function."

7 years agoMerge "Updated makefiles"
TreeHugger Robot [Fri, 10 Feb 2017 05:56:55 +0000 (05:56 +0000)]
Merge "Updated makefiles"

7 years agoFix warning in Vehicle HAL
Pavel Maltsev [Tue, 7 Feb 2017 02:50:52 +0000 (18:50 -0800)]
Fix warning in Vehicle HAL

Test: mm -j

Change-Id: Ifc0654e912f3b592af90246af6d87324c469a8d3
Fix: b/34901911

7 years agoAdd missing response function.
Amit Mahajan [Wed, 1 Feb 2017 01:00:26 +0000 (17:00 -0800)]
Add missing response function.

Test: None; only interface change.
Bug: 32020264
Change-Id: I28638f9371a6b09d72862a13a15d5f7e319d9337