Commit graph

2659 commits

Author SHA1 Message Date
Tri Vo
468446f91b Merge "Remove vts driver/profiler build rules." am: 0f7a0678af
am: 3b5f6dad56

Change-Id: I46ddb6789f2b74ea6702784be61ed95529742900
2017-02-08 00:18:22 +00:00
Tri Vo
3b5f6dad56 Merge "Remove vts driver/profiler build rules."
am: 0f7a0678af

Change-Id: I77f5d1433cb538dba734bc592929102f426a2d40
2017-02-08 00:15:22 +00:00
Treehugger Robot
0f7a0678af Merge "Remove vts driver/profiler build rules." 2017-02-08 00:12:24 +00:00
Shubang Lu
222e21db47 Merge "Add tests to tv_input_hidl_hal_test" 2017-02-08 00:03:00 +00:00
Nick Desaulniers
20105c8b71 Fingerprint VTS
Bug: 34179855
Test:
  make vts;
  adb push
    out/host/linux-x86/vts/android-vts/testcases/DATA/nativetest64/fingerprint_hidl_hal_test/fingerprint_hidl_hal_test
    /data/local/tmp/.;
  adb shell /data/local/tmp/fingerprint_hidl_hal_test;

Change-Id: If9174dc34d0802388a9af8cda88b28329248bc42
2017-02-07 12:21:38 -08:00
Mikhail Naganov
a1db22a3e5 audiohal: Pass thread identifiers to the client for priority adjustment
HALs are prohibited from using framework binder, and there is
no equivalent scheduling policy service in hwbinder. Thus, in order
to match priorities of FastCapture / Mixer threads with their
counterparts in the HAL, it is needed to request the priority boost
from audioflinger on behalf of the HAL.

Bug: 34131400
Change-Id: I7c8db9d520b4cf272d2896ad875752b109b57ab7
Test: check priority match between audioflinger's and hal's threads
2017-02-07 10:49:18 -08:00
TreeHugger Robot
de85b24b9e Merge "Move Vehicle HAL under automotive package" 2017-02-07 18:26:53 +00:00
Pawin Vongmasa
761622e5d4 Update QueueBufferOutput.
QueueBufferOutput was modified in ag/1806678.

Test: Compiles

Bug: 31399200
Bug: 34481539
Change-Id: I287a4ba84348323e2e39dcbac03c3bf17357d6bc
2017-02-06 18:22:40 -08:00
Jack Yu
0f5f5ce26b HIDL change for Android O RIL update am: ed7ef81069 am: d060299c8d am: 6a73ef5e6c
am: d563796176  -s ours

Change-Id: I7c207b2f782c891871108e746b5b58e22ceca030
2017-02-07 00:56:32 +00:00
Jack Yu
d563796176 HIDL change for Android O RIL update am: ed7ef81069 am: d060299c8d
am: 6a73ef5e6c

Change-Id: I841aadbd5ef68646d758ea8c3141bc12567157fc
2017-02-07 00:08:19 +00:00
Jack Yu
6a73ef5e6c HIDL change for Android O RIL update am: ed7ef81069
am: d060299c8d

Change-Id: If1767f4b43885184f761e094562be21073378a8d
2017-02-07 00:04:12 +00:00
Craig Donner
7babeec42f Update GraphicBufferAllocator users to pass both producer and consumer usages
Bug: 34050596
Test: build
Change-Id: Ia13b276923ccfc5487b1b53d087dedb59b076473
2017-02-06 15:04:19 -08:00
Jack Yu
d060299c8d HIDL change for Android O RIL update
am: ed7ef81069

Change-Id: I855a9c8aea86975ec1c78cc1e38e2b0e5962d628
2017-02-06 22:46:07 +00:00
Yin-Chia Yeh
db4d6813ab Merge "Camera: remove BINDERIZED flag" 2017-02-06 22:21:54 +00:00
Jack Yu
ed7ef81069 HIDL change for Android O RIL update
1. Added two new API for screen state replacement.
2. Data call API refactoring work.

bug: 20125037, 32224135, 32223897, 32249926, 30282096, 30173958,
33653220
Test: Telephony sanity tests and unit tests

Merged-In: I6b266637914a85bd57c6a055c52c8ff4ced17e1f
Change-Id: I342b99bed8663d107052e791ac97949b34f7dd99
2017-02-06 14:04:47 -08:00
Tri Vo
ac9f1c02f3 Remove vts driver/profiler build rules.
Generate filegroups for .hal files so that driver/profiler build rules
can migrate to another project.

Bug: 34893894
Test: mmma hardware/interfaces -j32
Change-Id: Iefc98a6df16706fbb798bc32405fe8ff0c3de450
2017-02-06 13:54:41 -08:00
Wyatt Riley
8791e7bf2c GNSS Batching - Default implementation
Connecting GnssBatching from fused_location.h
through to the IGnss(Batching).hal

Test: Basic regular GNSS and batched GNSS
      functional tests on Pixel

Change-Id: I3ff72c626acece891fd9e5ef2802b3489dac5dd2
2017-02-06 13:39:12 -08:00
TreeHugger Robot
3b4efe1687 Merge "thermal HAL uses "default" service name" 2017-02-06 21:06:35 +00:00
Shubang
8324f70146 Add tests to tv_input_hidl_hal_test
Test: make vts; vts-tradefed; run -m HalTvInputHidlTargetTest
Change-Id: Ia7d9cf68ae5b296f45c0999b6c295945921abc7d
2017-02-06 11:01:32 -08:00
Chris Phoenix
5d1dc850a3 thermal 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: If9599b83526779cc38b1550698487f6240e26e45
2017-02-06 10:57:36 -08:00
Myles Watson
92b7f83905 Merge "Bluetooth: Generate a random address" am: 812f8ad3ab am: 27b935aea4 am: a1a72c068c
am: 047de561f7

Change-Id: I88128c097c8cd9ca462900237012dda7acf4ed5a
2017-02-06 18:18:02 +00:00
Myles Watson
047de561f7 Merge "Bluetooth: Generate a random address" am: 812f8ad3ab am: 27b935aea4
am: a1a72c068c

Change-Id: I661072d7668c74c3d508e706c538a954c7dbbaac
2017-02-06 18:16:01 +00:00
Myles Watson
a1a72c068c Merge "Bluetooth: Generate a random address" am: 812f8ad3ab
am: 27b935aea4

Change-Id: Id5f7d63cfe516b6829ee625a9819566b981f0386
2017-02-06 18:13:31 +00:00
Myles Watson
27b935aea4 Merge "Bluetooth: Generate a random address"
am: 812f8ad3ab

Change-Id: I141ce9c018c7b781759ed2c773f286b328cdb4e9
2017-02-06 18:11:30 +00:00
Treehugger Robot
812f8ad3ab Merge "Bluetooth: Generate a random address" 2017-02-06 18:07:13 +00:00
Mikhail Naganov
9bb90a55d6 Merge "audiohal: Make closing of effects and streams fast" 2017-02-06 16:34:42 +00:00
Mikhail Naganov
a7426f7147 Merge "audiohal: Make sure audio data transfer related commands go via FMQ" 2017-02-06 16:33:55 +00:00
Myles Watson
11f10baefe Bluetooth: Generate a random address
If a device does not have a factory address set, generate one.

Since this is a bug, add a warning.

Bug: 34952761
Test: Pixel C Bluetooth turns on and off
Change-Id: Icd2ef5c40f0ef6ad93effd9dd662b4b79d3eb0f6
2017-02-06 14:37:51 +00:00
Pavel Maltsev
2579fb792b Move Vehicle HAL under automotive package
Test: verified unit tests and VTS are passing

Bug: b/33200203
Change-Id: I69cc4bc0d4cbc1a6bf2f77564a8f70412fe06947
2017-02-05 16:48:12 -08:00
Keun Soo Yim
afe76f2784 move VTS stub files and non-functional tests (aosp) am: 5d6712c7e1 am: 43063541fa am: 55dda01517
am: 4fb1588b5e  -s ours

Change-Id: Ia52a6ef9a58f7ad3f58c4277c0672e8011b4988b
2017-02-04 07:07:30 +00:00
Keun Soo Yim
4fb1588b5e move VTS stub files and non-functional tests (aosp) am: 5d6712c7e1 am: 43063541fa
am: 55dda01517

Change-Id: I17d7189c3f3d8dedb2cb4ffd99f4d08f808248de
2017-02-04 07:04:29 +00:00
Keun Soo Yim
55dda01517 move VTS stub files and non-functional tests (aosp) am: 5d6712c7e1
am: 43063541fa

Change-Id: I20c46b8cc1652b7fc11a434d2ed5fbe3e88f5fcd
2017-02-04 07:01:30 +00:00
Keun Soo Yim
43063541fa move VTS stub files and non-functional tests (aosp)
am: 5d6712c7e1

Change-Id: I1a21eba2c653161cb745d383749c539aae15f3be
2017-02-04 06:45:28 +00:00
Keun Soo Yim
5d6712c7e1 move VTS stub files and non-functional tests (aosp)
Test: mma
Bug: 34976004
Merged-In: Id9c88a9778fba49f0841a474aa067d271f14e207
Change-Id: Id9c88a9778fba49f0841a474aa067d271f14e207
2017-02-04 02:52:31 +00:00
Keun Soo Yim
7b9b6ca18f move VTS stub files and non-functional tests
Test: mma
Bug: 34976004
Change-Id: I20273bdc3a05e2986fcf921f65d2afd6d72781e4
2017-02-04 02:45:25 +00:00
Keun Soo Yim
09c92950a2 move VTS stub files and non-functional tests (aosp)
Test: mma
Bug: 34976004
Change-Id: Id9c88a9778fba49f0841a474aa067d271f14e207
2017-02-03 18:42:56 -08:00
Keun Soo Yim
325602cd8b Merge "context hub: update vts files and add driver/profiler genrules" 2017-02-04 01:22:23 +00:00
Zhuoyao Zhang
60a3eee183 Merge "Update Andriod.bp for hals." 2017-02-03 23:46:49 +00:00
Jack Yu
921a0d163f Merge "HIDL change for Android O RIL update" 2017-02-03 23:29:55 +00:00
Yin-Chia Yeh
469c67b027 Camera: remove BINDERIZED flag
No longer needed. This also enable us to switch to
defaultPassthroughImplementation.
Also rename camera device wrapper library to signal it's not a
top level HAL entry.

Test: marlin camera app with passthrough/binderzied mode
Bug: 34817742
Change-Id: I78ad5afbf78b2679be3efe0e82f430958ef6bfea
2017-02-03 14:43:08 -08:00
TreeHugger Robot
9ebab6aba5 Merge "nit fix: compiler warning for BiometricsFingerprint.cpp" 2017-02-03 20:47:59 +00:00
Myles Watson
931c32c00a Merge changes Ic4fcbb22,I1be8a18d am: b19f11d09d am: cb06ecd1d1 am: 0668f3398e
am: 02c3e4aed8

Change-Id: Ib3422201acdc9faaaa909ecbe3d5366cfb93f1f8
2017-02-03 18:36:49 +00:00
Myles Watson
a6feaeb9df Bluetooth: Use AsyncFdWatcher for power management am: beb13b45c0 am: 5e3a517d3f am: fb9a818cdb
am: 5b1330f6af

Change-Id: Ie33a9b515d1c5d6010fb6bf3dc9595e9944274f2
2017-02-03 18:36:47 +00:00
Myles Watson
645cf76da3 Bluetooth: AsyncFdWatcher: Refactor timeout lock am: eba1312c86 am: c3e3a43238 am: b4654fd048
am: 883d815988

Change-Id: Ia1bd197a18feef86af115255f50c07e6f0f22b70
2017-02-03 18:36:45 +00:00
Myles Watson
1ee289d56d Merge "Bluetooth: Free memory from transmit_cb commands" am: 559ae1585b am: 2c2cda15b4 am: 02499ded01
am: 50b23e8f93

Change-Id: I72e49276ea0d3634a120bf3996900b190cf98c03
2017-02-03 18:36:34 +00:00
Myles Watson
02c3e4aed8 Merge changes Ic4fcbb22,I1be8a18d am: b19f11d09d am: cb06ecd1d1
am: 0668f3398e

Change-Id: Icd44622e7e7687d1f7d7f4f866ed961cb131d36a
2017-02-03 18:34:16 +00:00
Myles Watson
5b1330f6af Bluetooth: Use AsyncFdWatcher for power management am: beb13b45c0 am: 5e3a517d3f
am: fb9a818cdb

Change-Id: Ie92198a477c4077d6242fabeebb82aad431ed482
2017-02-03 18:34:15 +00:00
Myles Watson
883d815988 Bluetooth: AsyncFdWatcher: Refactor timeout lock am: eba1312c86 am: c3e3a43238
am: b4654fd048

Change-Id: Ied2e5d816c1e031d7e91212da112dd09a54f0a20
2017-02-03 18:34:14 +00:00
Myles Watson
50b23e8f93 Merge "Bluetooth: Free memory from transmit_cb commands" am: 559ae1585b am: 2c2cda15b4
am: 02499ded01

Change-Id: Ibe30444198586fa0470b2317e90763d67663ec03
2017-02-03 18:34:04 +00:00
Myles Watson
0668f3398e Merge changes Ic4fcbb22,I1be8a18d am: b19f11d09d
am: cb06ecd1d1

Change-Id: I0f0e678e04360dc33f7315bc2ade025ee6adf8de
2017-02-03 18:32:16 +00:00