Commit graph

2659 commits

Author SHA1 Message Date
Emilian Peev
bbdb1f6f5d 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
2017-02-14 09:30:35 +00:00
Etan Cohen
60536d8e9f Merge "[WIFI] Update VTS generated file" am: 96518722ee am: 189e70056b am: 7a93784f05
am: 8330ff9553

Change-Id: I9cb8156773d03fa6b0be9af7fad63f9f35c0a551
2017-02-11 04:49:32 +00:00
Etan Cohen
8330ff9553 Merge "[WIFI] Update VTS generated file" am: 96518722ee am: 189e70056b
am: 7a93784f05

Change-Id: Iee6d5141fd406484b789be5d4387251851ca8312
2017-02-11 04:47:01 +00:00
Etan Cohen
7a93784f05 Merge "[WIFI] Update VTS generated file" am: 96518722ee
am: 189e70056b

Change-Id: I8e825299c906dc23383bf6ea8d9758aff40a043c
2017-02-11 04:44:53 +00:00
Etan Cohen
189e70056b Merge "[WIFI] Update VTS generated file"
am: 96518722ee

Change-Id: I7b5b59f05b422d8f453fe89162908f4340b211a6
2017-02-11 04:42:01 +00:00
Etan Cohen
96518722ee Merge "[WIFI] Update VTS generated file" 2017-02-11 04:38:06 +00:00
Etan Cohen
ff7aac5a5a [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
2017-02-10 18:14:02 -08:00
Etan Cohen
e4c0bd5c45 Merge "[AWARE] Update capabilties" am: 10569b1bb4 am: dbaff93416 am: 95e7e5a098
am: a5bc4c820a

Change-Id: I7f29a28fd55af6e2d2d2a45cb8002df597ac0396
2017-02-11 01:09:53 +00:00
Etan Cohen
a5bc4c820a Merge "[AWARE] Update capabilties" am: 10569b1bb4 am: dbaff93416
am: 95e7e5a098

Change-Id: I6022b5763984280d148804d0364bd4cf89bf45f6
2017-02-11 01:07:31 +00:00
Etan Cohen
95e7e5a098 Merge "[AWARE] Update capabilties" am: 10569b1bb4
am: dbaff93416

Change-Id: I874de1d8668ea0df50d0c84357469e719841c4f8
2017-02-11 01:05:02 +00:00
Etan Cohen
dbaff93416 Merge "[AWARE] Update capabilties"
am: 10569b1bb4

Change-Id: Ica1d8beff6fd7063751cc9b22c841038a2cfa510
2017-02-11 01:02:32 +00:00
Etan Cohen
10569b1bb4 Merge "[AWARE] Update capabilties" 2017-02-11 00:58:36 +00:00
Yifan Hong
87f44a881b Merge "Add tests for minor version upgrade enforcement." am: ea8ff054fa am: af52b48490 am: 2e14b7cc0f
am: 982f85242c

Change-Id: Ie391c983761cd540775abe2e2d72feeeaa2ec5de
2017-02-10 23:47:13 +00:00
Yifan Hong
982f85242c Merge "Add tests for minor version upgrade enforcement." am: ea8ff054fa am: af52b48490
am: 2e14b7cc0f

Change-Id: Ia0c520eb080e02b0b51d86b0c8f88da2cbe1c429
2017-02-10 23:44:42 +00:00
Yifan Hong
2e14b7cc0f Merge "Add tests for minor version upgrade enforcement." am: ea8ff054fa
am: af52b48490

Change-Id: Idad63da1d39457f14bdbf3e087d36d7fd1fe5f6c
2017-02-10 23:42:42 +00:00
Yifan Hong
af52b48490 Merge "Add tests for minor version upgrade enforcement."
am: ea8ff054fa

Change-Id: I6538ac98fa28f6f9c08d45a2cedfb8764acbc9ef
2017-02-10 23:40:12 +00:00
Yifan Hong
ea8ff054fa Merge "Add tests for minor version upgrade enforcement." 2017-02-10 23:38:02 +00:00
Android Build Merger (Role)
64ce7e3d7e Merge "Merge "[AWARE] Add support for Subscribe Service ID List Attribute" am: 11cea0d4a3 am: a80d8de804 am: 98bd5591b6 am: 3b6de6e6db" 2017-02-10 23:26:04 +00:00
TreeHugger Robot
86fa244c12 Merge "Update makefiles to use filgroup syntax." 2017-02-10 23:25:52 +00:00
Etan Cohen
2136389d6f Merge "[AWARE] Add support for Subscribe Service ID List Attribute" am: 11cea0d4a3 am: a80d8de804 am: 98bd5591b6
am: 3b6de6e6db

Change-Id: I8423eb0194fc5bf17fca4c0fceb7b489c7a9a595
2017-02-10 23:25:47 +00:00
Etan Cohen
1e72889e1c Merge "[AWARE] Add support for SDEA.ServiceInfo field" am: 97c3540042 am: d57bae0f76 am: 07d3618832
am: f8dd4dfcdd

Change-Id: Ifaa64e0a91ff05d13db23845ab6f9b50fd191983
2017-02-10 23:25:36 +00:00
Etan Cohen
0904579313 Merge "[AWARE] Update HIDL to match spec and add comments" am: 66dcae0656 am: a4cd134e93 am: bf0091ffef
am: 8fc8e3634c

Change-Id: Ib71d01027902dcf0b485ce0cad28fb6908f3e165
2017-02-10 23:25:14 +00:00
TreeHugger Robot
b2e8954c7c Merge "audio: Remove timeout from waits on event flags in HAL driver threads" 2017-02-10 23:24:54 +00:00
Etan Cohen
3b6de6e6db Merge "[AWARE] Add support for Subscribe Service ID List Attribute" am: 11cea0d4a3 am: a80d8de804
am: 98bd5591b6

Change-Id: Ibba393e4d34084234e44b667b072338257d61984
2017-02-10 23:23:17 +00:00
Etan Cohen
f8dd4dfcdd Merge "[AWARE] Add support for SDEA.ServiceInfo field" am: 97c3540042 am: d57bae0f76
am: 07d3618832

Change-Id: I070cac8b02ff1d6d03c4d8329ca7d2d5f390cda2
2017-02-10 23:23:05 +00:00
Etan Cohen
8fc8e3634c Merge "[AWARE] Update HIDL to match spec and add comments" am: 66dcae0656 am: a4cd134e93
am: bf0091ffef

Change-Id: I75f722915a2c7ec367fb0d73e413f7e57081739b
2017-02-10 23:22:44 +00:00
Etan Cohen
98bd5591b6 Merge "[AWARE] Add support for Subscribe Service ID List Attribute" am: 11cea0d4a3
am: a80d8de804

Change-Id: I103c555c1d9580d056800a1d1e28ef9b27780b2d
2017-02-10 23:21:16 +00:00
Etan Cohen
07d3618832 Merge "[AWARE] Add support for SDEA.ServiceInfo field" am: 97c3540042
am: d57bae0f76

Change-Id: Ib55c7df302c9c3b01ae36ce52dce0470ff4f0cf1
2017-02-10 23:21:06 +00:00
Etan Cohen
bf0091ffef Merge "[AWARE] Update HIDL to match spec and add comments" am: 66dcae0656
am: a4cd134e93

Change-Id: Icec27c2da9e2d5facded4db478fa0ef08309457e
2017-02-10 23:20:41 +00:00
Etan Cohen
a80d8de804 Merge "[AWARE] Add support for Subscribe Service ID List Attribute"
am: 11cea0d4a3

Change-Id: I4ab614028e59c0ae2effab6cc7e1b65172bb3335
2017-02-10 23:19:29 +00:00
Etan Cohen
d57bae0f76 Merge "[AWARE] Add support for SDEA.ServiceInfo field"
am: 97c3540042

Change-Id: Ic47df91fd4e2a8dc72d9a825079a8cfa3f633444
2017-02-10 23:19:14 +00:00
Etan Cohen
a4cd134e93 Merge "[AWARE] Update HIDL to match spec and add comments"
am: 66dcae0656

Change-Id: I2b22e9c2cc879db26eaa85ba3a1e486da609abb8
2017-02-10 23:18:42 +00:00
TreeHugger Robot
b8769344f9 Merge "Fingerprint VTS" 2017-02-10 23:12:54 +00:00
Etan Cohen
11cea0d4a3 Merge "[AWARE] Add support for Subscribe Service ID List Attribute" 2017-02-10 23:12:14 +00:00
Etan Cohen
97c3540042 Merge "[AWARE] Add support for SDEA.ServiceInfo field" 2017-02-10 23:11:55 +00:00
Etan Cohen
66dcae0656 Merge "[AWARE] Update HIDL to match spec and add comments" 2017-02-10 23:11:37 +00:00
TreeHugger Robot
daa20b72c2 Merge "Camera: fix open_legacy crash" 2017-02-10 23:01:48 +00:00
TreeHugger Robot
a9e8d15a46 Merge "graphics: use FIFO scheduler in IComposer" 2017-02-10 22:47:13 +00:00
Eino-Ville Talvala
305f0dd8a2 Merge "camera.provider default: Don't stop init if vendor tags are bad." 2017-02-10 22:04:47 +00:00
Eino-Ville Talvala
0f5eb837fe 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
2017-02-10 22:04:27 +00:00
TreeHugger Robot
fb75f8faac Merge "Post-O. Finalize Vehicle HAL support for OBD2 diagnostics." 2017-02-10 21:22:43 +00:00
Etan Cohen
4daf983274 [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
2017-02-10 12:45:55 -08:00
Etan Cohen
b9b71cee37 [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
2017-02-10 12:45:55 -08:00
Etan Cohen
2373fe2a88 [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
2017-02-10 12:45:55 -08:00
Tri Vo
85120c9490 Update makefiles to use filgroup syntax.
Test: mmma hardware/interfaces
Change-Id: I9f4457c78b7820c242d46359f0debe05d1b3e482
2017-02-10 12:45:19 -08:00
Etan Cohen
44983aeea9 [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
2017-02-10 12:45:11 -08:00
Mikhail Naganov
1de5e2b326 Merge "audio: Check status of registerPassthroughServiceImplementation" 2017-02-10 20:28:06 +00:00
Chia-I Wu
4a71a73843 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
2017-02-10 12:23:45 -08:00
TreeHugger Robot
2300481962 Merge "Fix warning in Vehicle HAL" 2017-02-10 19:56:25 +00:00
Mikhail Naganov
e867456982 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
2017-02-10 08:37:19 -08:00