Commit graph

2617 commits

Author SHA1 Message Date
TreeHugger Robot
b8769344f9 Merge "Fingerprint VTS" 2017-02-10 23:12:54 +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
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
57108a0dc9 Merge "audiohal: Pass thread identifiers to the client for priority adjustment" 2017-02-10 16:19:42 +00:00
Yin-Chia Yeh
6dc9b53abe 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
2017-02-09 23:10:57 -08:00
TreeHugger Robot
e9dee2892e Merge "Add missing response function." 2017-02-10 06:41:22 +00:00
TreeHugger Robot
aa5af3aa3f Merge "Updated makefiles" 2017-02-10 05:56:55 +00:00
Pavel Maltsev
308515f65f Fix warning in Vehicle HAL
Test: mm -j

Change-Id: Ifc0654e912f3b592af90246af6d87324c469a8d3
Fix: b/34901911
2017-02-09 20:58:42 -08:00
Amit Mahajan
be8ef538db Add missing response function.
Test: None; only interface change.
Bug: 32020264
Change-Id: I28638f9371a6b09d72862a13a15d5f7e319d9337
2017-02-10 04:54:02 +00:00
Etan Cohen
7d1674ddd1 Merge "[AWARE] Modify the discovery session handle to uint8_t" am: ff14eb32cd am: b4df78f006 am: 2ec9fbf47b
am: 1215f81a36

Change-Id: Ia4634d47562e052205605fd23d98b4ec844de139
2017-02-10 03:00:34 +00:00
Etan Cohen
1215f81a36 Merge "[AWARE] Modify the discovery session handle to uint8_t" am: ff14eb32cd am: b4df78f006
am: 2ec9fbf47b

Change-Id: I5411cf3059ea7a387fe0bb4a4959865b5c6bf5bf
2017-02-10 02:58:04 +00:00
Etan Cohen
2ec9fbf47b Merge "[AWARE] Modify the discovery session handle to uint8_t" am: ff14eb32cd
am: b4df78f006

Change-Id: Ia73c39281f851b5a5697b5045635f1b61a50fe39
2017-02-10 02:56:04 +00:00
Etan Cohen
b4df78f006 Merge "[AWARE] Modify the discovery session handle to uint8_t"
am: ff14eb32cd

Change-Id: I5db49744cb78e623e3b1ff2e65d67af69d5b0ed0
2017-02-10 02:54:03 +00:00
Etan Cohen
ff14eb32cd Merge "[AWARE] Modify the discovery session handle to uint8_t" 2017-02-10 02:48:43 +00:00
Tri Vo
4ce38bc27f Use filegroup as genrule srcs. am: 06da29ffae am: 5b43e2caa8 am: 831bfd746c
am: 6924f25a61

Change-Id: Iffa108b900ecbd2800090b5b1cdfc4fc65f63f3c
2017-02-10 02:36:00 +00:00
Tri Vo
6924f25a61 Use filegroup as genrule srcs. am: 06da29ffae am: 5b43e2caa8
am: 831bfd746c

Change-Id: Idbcc92c359f63bf8c583d5c7e7e7092f60b3fe17
2017-02-10 02:33:59 +00:00
Tri Vo
831bfd746c Use filegroup as genrule srcs. am: 06da29ffae
am: 5b43e2caa8

Change-Id: Ibdba96f3269734b0e1bf71ae3cd510c0dca236f0
2017-02-10 02:31:59 +00:00
Tri Vo
5b43e2caa8 Use filegroup as genrule srcs.
am: 06da29ffae

Change-Id: Idbea2593c1b5af5f6b7d19c3e28331ccd5452076
2017-02-10 02:29:29 +00:00
Tri Vo
06da29ffae Use filegroup as genrule srcs.
Test: mmma hardware/interfaces -j64
Change-Id: If282ed5f4a87045d169fcea7ad648b046a5f1cfb
2017-02-10 02:18:07 +00:00
Andreas Huber
d38f147c35 Updated makefiles
Java intermediates are now created in the common rather than the device-
specific generated sources subdirectory.

Bug: 33842609
Test: make
Change-Id: I16af4cd19bf0b24baa0ad9ebfdb86b4d959c8672
2017-02-09 17:20:45 -08:00
Andreas Huber
c409e30da7 Updated makefiles am: 0574bacb2a am: f9c87639bf am: bf7b779b40
am: 238660c10a

Change-Id: I1600e1a693462fb99b684381860fa788867f45cf
2017-02-10 01:14:57 +00:00
Etan Cohen
4583c3befd [AWARE] Remove support for vendor-specific attributes am: ccb1562771 am: 218305083f am: ef3d29aa0a
am: e63644b634

Change-Id: I67d9509771f79e37f164b480a6a5955182c73ad3
2017-02-10 01:14:29 +00:00
Enrico Granata
37e69d773b Post-O. Finalize Vehicle HAL support for OBD2 diagnostics.
Add OBD2_DTC_INFO property to VHAL. This property returns a list of timestamps for which freeze frames are available to be read.
Make OBD2_FREEZE_FRAME indexed on timestamp, such that one has to pass a timestamp to retrieve the freeze frame at that timestamp.
Add OBD2_DTC_CLEAR to delete some or all of the freeze frames stored.

Test: build
Change-Id: I30344ffd6e7527f076b3382c32f5507973c9985b
2017-02-09 17:12:12 -08:00
Andreas Huber
238660c10a Updated makefiles am: 0574bacb2a am: f9c87639bf
am: bf7b779b40

Change-Id: Ia6a63af414a7dff8800647adbdc361c868536ab6
2017-02-10 01:08:40 +00:00
Etan Cohen
e63644b634 [AWARE] Remove support for vendor-specific attributes am: ccb1562771 am: 218305083f
am: ef3d29aa0a

Change-Id: I9bf98e0bf9f8ec0980ff42f2c6da0f54ab7aac3d
2017-02-10 01:08:11 +00:00
Andreas Huber
bf7b779b40 Updated makefiles am: 0574bacb2a
am: f9c87639bf

Change-Id: I1e636d6723879f965f8e45d996776fed85819e54
2017-02-10 01:06:54 +00:00
Andreas Huber
f9c87639bf Updated makefiles
am: 0574bacb2a

Change-Id: I275da932e31f1b22f900965fd5fb18ed8465f3a0
2017-02-10 01:04:53 +00:00
Etan Cohen
ef3d29aa0a [AWARE] Remove support for vendor-specific attributes am: ccb1562771
am: 218305083f

Change-Id: I2250d934cb9ea1b75aebfeb08436fadb7919364b
2017-02-10 01:02:40 +00:00
Andreas Huber
0574bacb2a Updated makefiles
Java intermediates are now created in the common rather than the device-
specific generated sources subdirectory.

Bug: 33842609
Test: make
Change-Id: I16af4cd19bf0b24baa0ad9ebfdb86b4d959c8672
2017-02-09 16:56:56 -08:00
Etan Cohen
218305083f [AWARE] Remove support for vendor-specific attributes
am: ccb1562771

Change-Id: I0c90ff4438e60402aedf06be3e664c8e72fa445f
2017-02-10 00:56:45 +00:00
Ashutosh Joshi
b072973166 Merge "Revert "Add a second thread for sensor service."" 2017-02-09 22:28:17 +00:00
Ashutosh Joshi
9441d62f2c Revert "Add a second thread for sensor service."
This reverts commit 0da2531b9f.

Change-Id: Id356ab9e0b7cf6b2275afc5855e648d322e3bf60
2017-02-09 21:43:34 +00:00
Etan Cohen
073bb9943a [AWARE] Modify the discovery session handle to uint8_t
Match the NAN protocol.

Bug: 35040192
Test: unit tests + integration (sl4a) tests
Change-Id: I9b39d184708c6e000bd4d84f97659f20d7ec75fd
2017-02-09 12:30:23 -08:00
Etan Cohen
ccb1562771 [AWARE] Remove support for vendor-specific attributes
Vendor-specific attribute support API is not fully functional or
thought out. The Tx portion is working but the Rx portion requires
additional configuration to prevent spamming the framework with all
vendor-specific attributes.

Remove until full solution is designed.

Bug: 35193235
Test: unit tests and integration (sl4a) tests.
Change-Id: I31a601af3b2c1f9f736130ce00abf73c55ac086a
2017-02-09 12:30:18 -08:00
Ashutosh Joshi
71b3bafa59 Merge "Add a second thread for sensor service." 2017-02-09 04:31:38 +00:00
Mikhail Naganov
3c25646562 audio: Check status of registerPassthroughServiceImplementation
Make sure the server aborts if it can't register the main audio
service and the effects service.

Soundtrigger and FM radio are optional, thus their failure to
register is only logged.

Bug: 34634573
Change-Id: If96e3238fe4d986e91581cc1ea0d9b36c24a8b9c
Test: restart audio service
2017-02-08 16:56:33 -08:00
Steve Paik
f53dfca395 Merge "Enable vehicle HAL to be controlled via ADB" 2017-02-09 00:27:32 +00:00
Ashutosh Joshi
0da2531b9f Add a second thread for sensor service.
HIDL implementation defaults to using a single thread for a service.
This blocks on sensorservice poll. A minimum of two threads are needed
to allow for any meaningful control.

Bug: 35067266
Test: Verify sensors stream in both passthrough and binderized modes.
Change-Id: I44ccdb6db253ca9eb9903b51e05c1893945e297e
2017-02-08 15:15:35 -08:00
TreeHugger Robot
930086babd Merge "Migrate driver/profiler to test/vts-testcase/hal." 2017-02-08 18:33:06 +00:00
Steve Paik
56c0c84dd7 Enable vehicle HAL to be controlled via ADB
Add emulator functionality to DefaultVehicleHal:

- Create default list of properties based upon DefaultConfig.h
- Add socket that is reachable via ADB to set/get vehicle properties.

BUG: 29601815
Test: Tested with Python interface from host.
Change-Id: I6f8e4cba37d927565e10797875eb8f5a1840a94f
2017-02-08 08:40:17 -08:00
Janis Danisevskis
46a1accf65 Merge "Use propper default service implementation for keymaster HAL" 2017-02-08 12:43:00 +00:00
TreeHugger Robot
eb1d38a5ef Merge "Update QueueBufferOutput." 2017-02-08 05:33:20 +00:00
Andre Eisenbach
e3af7636ee Bluetooth: Disable low power managerment on Hal->close() am: f60aeb4462 am: 886dcecc89 am: ddde24fd6c
am: c78517cd7b

Change-Id: Ib3e1764858ebed77148315cf150ae150e1cc4f14
2017-02-08 05:08:01 +00:00
Andre Eisenbach
c78517cd7b Bluetooth: Disable low power managerment on Hal->close() am: f60aeb4462 am: 886dcecc89
am: ddde24fd6c

Change-Id: I1b8f5707aa465afd84171f05e690c284938d1f0b
2017-02-08 05:04:43 +00:00