Commit graph

8416 commits

Author SHA1 Message Date
Steven Moreland
a38f5177bb Updating makefiles for hidl_interface. am: 4e1e4081e4 -s ours
am: 0903cd24ac  -s ours

Change-Id: I889b249c58890608d3ecb7858fc3f8f2b347ff4d
2017-12-04 19:33:07 +00:00
Michael Schwartz
b3c150af4b Merge "Remove IOemHook from matrix in P" am: f8c89c44e5
am: 7d6bf0f5ef

Change-Id: If01fb4ba4bd7a115a1b044296ad6242df414353e
2017-12-04 18:59:39 +00:00
Steven Moreland
0903cd24ac Updating makefiles for hidl_interface.
am: 4e1e4081e4  -s ours

Change-Id: I8bba4a896375afa0b6e8b57d3bd6228096bbf12e
2017-12-04 18:49:35 +00:00
Michael Schwartz
7d6bf0f5ef Merge "Remove IOemHook from matrix in P"
am: f8c89c44e5

Change-Id: I2649c4ad197aecf74a595a16ed2433edba3b9a8b
2017-12-04 18:44:59 +00:00
Michael Schwartz
f8c89c44e5 Merge "Remove IOemHook from matrix in P" 2017-12-04 18:34:51 +00:00
TreeHugger Robot
f9ff68cde0 Merge "Remove conditional vndbinder usage in CAS." 2017-12-04 17:53:16 +00:00
Roshan Pius
abcf78fe90 wifi(implementation): Fix formatting
Use the top level clang-format setup by the HIDL team to format the
entire implementation.

clang-format -i --style file wifi/1.2/default/*

Bug: 32287573
Test: Compiles
Change-Id: I336c21fd9bfdc560117aa7212f92ab5f01df4b8e
2017-12-04 08:14:11 -08:00
Roshan Pius
acededbcd1 wifi(implementation): Dual interface support
Add support for concurrent interfaces in the WifiLegacyHal class:
a) Removed the hardcoded "wlan0" interface handle in WifiLegacyHal.
b) Modified all the interface specific functions to accept the |iface_name|
argument on which the operation needs to be performed.

Each IWifiIface object will hold the name of the underlying network
interface (wlan0, wlan1 or p2p0) which it is representing.
All IWifiChip operations which needs an iface name will continue to use
the default "wlan0".

Bug: 65671875
Test: Device boots up and connects to wifi networks.
Test: Will send for regression tests.
Change-Id: I9bd9c2a9ba33ac1ea5677fc5d7c261d8eac08e1d
2017-12-04 08:14:11 -08:00
Roshan Pius
9377a0d285 wifi(implementation): Use real iface names
Currently the HAL shim uses fake names to ensure that each type of
IWifiIface has a unique name. This is not a true reflection of the
network interfaces exposed by the wifi driver. So, change the HIDL shim
to use the corresponding interfaces names.

IWifiStaIface, IWifiApIface & IWifiNanIface all use the same "wlan0"
network interface.
IWifiP2pIface uses the "p2p0" network interface.

In the future, we'll be extending this to create a second IWifiStaIface
or IWifiApIface using "wlan1" network interface.

IWifiRttController does not need to be associated with an iface object.
So, it will just default to using "wlan0" always.
TODO(b/34702983): Need to deprecate the bound iface from the HIDL interface.

Bug: 65671875
Test: Device boots up and connects to wifi networks.
Test: Will send for regression tests.
Change-Id: I33fef1332f2fe2da3f48ee87ef06660844699253
2017-12-04 08:14:11 -08:00
Steven Moreland
4e1e4081e4 Updating makefiles for hidl_interface.
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
(cherry-picked from commit c2f829a1d2)
2017-12-03 10:31:49 -08:00
Howard Chen
0a01e7511f Merge "Add more test methods to IMemoryTest" am: 4cd07b6e21 am: b4c725535e
am: e46a31d771

Change-Id: I5ea882cae7457afd82bc380a45e51535f0110315
2017-12-02 15:36:37 +00:00
Howard Chen
e46a31d771 Merge "Add more test methods to IMemoryTest" am: 4cd07b6e21
am: b4c725535e

Change-Id: I5a0a3d5603be680e9807d098edae3dab0c884dbc
2017-12-02 15:31:34 +00:00
Howard Chen
b4c725535e Merge "Add more test methods to IMemoryTest"
am: 4cd07b6e21

Change-Id: Ibcfa27b9510774a9bac39c40443e6f5a35e13709
2017-12-02 15:26:24 +00:00
Howard Chen
4cd07b6e21 Merge "Add more test methods to IMemoryTest" 2017-12-02 15:21:19 +00:00
TreeHugger Robot
d73c029944 Merge "GNSS HAL & VTS for Duty Cycling & Low Power APIs." 2017-12-02 02:23:35 +00:00
Wei Wang
2e687c25bc power hal: Add power HAL API 1.2
Extend more powerHint types

Test result: #./VtsHalPowerV1_2TargetTest
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from PowerHidlTest
[ RUN      ] PowerHidlTest.PowerHintAsync_1_2
[       OK ] PowerHidlTest.PowerHintAsync_1_2 (9 ms)
[----------] 1 test from PowerHidlTest (9 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (10 ms total)
[  PASSED  ] 1 test.

Bug: 62041945
Test: run VTS
Change-Id: If6c9d19962907bcb96ea83e9297f74e80a743b9e
2017-12-01 16:04:57 -08:00
gomo
f0b070771b GNSS HAL & VTS for Duty Cycling & Low Power APIs.
Defintions for 2 GNSS Android P features:
- The Duty Cycling OFF API to enable high accuracy applications development
- The Low Power Mode GNSS API to save power when indoor

VTS tests for both features.

Bug: 64009176
Test: hidl-gen/compile/build checks, no functional tests yet
Change-Id: I4a41757e4ad6747f22a7e9ae1e0024f083c5fbfb
2017-12-01 14:34:36 -08:00
TreeHugger Robot
a76deb570d Merge "Rename IKeymaster back to IKeymaserDevice" 2017-12-01 21:48:22 +00:00
Dan Willemsen
fbe95d5c0f Fix problem found with host bionic fortify checks am: dc1921810e am: 6737d81d15
am: ca253762cb

Change-Id: Ie33aa142f0af34f640397c29baf5d8076b89dc32
2017-12-01 04:37:31 +00:00
Dan Willemsen
ca253762cb Fix problem found with host bionic fortify checks am: dc1921810e
am: 6737d81d15

Change-Id: I5af566812c809a7cd6d58c7645d2fbe8b37fbad0
2017-12-01 04:33:30 +00:00
Dan Willemsen
6737d81d15 Fix problem found with host bionic fortify checks
am: dc1921810e

Change-Id: Id82671e9f0b4debc28b516a0b3f10104fc54e198
2017-12-01 04:29:29 +00:00
Shawn Willden
32aa7ecb55 Rename IKeymaster back to IKeymaserDevice
Test: VtsHalKeymasterV4_0TargetTest
Change-Id: Ic5e7f936ef75aa64834677f6589822fbedce39cd
2017-11-30 19:37:07 -07:00
Dan Willemsen
dc1921810e Fix problem found with host bionic fortify checks
hardware/interfaces/bluetooth/1.0/default/test/bluetooth_address_test.cc:59:39:
error: 'open' called with O_CREAT or O_TMPFILE, but missing mode

Bug: 31559095
Test: out/host/linux-x86/nativetest{,64}/bluetooth-address-unit-tests/bluetooth-address-unit-tests
Change-Id: I913c78e25eccaecf8830f1caf8e92f834ab8bb76
2017-11-30 18:00:36 -08:00
Michael Schwartz
0c067484b4 Remove IOemHook from matrix in P
Bug: 34344851
Test: `make`
Change-Id: I63e5a3286031781e8b4b070d78022325be02d6a8
2017-11-30 13:47:41 -08:00
Chih-hung Hsieh
dec548b0a9 Merge "Use -Werror in hardware/interfaces/automotive/vehicle/2.0" 2017-11-29 23:29:36 +00:00
Chih-Hung Hsieh
94ceaa2113 Merge "Use -Werror in hardware/interfaces/automotive/vehicle/2.0" am: ac03dfa789 -s ours am: dfe61bf245 -s ours
am: 1b3da504ae  -s ours

Change-Id: I501b62a5ff6903d31ca3bd8bcc8978b1df81dc0c
2017-11-29 23:27:56 +00:00
Chih-Hung Hsieh
1b3da504ae Merge "Use -Werror in hardware/interfaces/automotive/vehicle/2.0" am: ac03dfa789 -s ours
am: dfe61bf245  -s ours

Change-Id: Ibf2ffed7f5d57bed63c457244c62613ff3af38fc
2017-11-29 23:23:53 +00:00
Chih-Hung Hsieh
dfe61bf245 Merge "Use -Werror in hardware/interfaces/automotive/vehicle/2.0"
am: ac03dfa789  -s ours

Change-Id: I6bb0f3d504d54748b2a468c8989f34629ae83cf5
2017-11-29 23:19:21 +00:00
Treehugger Robot
ac03dfa789 Merge "Use -Werror in hardware/interfaces/automotive/vehicle/2.0" 2017-11-29 23:04:52 +00:00
Kevin Rocard
b48fd9b609 Add the audio team as owner of the audio VTS am: c691e18332 am: b5433136dd
am: fff2077600  -s ours

Change-Id: I4dfa3752da2c5a314380fa974941c42e8d2c1073
2017-11-29 22:32:09 +00:00
Mikhail Naganov
c8d0df10cc Add OWNERS for audio-related HAL default implementations am: 8c0c030ee9 -s ours am: 349dbe9a82 -s ours
am: 3ebcaaf740  -s ours

Change-Id: I28a3ce1c6a14eccd4a54a1b01e5dcb81ed578da2
2017-11-29 22:31:51 +00:00
Kevin Rocard
fff2077600 Add the audio team as owner of the audio VTS am: c691e18332
am: b5433136dd

Change-Id: I039de9e218ca16009e1566815953ed28e2c43b74
2017-11-29 22:27:26 +00:00
Mikhail Naganov
3ebcaaf740 Add OWNERS for audio-related HAL default implementations am: 8c0c030ee9 -s ours
am: 349dbe9a82  -s ours

Change-Id: Id76a947d81e959b7c22be6b972b45cf9eba73e96
2017-11-29 22:27:21 +00:00
Kevin Rocard
b5433136dd Add the audio team as owner of the audio VTS
am: c691e18332

Change-Id: I3fa55d02549c1827737f8e0d85bae99226506f17
2017-11-29 22:23:57 +00:00
Mikhail Naganov
349dbe9a82 Add OWNERS for audio-related HAL default implementations
am: 8c0c030ee9  -s ours

Change-Id: Iadf98ba95792f532d3b54f3107bc49ae9e28ba5f
2017-11-29 22:23:52 +00:00
Daniel Van Veen
ab185f7250 Merge "Fix inequality typo in StreamIn::getCapturePosition" am: ba3225718b am: 3770968cf9
am: d0161b948a

Change-Id: Idd1d697f45057872d1a88ed42487cc1e1859d229
2017-11-29 21:15:02 +00:00
Daniel Van Veen
d0161b948a Merge "Fix inequality typo in StreamIn::getCapturePosition" am: ba3225718b
am: 3770968cf9

Change-Id: Ia0310363cce5aa004844cf77edafcdc78cdc5011
2017-11-29 20:58:11 +00:00
Steven Moreland
5884a6f0f3 Remove conditional vndbinder usage in CAS.
Platform consistency, removing overload of meaning
behind PRODUCT_FULL_TREBLE/treble variable.

Bug: 67975337
Test: boot
Change-Id: I09df37fc0306f80879424334029ab9668cee9d4f
2017-11-29 12:51:31 -08:00
Daniel Van Veen
3770968cf9 Merge "Fix inequality typo in StreamIn::getCapturePosition"
am: ba3225718b

Change-Id: I9ec534a8ec45525021180fa9219a1e3d4f34d0a7
2017-11-29 20:46:08 +00:00
Kevin Rocard
c691e18332 Add the audio team as owner of the audio VTS
Change-Id: I7744929814e3e7ba99f1cb664153cdffac58f01e
Merged-In: I514c37b3c9da3df700fa208e79ff6597f8914092
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-11-29 12:41:25 -08:00
Mikhail Naganov
8c0c030ee9 Add OWNERS for audio-related HAL default implementations
Test: not needed
Change-Id: I2893c84ac2ac72095baac810947fac56235a9d79
Merged-In: Idefe7be10bde22866be82f87118b9b54e74c3f40
2017-11-29 12:39:55 -08:00
Treehugger Robot
ba3225718b Merge "Fix inequality typo in StreamIn::getCapturePosition" 2017-11-29 20:28:20 +00:00
Tomasz Wasilczyk
25153f3586 Merge "Extend DAB primary identifier with SCIdS." 2017-11-29 18:10:52 +00:00
Steven Moreland
c610fd439e Merge "Remove subdirs" am: adf8208c52 -s ours am: 73eaa91e0a -s ours
am: 1335970727  -s ours

Change-Id: Ied1cdd7d4b91ac37a8b3bb0a8aaaf48a76803042
2017-11-29 18:08:32 +00:00
Steven Moreland
1335970727 Merge "Remove subdirs" am: adf8208c52 -s ours
am: 73eaa91e0a  -s ours

Change-Id: Ic0a46fda2ad8b9f80a392e76c64c795664a8ef16
2017-11-29 18:04:32 +00:00
Steven Moreland
73eaa91e0a Merge "Remove subdirs"
am: adf8208c52  -s ours

Change-Id: Ie36a93b20dd0c83978619b3763deb698d0f69c10
2017-11-29 18:00:59 +00:00
Treehugger Robot
adf8208c52 Merge "Remove subdirs" 2017-11-29 17:53:33 +00:00
TreeHugger Robot
8b0019b1e2 Merge "Adding GNSS Model & Version String" 2017-11-29 17:53:03 +00:00
Badhri Jagan Sridharan
eebbb9eaf0 Merge "usb: Add owner file" am: 75b87347aa am: 576cd45e62
am: 2d329121fb

Change-Id: I335f5b2349bf9ee2fa808135c02c594f86b5e049
2017-11-29 17:49:05 +00:00
Badhri Jagan Sridharan
2d329121fb Merge "usb: Add owner file" am: 75b87347aa
am: 576cd45e62

Change-Id: I69d0049ff5684a182015c34a6973d5af5e125147
2017-11-29 17:45:00 +00:00