Commit graph

1603 commits

Author SHA1 Message Date
Gabriel Biren
28a4812752 Add Wifi HAL supplicant AIDL interface definitions.
Converted from android.hardware.wifi.supplicant@1.4 HIDL interface.

Bug: 196235436
Test: m android.hardware.wifi.supplicant-update-api
BYPASS_INCLUSIVE_LANGUAGE_REASON=HE refers to High Efficiency

Change-Id: I9872f297450457c347fb5fe8cf4005b01d3ab1f6
2021-12-14 23:45:07 +00:00
Bob Badour
dc205e077e [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  bluetooth/audio/aidl/Android.bp
  wifi/netlinkinterceptor/aidl/default/Android.bp
  wifi/netlinkinterceptor/libnlinterceptor/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I4c18be830a5c0928d1a58f1e8e52067a2d6db66d
2021-12-09 18:54:17 -08:00
Sundong Ahn
80af4e4465 Prepares android.hardware.wifi@1.0-service
Prepares android.hardware.wifi@1.0-service for use by a wifi HAL vendor APEX.
- Creates a cc_defaults with soong config vars for @1.0-service and
  @1.0-service lib that customized implementations can override.

Bug: 205065320
Test: m -j with mac80211_hwsim vendor APEX on Cuttlefish
Test: Connect to wifi
Change-Id: I5827ed1ceb9be8278a54fd828249bf8e549fb950
2021-12-10 00:19:08 +00:00
Chris Weir
8c42fdd095 Merge changes from topic "iinterceptor"
* changes:
  Add VTS for Netlink Interceptor
  Add default implementation for Nlinterceptor
  Move interceptor AIDL definition
2021-12-09 23:30:19 +00:00
Chris Weir
4669bd35a9 Add VTS for Netlink Interceptor
VTS tests for Netlink Interceptor

BYPASS_INCLUSIVE_LANGUAGE_REASON="dummy" is what Linux uses to refer to
interfaces that are not real or functional. I did not pick this name.

Bug: 201467304
Test: atest VtsHalNetlinkInterceptorV1_0Test

Change-Id: Idb5ad759c9226ddf9e6182213cced750efdbd293
2021-12-02 11:02:21 -08:00
Chris Weir
7b1428f3f3 Add default implementation for Nlinterceptor
Add default Netlink Interceptor implementation

Bug: 201467304
Test: atest VtsHalNetlinkInterceptorV1_0Test

Change-Id: I7c765f9528a3d5be85bf5554e22eae51c1607548
2021-12-02 11:02:12 -08:00
Tomasz Wasilczyk
5f9639673b Match Wi-Fi HAL native code style with rest of HALs.
Bug: 201467304
Test: N/A
Change-Id: Iba03628fa19598c9f4c7f2bf1156ebe69a46c270
2021-12-01 10:11:14 -08:00
Chris Weir
0f4c3218ad Move interceptor AIDL definition
Move Netlink Interceptor AIDL definition to
hardware/interfaces/wifi

Bug: 201467304
Test: atest VtsHalNetlinkInterceptorV1_0Test

Change-Id: Ia6b1d29b2f2cb45f91ab985ed64c44fdc6d54602
2021-11-30 16:47:34 -08:00
Treehugger Robot
3596bc95ea Merge "Wifi: P2P VTS tests fail with no P2P support" am: a4a390c0d9 am: f44059b065 am: 22d7ba9f28
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1892882

Change-Id: If1736fe5f7f44b2ab3ed36bd696f66f7cbb09c44
2021-11-18 22:29:15 +00:00
Treehugger Robot
22d7ba9f28 Merge "Wifi: P2P VTS tests fail with no P2P support" am: a4a390c0d9 am: f44059b065
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1892882

Change-Id: I656eec9ad70552d2805d616964fe2e81597b2daf
2021-11-18 22:05:22 +00:00
Blair Prescott
b676061cd5 Wifi: P2P VTS tests fail with no P2P support
Skip P2P tests if P2P is not supported.

Bug: 200064365
Test: run vts -m VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I6ba23bb27f24700980cab28d1ff806e5efc65ec9
2021-11-18 14:02:19 -08:00
Treehugger Robot
f44059b065 Merge "Wifi: P2P VTS tests fail with no P2P support" am: a4a390c0d9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1892882

Change-Id: Iba6f9e413f5f49cf0bc09ec70339e982dc669ed2
2021-11-18 21:58:54 +00:00
Blair Prescott
7156c06525 Wifi: P2P VTS tests fail with no P2P support
Skip P2P tests if P2P is not supported.

Bug: 200064365
Test: run vts -m VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I6ba23bb27f24700980cab28d1ff806e5efc65ec9
2021-11-15 13:49:21 -08:00
Xin Li
8f6d361f15 Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918
Bug: 205056467
Merged-In: I96a417467346a57b13c2efae12a183d78506afc3
Change-Id: I570a3b599281f519af7a440562c83f8484684fd5
2021-11-10 08:05:55 +00:00
Gabriel Biren
af89a6ac72 Merge "Switch hostapd VTS tests to NDK backend." am: e3f88a32db am: 4c9bacbd20 am: f88f0464fb am: 3795cbf883 am: ab78434023
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880508

Change-Id: I176080727844713b82efd3c179869510574d610e
2021-11-09 17:23:07 +00:00
Gabriel Biren
ab78434023 Merge "Switch hostapd VTS tests to NDK backend." am: e3f88a32db am: 4c9bacbd20 am: f88f0464fb am: 3795cbf883
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880508

Change-Id: I2622b9f777971cad3f5440b0274a179bad2c0570
2021-11-09 17:06:32 +00:00
Gabriel Biren
3795cbf883 Merge "Switch hostapd VTS tests to NDK backend." am: e3f88a32db am: 4c9bacbd20 am: f88f0464fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880508

Change-Id: I76eac287d9a3144c639edff4bc6d47b0c12726f2
2021-11-09 16:38:28 +00:00
Gabriel Biren
f88f0464fb Merge "Switch hostapd VTS tests to NDK backend." am: e3f88a32db am: 4c9bacbd20
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880508

Change-Id: Idf7e47cf496d040776433bbb586058a332dd5717
2021-11-09 16:19:36 +00:00
Gabriel Biren
b3eb504848 Switch hostapd VTS tests to NDK backend.
Bug: 204889679
Test: Make and run VtsHalHostapdTargetTest
      m vts -j
      vts-tradefed run commandAndExit vts \
          --module VtsHalHostapdTargetTest
Change-Id: I0fe97b18b83098df6c70a5057576704c4b1f7383
2021-11-03 19:45:39 +00:00
Treehugger Robot
40212f770e Merge "wifi: Add sleep 3 seconds to allow terminate processing in VTS tear down" into android11-tests-dev am: 7618b4cc8b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1554185

Change-Id: Ic922564dffbfdb96b30bcfe3fb9fe8a5934a9c17
2021-10-29 22:23:35 +00:00
Les Lee
b3fba1d7c3 Merge "wifi(vts): Precondition AP tests on existence of hostapd HAL" into sc-v2-dev 2021-10-20 02:04:49 +00:00
Sunil Ravi
6f95834134 Update the p2p device interface name am: 6adbab13ee am: 31902d7b96
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16087108

Change-Id: I643afff58307b3ae73124d0b2e828b8cc5322402
2021-10-20 02:01:30 +00:00
Sunil Ravi
31902d7b96 Update the p2p device interface name am: 6adbab13ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16087108

Change-Id: I7870273f60548e2f8feb63a81eed3899fb73cc3d
2021-10-20 01:34:49 +00:00
Sunil Ravi
b828beb046 Update the p2p device interface name am: 6adbab13ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16087108

Change-Id: I29de6a4bf01101cb32d2aafd8a4dce8fa5f398c0
2021-10-20 01:34:48 +00:00
Sunil Ravi
fbdc9126fa Merge "wifi: Avoid doing iface reset when dynamic MAC update supported" 2021-10-19 23:06:04 +00:00
Yiming Pan
a5be199ef0 Merge "Merge "Update OWNERS for VtsHalWifiSupplicant tests." am: b27df86140 am: ec003365b1 am: b0f892dad1 am: 94a36d98dd am: 429b3a5e2a" 2021-10-19 19:45:03 +00:00
Sunil Ravi
6adbab13ee Update the p2p device interface name
In some implementations P2P device interface is created under
primary interface(wlan0 by default). In those implementations
p2p device name is predefined in system property wifi.direct.interface.
And the interface is created by supplicant with primary interface as
the parent interface. The naming of p2p device interface is
p2p-dev-<parent interface> ("p2p-dev-wlan0").

With STA+STA feature, wlan0 interface gets deleted in certain scenarios
and wlan1 becomes the active interface. In such scenarios P2P fails to
create the interface as parent interface wlan0 is deleted.

To fix the issue update the p2p device interface from system property
based on the current active wlan interface. ie First get the p2p parent
interface name from p2p device interface name set in property.
Check if the parent interface derived from p2p device interface name is
the current active interface. If not, get the current active interface
and update the name as p2p-dev-<ifname> ("p2p-dev-wlan1").
This helps HIDL/supplicant to get an active wlan interface from p2p
device interface name and succeed in creating the p2p interface under the
active interface.

Bug: 203434193

Test: Manual - Tested STA+STA which ended up deleting wlan0 interface.
      Then ran p2p tests and confirmed that p2p scan and connection
      works.
Change-Id: I522cec02a662c057e21d434f3ed98c7e7a4ca8f0
Merged-In: I522cec02a662c057e21d434f3ed98c7e7a4ca8f0
(cherry picked from commit 7f2822aff7)
2021-10-19 18:14:26 +00:00
Sunil Ravi
7f2822aff7 Update the p2p device interface name
In some implementations P2P device interface is created under
primary interface(wlan0 by default). In those implementations
p2p device name is predefined in system property wifi.direct.interface.
And the interface is created by supplicant with primary interface as
the parent interface. The naming of p2p device interface is
p2p-dev-<parent interface> ("p2p-dev-wlan0").

With STA+STA feature, wlan0 interface gets deleted in certain scenarios
and wlan1 becomes the active interface. In such scenarios P2P fails to
create the interface as parent interface wlan0 is deleted.

To fix the issue update the p2p device interface from system property
based on the current active wlan interface. ie First get the p2p parent
interface name from p2p device interface name set in property.
Check if the parent interface derived from p2p device interface name is
the current active interface. If not, get the current active interface
and update the name as p2p-dev-<ifname> ("p2p-dev-wlan1").
This helps HIDL/supplicant to get an active wlan interface from p2p
device interface name and succeed in creating the p2p interface under the
active interface.

Bug: 203434193
Bug: 200810773

Test: Manual - Tested STA+STA which ended up deleting wlan0 interface.
      Then ran p2p tests and confirmed that p2p scan and connection
      works.
Change-Id: I522cec02a662c057e21d434f3ed98c7e7a4ca8f0
2021-10-19 17:50:44 +00:00
TreeHugger Robot
87034011f0 Merge "wifi: extending framework restart waiting time" into sc-v2-dev am: c69d81e5f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16063834

Change-Id: Iaa650b3b3edf214f556fbfd4dbed0cf27bf60ae9
2021-10-19 17:23:15 +00:00
TreeHugger Robot
c69d81e5f3 Merge "wifi: extending framework restart waiting time" into sc-v2-dev 2021-10-19 17:06:10 +00:00
Treehugger Robot
48875f0472 Merge "Update OWNERS for VtsHalWifiSupplicant tests." am: b27df86140 am: ec003365b1 am: b0f892dad1 am: 94a36d98dd am: 429b3a5e2a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793006

Change-Id: Id41c654bb4c034e87e407e6a306aedb68a3131e5
Bug: 203478278
2021-10-19 17:01:25 +00:00
Treehugger Robot
429b3a5e2a Merge "Update OWNERS for VtsHalWifiSupplicant tests." am: b27df86140 am: ec003365b1 am: b0f892dad1 am: 94a36d98dd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793006

Change-Id: Ibf77e0f0ecea71289f4bc5e41b67ee4d2944f3ce
2021-10-19 01:57:36 +00:00
Treehugger Robot
94a36d98dd Merge "Update OWNERS for VtsHalWifiSupplicant tests." am: b27df86140 am: ec003365b1 am: b0f892dad1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793006

Change-Id: Ic2a2695bea4a3e251b23e0f9a85c41395787a58a
2021-10-19 01:42:37 +00:00
Treehugger Robot
b0f892dad1 Merge "Update OWNERS for VtsHalWifiSupplicant tests." am: b27df86140 am: ec003365b1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793006

Change-Id: I4abc372f26d69454b8f7fb9c16429d094891c2bf
2021-10-19 01:29:26 +00:00
Treehugger Robot
b27df86140 Merge "Update OWNERS for VtsHalWifiSupplicant tests." 2021-10-19 00:55:03 +00:00
Roshan Pius
5e9ec95556 wifi: remove disable_framework option to pass the stopWifiFramework procedure am: 9c4930dfd9
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16063833

Change-Id: I4efeb8d3cc6e61dbc0b595285448c3e615b531ac
2021-10-18 05:27:02 +00:00
Jimmy Chen
01c2259e19 wifi: extending framework restart waiting time
10s is not enough for low-end devices, extending waiting time to
avoid false alarm for low-end devices.

Bug: 201184673
Test: atest VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I9baa53a462b97738e6dc471cf06c2b9230b92c1c
(cherry picked from commit ef3f77f831)
2021-10-18 03:08:50 +00:00
Roshan Pius
9c4930dfd9 wifi: remove disable_framework option to pass the stopWifiFramework procedure
Stopping entire framework can cause other essential services to be
stopped. When wifi is stopped, it does not interact with any of the
wifi HAL's.

Bug: 201266536
Bug: 201184673
Test: atest --iterations 10 \
    VtsHalWifiSupplicantV1_0TargetTest \
    VtsHalWifiSupplicantV1_1TargetTest \
    VtsHalWifiSupplicantV1_2TargetTest \
    VtsHalWifiSupplicantV1_3TargetTest \
    VtsHalWifiSupplicantV1_4TargetTest \
    VtsHalWifiSupplicantP2pV1_0TargetTest \
    VtsHalWifiSupplicantP2pV1_2TargetTest \
    VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: Ia4a38c2e942681f323cf76941713c429e14870cc
(cherry picked from commit 3a5858a711)
2021-10-18 03:08:32 +00:00
Treehugger Robot
7e169d4274 Merge changes I5b58a75f,I07d9c70a into android12-tests-dev
* changes:
  wifi: extending framework restart waiting time
  wifi: remove disable_framework option to pass the stopWifiFramework procedure
2021-10-16 00:26:30 +00:00
Roshan Pius
76a58eefbf wifi(vts): Precondition AP tests on existence of hostapd HAL am: 274eadd581 am: facaf07418 am: 1c0b3ad440 am: 3ce226c8a9 am: 2c7810f622
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1857796

Change-Id: I491d422d7317a658da6274d588186f0242677b32
2021-10-15 08:37:34 +00:00
Roshan Pius
3ce226c8a9 wifi(vts): Precondition AP tests on existence of hostapd HAL am: 274eadd581 am: facaf07418 am: 1c0b3ad440
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1857796

Change-Id: I110bc87b44969847dc5dbcc3b778053247a2bc10
2021-10-15 08:05:21 +00:00
Roshan Pius
1c0b3ad440 wifi(vts): Precondition AP tests on existence of hostapd HAL am: 274eadd581 am: facaf07418
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1857796

Change-Id: Ib7e1c296a8768bda9a910851333c5e241d847089
2021-10-15 07:47:03 +00:00
Roshan Pius
82b41e6af9 wifi(vts): Precondition AP tests on existence of hostapd HAL
cp: aosp/1428863 to sc-v2-dev branch as b/202788915 mentioned

This used to be present on the old host side VTS tests, port the feature to
target side since host side VTS tests are deprecated.

Also,
i) Added a separate test: VtsHalWifiV1_4TargetTest to test the wifi
chip methods. Putting them in VtsHalWifiApV1_4TargetTest will prevent
these from running on devices without AP feature.
ii) Ensured all the non-NAN, non-RTT tests disable framework for
testing. NAN/RTT tests uses framework to check if the corresponding
package manager feature exists.

Bug: 166529516
Bug: 202788915
Test: atest \
VtsHalWifiApV1_0TargetTest \
VtsHalWifiApV1_4TargetTest \
VtsHalWifiV1_0TargetTest \
VtsHalWifiV1_4TargetTest

Change-Id: I05aab6992277601633a0f926a8262c4c27402e93
Merged-In: I05aab6992277601633a0f926a8262c4c27402e93
2021-10-15 15:22:49 +08:00
Jimmy Chen
81683c706f Merge "wifi: add wifi TL to vts owners" 2021-10-15 06:23:47 +00:00
Roshan Pius
274eadd581 wifi(vts): Precondition AP tests on existence of hostapd HAL
cp: aosp/1428863 to master branch

This used to be present on the old host side VTS tests, port the feature to
target side since host side VTS tests are deprecated.

Also,
i) Added a separate test: VtsHalWifiV1_4TargetTest to test the wifi
chip methods. Putting them in VtsHalWifiApV1_4TargetTest will prevent
these from running on devices without AP feature.
ii) Ensured all the non-NAN, non-RTT tests disable framework for
testing. NAN/RTT tests uses framework to check if the corresponding
package manager feature exists.

Bug: 166529516
Test: atest \
VtsHalWifiApV1_0TargetTest \
VtsHalWifiApV1_4TargetTest \
VtsHalWifiV1_0TargetTest \
VtsHalWifiV1_4TargetTest

Change-Id: I05aab6992277601633a0f926a8262c4c27402e93
2021-10-15 09:48:23 +08:00
Treehugger Robot
14598118e4 Merge "Backfill owner information for VtsHalWifi tests." am: 1caa761eeb am: 850ae76c91 am: bd41ebd041 am: db0de71976 am: eddf3fc3c6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1856688

Change-Id: Ia0a98b4dfd11330fddbf1d5e37a4ddc1edc18d68
2021-10-14 22:27:56 +00:00
Treehugger Robot
db0de71976 Merge "Backfill owner information for VtsHalWifi tests." am: 1caa761eeb am: 850ae76c91 am: bd41ebd041
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1856688

Change-Id: I535a4b631c20c465e3db6fe0d9f0b67e4fa95396
2021-10-14 22:09:26 +00:00
Treehugger Robot
bd41ebd041 Merge "Backfill owner information for VtsHalWifi tests." am: 1caa761eeb am: 850ae76c91
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1856688

Change-Id: Ie0c66bd0f589f6ae556466f7838419166e86e679
2021-10-14 22:01:36 +00:00
Treehugger Robot
1caa761eeb Merge "Backfill owner information for VtsHalWifi tests." 2021-10-14 21:34:00 +00:00
Treehugger Robot
110dc0a708 Merge "Revert "wifi: remove wifi instance name string check"" into android11-tests-dev am: c6a10ed866
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1435415

Change-Id: I6ebb7c6b84b45832a07dd43c198bee9ffbcfca3b
2021-10-14 21:11:32 +00:00
Veerendranath Jakkam
fce46f4642 wifi: Avoid doing iface reset when dynamic MAC update supported
Skip doing iface reset(down and up) to change MAC address if driver
indicates support for WIFI_FEATURE_DYNAMIC_SET_MAC.

Bug: 202424223
Test: atest VtsHalWifiV1_5TargetTest
Test: Manual - Connect STA to AP and check random mac is set
Change-Id: I86cf86e20893759a4e926571727943e4ee51d093
2021-10-14 12:59:29 -07:00
Yiming Pan
90a97607a2 Backfill owner information for VtsHalWifi tests.
Done for the following tests:
VtsHalWifiApV1_0TargetTest
VtsHalWifiApV1_4TargetTest
VtsHalWifiApV1_5TargetTest
VtsHalWifiNanV1_0TargetTest
VtsHalWifiNanV1_2TargetTest
VtsHalWifiV1_0TargetTest
VtsHalWifiV1_1TargetTest
VtsHalWifiV1_2TargetTest
VtsHalWifiV1_3TargetTest
VtsHalWifiV1_4TargetTest
VtsHalWifiV1_5TargetTest
VtsHalWifiOffloadV1_0TargetTest

Each VTS module is required to have an OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I4acdb9a3f7a81f078e4c60d7892a72a16f7ae9d2
2021-10-14 11:25:14 -07:00
Yiming Pan
683a4841bd Update OWNERS for VtsHalWifiSupplicant tests.
This is done for the following test modules:
VtsHalWifiSupplicantP2pV1_0TargetTest
VtsHalWifiSupplicantP2pV1_2TargetTest
VtsHalWifiSupplicantV1_0TargetTest
VtsHalWifiSupplicantV1_1TargetTest
VtsHalWifiSupplicantV1_2TargetTest
VtsHalWifiSupplicantV1_3TargetTest
VtsHalWifiSupplicantV1_4TargetTest

Test: Tree Hugger
Bug: 143903671
Change-Id: Ia2259c6d62223317f5d5c5aee8ae55655972180b
2021-10-14 18:10:04 +00:00
Treehugger Robot
0e50f5a36a Merge "Add a bug component for VtsHalWifiHostapd tests." am: 1c71faa2f2 am: af6f2a06fc am: 62a8263456 am: f97b9d7c1d am: 2cbf4903fa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793004

Change-Id: If7f68cc16b7140008d657f0044dc4bc50da7fa61
2021-10-14 05:33:04 +00:00
Treehugger Robot
f97b9d7c1d Merge "Add a bug component for VtsHalWifiHostapd tests." am: 1c71faa2f2 am: af6f2a06fc am: 62a8263456
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793004

Change-Id: I888734ea36f322650b7c46b12397dfea33fc7162
2021-10-14 05:09:52 +00:00
Treehugger Robot
62a8263456 Merge "Add a bug component for VtsHalWifiHostapd tests." am: 1c71faa2f2 am: af6f2a06fc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793004

Change-Id: I70223d414f015293472e1311ac14400999fd4832
2021-10-14 04:59:35 +00:00
Yiming Pan
507b4604bb Add a bug component for VtsHalWifiHostapd tests.
This is done for the following test modules:
VtsHalWifiHostapdV1_0TargetTest
VtsHalWifiHostapdV1_1TargetTest

Test: Tree Hugger
Bug: 143903671
Change-Id: I26b7981e340ac2fc9009f8741fc9e415d1a3c8f0
2021-10-13 15:18:51 -07:00
Jimmy Chen
dc36dd38b6 wifi: extending framework restart waiting time
10s is not enough for low-end devices, extending waiting time to
avoid false alarm for low-end devices.

Bug: 201184673
Test: atest VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I5b58a75fb20cbb65402785ba05355349f91fcd2b
2021-10-12 15:57:09 +08:00
Jimmy Chen
c76afc950f wifi: remove disable_framework option to pass the stopWifiFramework procedure
Stopping entire framework can cause other essential services to be
stopped. When wifi is stopped, it does not interact with any of the
wifi HAL's.

Bug: 201266536
Bug: 201184673
Test: atest --iterations 10 \
    VtsHalWifiSupplicantV1_0TargetTest \
    VtsHalWifiSupplicantV1_1TargetTest \
    VtsHalWifiSupplicantV1_2TargetTest \
    VtsHalWifiSupplicantV1_3TargetTest \
    VtsHalWifiSupplicantV1_4TargetTest \
    VtsHalWifiSupplicantP2pV1_0TargetTest \
    VtsHalWifiSupplicantP2pV1_2TargetTest \
    VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I07d9c70a50eb9558f05a915a4c0f26d721a104ac
2021-10-12 15:55:47 +08:00
Treehugger Robot
b946269dcd Merge "wifi(vts): Precondition AP tests on existence of hostapd HAL" into android11-tests-dev am: 0cd6bffb74
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1428863

Change-Id: Icda7f2ac0c099ea23b49183dcdeec1adbb44c105
2021-10-12 04:09:06 +00:00
TreeHugger Robot
f763d677c4 Merge "wifi: extending framework restart waiting time" 2021-10-11 15:59:17 +00:00
Treehugger Robot
b96c79b79e Merge "wifi: remove wifi instance name string check" into android11-tests-dev am: 70047281b5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1427817

Change-Id: I66fb9f41b4915b1d6a18a2cd1b510665bf17e86d
2021-10-11 15:42:38 +00:00
Jimmy Chen
4427c39c89 wifi: add wifi TL to vts owners
1.0 and 1.1 do not have OWNERS files.

Bug: 0
Test: N/A
Change-Id: I5682f68124af9087851d8f9885ee9fe2523ee25e
2021-10-11 22:32:37 +08:00
TreeHugger Robot
7e30d84d51 Merge "WIFI: Add log to debug onSubsystemRestart" into sc-qpr1-dev am: 8169c932e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15988967

Change-Id: I96a417467346a57b13c2efae12a183d78506afc3
2021-10-09 23:21:43 +00:00
chenpaul
69c3c22603 WIFI: Add log to debug onSubsystemRestart
onSubsystemRestart should be triggered by wifi HAL
when subsystem restart happened.

Add log to debug why this callback function was not trigger at
unexpected corner case.

Bug: 201330066
Test: Manual test
Change-Id: I160adc6006d078fcc72c1768927e87e378fd675e
Merged-In: I160adc6006d078fcc72c1768927e87e378fd675e
2021-10-08 20:56:37 +00:00
chenpaul
2fa7d52177 WIFI: Add log to debug onSubsystemRestart
onSubsystemRestart should be triggered by wifi HAL
when subsystem restart happened.

Add log to debug why this callback function was not trigger at
unexpected corner case.

Bug: 201330066
Test: Manual test
Change-Id: I160adc6006d078fcc72c1768927e87e378fd675e
2021-10-08 01:37:55 +00:00
Jimmy Chen
bb8087bee9 Merge "wifi: remove disable_framework option to pass the stopWifiFramework procedure" 2021-10-02 15:18:59 +00:00
Roshan Pius
3a5858a711 wifi: remove disable_framework option to pass the stopWifiFramework procedure
Stopping entire framework can cause other essential services to be
stopped. When wifi is stopped, it does not interact with any of the
wifi HAL's.

Bug: 201266536
Bug: 201184673
Test: atest --iterations 10 \
    VtsHalWifiSupplicantV1_0TargetTest \
    VtsHalWifiSupplicantV1_1TargetTest \
    VtsHalWifiSupplicantV1_2TargetTest \
    VtsHalWifiSupplicantV1_3TargetTest \
    VtsHalWifiSupplicantV1_4TargetTest \
    VtsHalWifiSupplicantP2pV1_0TargetTest \
    VtsHalWifiSupplicantP2pV1_2TargetTest \
    VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: Ia4a38c2e942681f323cf76941713c429e14870cc
2021-10-01 13:54:40 +08:00
TreeHugger Robot
2bf74b8c0a Merge "p2p: skip p2p test if p2p is not supported" 2021-10-01 03:30:02 +00:00
Jimmy Chen
ef3f77f831 wifi: extending framework restart waiting time
10s is not enough for low-end devices, extending waiting time to
avoid false alarm for low-end devices.

Bug: 201184673
Test: atest VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I9baa53a462b97738e6dc471cf06c2b9230b92c1c
2021-09-30 05:02:44 +00:00
Jimmy Chen
c484e5b627 p2p: skip p2p test if p2p is not supported
Bug: 200064365
Test: atest VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: Id35b36108a012ca1adace7c6ce87ec31813fba91
2021-09-24 15:19:26 +08:00
TreeHugger Robot
f25cfb3bd3 Merge "Fix VtsHalWifiSupplicantV1_3TargetTest fail" into stage-aosp-sc-ts-dev am: 3dedd1a0fe am: dc8303b4ae am: 3fba8288a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15847170

Change-Id: I1dc7bd03e1041aa9853372d95a90a534460447df
2021-09-17 23:44:52 +00:00
Roshan Pius
65c2c300ab vts(wifi): Stop wifi fully instead of stopping framework am: 874239047a am: 356437d474 am: 666e59d77f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15847168

Change-Id: Ifefebe8fee8a55293bbf15095d70af11d9001ed5
2021-09-17 23:44:51 +00:00
TreeHugger Robot
09a3f19711 Merge "Fix VtsHalWifiSupplicantV1_3TargetTest fail" into stage-aosp-sc-ts-dev am: 3dedd1a0fe am: dc8303b4ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15847170

Change-Id: I4d04523646e2a801b6aeebdd9c58eb805d55781f
2021-09-17 23:31:58 +00:00
Roshan Pius
eff16962db vts(wifi): Stop wifi fully instead of stopping framework am: 874239047a am: 356437d474
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15847168

Change-Id: Id0ff57dbbe32367a1b27d8b88ed9f324c361babe
2021-09-17 23:31:57 +00:00
TreeHugger Robot
3dedd1a0fe Merge "Fix VtsHalWifiSupplicantV1_3TargetTest fail" into stage-aosp-sc-ts-dev 2021-09-17 23:05:25 +00:00
henry-th.yeh
12ab21813b Fix VtsHalWifiSupplicantV1_3TargetTest fail
Remove disable_framework option to pass the
stopWifiFramework procedure.

Bug: 173081502
Bug: 199444489
Test: Build VTS
Test: run vts -m VtsHalWifiSupplicantV1_3TargetTest
-t PerInstance/SupplicantStaIfaceHidlTest#RegisterC
allback_1_3/default_default_0 --abi armeabi-v7a

Change-Id: I6813905b6c804c1c93ea59db9d8c255c2f7c45d9
2021-09-16 21:15:16 +00:00
Roshan Pius
874239047a vts(wifi): Stop wifi fully instead of stopping framework
Stopping entire framework can cause other essential services to be
stopped. When wifi is stopped, it does not interact with any of the
wifi HAL's.

Bug: 168278011
Bug: 199444489
Test: atest --iterations 10
VtsHalWifiSupplicantP2pV1_0TargetTest
VtsHalWifiSupplicantP2pV1_1TargetTest
VtsHalWifiSupplicantP2pV1_2TargetTest
VtsHalWifiSupplicantP2pV1_3TargetTest
Change-Id: Ia93e78cf4c147e42dd3d68e24a582c0c1af15899
2021-09-16 21:15:01 +00:00
Treehugger Robot
09d0934bcb Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" am: 60ac26c3e0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1822478

Change-Id: I479d92e02e2bcf14194aee5b2506c51b0a2f2b10
2021-09-09 20:44:48 +00:00
Bob Badour
8ad43c4e7a [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  wifi/hostapd/aidl/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I0178f1f02cee7046256a3e4425e5c1fbabe6da85
2021-09-08 14:04:16 -07:00
Linzhao Ye
279105a643 Merge "Add Wifi HAL hostapd AIDL interface definitions." am: 7218fea0eb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1811377

Change-Id: Ib9671d914729a0494d3483e46a47fa79da1fd83e
2021-09-07 17:35:53 +00:00
Chris Ye
d13f7b5495 Add Wifi HAL hostapd AIDL interface definitions.
Add AIDL version of Wifi HAL hostapd interfaces, converted from
android.hardware.wifi.hostapd@1.3 HIDL interfaces.

Bug: 194806512
Test: m android.hardware.wifi.hostapd-update-api
Change-Id: I1035f8bc9171e59967448fa438f2cc79ad53c066
2021-09-01 23:17:16 -07:00
Prabir Pradhan
2dd55590fd Undefine NAN after including it in Looper.h
Looper.h needs to include the header for unordered_map, which itself
includes math.h, which defines the macro NAN. Some HALs use enums called
NAN, which causes a build error if the NAN macro is defined. We need to
undef NAN in these cases after including Looper.h.

Bug: 195020232
Test: presubmit: checkbuild
Merged-In: I63bba8ea809a12571ddc88cd1d20f2adeedf0b30
Change-Id: I63bba8ea809a12571ddc88cd1d20f2adeedf0b30
(cherry picked from commit dda604440b)
(cherry picked from commit 84a19f64f5)
2021-08-27 11:04:36 +00:00
Prabir Pradhan
b99a3ccddf Undefine NAN after including it in Looper.h
Looper.h needs to include the header for unordered_map, which itself
includes math.h, which defines the macro NAN. Some HALs use enums called
NAN, which causes a build error if the NAN macro is defined. We need to
undef NAN in these cases after including Looper.h.

Bug: 195020232
Test: presubmit: checkbuild
Merged-In: I63bba8ea809a12571ddc88cd1d20f2adeedf0b30
Change-Id: I63bba8ea809a12571ddc88cd1d20f2adeedf0b30
2021-08-18 10:24:55 -07:00
Jimmy Chen
237a6ea5ea wifi: use 1.4 ISupplicant object for 1.4 vts tests
This would ensure that 1.4 vts tests are run with
ISupplicant 1.4 support.

Bug: 194979754
Test: atest VtsHalWifiSupplicantV1_4TargetTest
Change-Id: Ifaa3e1bb27f1df350b83fb7a4c05b6251a7c2d10
2021-08-05 11:32:17 +08:00
Oscar Shu
45cb33bf7a Merge "Clear ringbuffer after dumping to file" into sc-dev 2021-07-12 16:48:43 +00:00
xshu
c905ea66d4 Clear ringbuffer after dumping to file
Clear the in-memory ringbuffer after writing to file.

Bug: 193007899
Test: Manually verified ringbuffers are cleared with command "adb shell
lshal debug android.hardware.wifi@1.5::IWifi"

Change-Id: Icfa08634e948d7155e231458edd394a4d699fbaa
2021-07-11 22:39:29 -07:00
Les Lee
53bd75df19 Merge "WIFI: Set MAC address for bridged interface" into sc-dev 2021-07-02 09:43:13 +00:00
Les Lee
da9f5fe137 WIFI: Set MAC address for bridged interface
The MAC address of the bridged interface will be dynamically generated
by kernel when any bridged iface is changed. This means that the
bridged interface MAC address will be changed when we remove one of the
instances from the bridged interface (shutdown unused interface case).
The MAC change will break operation of bpf and it may cause the SAP
client to send wrong ns packets because the tethering module is
still using the old MAC in the ra packet.

Always set MAC address so the bridged interface can avoid MAC changing.

Bug: 191611764
Bug: 192315721
Test: Manual test with IPv6 tethering. Make sure client won't disconnect
because it doesn't get na response.
Test: Manual test in two scenarios: 1. MAC randomization 2. reset to factory MAC.

Change-Id: I854fc74b6532824b7d7b5a1aa4bc20a3cf9fd588
2021-07-02 12:05:57 +08:00
Jimmy Chen
f5a84a2322 wifi: add 1.5 HIDL service in lazy rc
1.5 HIDL service is not declared in lazy init rc.

Bug: 191940153
Test: atest VtsHalBaseV1_0TargetTest
Change-Id: Idc4d01e9696c35c8fc2390a2639ff8d7ebf0bbf0
2021-07-01 16:26:06 +08:00
Les Lee
03d642f6d9 wifi: Update active iface when bridged AP instance down
The active interface need to be updated when any of interface changecd.

Also fix the local cache bridged_ap_instances value incorrect
when erasing.

Bug: 191625124
Test: Manual check property "wifi.active.interface" after wlan2 down
Test: Manual test with command "halutil -sar enable 0" after wlan2 down
Change-Id: I40150c231313505ca355228e711c2448088f41ad
2021-06-21 17:05:07 +00:00
Ahmed ElArabawy
7e8409bb51 WiFi: Modify OWNERS files
Replace kumaranand@ with arabawy@ in OWNERS files

Bug: 191158491
Test: None
Change-Id: I585e95449e0aafdaa9687b363af0418032f41dfa
2021-06-15 10:20:29 -07:00
Jonathan Reichert
de90f67120 Merge "Fix SetCountryCode test when US is not supported" am: 2585f44a6e am: 931a68b2e5 am: b6deacd959
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1662343

Change-Id: Ic21d2b3131ad4e5b610835de4efa29a6e5baf00b
2021-04-22 13:42:15 +00:00
Jimmy Chen
2906d566ec Merge "wifi: correct WPA cipher GCMP-128 bit" into sc-dev 2021-04-18 06:22:40 +00:00
TreeHugger Robot
9a66d724f1 Merge "Wifi: Add argument "WifiHandle" in "wifi_set_subsystem_restart_handler"" into sc-dev 2021-04-16 01:18:41 +00:00
Jimmy Chen
b2da76d64b wifi: correct WPA cipher GCMP-128 bit
Bug: 185202617
Test: atest VtsHalWifiSupplicantV1_4TargetTest
Change-Id: I78fb68d0a4c046759592ceed7089a58c5ea69064
2021-04-14 10:18:17 +08:00
David Su
95e37e1dd8 Merge "Wifi HAL Multi STA: Clarify behavior during single STA" into sc-dev 2021-04-13 19:23:42 +00:00
Hassen KETATNI
521e69e069 Fix SetCountryCode test when US is not supported
SupplicantStaIfaceHidlTest.SetCountryCode(default,default)_32bit fails
when US countrycode is not supported on the device. The test will
read the value of "ro.boot.wificountrycode" and set it to the
countrycode. When the property is not defined on the device, US will
be set by default.

Bug: SupplicantStaIfaceHidlTest.SetCountryCode(default,default)_32bit fails
Bug id https://issuetracker.google.com/182296217
Test: Module VtsHalWifiSupplicantV1_0Host passes successfully

Change-Id: Iec2991223c6857d65b2ecc4337e920d5b823dd3d
Signed-off-by: Hassen KETATNI <hassen.ketatni@sagemcom.com>
2021-04-13 09:28:20 +00:00
David Su
8baf600058 Wifi HAL Multi STA: Clarify behavior during single STA
Firmware should maintain the last set multi STA
use case & primary connection across periods of
single STA.

Bug: 183861582
Test: compiles
Change-Id: Iab7b9298216a90ddcd792aec794266c9edb397fa
2021-04-12 11:56:17 -07:00
Roshan Pius
f10451b8fc hal(wifi): Replace rpius@ with kumaranand@ in OWNERS
Bug: 184966495
Test: N/A
Change-Id: Ib4cc2cc8479317b987edcdbcce0de4f699720cc3
2021-04-09 12:51:00 -07:00
chenpaul
9d432bd3fc Wifi: Add argument "WifiHandle" in "wifi_set_subsystem_restart_handler"
Bug: 178126071
Bug: 183483123
Test: vendor HAL can received API call
Change-Id: If9f4f25dcb5e63b43cf098e410aad308fb4edae6
2021-03-30 14:08:38 +08:00
Sunil Ravi
806f09f112 Merge "Wifi: Add Radio ID in radiostats" into sc-dev 2021-03-24 06:36:20 +00:00
Les Lee
a42f20168d Merge "wifi: Correct document for SAP 11AX mode" into sc-dev 2021-03-24 01:11:55 +00:00
lesl
a2f3e4bab9 wifi: Correct document for SAP 11AX mode
Current hostapd doesn't support mode: HOSTAPD_MODE_IEEE80211AX.
Using he_capabilies->he_supported to identify if the current mode is
AX.
BYPASS_INCLUSIVE_LANGUAGE_REASON : The HE is a abbreviation
which is High-Efficiency.

Bug: 162484222
Test: Enable SAP on P21 (supported AX) and check the wifistandard is
AX mode.
BYPASS_INCLUSIVE_LANGUAGE_REASON=The HE is a abbreviation
which is High-Efficiency.
Change-Id: I1f40f2e2e5a0d1a862810d19899a6d968d8c29b2
2021-03-24 01:10:53 +00:00
Sunil Ravi
83f7907233 Wifi: Add Radio ID in radiostats
Get the radio id from link layer radio stats
to framework.

Bug: 163103321
Test: VTS test - VtsHalWifiV1_5TargetTest
Change-Id: I6958a5b78798edf8529032cd255c61ba6a442633
2021-03-22 17:52:54 -07:00
chenpaul
c6f570378b Add API "startSubsystemRestart" and callback function
In order to trigger subsystem restart to reload wlan firmware,
this change adds an API for framework and vendor HAL.
Meanwhile, create new callback function for subsystem restart instead of
 general callback "onFailure()".

Bug: 178126071
Test: vendor HAL can received API call
      subsystem restart will callback "onSubsystemRestart()"

Change-Id: If3dc84049a9171677ad281c9bcc67a44dc722bdb
2021-03-20 09:29:46 +08:00
chenpaul
b690fb822e Uprev IWifiEventCallback.hal to 1.5
Bug: 178126071
Test: atest VtsHalWifiV1_5TargetTest
      wifi basic function is workable
Change-Id: I5f1897b6d4190d80eaf25eccea04ccfdbe4884c7
2021-03-19 15:21:29 +08:00
TreeHugger Robot
c7e7546d20 Merge "wifi: Add unit for API doc." into sc-dev 2021-03-17 06:38:45 +00:00
Kumar Anand
ea0d50167b Wifi: Invalid bandwidth crash handling
Treat WIFI_CHAN_WIDTH_INVALID(-1) and any other unknown
bandwidth value as invalid.

Bug: 182850702
Test: VTS - VtsHalWifiV1_5TargetTest
Change-Id: Id25d50af9283b89f135a4f36e1f696f6db4e302e
2021-03-16 12:17:47 -07:00
Jimmy Chen
d7fcfd7795 Merge "wifi: Add WFD R2 HAL API" into sc-dev 2021-03-12 06:11:19 +00:00
Mingguang Xu
a2d1efb403 Merge "WiFi: Get peer information (BSS load and rate statistics) from link layer stats" into sc-dev 2021-03-11 19:23:48 +00:00
Jimmy Chen
e162c6cd3f wifi: Add WFD R2 HAL API
Bug: 179342930
Test: atest VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I1c991fc6c3698eab1a32f728e9d71323a0103b21
2021-03-12 01:11:53 +08:00
Roshan Pius
72a30a0f99 Merge "wifi: Wait for driver ready and bring up the interface when setMacAddress fails" into sc-dev 2021-03-11 01:27:40 +00:00
lesl
ed3d8cb87f wifi: Add unit for API doc.
Bug: 181603380
Bug: 181246414
Test: Manual Test. SAP works normally.
Change-Id: If06849ea5ae8a8ffa95abdb8f2d3f2ea337338ab
2021-03-10 02:20:35 +00:00
Mingguang Xu
41242be732 WiFi: Get peer information (BSS load and rate statistics) from link layer stats
Bug: 177069641

Test: atest VtsHalWifiV1_5TargetTest

Signed-off-by: Mingguang Xu <mingguangxu@google.com>
Change-Id: I3373d065a3b04d86f52d5bffe28d5581746cef4a
2021-03-09 12:28:32 -08:00
TreeHugger Robot
2cc3611879 Merge "wifi: change H2E mode API arguemnt to tri-state enumeration" into sc-dev 2021-03-09 05:08:36 +00:00
Jimmy Chen
52d0565fc1 Merge "wifi: add comment for SAE_PK capability" into sc-dev 2021-03-03 19:13:21 +00:00
Roshan Pius
8c1a67b7af wifi: Wait for driver ready and bring up the interface when setMacAddress fails
setMacAddress may fail in some scenarios like SSR inprogress. In such
case framework is not bringing up the iface again if it was brought down
to set random MAC address. Due to this subsequent operations like scans
are failing with "Network Down" error and Wi-Fi can't recover until
Wi-Fi restarts. To avoid this bring up the iface irrespective of
setMacAddress status.

Modified the original CL to move the WifiIfaceUtil creation to inside
Wifi object since that is where the legacy HAL instance is created for
the corresponding chip. This helps keeping the setMacAddress logic still
inside WifiIfaceUtil. Modified the iface_util lifetime - no longer a
singleton, one instance created per wifi chip instance.

Bug: 174183763
Test: Wifi can be enabled when back-to-back SSR and wifi on
Change-Id: I926b59f5da126aba222e05d1e570c0c19de739ed
2021-03-03 09:00:00 -08:00
Jimmy Chen
1fd7bc3283 wifi: change H2E mode API arguemnt to tri-state enumeration
Bug: 180532458
Test: atest VtsHalWifiSupplicantV1_4TargetTest
Change-Id: Ibba7bf26e7bbe45cadc45c0e68d9fd56f4034923
2021-03-03 13:13:44 +08:00
Jimmy Chen
b471a062f9 wifi: add comment for SAE_PK capability
Bug: 181603483
Test: atest VtsHalWifiSupplicantV1_4TargetTest
Change-Id: If66f1ad0b3c44190beacb48c988c47fe8767bfee
2021-03-02 16:03:11 +08:00
TreeHugger Robot
4f8dbd55b0 Merge "Wifi: Change the type from long to int for contention time statistics" into sc-dev 2021-03-02 07:57:13 +00:00
Mingguang Xu
bfb5adeff0 Wifi: Change the type from long to int for contention time statistics
Bug: 172412545

Test: atest com.android.server.wifi

Signed-off-by: Mingguang Xu <mingguangxu@google.com>
Change-Id: I7d64013c63a38b85d4b0ea37cdc260a19049bfce
2021-02-24 23:04:00 -08:00
TreeHugger Robot
1c3453c344 Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" into sc-dev 2021-02-24 14:18:27 +00:00
Bob Badour
c22b35bf04 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  atrace/1.0/Android.bp
  atrace/1.0/default/Android.bp
  atrace/1.0/vts/functional/Android.bp
  audio/2.0/Android.bp
  audio/2.0/config/Android.bp
  audio/4.0/Android.bp
  audio/4.0/config/Android.bp
  audio/5.0/Android.bp
  audio/5.0/config/Android.bp
  audio/6.0/Android.bp
  audio/6.0/config/Android.bp
  audio/7.0/Android.bp
  audio/7.0/config/Android.bp
  audio/common/2.0/Android.bp
  audio/common/4.0/Android.bp
  audio/common/5.0/Android.bp
  audio/common/6.0/Android.bp
  audio/common/7.0/Android.bp
  audio/common/7.0/example/Android.bp
  audio/common/all-versions/default/Android.bp
  audio/common/all-versions/default/service/Android.bp
  audio/common/all-versions/test/utility/Android.bp
  audio/common/all-versions/util/Android.bp
  audio/core/all-versions/default/Android.bp
  audio/core/all-versions/default/util/Android.bp
  audio/core/all-versions/vts/functional/Android.bp
  audio/effect/2.0/Android.bp
  audio/effect/2.0/xml/Android.bp
  audio/effect/4.0/Android.bp
  audio/effect/4.0/xml/Android.bp
  audio/effect/5.0/Android.bp
  audio/effect/5.0/xml/Android.bp
  audio/effect/6.0/Android.bp
  audio/effect/6.0/xml/Android.bp
  audio/effect/7.0/Android.bp
  audio/effect/7.0/xml/Android.bp
  audio/effect/all-versions/default/Android.bp
  audio/effect/all-versions/default/util/Android.bp
  audio/effect/all-versions/vts/functional/Android.bp
  audio/policy/1.0/vts/functional/Android.bp
  audio/policy/1.0/xml/Android.bp
  audio/policy/1.0/xml/pfw_schemas/Android.bp
  authsecret/1.0/Android.bp
  authsecret/1.0/default/Android.bp
  authsecret/1.0/vts/functional/Android.bp
  authsecret/aidl/Android.bp
  authsecret/aidl/default/Android.bp
  authsecret/aidl/vts/Android.bp
  automotive/audiocontrol/1.0/Android.bp
  automotive/audiocontrol/1.0/default/Android.bp
  automotive/audiocontrol/1.0/vts/functional/Android.bp
  automotive/audiocontrol/2.0/Android.bp
  automotive/audiocontrol/2.0/default/Android.bp
  automotive/audiocontrol/2.0/vts/functional/Android.bp
  automotive/audiocontrol/aidl/Android.bp
  automotive/audiocontrol/aidl/default/Android.bp
  automotive/audiocontrol/aidl/vts/Android.bp
  automotive/can/1.0/default/libnetdevice/Android.bp
  automotive/can/1.0/default/libnl++/Android.bp
  automotive/can/1.0/hidl-utils/Android.bp
  automotive/can/1.0/tools/Android.bp
  automotive/can/1.0/tools/configurator/Android.bp
  automotive/can/1.0/tools/configurator/proto/Android.bp
  automotive/can/1.0/tools/libcanhaltools/Android.bp
  automotive/can/1.0/vts/functional/Android.bp
  automotive/can/1.0/vts/utils/Android.bp
  automotive/evs/1.0/Android.bp
  automotive/evs/1.0/default/Android.bp
  automotive/evs/1.0/vts/functional/Android.bp
  automotive/evs/1.1/Android.bp
  automotive/evs/1.1/default/Android.bp
  automotive/evs/1.1/vts/functional/Android.bp
  automotive/evs/1.1/vts/fuzzing/Android.bp
  automotive/evs/common/utils/default/Android.bp
  automotive/evs/common/utils/default/test/fuzz/Android.bp
  automotive/occupant_awareness/aidl/Android.bp
  automotive/occupant_awareness/aidl/default/Android.bp
  automotive/occupant_awareness/aidl/mock/Android.bp
  automotive/occupant_awareness/aidl/vts/functional/Android.bp
  automotive/sv/1.0/Android.bp
  automotive/sv/1.0/default/Android.bp
  automotive/sv/1.0/vts/functional/Android.bp
  automotive/vehicle/2.0/Android.bp
  automotive/vehicle/2.0/default/Android.bp
  automotive/vehicle/2.0/default/impl/vhal_v2_0/proto/Android.bp
  automotive/vehicle/2.0/utils/Android.bp
  biometrics/common/aidl/Android.bp
  biometrics/face/1.0/Android.bp
  biometrics/face/1.0/default/Android.bp
  biometrics/face/1.0/vts/functional/Android.bp
  biometrics/face/aidl/Android.bp
  biometrics/face/aidl/default/Android.bp
  biometrics/face/aidl/vts/Android.bp
  biometrics/fingerprint/2.1/Android.bp
  biometrics/fingerprint/2.1/default/Android.bp
  biometrics/fingerprint/2.1/vts/functional/Android.bp
  biometrics/fingerprint/2.2/Android.bp
  biometrics/fingerprint/2.2/default/Android.bp
  biometrics/fingerprint/2.2/vts/functional/Android.bp
  biometrics/fingerprint/2.3/Android.bp
  biometrics/fingerprint/2.3/vts/functional/Android.bp
  biometrics/fingerprint/aidl/Android.bp
  biometrics/fingerprint/aidl/default/Android.bp
  biometrics/fingerprint/aidl/vts/Android.bp
  bluetooth/1.0/Android.bp
  bluetooth/1.0/default/Android.bp
  bluetooth/1.0/vts/functional/Android.bp
  bluetooth/1.1/Android.bp
  bluetooth/1.1/default/Android.bp
  bluetooth/1.1/vts/functional/Android.bp
  bluetooth/a2dp/1.0/Android.bp
  bluetooth/a2dp/1.0/default/Android.bp
  bluetooth/a2dp/1.0/vts/functional/Android.bp
  bluetooth/audio/2.0/Android.bp
  bluetooth/audio/2.0/default/Android.bp
  bluetooth/audio/2.0/vts/functional/Android.bp
  bluetooth/audio/2.1/Android.bp
  bluetooth/audio/2.1/default/Android.bp
  bluetooth/audio/2.1/vts/functional/Android.bp
  bluetooth/audio/utils/Android.bp
  boot/1.0/Android.bp
  boot/1.0/default/Android.bp
  boot/1.0/vts/functional/Android.bp
  boot/1.1/Android.bp
  boot/1.1/default/Android.bp
  boot/1.1/default/boot_control/Android.bp
  boot/1.1/vts/functional/Android.bp
  boot/1.2/Android.bp
  boot/1.2/default/Android.bp
  boot/1.2/vts/functional/Android.bp
  broadcastradio/1.0/Android.bp
  broadcastradio/1.0/default/Android.bp
  broadcastradio/1.0/vts/functional/Android.bp
  broadcastradio/1.1/Android.bp
  broadcastradio/1.1/default/Android.bp
  broadcastradio/1.1/vts/functional/Android.bp
  broadcastradio/2.0/Android.bp
  broadcastradio/2.0/default/Android.bp
  broadcastradio/2.0/vts/functional/Android.bp
  broadcastradio/common/tests/Android.bp
  broadcastradio/common/utils/Android.bp
  broadcastradio/common/utils1x/Android.bp
  broadcastradio/common/utils2x/Android.bp
  broadcastradio/common/vts/utils/Android.bp
  camera/common/1.0/Android.bp
  camera/common/1.0/default/Android.bp
  camera/device/1.0/Android.bp
  camera/device/1.0/default/Android.bp
  camera/device/3.2/Android.bp
  camera/device/3.2/default/Android.bp
  camera/device/3.3/Android.bp
  camera/device/3.3/default/Android.bp
  camera/device/3.4/Android.bp
  camera/device/3.4/default/Android.bp
  camera/device/3.5/Android.bp
  camera/device/3.5/default/Android.bp
  camera/device/3.6/Android.bp
  camera/device/3.6/default/Android.bp
  camera/metadata/3.2/Android.bp
  camera/metadata/3.3/Android.bp
  camera/metadata/3.4/Android.bp
  camera/metadata/3.5/Android.bp
  camera/metadata/3.6/Android.bp
  camera/provider/2.4/Android.bp
  camera/provider/2.4/default/Android.bp
  camera/provider/2.4/vts/functional/Android.bp
  camera/provider/2.5/Android.bp
  camera/provider/2.5/default/Android.bp
  camera/provider/2.6/Android.bp
  cas/1.0/Android.bp
  cas/1.0/default/Android.bp
  cas/1.0/vts/functional/Android.bp
  cas/1.1/Android.bp
  cas/1.1/default/Android.bp
  cas/1.1/vts/functional/Android.bp
  cas/1.2/Android.bp
  cas/1.2/default/Android.bp
  cas/1.2/vts/functional/Android.bp
  cas/native/1.0/Android.bp
  common/aidl/Android.bp
  common/fmq/aidl/Android.bp
  common/support/Android.bp
  compatibility_matrices/Android.bp
  compatibility_matrices/Android.mk
  compatibility_matrices/build/Android.bp
  compatibility_matrices/exclude/Android.bp
  configstore/1.0/Android.bp
  configstore/1.0/vts/functional/Android.bp
  configstore/1.1/Android.bp
  configstore/1.1/default/Android.mk
  configstore/utils/Android.bp
  confirmationui/1.0/Android.bp
  confirmationui/1.0/default/Android.bp
  confirmationui/1.0/vts/functional/Android.bp
  confirmationui/support/Android.bp
  contexthub/1.0/Android.bp
  contexthub/1.0/default/Android.bp
  contexthub/1.0/vts/functional/Android.bp
  contexthub/1.1/Android.bp
  contexthub/1.1/default/Android.bp
  contexthub/1.1/vts/functional/Android.bp
  contexthub/1.2/Android.bp
  contexthub/1.2/default/Android.bp
  contexthub/1.2/vts/functional/Android.bp
  contexthub/common/default/1.X/Android.bp
  contexthub/common/default/1.X/utils/Android.bp
  contexthub/common/vts/Android.bp
  drm/1.0/Android.bp
  drm/1.0/default/Android.bp
  drm/1.0/vts/functional/Android.bp
  drm/1.1/Android.bp
  drm/1.1/vts/functional/Android.bp
  drm/1.2/Android.bp
  drm/1.2/vts/functional/Android.bp
  drm/1.3/Android.bp
  drm/1.3/vts/functional/Android.bp
  drm/1.4/Android.bp
  drm/1.4/vts/functional/Android.bp
  dumpstate/1.0/Android.bp
  dumpstate/1.0/default/Android.bp
  dumpstate/1.0/vts/functional/Android.bp
  dumpstate/1.1/Android.bp
  dumpstate/1.1/default/Android.bp
  dumpstate/1.1/vts/functional/Android.bp
  fastboot/1.0/Android.bp
  fastboot/1.0/default/Android.bp
  fastboot/1.1/Android.bp
  fastboot/1.1/default/Android.bp
  gatekeeper/1.0/Android.bp
  gatekeeper/1.0/default/Android.bp
  gatekeeper/1.0/software/Android.bp
  gatekeeper/1.0/software/tests/Android.bp
  gatekeeper/1.0/vts/functional/Android.bp
  gnss/1.0/Android.bp
  gnss/1.0/default/Android.bp
  gnss/1.0/vts/functional/Android.bp
  gnss/1.1/Android.bp
  gnss/1.1/default/Android.bp
  gnss/1.1/vts/functional/Android.bp
  gnss/2.0/Android.bp
  gnss/2.0/default/Android.bp
  gnss/2.0/vts/functional/Android.bp
  gnss/2.1/Android.bp
  gnss/2.1/default/Android.bp
  gnss/2.1/vts/functional/Android.bp
  gnss/aidl/Android.bp
  gnss/aidl/default/Android.bp
  gnss/aidl/vts/Android.bp
  gnss/common/utils/default/Android.bp
  gnss/common/utils/vts/Android.bp
  gnss/measurement_corrections/1.0/Android.bp
  gnss/measurement_corrections/1.1/Android.bp
  gnss/visibility_control/1.0/Android.bp
  graphics/allocator/2.0/Android.bp
  graphics/allocator/2.0/default/Android.bp
  graphics/allocator/2.0/utils/gralloc1-adapter/Android.bp
  graphics/allocator/2.0/utils/hal/Android.bp
  graphics/allocator/2.0/utils/passthrough/Android.bp
  graphics/allocator/3.0/Android.bp
  graphics/allocator/4.0/Android.bp
  graphics/bufferqueue/1.0/Android.bp
  graphics/bufferqueue/2.0/Android.bp
  graphics/common/1.0/Android.bp
  graphics/common/1.1/Android.bp
  graphics/common/1.2/Android.bp
  graphics/common/aidl/Android.bp
  graphics/composer/2.1/Android.bp
  graphics/composer/2.1/default/Android.bp
  graphics/composer/2.1/utils/command-buffer/Android.bp
  graphics/composer/2.1/utils/hal/Android.bp
  graphics/composer/2.1/utils/hwc2on1adapter/Android.bp
  graphics/composer/2.1/utils/hwc2onfbadapter/Android.bp
  graphics/composer/2.1/utils/passthrough/Android.bp
  graphics/composer/2.1/utils/resources/Android.bp
  graphics/composer/2.1/utils/vts/Android.bp
  graphics/composer/2.1/vts/functional/Android.bp
  graphics/composer/2.2/Android.bp
  graphics/composer/2.2/default/Android.mk
  graphics/composer/2.2/utils/command-buffer/Android.bp
  graphics/composer/2.2/utils/hal/Android.bp
  graphics/composer/2.2/utils/passthrough/Android.bp
  graphics/composer/2.2/utils/resources/Android.bp
  graphics/composer/2.2/utils/vts/Android.bp
  graphics/composer/2.2/vts/functional/Android.bp
  graphics/composer/2.3/Android.bp
  graphics/composer/2.3/default/Android.bp
  graphics/composer/2.3/utils/command-buffer/Android.bp
  graphics/composer/2.3/utils/hal/Android.bp
  graphics/composer/2.3/utils/passthrough/Android.bp
  graphics/composer/2.3/utils/vts/Android.bp
  graphics/composer/2.3/vts/functional/Android.bp
  graphics/composer/2.4/Android.bp
  graphics/composer/2.4/default/Android.bp
  graphics/composer/2.4/utils/command-buffer/Android.bp
  graphics/composer/2.4/utils/hal/Android.bp
  graphics/composer/2.4/utils/passthrough/Android.bp
  graphics/composer/2.4/utils/vts/Android.bp
  graphics/composer/2.4/vts/functional/Android.bp
  graphics/mapper/2.0/Android.bp
  graphics/mapper/2.0/default/Android.bp
  graphics/mapper/2.0/utils/hal/Android.bp
  graphics/mapper/2.0/utils/passthrough/Android.bp
  graphics/mapper/2.0/utils/vts/Android.bp
  graphics/mapper/2.0/vts/functional/Android.bp
  graphics/mapper/2.1/Android.bp
  graphics/mapper/2.1/default/Android.bp
  graphics/mapper/2.1/utils/hal/Android.bp
  graphics/mapper/2.1/utils/passthrough/Android.bp
  graphics/mapper/2.1/utils/vts/Android.bp
  graphics/mapper/2.1/vts/functional/Android.bp
  graphics/mapper/3.0/Android.bp
  graphics/mapper/3.0/utils/vts/Android.bp
  graphics/mapper/3.0/vts/functional/Android.bp
  graphics/mapper/4.0/Android.bp
  graphics/mapper/4.0/utils/vts/Android.bp
  graphics/mapper/4.0/vts/functional/Android.bp
  health/1.0/Android.bp
  health/1.0/default/Android.bp
  health/2.0/Android.bp
  health/2.0/default/Android.bp
  health/2.0/utils/libhealthhalutils/Android.bp
  health/2.0/utils/libhealthservice/Android.bp
  health/2.0/utils/libhealthstoragedefault/Android.bp
  health/2.0/vts/functional/Android.bp
  health/2.1/Android.bp
  health/2.1/default/Android.bp
  health/2.1/vts/functional/Android.bp
  health/storage/1.0/Android.bp
  health/storage/1.0/default/Android.bp
  health/storage/1.0/vts/functional/Android.bp
  health/storage/aidl/Android.bp
  health/storage/aidl/default/Android.bp
  health/storage/aidl/vts/functional/Android.bp
  health/storage/impl_common/Android.bp
  health/storage/test_common/Android.bp
  health/utils/libhealth2impl/Android.bp
  health/utils/libhealthloop/Android.bp
  identity/aidl/Android.bp
  identity/aidl/default/Android.bp
  identity/aidl/vts/Android.bp
  identity/support/Android.bp
  input/classifier/1.0/Android.bp
  input/classifier/1.0/default/Android.bp
  input/classifier/1.0/vts/functional/Android.bp
  input/common/1.0/Android.bp
  ir/1.0/Android.bp
  ir/1.0/default/Android.bp
  ir/1.0/vts/functional/Android.bp
  keymaster/3.0/Android.bp
  keymaster/3.0/default/Android.mk
  keymaster/3.0/vts/functional/Android.bp
  keymaster/4.0/Android.bp
  keymaster/4.0/default/Android.bp
  keymaster/4.0/support/Android.bp
  keymaster/4.0/vts/functional/Android.bp
  keymaster/4.0/vts/performance/Android.bp
  keymaster/4.1/Android.bp
  keymaster/4.1/default/Android.bp
  keymaster/4.1/support/Android.bp
  keymaster/4.1/vts/functional/Android.bp
  keymaster/aidl/Android.bp
  light/2.0/Android.bp
  light/2.0/default/Android.bp
  light/2.0/vts/functional/Android.bp
  light/aidl/Android.bp
  light/aidl/default/Android.bp
  light/aidl/vts/functional/Android.bp
  light/utils/Android.bp
  media/1.0/Android.bp
  media/1.0/xml/Android.mk
  media/Android.bp
  media/bufferpool/1.0/Android.bp
  media/bufferpool/2.0/Android.bp
  media/c2/1.0/Android.bp
  media/c2/1.1/Android.bp
  media/omx/1.0/Android.bp
  media/omx/1.0/vts/functional/audio/Android.bp
  media/omx/1.0/vts/functional/common/Android.bp
  media/omx/1.0/vts/functional/component/Android.bp
  media/omx/1.0/vts/functional/store/Android.bp
  media/omx/1.0/vts/functional/video/Android.bp
  memtrack/1.0/Android.bp
  memtrack/1.0/default/Android.bp
  memtrack/1.0/vts/functional/Android.bp
  memtrack/aidl/Android.bp
  memtrack/aidl/default/Android.bp
  memtrack/aidl/vts/Android.bp
  neuralnetworks/1.0/Android.bp
  neuralnetworks/1.0/utils/Android.bp
  neuralnetworks/1.0/vts/functional/Android.bp
  neuralnetworks/1.1/Android.bp
  neuralnetworks/1.1/utils/Android.bp
  neuralnetworks/1.1/vts/functional/Android.bp
  neuralnetworks/1.2/Android.bp
  neuralnetworks/1.2/utils/Android.bp
  neuralnetworks/1.2/vts/functional/Android.bp
  neuralnetworks/1.3/Android.bp
  neuralnetworks/1.3/utils/Android.bp
  neuralnetworks/1.3/vts/functional/Android.bp
  neuralnetworks/aidl/Android.bp
  neuralnetworks/aidl/utils/Android.bp
  neuralnetworks/aidl/vts/functional/Android.bp
  neuralnetworks/utils/common/Android.bp
  neuralnetworks/utils/service/Android.bp
  nfc/1.0/Android.bp
  nfc/1.0/default/Android.bp
  nfc/1.0/vts/functional/Android.bp
  nfc/1.1/Android.bp
  nfc/1.1/vts/functional/Android.bp
  nfc/1.2/Android.bp
  nfc/1.2/vts/functional/Android.bp
  oemlock/1.0/Android.bp
  oemlock/1.0/vts/functional/Android.bp
  oemlock/aidl/Android.bp
  oemlock/aidl/default/Android.bp
  oemlock/aidl/vts/Android.bp
  power/1.0/Android.bp
  power/1.0/default/Android.bp
  power/1.0/vts/functional/Android.bp
  power/1.1/Android.bp
  power/1.1/vts/functional/Android.bp
  power/1.2/Android.bp
  power/1.2/vts/functional/Android.bp
  power/1.3/Android.bp
  power/1.3/vts/functional/Android.bp
  power/aidl/Android.bp
  power/aidl/default/Android.bp
  power/aidl/vts/Android.bp
  power/stats/1.0/Android.bp
  power/stats/1.0/default/Android.bp
  power/stats/1.0/vts/functional/Android.bp
  power/stats/aidl/Android.bp
  power/stats/aidl/default/Android.bp
  power/stats/aidl/vts/Android.bp
  radio/1.0/Android.bp
  radio/1.0/vts/functional/Android.bp
  radio/1.1/Android.bp
  radio/1.1/vts/functional/Android.bp
  radio/1.2/Android.bp
  radio/1.2/default/Android.bp
  radio/1.2/vts/functional/Android.bp
  radio/1.3/Android.bp
  radio/1.3/vts/functional/Android.bp
  radio/1.4/Android.bp
  radio/1.4/vts/functional/Android.bp
  radio/1.5/Android.bp
  radio/1.5/vts/functional/Android.bp
  radio/1.6/Android.bp
  radio/1.6/vts/functional/Android.bp
  radio/config/1.0/Android.bp
  radio/config/1.0/default/Android.bp
  radio/config/1.0/vts/functional/Android.bp
  radio/config/1.1/Android.bp
  radio/config/1.1/vts/functional/Android.bp
  radio/config/1.2/Android.bp
  radio/config/1.2/vts/functional/Android.bp
  radio/config/1.3/Android.bp
  radio/config/1.3/vts/functional/Android.bp
  radio/deprecated/1.0/Android.bp
  rebootescrow/aidl/Android.bp
  rebootescrow/aidl/default/Android.bp
  rebootescrow/aidl/vts/functional/Android.bp
  renderscript/1.0/Android.bp
  renderscript/1.0/default/Android.bp
  renderscript/1.0/vts/functional/Android.bp
  secure_element/1.0/Android.bp
  secure_element/1.0/vts/functional/Android.bp
  secure_element/1.1/Android.bp
  secure_element/1.1/vts/functional/Android.bp
  secure_element/1.2/Android.bp
  secure_element/1.2/vts/functional/Android.bp
  security/keymint/aidl/Android.bp
  security/keymint/aidl/default/Android.bp
  security/keymint/aidl/vts/functional/Android.bp
  security/keymint/aidl/vts/performance/Android.bp
  security/keymint/support/Android.bp
  security/secureclock/aidl/Android.bp
  security/secureclock/aidl/vts/functional/Android.bp
  security/sharedsecret/aidl/Android.bp
  security/sharedsecret/aidl/vts/functional/Android.bp
  sensors/1.0/Android.bp
  sensors/1.0/default/Android.bp
  sensors/1.0/vts/functional/Android.bp
  sensors/2.0/Android.bp
  sensors/2.0/default/Android.bp
  sensors/2.0/multihal/Android.bp
  sensors/2.0/vts/functional/Android.bp
  sensors/2.1/Android.bp
  sensors/2.1/default/Android.bp
  sensors/2.1/multihal/Android.bp
  sensors/2.1/vts/functional/Android.bp
  sensors/common/default/2.X/Android.bp
  sensors/common/default/2.X/multihal/Android.bp
  sensors/common/default/2.X/multihal/tests/Android.bp
  sensors/common/utils/Android.bp
  sensors/common/vts/2_X/Android.bp
  sensors/common/vts/utils/Android.bp
  soundtrigger/2.0/Android.bp
  soundtrigger/2.0/default/Android.bp
  soundtrigger/2.0/default/Android.mk
  soundtrigger/2.0/vts/functional/Android.bp
  soundtrigger/2.1/Android.bp
  soundtrigger/2.1/default/Android.mk
  soundtrigger/2.1/vts/functional/Android.bp
  soundtrigger/2.2/Android.bp
  soundtrigger/2.2/default/Android.bp
  soundtrigger/2.2/vts/functional/Android.bp
  soundtrigger/2.3/Android.bp
  soundtrigger/2.3/default/Android.bp
  soundtrigger/2.3/vts/functional/Android.bp
  tests/bar/1.0/Android.bp
  tests/bar/1.0/default/Android.bp
  tests/baz/1.0/Android.bp
  tests/baz/1.0/default/Android.bp
  tests/expression/1.0/Android.bp
  tests/extension/light/2.0/Android.bp
  tests/extension/light/2.0/default/Android.bp
  tests/extension/vibrator/aidl/Android.bp
  tests/extension/vibrator/aidl/client/Android.bp
  tests/extension/vibrator/aidl/default/Android.bp
  tests/foo/1.0/Android.bp
  tests/foo/1.0/default/Android.bp
  tests/foo/1.0/default/lib/Android.bp
  tests/hash/1.0/Android.bp
  tests/hash/1.0/default/Android.bp
  tests/inheritance/1.0/Android.bp
  tests/inheritance/1.0/default/Android.bp
  tests/lazy/1.0/Android.bp
  tests/lazy/1.1/Android.bp
  tests/libhwbinder/1.0/Android.bp
  tests/libhwbinder/1.0/default/Android.bp
  tests/libhwbinder/aidl/Android.bp
  tests/memory/1.0/Android.bp
  tests/memory/1.0/default/Android.bp
  tests/memory/2.0/Android.bp
  tests/msgq/1.0/Android.bp
  tests/msgq/1.0/default/Android.bp
  tests/multithread/1.0/Android.bp
  tests/multithread/1.0/default/Android.bp
  tests/safeunion/1.0/Android.bp
  tests/safeunion/1.0/default/Android.bp
  tests/safeunion/cpp/1.0/Android.bp
  tests/safeunion/cpp/1.0/default/Android.bp
  tests/trie/1.0/Android.bp
  tests/trie/1.0/default/Android.bp
  tetheroffload/config/1.0/Android.bp
  tetheroffload/config/1.0/vts/functional/Android.bp
  tetheroffload/control/1.0/Android.bp
  tetheroffload/control/1.0/vts/functional/Android.bp
  tetheroffload/control/1.1/Android.bp
  tetheroffload/control/1.1/vts/functional/Android.bp
  thermal/1.0/Android.bp
  thermal/1.0/default/Android.bp
  thermal/1.0/vts/functional/Android.bp
  thermal/1.1/Android.bp
  thermal/1.1/vts/functional/Android.bp
  thermal/2.0/Android.bp
  thermal/2.0/default/Android.bp
  thermal/2.0/vts/functional/Android.bp
  tv/cec/1.0/Android.bp
  tv/cec/1.0/default/Android.bp
  tv/cec/1.1/Android.bp
  tv/cec/1.1/default/Android.bp
  tv/cec/1.1/vts/functional/Android.bp
  tv/input/1.0/Android.bp
  tv/input/1.0/default/Android.bp
  tv/input/1.0/vts/functional/Android.bp
  tv/tuner/1.0/Android.bp
  tv/tuner/1.0/default/Android.bp
  tv/tuner/1.0/vts/functional/Android.bp
  tv/tuner/1.1/Android.bp
  tv/tuner/1.1/default/Android.bp
  tv/tuner/1.1/vts/functional/Android.bp
  tv/tuner/assets/Android.bp
  usb/1.0/Android.bp
  usb/1.0/default/Android.bp
  usb/1.0/vts/functional/Android.bp
  usb/1.1/Android.bp
  usb/1.1/vts/functional/Android.bp
  usb/1.2/Android.bp
  usb/1.2/vts/functional/Android.bp
  usb/1.3/Android.bp
  usb/1.3/vts/functional/Android.bp
  usb/gadget/1.0/Android.bp
  usb/gadget/1.1/Android.bp
  usb/gadget/1.1/default/Android.bp
  usb/gadget/1.1/default/lib/Android.bp
  usb/gadget/1.2/Android.bp
  usb/gadget/1.2/default/Android.bp
  usb/gadget/1.2/default/lib/Android.bp
  vibrator/1.0/Android.bp
  vibrator/1.0/default/Android.bp
  vibrator/1.0/vts/functional/Android.bp
  vibrator/1.1/Android.bp
  vibrator/1.1/vts/functional/Android.bp
  vibrator/1.2/Android.bp
  vibrator/1.2/vts/functional/Android.bp
  vibrator/1.3/Android.bp
  vibrator/1.3/example/Android.bp
  vibrator/1.3/vts/functional/Android.bp
  vibrator/aidl/Android.bp
  vibrator/aidl/default/Android.bp
  vibrator/aidl/vts/Android.bp
  vibrator/bench/Android.bp
  vr/1.0/Android.bp
  vr/1.0/default/Android.bp
  vr/1.0/vts/functional/Android.bp
  weaver/1.0/Android.bp
  weaver/1.0/vts/functional/Android.bp
  weaver/aidl/Android.bp
  weaver/aidl/default/Android.bp
  weaver/aidl/vts/Android.bp
  wifi/1.0/Android.bp
  wifi/1.0/vts/functional/Android.bp
  wifi/1.1/Android.bp
  wifi/1.1/vts/functional/Android.bp
  wifi/1.2/Android.bp
  wifi/1.2/vts/functional/Android.bp
  wifi/1.3/Android.bp
  wifi/1.3/vts/functional/Android.bp
  wifi/1.4/Android.bp
  wifi/1.4/vts/functional/Android.bp
  wifi/1.5/Android.bp
  wifi/1.5/default/Android.mk
  wifi/1.5/vts/functional/Android.bp
  wifi/hostapd/1.0/Android.bp
  wifi/hostapd/1.0/vts/functional/Android.bp
  wifi/hostapd/1.1/Android.bp
  wifi/hostapd/1.1/vts/functional/Android.bp
  wifi/hostapd/1.2/Android.bp
  wifi/hostapd/1.2/vts/functional/Android.bp
  wifi/hostapd/1.3/Android.bp
  wifi/hostapd/1.3/vts/functional/Android.bp
  wifi/offload/1.0/Android.bp
  wifi/offload/1.0/vts/functional/Android.bp
  wifi/supplicant/1.0/Android.bp
  wifi/supplicant/1.0/vts/functional/Android.bp
  wifi/supplicant/1.1/Android.bp
  wifi/supplicant/1.1/vts/functional/Android.bp
  wifi/supplicant/1.2/Android.bp
  wifi/supplicant/1.2/vts/functional/Android.bp
  wifi/supplicant/1.3/Android.bp
  wifi/supplicant/1.3/vts/functional/Android.bp
  wifi/supplicant/1.4/Android.bp
  wifi/supplicant/1.4/vts/functional/Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-NCSA to:
  Android.bp
  automotive/can/1.0/Android.bp
  automotive/can/1.0/default/Android.bp

Added SPDX-license-identifier-NCSA to:
  automotive/can/1.0/default/libc++fs/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: If5e9ac8023cdc10d2370d16e7dd75a4bbb7085aa
2021-02-23 14:26:20 -08:00
Mingguang Xu
56ce3287a2 Merge "WiFi: Get contention time stats from wifi_wmm_ac_stat in link_layer_stats" into sc-dev 2021-02-23 19:22:00 +00:00
TreeHugger Robot
f2137a93e4 Merge "resolve merge conflicts of 5c715dd65b to sc-dev" into sc-dev 2021-02-23 06:59:56 +00:00
TreeHugger Robot
d66a7e373b Merge "[WifiCoex] Fix VTS test for implemented hal" into sc-dev 2021-02-23 05:42:37 +00:00
Mingguang Xu
a6d0b847db WiFi: Get contention time stats from wifi_wmm_ac_stat in link_layer_stats
Bug: 172412545

Test: atest VtsHalWifiV1_5TargetTest

Signed-off-by: Mingguang Xu <mingguangxu@google.com>
Change-Id: Iab7ae64f55d2b3a2a654492f7566c8df2671c230
2021-02-22 16:33:09 -08:00
Quang Luong
4f05f7c2de [WifiCoex] Fix VTS test for implemented hal
Fix coex VTS test by configuring chip for sta iface before invoking the
coex hal api.

Bug: 177929636
Test: atest VtsHalWifiV1_5TargetTest
Change-Id: I5ead53e603a2136e3c8b2d931c512e6d337f4ba7
2021-02-22 11:13:54 -08:00
Bob Badour
564733607c resolve merge conflicts of 5c715dd65b to sc-dev
Change-Id: Ie3809f388a44d735303118366331679aa63a5944
2021-02-22 15:58:32 +00:00
Bob Badour
b224b363de [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  atrace/1.0/Android.bp
  atrace/1.0/default/Android.bp
  atrace/1.0/vts/functional/Android.bp
  audio/2.0/Android.bp
  audio/2.0/config/Android.bp
  audio/4.0/Android.bp
  audio/4.0/config/Android.bp
  audio/5.0/Android.bp
  audio/5.0/config/Android.bp
  audio/6.0/Android.bp
  audio/6.0/config/Android.bp
  audio/7.0/Android.bp
  audio/7.0/config/Android.bp
  audio/common/2.0/Android.bp
  audio/common/4.0/Android.bp
  audio/common/5.0/Android.bp
  audio/common/6.0/Android.bp
  audio/common/7.0/Android.bp
  audio/common/7.0/example/Android.bp
  audio/common/all-versions/default/Android.bp
  audio/common/all-versions/default/service/Android.bp
  audio/common/all-versions/test/utility/Android.bp
  audio/common/all-versions/util/Android.bp
  audio/core/all-versions/default/Android.bp
  audio/core/all-versions/default/util/Android.bp
  audio/core/all-versions/vts/functional/Android.bp
  audio/effect/2.0/Android.bp
  audio/effect/2.0/xml/Android.bp
  audio/effect/4.0/Android.bp
  audio/effect/4.0/xml/Android.bp
  audio/effect/5.0/Android.bp
  audio/effect/5.0/xml/Android.bp
  audio/effect/6.0/Android.bp
  audio/effect/6.0/xml/Android.bp
  audio/effect/7.0/Android.bp
  audio/effect/7.0/xml/Android.bp
  audio/effect/all-versions/default/Android.bp
  audio/effect/all-versions/default/util/Android.bp
  audio/effect/all-versions/vts/functional/Android.bp
  audio/policy/1.0/vts/functional/Android.bp
  audio/policy/1.0/xml/Android.bp
  audio/policy/1.0/xml/pfw_schemas/Android.bp
  authsecret/1.0/Android.bp
  authsecret/1.0/default/Android.bp
  authsecret/1.0/vts/functional/Android.bp
  authsecret/aidl/Android.bp
  authsecret/aidl/default/Android.bp
  authsecret/aidl/vts/Android.bp
  automotive/audiocontrol/1.0/Android.bp
  automotive/audiocontrol/1.0/default/Android.bp
  automotive/audiocontrol/1.0/vts/functional/Android.bp
  automotive/audiocontrol/2.0/Android.bp
  automotive/audiocontrol/2.0/default/Android.bp
  automotive/audiocontrol/2.0/vts/functional/Android.bp
  automotive/can/1.0/default/libnetdevice/Android.bp
  automotive/can/1.0/hidl-utils/Android.bp
  automotive/can/1.0/tools/Android.bp
  automotive/can/1.0/tools/configurator/Android.bp
  automotive/can/1.0/tools/configurator/proto/Android.bp
  automotive/can/1.0/tools/libcanhaltools/Android.bp
  automotive/can/1.0/vts/functional/Android.bp
  automotive/can/1.0/vts/utils/Android.bp
  automotive/evs/1.0/Android.bp
  automotive/evs/1.0/default/Android.bp
  automotive/evs/1.0/vts/functional/Android.bp
  automotive/evs/1.1/Android.bp
  automotive/evs/1.1/default/Android.bp
  automotive/evs/1.1/vts/functional/Android.bp
  automotive/evs/1.1/vts/fuzzing/Android.bp
  automotive/evs/common/utils/default/Android.bp
  automotive/evs/common/utils/default/test/fuzz/Android.bp
  automotive/occupant_awareness/aidl/Android.bp
  automotive/occupant_awareness/aidl/default/Android.bp
  automotive/occupant_awareness/aidl/mock/Android.bp
  automotive/occupant_awareness/aidl/vts/functional/Android.bp
  automotive/sv/1.0/Android.bp
  automotive/sv/1.0/default/Android.bp
  automotive/sv/1.0/vts/functional/Android.bp
  automotive/vehicle/2.0/Android.bp
  automotive/vehicle/2.0/default/Android.bp
  automotive/vehicle/2.0/default/impl/vhal_v2_0/proto/Android.bp
  automotive/vehicle/2.0/utils/Android.bp
  biometrics/face/1.0/Android.bp
  biometrics/face/1.0/default/Android.bp
  biometrics/face/1.0/vts/functional/Android.bp
  biometrics/fingerprint/2.1/Android.bp
  biometrics/fingerprint/2.1/default/Android.bp
  biometrics/fingerprint/2.1/vts/functional/Android.bp
  biometrics/fingerprint/2.2/Android.bp
  biometrics/fingerprint/2.2/vts/functional/Android.bp
  bluetooth/1.0/Android.bp
  bluetooth/1.0/default/Android.bp
  bluetooth/1.0/vts/functional/Android.bp
  bluetooth/1.1/Android.bp
  bluetooth/1.1/default/Android.bp
  bluetooth/1.1/vts/functional/Android.bp
  bluetooth/a2dp/1.0/Android.bp
  bluetooth/a2dp/1.0/default/Android.bp
  bluetooth/a2dp/1.0/vts/functional/Android.bp
  bluetooth/audio/2.0/Android.bp
  bluetooth/audio/2.0/default/Android.bp
  bluetooth/audio/2.0/vts/functional/Android.bp
  bluetooth/audio/2.1/Android.bp
  bluetooth/audio/2.1/default/Android.bp
  bluetooth/audio/2.1/vts/functional/Android.bp
  bluetooth/audio/utils/Android.bp
  boot/1.0/Android.bp
  boot/1.0/default/Android.bp
  boot/1.0/vts/functional/Android.bp
  boot/1.1/Android.bp
  boot/1.1/default/Android.bp
  boot/1.1/default/boot_control/Android.bp
  boot/1.1/vts/functional/Android.bp
  boot/1.2/Android.bp
  boot/1.2/default/Android.bp
  boot/1.2/vts/functional/Android.bp
  broadcastradio/1.0/Android.bp
  broadcastradio/1.0/default/Android.bp
  broadcastradio/1.0/vts/functional/Android.bp
  broadcastradio/1.1/Android.bp
  broadcastradio/1.1/default/Android.bp
  broadcastradio/1.1/vts/functional/Android.bp
  broadcastradio/2.0/Android.bp
  broadcastradio/2.0/default/Android.bp
  broadcastradio/2.0/vts/functional/Android.bp
  broadcastradio/common/tests/Android.bp
  broadcastradio/common/utils/Android.bp
  broadcastradio/common/utils1x/Android.bp
  broadcastradio/common/utils2x/Android.bp
  broadcastradio/common/vts/utils/Android.bp
  camera/common/1.0/Android.bp
  camera/common/1.0/default/Android.bp
  camera/device/1.0/Android.bp
  camera/device/1.0/default/Android.bp
  camera/device/3.2/Android.bp
  camera/device/3.2/default/Android.bp
  camera/device/3.3/Android.bp
  camera/device/3.3/default/Android.bp
  camera/device/3.4/Android.bp
  camera/device/3.4/default/Android.bp
  camera/device/3.5/Android.bp
  camera/device/3.5/default/Android.bp
  camera/device/3.6/Android.bp
  camera/device/3.6/default/Android.bp
  camera/metadata/3.2/Android.bp
  camera/metadata/3.3/Android.bp
  camera/metadata/3.4/Android.bp
  camera/metadata/3.5/Android.bp
  camera/provider/2.4/Android.bp
  camera/provider/2.4/default/Android.bp
  camera/provider/2.4/vts/functional/Android.bp
  camera/provider/2.5/Android.bp
  camera/provider/2.5/default/Android.bp
  camera/provider/2.6/Android.bp
  cas/1.0/Android.bp
  cas/1.0/default/Android.bp
  cas/1.0/vts/functional/Android.bp
  cas/1.1/Android.bp
  cas/1.1/default/Android.bp
  cas/1.1/vts/functional/Android.bp
  cas/1.2/Android.bp
  cas/1.2/default/Android.bp
  cas/1.2/vts/functional/Android.bp
  cas/native/1.0/Android.bp
  common/aidl/Android.bp
  common/fmq/aidl/Android.bp
  common/support/Android.bp
  compatibility_matrices/Android.bp
  compatibility_matrices/Android.mk
  compatibility_matrices/build/Android.bp
  compatibility_matrices/exclude/Android.bp
  configstore/1.0/Android.bp
  configstore/1.0/vts/functional/Android.bp
  configstore/1.1/Android.bp
  configstore/1.1/default/Android.mk
  configstore/utils/Android.bp
  confirmationui/1.0/Android.bp
  confirmationui/1.0/default/Android.bp
  confirmationui/1.0/vts/functional/Android.bp
  confirmationui/support/Android.bp
  contexthub/1.0/Android.bp
  contexthub/1.0/default/Android.bp
  contexthub/1.0/vts/functional/Android.bp
  contexthub/1.1/Android.bp
  contexthub/1.1/default/Android.bp
  contexthub/1.1/vts/functional/Android.bp
  contexthub/common/vts/Android.bp
  drm/1.0/Android.bp
  drm/1.0/default/Android.bp
  drm/1.0/vts/functional/Android.bp
  drm/1.1/Android.bp
  drm/1.1/vts/functional/Android.bp
  drm/1.2/Android.bp
  drm/1.2/vts/functional/Android.bp
  drm/1.3/Android.bp
  drm/1.3/vts/functional/Android.bp
  dumpstate/1.0/Android.bp
  dumpstate/1.0/default/Android.bp
  dumpstate/1.0/vts/functional/Android.bp
  dumpstate/1.1/Android.bp
  dumpstate/1.1/default/Android.bp
  dumpstate/1.1/vts/functional/Android.bp
  fastboot/1.0/Android.bp
  fastboot/1.0/default/Android.bp
  fastboot/1.1/Android.bp
  fastboot/1.1/default/Android.bp
  gatekeeper/1.0/Android.bp
  gatekeeper/1.0/default/Android.bp
  gatekeeper/1.0/software/Android.bp
  gatekeeper/1.0/software/tests/Android.bp
  gatekeeper/1.0/vts/functional/Android.bp
  gnss/1.0/Android.bp
  gnss/1.0/default/Android.bp
  gnss/1.0/vts/functional/Android.bp
  gnss/1.1/Android.bp
  gnss/1.1/default/Android.bp
  gnss/1.1/vts/functional/Android.bp
  gnss/2.0/Android.bp
  gnss/2.0/default/Android.bp
  gnss/2.0/vts/functional/Android.bp
  gnss/2.1/Android.bp
  gnss/2.1/default/Android.bp
  gnss/2.1/vts/functional/Android.bp
  gnss/common/utils/default/Android.bp
  gnss/common/utils/vts/Android.bp
  gnss/measurement_corrections/1.0/Android.bp
  gnss/measurement_corrections/1.1/Android.bp
  gnss/visibility_control/1.0/Android.bp
  graphics/allocator/2.0/Android.bp
  graphics/allocator/2.0/default/Android.bp
  graphics/allocator/2.0/utils/gralloc1-adapter/Android.bp
  graphics/allocator/2.0/utils/hal/Android.bp
  graphics/allocator/2.0/utils/passthrough/Android.bp
  graphics/allocator/3.0/Android.bp
  graphics/allocator/4.0/Android.bp
  graphics/bufferqueue/1.0/Android.bp
  graphics/bufferqueue/2.0/Android.bp
  graphics/common/1.0/Android.bp
  graphics/common/1.1/Android.bp
  graphics/common/1.2/Android.bp
  graphics/common/aidl/Android.bp
  graphics/composer/2.1/Android.bp
  graphics/composer/2.1/default/Android.bp
  graphics/composer/2.1/utils/command-buffer/Android.bp
  graphics/composer/2.1/utils/hal/Android.bp
  graphics/composer/2.1/utils/hwc2on1adapter/Android.bp
  graphics/composer/2.1/utils/hwc2onfbadapter/Android.bp
  graphics/composer/2.1/utils/passthrough/Android.bp
  graphics/composer/2.1/utils/resources/Android.bp
  graphics/composer/2.1/utils/vts/Android.bp
  graphics/composer/2.1/vts/functional/Android.bp
  graphics/composer/2.2/Android.bp
  graphics/composer/2.2/default/Android.mk
  graphics/composer/2.2/utils/command-buffer/Android.bp
  graphics/composer/2.2/utils/hal/Android.bp
  graphics/composer/2.2/utils/passthrough/Android.bp
  graphics/composer/2.2/utils/resources/Android.bp
  graphics/composer/2.2/utils/vts/Android.bp
  graphics/composer/2.2/vts/functional/Android.bp
  graphics/composer/2.3/Android.bp
  graphics/composer/2.3/default/Android.bp
  graphics/composer/2.3/utils/command-buffer/Android.bp
  graphics/composer/2.3/utils/hal/Android.bp
  graphics/composer/2.3/utils/passthrough/Android.bp
  graphics/composer/2.3/utils/vts/Android.bp
  graphics/composer/2.3/vts/functional/Android.bp
  graphics/composer/2.4/Android.bp
  graphics/composer/2.4/default/Android.bp
  graphics/composer/2.4/utils/command-buffer/Android.bp
  graphics/composer/2.4/utils/hal/Android.bp
  graphics/composer/2.4/utils/passthrough/Android.bp
  graphics/composer/2.4/utils/vts/Android.bp
  graphics/composer/2.4/vts/functional/Android.bp
  graphics/mapper/2.0/Android.bp
  graphics/mapper/2.0/default/Android.bp
  graphics/mapper/2.0/utils/hal/Android.bp
  graphics/mapper/2.0/utils/passthrough/Android.bp
  graphics/mapper/2.0/utils/vts/Android.bp
  graphics/mapper/2.0/vts/functional/Android.bp
  graphics/mapper/2.1/Android.bp
  graphics/mapper/2.1/default/Android.bp
  graphics/mapper/2.1/utils/hal/Android.bp
  graphics/mapper/2.1/utils/passthrough/Android.bp
  graphics/mapper/2.1/utils/vts/Android.bp
  graphics/mapper/2.1/vts/functional/Android.bp
  graphics/mapper/3.0/Android.bp
  graphics/mapper/3.0/utils/vts/Android.bp
  graphics/mapper/3.0/vts/functional/Android.bp
  graphics/mapper/4.0/Android.bp
  graphics/mapper/4.0/utils/vts/Android.bp
  graphics/mapper/4.0/vts/functional/Android.bp
  health/1.0/Android.bp
  health/1.0/default/Android.bp
  health/2.0/Android.bp
  health/2.0/default/Android.bp
  health/2.0/utils/libhealthhalutils/Android.bp
  health/2.0/utils/libhealthservice/Android.bp
  health/2.0/utils/libhealthstoragedefault/Android.bp
  health/2.0/vts/functional/Android.bp
  health/2.1/Android.bp
  health/2.1/default/Android.bp
  health/2.1/vts/functional/Android.bp
  health/storage/1.0/Android.bp
  health/storage/1.0/default/Android.bp
  health/storage/1.0/vts/functional/Android.bp
  health/storage/aidl/Android.bp
  health/storage/aidl/default/Android.bp
  health/storage/aidl/vts/functional/Android.bp
  health/storage/impl_common/Android.bp
  health/storage/test_common/Android.bp
  health/utils/libhealth2impl/Android.bp
  health/utils/libhealthloop/Android.bp
  identity/aidl/Android.bp
  identity/aidl/default/Android.bp
  identity/aidl/vts/Android.bp
  identity/support/Android.bp
  input/classifier/1.0/Android.bp
  input/classifier/1.0/default/Android.bp
  input/classifier/1.0/vts/functional/Android.bp
  input/common/1.0/Android.bp
  ir/1.0/Android.bp
  ir/1.0/default/Android.bp
  ir/1.0/vts/functional/Android.bp
  keymaster/3.0/Android.bp
  keymaster/3.0/default/Android.mk
  keymaster/3.0/vts/functional/Android.bp
  keymaster/4.0/Android.bp
  keymaster/4.0/default/Android.bp
  keymaster/4.0/support/Android.bp
  keymaster/4.0/vts/functional/Android.bp
  keymaster/4.0/vts/performance/Android.bp
  keymaster/4.1/Android.bp
  keymaster/4.1/default/Android.bp
  keymaster/4.1/support/Android.bp
  keymaster/4.1/vts/functional/Android.bp
  keymaster/aidl/Android.bp
  light/2.0/Android.bp
  light/2.0/default/Android.bp
  light/2.0/vts/functional/Android.bp
  light/aidl/Android.bp
  light/aidl/default/Android.bp
  light/aidl/vts/functional/Android.bp
  light/utils/Android.bp
  media/1.0/Android.bp
  media/1.0/xml/Android.mk
  media/Android.bp
  media/bufferpool/1.0/Android.bp
  media/bufferpool/2.0/Android.bp
  media/c2/1.0/Android.bp
  media/c2/1.1/Android.bp
  media/omx/1.0/Android.bp
  media/omx/1.0/vts/functional/audio/Android.bp
  media/omx/1.0/vts/functional/common/Android.bp
  media/omx/1.0/vts/functional/component/Android.bp
  media/omx/1.0/vts/functional/store/Android.bp
  media/omx/1.0/vts/functional/video/Android.bp
  memtrack/1.0/Android.bp
  memtrack/1.0/default/Android.bp
  memtrack/1.0/vts/functional/Android.bp
  memtrack/aidl/Android.bp
  memtrack/aidl/default/Android.bp
  memtrack/aidl/vts/Android.bp
  neuralnetworks/1.0/Android.bp
  neuralnetworks/1.0/utils/Android.bp
  neuralnetworks/1.0/vts/functional/Android.bp
  neuralnetworks/1.1/Android.bp
  neuralnetworks/1.1/utils/Android.bp
  neuralnetworks/1.1/vts/functional/Android.bp
  neuralnetworks/1.2/Android.bp
  neuralnetworks/1.2/utils/Android.bp
  neuralnetworks/1.2/vts/functional/Android.bp
  neuralnetworks/1.3/Android.bp
  neuralnetworks/1.3/utils/Android.bp
  neuralnetworks/1.3/vts/functional/Android.bp
  neuralnetworks/aidl/Android.bp
  neuralnetworks/aidl/utils/Android.bp
  neuralnetworks/aidl/vts/functional/Android.bp
  neuralnetworks/utils/common/Android.bp
  neuralnetworks/utils/service/Android.bp
  nfc/1.0/Android.bp
  nfc/1.0/default/Android.bp
  nfc/1.0/vts/functional/Android.bp
  nfc/1.1/Android.bp
  nfc/1.1/vts/functional/Android.bp
  nfc/1.2/Android.bp
  nfc/1.2/vts/functional/Android.bp
  oemlock/1.0/Android.bp
  oemlock/1.0/vts/functional/Android.bp
  oemlock/aidl/Android.bp
  oemlock/aidl/default/Android.bp
  oemlock/aidl/vts/Android.bp
  power/1.0/Android.bp
  power/1.0/default/Android.bp
  power/1.0/vts/functional/Android.bp
  power/1.1/Android.bp
  power/1.1/vts/functional/Android.bp
  power/1.2/Android.bp
  power/1.2/vts/functional/Android.bp
  power/1.3/Android.bp
  power/1.3/vts/functional/Android.bp
  power/aidl/Android.bp
  power/aidl/default/Android.bp
  power/aidl/vts/Android.bp
  power/stats/1.0/Android.bp
  power/stats/1.0/default/Android.bp
  power/stats/1.0/vts/functional/Android.bp
  power/stats/aidl/Android.bp
  power/stats/aidl/default/Android.bp
  power/stats/aidl/vts/Android.bp
  radio/1.0/Android.bp
  radio/1.0/vts/functional/Android.bp
  radio/1.1/Android.bp
  radio/1.1/vts/functional/Android.bp
  radio/1.2/Android.bp
  radio/1.2/default/Android.bp
  radio/1.2/vts/functional/Android.bp
  radio/1.3/Android.bp
  radio/1.3/vts/functional/Android.bp
  radio/1.4/Android.bp
  radio/1.4/vts/functional/Android.bp
  radio/1.5/Android.bp
  radio/1.5/vts/functional/Android.bp
  radio/1.6/Android.bp
  radio/1.6/vts/functional/Android.bp
  radio/config/1.0/Android.bp
  radio/config/1.0/default/Android.bp
  radio/config/1.0/vts/functional/Android.bp
  radio/config/1.1/Android.bp
  radio/config/1.1/vts/functional/Android.bp
  radio/config/1.2/Android.bp
  radio/config/1.2/vts/functional/Android.bp
  radio/config/1.3/Android.bp
  radio/config/1.3/vts/functional/Android.bp
  radio/deprecated/1.0/Android.bp
  rebootescrow/aidl/Android.bp
  rebootescrow/aidl/default/Android.bp
  rebootescrow/aidl/vts/functional/Android.bp
  renderscript/1.0/Android.bp
  renderscript/1.0/default/Android.bp
  renderscript/1.0/vts/functional/Android.bp
  secure_element/1.0/Android.bp
  secure_element/1.0/vts/functional/Android.bp
  secure_element/1.1/Android.bp
  secure_element/1.1/vts/functional/Android.bp
  secure_element/1.2/Android.bp
  secure_element/1.2/vts/functional/Android.bp
  security/keymint/aidl/Android.bp
  security/keymint/aidl/default/Android.bp
  security/keymint/aidl/vts/functional/Android.bp
  security/keymint/support/Android.bp
  security/secureclock/aidl/Android.bp
  security/secureclock/aidl/vts/functional/Android.bp
  security/sharedsecret/aidl/Android.bp
  security/sharedsecret/aidl/vts/functional/Android.bp
  sensors/1.0/Android.bp
  sensors/1.0/default/Android.bp
  sensors/1.0/vts/functional/Android.bp
  sensors/2.0/Android.bp
  sensors/2.0/default/Android.bp
  sensors/2.0/multihal/Android.bp
  sensors/2.0/vts/functional/Android.bp
  sensors/2.1/Android.bp
  sensors/2.1/default/Android.bp
  sensors/2.1/multihal/Android.bp
  sensors/2.1/vts/functional/Android.bp
  sensors/common/default/2.X/Android.bp
  sensors/common/default/2.X/multihal/Android.bp
  sensors/common/default/2.X/multihal/tests/Android.bp
  sensors/common/utils/Android.bp
  sensors/common/vts/2_X/Android.bp
  sensors/common/vts/utils/Android.bp
  soundtrigger/2.0/Android.bp
  soundtrigger/2.0/default/Android.bp
  soundtrigger/2.0/default/Android.mk
  soundtrigger/2.0/vts/functional/Android.bp
  soundtrigger/2.1/Android.bp
  soundtrigger/2.1/default/Android.mk
  soundtrigger/2.1/vts/functional/Android.bp
  soundtrigger/2.2/Android.bp
  soundtrigger/2.2/default/Android.bp
  soundtrigger/2.2/vts/functional/Android.bp
  soundtrigger/2.3/Android.bp
  soundtrigger/2.3/default/Android.bp
  soundtrigger/2.3/vts/functional/Android.bp
  tests/bar/1.0/Android.bp
  tests/bar/1.0/default/Android.bp
  tests/baz/1.0/Android.bp
  tests/baz/1.0/default/Android.bp
  tests/expression/1.0/Android.bp
  tests/extension/light/2.0/Android.bp
  tests/extension/light/2.0/default/Android.bp
  tests/extension/vibrator/aidl/Android.bp
  tests/extension/vibrator/aidl/client/Android.bp
  tests/extension/vibrator/aidl/default/Android.bp
  tests/foo/1.0/Android.bp
  tests/foo/1.0/default/Android.bp
  tests/foo/1.0/default/lib/Android.bp
  tests/hash/1.0/Android.bp
  tests/hash/1.0/default/Android.bp
  tests/inheritance/1.0/Android.bp
  tests/inheritance/1.0/default/Android.bp
  tests/lazy/1.0/Android.bp
  tests/lazy/1.1/Android.bp
  tests/libhwbinder/1.0/Android.bp
  tests/libhwbinder/1.0/default/Android.bp
  tests/libhwbinder/aidl/Android.bp
  tests/memory/1.0/Android.bp
  tests/memory/1.0/default/Android.bp
  tests/memory/2.0/Android.bp
  tests/msgq/1.0/Android.bp
  tests/msgq/1.0/default/Android.bp
  tests/multithread/1.0/Android.bp
  tests/multithread/1.0/default/Android.bp
  tests/safeunion/1.0/Android.bp
  tests/safeunion/1.0/default/Android.bp
  tests/safeunion/cpp/1.0/Android.bp
  tests/safeunion/cpp/1.0/default/Android.bp
  tests/trie/1.0/Android.bp
  tests/trie/1.0/default/Android.bp
  tetheroffload/config/1.0/Android.bp
  tetheroffload/config/1.0/vts/functional/Android.bp
  tetheroffload/control/1.0/Android.bp
  tetheroffload/control/1.0/vts/functional/Android.bp
  tetheroffload/control/1.1/Android.bp
  tetheroffload/control/1.1/vts/functional/Android.bp
  thermal/1.0/Android.bp
  thermal/1.0/default/Android.bp
  thermal/1.0/vts/functional/Android.bp
  thermal/1.1/Android.bp
  thermal/1.1/vts/functional/Android.bp
  thermal/2.0/Android.bp
  thermal/2.0/default/Android.bp
  thermal/2.0/vts/functional/Android.bp
  tv/cec/1.0/Android.bp
  tv/cec/1.0/default/Android.bp
  tv/input/1.0/Android.bp
  tv/input/1.0/default/Android.bp
  tv/input/1.0/vts/functional/Android.bp
  tv/tuner/1.0/Android.bp
  tv/tuner/1.0/default/Android.bp
  tv/tuner/1.0/vts/functional/Android.bp
  usb/1.0/Android.bp
  usb/1.0/default/Android.bp
  usb/1.0/vts/functional/Android.bp
  usb/1.1/Android.bp
  usb/1.1/vts/functional/Android.bp
  usb/1.2/Android.bp
  usb/1.2/vts/functional/Android.bp
  usb/gadget/1.0/Android.bp
  usb/gadget/1.1/Android.bp
  usb/gadget/1.1/default/Android.bp
  usb/gadget/1.1/default/lib/Android.bp
  vibrator/1.0/Android.bp
  vibrator/1.0/default/Android.bp
  vibrator/1.0/vts/functional/Android.bp
  vibrator/1.1/Android.bp
  vibrator/1.1/vts/functional/Android.bp
  vibrator/1.2/Android.bp
  vibrator/1.2/vts/functional/Android.bp
  vibrator/1.3/Android.bp
  vibrator/1.3/example/Android.bp
  vibrator/1.3/vts/functional/Android.bp
  vibrator/aidl/Android.bp
  vibrator/aidl/default/Android.bp
  vibrator/aidl/vts/Android.bp
  vr/1.0/Android.bp
  vr/1.0/default/Android.bp
  vr/1.0/vts/functional/Android.bp
  weaver/1.0/Android.bp
  weaver/1.0/vts/functional/Android.bp
  weaver/aidl/Android.bp
  weaver/aidl/default/Android.bp
  weaver/aidl/vts/Android.bp
  wifi/1.0/Android.bp
  wifi/1.0/vts/functional/Android.bp
  wifi/1.1/Android.bp
  wifi/1.1/vts/functional/Android.bp
  wifi/1.2/Android.bp
  wifi/1.2/vts/functional/Android.bp
  wifi/1.3/Android.bp
  wifi/1.3/vts/functional/Android.bp
  wifi/1.4/Android.bp
  wifi/1.4/default/Android.mk
  wifi/1.4/vts/functional/Android.bp
  wifi/hostapd/1.0/Android.bp
  wifi/hostapd/1.0/vts/functional/Android.bp
  wifi/hostapd/1.1/Android.bp
  wifi/hostapd/1.1/vts/functional/Android.bp
  wifi/hostapd/1.2/Android.bp
  wifi/hostapd/1.2/vts/functional/Android.bp
  wifi/offload/1.0/Android.bp
  wifi/offload/1.0/vts/functional/Android.bp
  wifi/supplicant/1.0/Android.bp
  wifi/supplicant/1.0/vts/functional/Android.bp
  wifi/supplicant/1.1/Android.bp
  wifi/supplicant/1.1/vts/functional/Android.bp
  wifi/supplicant/1.2/Android.bp
  wifi/supplicant/1.2/vts/functional/Android.bp
  wifi/supplicant/1.3/Android.bp
  wifi/supplicant/1.3/vts/functional/Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-NCSA to:
  Android.bp
  automotive/can/1.0/Android.bp
  automotive/can/1.0/default/Android.bp

Added SPDX-license-identifier-NCSA to:
  automotive/can/1.0/default/libc++fs/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work

Change-Id: I602b072f77ff41e9eb8d3c36b6b5315d63664006
Merged-in: I602b072f77ff41e9eb8d3c36b6b5315d63664006
2021-02-21 20:36:55 -08:00
Kumar Anand
aea86e089a Wifi: Filter usable channels by Coex, Concurrency
Add ability to filter usable channel due to coex &
concurrency limitations. List of usable channels could
be limited due to coex restrictions and also due to
concurrency limitations & connection state.

Bug: 160212907
Test: VTS - VtsHalWifiV1_5TargetTest
Change-Id: Ic36b792b93fc4a6e328b9bc606a5286b8c1fd690
2021-02-16 14:06:01 -08:00
Les Lee
0858c46146 Merge "wifi: Add new HAL API: getBridgedInstances" into sc-dev 2021-02-02 11:13:22 +00:00
Kumar Anand
2a630a3817 Wifi: HAL API to query the list of usable channels
API can be used to query what modes (SAP, STA,
WFD Client, WFD Group Owner, TDLS, NAN) can be
supported on each channel for specified band.
Needs support from Wifi chip vendors.

Bug: 160212907
Test: VTS - VtsHalWifiV1_5TargetTest
Change-Id: Icf270b8c2ee14c794778421c9d988712c5c38380
2021-02-01 14:02:12 -08:00
lesl
669c906329 wifi: Add new HAL API: getBridgedInstances
Also fix the instances doesn't update after removing the instance

Cherry-pick from ag/13382534 which finished the review in master branch

Bug: 173999527
Test: atest -c VtsHalWifiApV1_5TargetTest

Change-Id: I439922d38c35b5367823f95f5f7d0e4c6ed05f57
2021-01-27 19:50:13 +08:00
George Burgess IV
2c0a47db87 wifi: fix a use of an uninitialized value
This `if` is executed once, so using `legacy_status` from a prior
execution is nonsensical.

Caught by the static analyzer:
> hardware/interfaces/wifi/1.5/default/wifi_chip.cpp:1053:39: warning:
1st function call argument is an uninitialized value
[clang-analyzer-core.CallAndMessage]

Bug: 173999527
Test: atest -c VtsHalWifiApV1_5TargetTest
Merged-In: Ib81f1496be53e453d9c99ede129a77bdaf860de7
Change-Id: Ib81f1496be53e453d9c99ede129a77bdaf860de7
2021-01-27 11:48:40 +00:00
Sunil Ravi
d064667718 Merge "Wifi: Inform framework on failure to find a network" 2021-01-26 15:41:06 +00:00
Roshan Pius
c99ea88f19 Merge "Notify scan-only mode to driver for power saving" 2021-01-25 23:56:19 +00:00
Sunil Ravi
ee197f3c70 Wifi: Inform framework on failure to find a network
Added a callback function to indicate that the
supplicant failed to find a network in scan result
which matches with the network capabilities requested by upper layer
for connection.

Bug: 161196120
Test: vts test - VtsHalWifiSupplicantV1_4TargetTest
Change-Id: I9549a80ca636b4ee91aca421cf7cfae9f95a9161
2021-01-25 14:08:55 -08:00
Peter Collingbourne
0c4836f418 Import wifi_channel_stat into legacy_hal namespace.
Fixes android.hardware.wifi@1.0-service-tests build failure.

Change-Id: I067106c4db8a9c9c358ec287409cc1b93c50c926
2021-01-25 10:19:51 -08:00
Ye Jiao
c6b5f89b08 Notify scan-only mode to driver for power saving
If Wi-Fi driver knows it's in scan-only mode, it can save more power
than connect mode.

This change adds setScanMode in IWifiStaIface to allow Wi-Fi framework
to notify scan-only mode change to Wi-Fi driver.

Bug: 177811719
Test: atest VtsHalWifiV1_5TargetTest

Change-Id: I1dfbc24a0a3272c1341223aff36656be4a6fd21b
2021-01-22 23:05:30 +00:00
lesl
78a04d6bc7 wifi: Support use "non-primy interface when testing hostapd Hal
In current android design, the general use case is the interface is
removed after terminate() call.
But the VTS kill the hostapd immediately it causes terminate doesn't
work normally.
Add sleep 3 seconds to allow terminate processing.

Another test case is considered to check hostapd died because any reason.
(for instance: NPE crash)
But the interface handling in android design is control in framework and WiFiHal.
Case 1. Native crash will be handled in framework and clean the interface for
the recovery.

Case 2. VTS use "stopHAL" to clean "primy interface".
It will cause clean up fail if OEM use "non-primy interface" for the SoftAp.
But it is not requirement in hostapd HAL. Verify terminate is good in
VtsHalWifiHostapd.

Bug: 177483254
Bug: 177389456
Test: atest -c VtsHalWifiHostapdV1_3TargetTest
Change-Id: I39f6ee92b1354ab2cebbe2fe6e9873e62d850c42
2021-01-22 10:32:11 +08:00
lesl
55cbbb53f2 wifi: Add sleep 3 seconds to allow terminate processing in VTS tear down
In current android design, the general use case is the interface is
removed after terminate() call.
But the VTS kill the hostapd immediately it causes terminate doesn't
work normally.
Add sleep 3 seconds to allow terminate processing.

Another test case is considered to check hostapd died because any reason.
(for instance: NPE crash)
But the interface handling in android design is control in framework and WiFiHal.
Case 1. Native crash will be handled in framework and clean the interface for
the recovery.

Case 2. VTS use "stopHAL" to clean "primy interface".
It will cause clean up fail if OEM use "non-primy interface" for the SoftAp.
But it is not requirement in hostapd HAL. Verify terminate is good in
VtsHalWifiHostapd.

Bug: 163170239
Test: atest -c VtsHalWifiHostapdV1_2TargetTest
Test: atest -c VtsHalWifiHostapdV1_1TargetTest
Test: atest -c VtsHalWifiHostapdV1_0TargetTest
Change-Id: Id5adc12be4a098af8e5b75d9182c004c1030720c
2021-01-20 11:40:57 +08:00
Quang Luong
ddf9401aa9 Merge "Fix 1.5::WifiBand inheritance" 2021-01-19 17:01:08 +00:00
lesl
90e6565e1e wifi: Add VTS for wifi hal and hostapd hal.
Tested on S5 and O6.
Found VTS gets failure on wlan1
b/177389456 to track for O6
b/177483254 to track for S5

But both of O6 and S5 will get pass because it uses wlan0.

Bug: 162686273
Bug: 173999527
Test: atest -c VtsHalWifiHostapdV1_3TargetTest
Test: atest -c VtsHalWifiApV1_5TargetTest
Change-Id: Idbaa7fb2f95abc954fda8daf8670e4a57b453030
2021-01-15 12:16:39 +08:00
Kumar Anand
38b1d5cb58 Merge "Wifi: Chip level API to set the country code" 2021-01-13 20:40:12 +00:00
Kai Shi
8ac976acf1 Merge "Add dtim config optimization HAL API" 2021-01-13 18:57:57 +00:00
Kumar Anand
da62c38e58 Wifi: Chip level API to set the country code
Country code is global setting across the Wifi chip
and not really Wifi interface (STA or AP) specific.
Framework should have the ability to set the country
code on a chip level without requiring supplicant
instance to be running. As long as there is at least
one active interface to communicate to kernel driver,
country code can be set and driver should apply the
setting globally.

Bug: 149936939
Test: VTS - VtsHalWifiV1_5TargetTest
Change-Id: I1be5dae34b216a6152d09605d055872d5345507c
2021-01-12 18:12:53 -08:00
Kai Shi
0b6341c67a Add dtim config optimization HAL API
Test: compilation and halutil test
Bug: 170678227
Change-Id: I4f7535a70e53bd55f02b70867d071c440ad1529f
2021-01-11 20:25:17 -08:00
Sunil Ravi
7e9d71fa64 wifi: Send MBO-OCE association rejection info.
Parse association response for MBO association
disallowed indication and OCE RSSI based association
rejection info and send it to framework in association
rejection event.

Bug: 162542063
Test: vts test - VtsHalWifiSupplicantV1_4TargetTest

Change-Id: I63ae2c37b816dbe1790647e90541e2d0b6df8401
2021-01-11 16:54:34 -08:00
Quang Luong
3000a60c2a Fix 1.5::WifiBand inheritance
1.5::WifiBand should inherit from 1.4::WifiBand.

Bug: 15365100
Test: build
Change-Id: Ic22cbed19fee274bbaadf282b0a492857bd3dcc5
2021-01-10 19:20:12 -08:00
lesl
f012b65dc0 wifi: fix incorrect active wlan iface in bridged mode
The hal use first active wlan iface to get chip info.
It should should return active wlan instance in bridged mode.

Bug: 162686273
Test: Manual test.
1. Wifi Off (SAA off), make sure bridged AP is first wlan iface
2. Enable bridged mode

Change-Id: Id5a3d5ab53c6ed34d5633be22ad56070f5f0d0e2
2021-01-08 20:58:39 +00:00
TreeHugger Robot
be136613f4 Merge "wifi: Fix removeIfaceInstanceFromBridgedApIfaceInternal" 2021-01-07 04:57:28 +00:00
Peter Collingbourne
d84225bd2c Instead of including wifi_hal.h in the legacy_hal namespace, import the types.
Including the header inside a namespace leads to ODR violations,
which are normally benign but can cause problems if we want to use
something like CFI in the wifi HAL.

Change-Id: I80cc854632da7e18e5c208ba9210de44b31abbdb
Merged-In: I80cc854632da7e18e5c208ba9210de44b31abbdb
2021-01-06 20:56:12 -08:00
lesl
819e37237a wifi: Fix removeIfaceInstanceFromBridgedApIfaceInternal
Fix the incorrect empty check.

Bug: 162686273
Test: Manual Test, shutdown instance works normally

Change-Id: I44c5c4adcc7a964e25b5fa5e291bb9b9f4932655
2021-01-07 09:49:21 +08:00
Peter Collingbourne
78471d9a24 Instead of including wifi_hal.h in the legacy_hal namespace, import the types.
Including the header inside a namespace leads to ODR violations,
which are normally benign but can cause problems if we want to use
something like CFI in the wifi HAL.

Change-Id: I80cc854632da7e18e5c208ba9210de44b31abbdb
2021-01-05 12:16:33 -08:00
Les Lee
3ee69a6186 Merge "wifi: Fix VTS error" 2020-12-23 03:30:21 +00:00
lesl
143575a10c wifi: Fix VTS error
The current hostapd use channelParams1_3.bandMask
(changed on ag/13001575), but VTS doesn't
prepare test data:channelParams1_3.bandMask.

Test: atest VtsHalWifiHostapdV1_3TargetTest
Test: atest VtsHalWifiHostapdV1_2TargetTest
Test: atest VtsHalWifiHostapdV1_1TargetTest
Test: atest VtsHalWifiHostapdV1_0TargetTest
Bug: 176139512
Change-Id: Ibdc08acb55b673b464b5c59ae714157941487a5b
2020-12-22 15:19:58 +08:00
TreeHugger Robot
254b3632a9 Merge "Add voip optimization HAL API" 2020-12-22 01:29:34 +00:00
Kai Shi
2ca7a11810 Add voip optimization HAL API
Test: compilation and halutil test
Bug: 166311728
Change-Id: I3173e733abe158e1b009ed8378d1963ca3b8b8e8
2020-12-17 14:15:12 -08:00
TreeHugger Robot
e898720840 Merge changes from topic "fixCoexRestrictions"
* changes:
  Add VTS test for IWifiChip::setCoexUnsafeChannels
  [WifiCoex] Add enum for wifi coex restrictions
2020-12-17 00:16:11 +00:00
Sunil Ravi
de9e202ef2 Merge "wifi: Added 2 seconds wait time in RTT tests" 2020-12-16 16:22:56 +00:00
Quang Luong
26cd156744 Add VTS test for IWifiChip::setCoexUnsafeChannels
Bug: 153651001
Test: atest VtsHalWifiV1_5TargetTest
Change-Id: Iaffbff3cf68b00572674ca423587387ef6569302
2020-12-16 05:05:57 +00:00
Sunil Ravi
4c7c64e7fd wifi: Added 2 seconds wait time in RTT tests
Added 2 seconds delay in RTT tests. This helps drivers finish the
current test and process the next test.

Bug: 175605811
Test: VTS test - VtsHalWifiRttV1_4TargetTest
Change-Id: I3bb719b5b75ba960913bd405b2c8a41047689682
2020-12-15 16:57:29 -08:00
Quang Luong
ab70a83b05 [WifiCoex] Add enum for wifi coex restrictions
Add custom enum for wifi coex restrictions since IfaceType is not
suitable for use as a bitmask flag since it does not represent bit
positions.

Bug: 153651001
Test: build
Change-Id: I15575ea12784a778a3b358eea1b05b75319aa95b
2020-12-15 09:43:36 -08:00
lesl
5a46c958e2 wifi: Fix bridged interface property and allociation
1. The concurrent property name over the limitation.
Rename the property name.

2. When allocate bridged iface name, it needs to increase the idx to
avoid two ifaces use the same name.

Bug: 162686273
Test: atest -c VtsHalWifiApV1_0TargetTest
Test: atest -c VtsHalWifiApV1_4TargetTest
Test: atest -c VtsHalWifiApV1_5TargetTest
Change-Id: I388cdd812bd0448c03ad5ae982547629c1e5eff9
2020-12-14 17:17:44 +08:00
Jimmy Chen
ed0d49d277 Merge "hostapd: add 60GHz(WiGig) support" 2020-12-12 04:26:03 +00:00
xshu
82a00e6657 VTS - avoid same MAC for AP and STA
Having the AP and STA set the same MAC address in tests could cause
unintended failures when WifiApIfaceHidlTest and WifiStaIfaceHidlTest
are executed back to back.

Bug: 172528120
Test: atest VtsHalWifiApV1_4TargetTest VtsHalWifiV1_2TargetTest

Change-Id: I336d21cd896c46b064f16ecfa184a26dab67deaa
2020-12-07 18:24:04 -08:00
Quang Luong
94bcce5ec2 [WifiCoex] Add WifiChip HIDL APIs for coex
Add HIDL APIs to convey a list of unsafe Wifi channels to the driver for
coex channel avoidance.

Bug: 153651001
Test: build
Change-Id: I8b14f0e2d8855c1f1e363d612617256d8e928f30
2020-12-08 00:31:11 +00:00
Les Lee
334057470d Merge "wifi: Add AP interface idx mechanism & predefine interface support." 2020-12-04 06:43:34 +00:00
Colin Cross
b0a9ef07bb resolve merge conflicts of 9e1ee9bb30 to master
Test: I solemnly swear I tested this conflict resolution.
Bug: None
Change-Id: Iad05fce7dfa8832ed7c62326a908ab52b05268e0
2020-12-03 14:35:26 -08:00
Roshan Pius
3e6084c05d Merge "wifi: Prevent returning an invalid factory MAC address" am: 6119f16921
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1496341

Change-Id: Ic8ad496bdee5d96f46bf3de63e1131bf84ee7581
2020-12-03 20:05:19 +00:00
Roshan Pius
6119f16921 Merge "wifi: Prevent returning an invalid factory MAC address" 2020-12-03 18:51:08 +00:00
lesl
261818bfaf wifi: Add AP interface idx mechanism & predefine interface support.
SAP Interface idx mechanism.
STA+STA support, AP+AP will use wlan2 & wlan3, single AP use wlan2
STA+STA doesn't support, AP+AP use wlan1 & wlan 2, single AP use
wlan 1
STA+AP doesn't support, AP + AP will take wlan0 & wlan 1 but single AP
use wlan0 (Ideally it should not happen)

Add predefine interface support for bridged AP interface.
(property: ro.vendor.sap.concurrent.interface)

PS: Rename: getApIfaceName to getPredefinedApIfaceName since it
duplicates public HAL API: getApIfaceName

AP+AP Part 4 includes:
1. Support API to indicate Bridged AP supported or not
2. SAP Interface idx mechanism.

Bug: 162686273
Bug: 173999527
Test: atest -c VtsHalWifiApV1_0TargetTest
Test: atest -c VtsHalWifiApV1_4TargetTest
Test: atest -c VtsHalWifiApV1_5TargetTest
Change-Id: I115e294ac2be201cfa3a58cfa0a8a98b481b29de
2020-12-03 15:17:45 +08:00
Xin Li
8ac301f5f1 Merge "Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855" into stage-aosp-master 2020-12-03 03:19:13 +00:00
Les Lee
9135ee103e Merge "wifi: Add resetFactoryMac support (AP+AP Part 3)" 2020-12-03 03:09:38 +00:00
Ye Jiao
bf8f310071 DO NOT MERGE: Tune up kMaxStopCompleteWaitMs to fix NE
On a low-end device which does not support STA-SAP concurrency, if STA
is currently enabled and user/app tries to enable SAP, then Wi-Fi needs
to reconfigure and stop Wi-Fi HAL first. Among other stopping actions,
HAL needs to set global_handle_ to nullptr and send "Exit" to
wifi_event_loop then waits no more than kMaxStopCompleteWaitMs. If the
wait times out, then reconfiguration fails and causes Wi-Fi controller
returns to STA mode and creates new STA iface indirectly. In this
process, HAL needs to access global_handle_, but since it was cleared,
we can only get a Native Exception.

Because there is no proper error recovery for UNKNOWN errors, I suggest
to simply set kMaxStopCompleteWaitMs to a higher value to circumvent
this timing issue.

Bug: 173760638
Change-Id: I1b5a0a7a554409704c017ffaf52a767b9424c61e
2020-12-02 17:44:49 +00:00
Xin Li
c026d3a0b6 Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855
Bug: 172690556
Merged-In: If5afd00334e8b09250df1ae97dec9285e39ad930
Change-Id: Ic66bb1389f1bbecfdaa641e1fcdbf79044f55d23
2020-12-02 00:32:27 -08:00
TreeHugger Robot
d4f4cb8a82 Merge "wifi: ignore SIGPIPE when dumping stats to dumpstate" 2020-12-02 04:51:43 +00:00
lesl
420c4fc3a7 wifi: Add resetFactoryMac support (AP+AP Part 3)
Support HAL API:resetToFactoryMacAddress to reset the MAC
to factory MAC on each instances in IWifiApIface.

AP+AP Part 3 includes:
1. Support resetToFactoryMac in IWifiApIface.Hal.
2. Vts support for non bridged API.
3. Framework support resetToFactoryMac in bridged Ap.

Test: atest -c VtsHalWifiApV1_5TargetTest
Test: atest -c VtsHalWifiApV1_4TargetTest
Test: atest -c VtsHalWifiApV1_0TargetTest
Bug: 162686273
Change-Id: Ic7f2c0d6f1d8bf46fabfbc874d5f2b74068e43cc
2020-12-02 10:00:15 +08:00
Les Lee
9dffd373ea Merge "wifi: Add AP bridge operations support (AP+AP Part 2)" 2020-12-01 00:05:16 +00:00
Sunil Ravi
f14d9a0f8e Wifi: DPP STA Enrollee-Responder mode
Added below HIDL APIs for DPP STA Enrollee-Responder mode
1. API to start DPP in Enrollee-Responder mode
2. API to generate DPP bootstrap URI
3. API to stop DPP in Enrollee-Responder mode
which internally remove the bootstrap and stop listen.

Bug: 162686712
Test: VTS test
Change-Id: I979b6a7a2fe90f48d478f48da73269fd3f5cb347
2020-11-30 09:29:31 -08:00
lesl
75915c3134 wifi: ignore SIGPIPE when dumping stats to dumpstate
If dumpstate closes the reading end of the pipe (likely due to timeout)
and wifi vendor hal attempts to write to the fd it received from
dumpstate, it will receive sig 13 (SIGPIPE), and is then killed.
We should protect wifi vendor hal from the abnormally behaved clients.

Sync patch from ag/12321138. Reference from b/172972545 &
b/161336019#comment29

Bug: 161336019
Bug: 172972545
Test: Manuel Test, Wifi works normally
Change-Id: Ie7de040ac4320f83500c18e74e3c58d63b4df1b7
2020-11-30 19:09:31 +08:00
lesl
94d2824a66 wifi: Add AP bridge operations support (AP+AP Part 2)
The bridge interface name will take "ap_br_" + ap interface name.
ex: The ap interface name is "wlan1".
The bridge interface name will be "ap_br_wlan1"
When OEM customize the ap interface name via property
"ro.vendor.wifi.sap.interface".

It will only apply on single AP mode.
i.e.
"ro.vendor.wifi.sap.interface" = "sap0"
Single AP mode: ap interface name = "sap0"
Dual AP mode:
bridge interface name = "ap_br_sap0"
first ap instance name:  get from "getSupportedIfaceName" + idx
ex: sap0
second ap instance name: get from "getSupportedIfaceName" + idx + 1
ex: sap1

PS: The VtsHalWifiApV1_5TargetTest will be added in another CL which
will update another SAP related HAL:IWifiApIface.hal.

AP+AP Part 2 includes:
1. Support bridge in libwifi_system_iface
2. WifiHal API
a. createBridgedApIface (Support create bridge mode AP)
b. removeIfaceInstanceFromBridgedApIface (Support remove one of the instance in bridge)
3. Framework:
Create bridge AP when multi-bands configured.

Bug: 162686273
Test: Manual Test (SAP enable normally)
Test: atest -c VtsHalWifiApV1_0TargetTest
Test: atest -c VtsHalWifiApV1_4TargetTest
Change-Id: I8be510778e9772bcf1539e4915384949cbe13127
2020-11-23 18:57:22 +08:00
Jimmy Chen
becd2f136b wifi: fix old vts tests on newer HAL
Older registerCallback is not deprecated until V1.4 HAL correctly.
As a result, their returning codes are still SUCCESS.

Bug: 173570755
Test: atest VtsHalWifiSupplicantV1_0TargetTest \
            VtsHalWifiSupplicantV1_1TargetTest \
            VtsHalWifiSupplicantV1_2TargetTest
Change-Id: Ib23821d64f53c144d74818fa3ed9aca06cd25a27
2020-11-20 01:45:55 +08:00
lesl
c92aa85a6e wiif: Add AP bridge operations support (AP+AP Part 2)
AP+AP Part 2 includes:
1. Support bridge in libwifi_system_iface
2. WifiHal
a. createApIface_1_5 (Support create bridge mode AP)
b. removeApIface_1_5 (Support remove one of the instance in bridge)
3. Framework:
Create bridge AP when multi-bands configured.

Bug: 162686273
Test: Manual Test (SAP enable normally)
Change-Id: I518417add566ce4780a7e2e83af14460e6e8a217
2020-11-17 14:12:01 +08:00
Jimmy Chen
a67701d0d0 hostapd: add 60GHz(WiGig) support
Extend the band with 60GHz constant to support starting
AP on the 60GHz band.
Add channel parameters for EDMG (802.11ay, 60GHz channel
bonding).

Bug: 147469374
Test: atest VtsHalWifiHostapdV1_3TargetTest
Change-Id: I8d3ca0c14766dfb4a79c1febcc2bb05f65ba311e
2020-11-15 00:37:06 +08:00
Treehugger Robot
f4c82a843f Merge "supplicant(vts): Skip p2p tests on non-p2p devices as intended" am: f19e282226 am: c9f4cc376d am: 119d863efa am: bfcb424813
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1497700

Change-Id: Ie68f4455a82435d73f47af315237713e6c10511f
2020-11-14 07:29:53 +00:00
Treehugger Robot
bfcb424813 Merge "supplicant(vts): Skip p2p tests on non-p2p devices as intended" am: f19e282226 am: c9f4cc376d am: 119d863efa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1497700

Change-Id: Ica406a4de8dfb04c093d3227a71e860e8727e720
2020-11-14 07:18:37 +00:00
Treehugger Robot
119d863efa Merge "supplicant(vts): Skip p2p tests on non-p2p devices as intended" am: f19e282226 am: c9f4cc376d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1497700

Change-Id: I2d5be618227828a815867144c1e29c826ba3c2ab
2020-11-14 07:04:59 +00:00
Roshan Pius
5c9ad33f9a Merge "wifi(hal): Use debug property to select one of preset HAL iface combination" 2020-11-13 19:32:16 +00:00
Treehugger Robot
43d5b3c37d Merge "supplicant(vts): Skip p2p tests on non-p2p devices as intended" into android11-tests-dev 2020-11-13 19:00:34 +00:00
Roshan Pius
2272ff8942 wifi(hal): Use debug property to select one of preset HAL iface combination
This will be useful for testing/debugging STA + STA & AP + AP feature.

Note: I originally planned to read the entire iface combination from the
property (i.e would be much more flexible), but that is way too complex
and error prone. So, instead pre-define some combinations that we would
want to switch between and use the property as an index.

Bug: 173044646
Test: Manual:
i) adb shell "/vendor/bin/sh -c '/vendor/bin/setprop
persist.vendor.debug.wifi.hal.preset_interface_combination_idx 0'"
ii) adb reboot
iii) Ensure that AP + AP was enabled.

Change-Id: Iea63835c39fce78307a056a5ed94efcbd35cdfb6
2020-11-12 19:06:12 -08:00
Jerry Wong
41e99dca9e supplicant(vts): Skip p2p tests on non-p2p devices as intended
The logic to skip the p2p tests on non-p2p devices appear to have
inadventently flipped since d6436731.

Bug: 173134041
Test: atest VtsHalWifiSupplicantV1_1TargetTest
Change-Id: I7945950e8483241e47e308a2c5ad97571d74a769
2020-11-12 23:01:59 +00:00
Jerry Wong
a0e13d6060 supplicant(vts): Skip p2p tests on non-p2p devices as intended
The logic to skip the p2p tests on non-p2p devices appear to have
inadventently flipped since d6436731.

Bug: 173134041
Test: atest VtsHalWifiSupplicantV1_1TargetTest
Change-Id: I7945950e8483241e47e308a2c5ad97571d74a769
2020-11-12 15:01:24 -08:00
TreeHugger Robot
4c219071e8 Merge "wifi: fix old vts tests for deprecated APIs" 2020-11-12 20:55:49 +00:00
henry-th.yeh
bcf57475f1 Fix VtsHalWifiSupplicantV1_3TargetTest fail
Remove disable_framework option to pass the
stopWifiFramework procedure.

Bug: 173081502
Test: Build VTS
Test: run vts -m VtsHalWifiSupplicantV1_3TargetTest
-t PerInstance/SupplicantStaIfaceHidlTest#RegisterC
allback_1_3/default_default_0 --abi armeabi-v7a

Change-Id: I6813905b6c804c1c93ea59db9d8c255c2f7c45d9
2020-11-12 07:38:58 +00:00
Alessandro Astone
40e57ca717 wifi: Prevent returning an invalid factory MAC address
This is the same error checking already done in wifi_ap_iface.cpp

Change-Id: I2183e6ec13a15141dc638dc8d68fda6b3afa5aa4
2020-11-11 18:41:35 +01:00
TreeHugger Robot
cfd0577486 Merge "wifi: Fix incorrect instance version" 2020-11-11 05:03:54 +00:00
Jimmy Chen
06c9863d80 wifi: fix old vts tests for deprecated APIs
Bug: 172865706
Test: atest VtsHalWifiSupplicantV1_0TargetTest \
            VtsHalWifiSupplicantP2pV1_0TargetTest \
            VtsHalWifiSupplicantV1_1TargetTest \
            VtsHalWifiSupplicantV1_2TargetTest \
            VtsHalWifiSupplicantP2pV1_2TargetTest \
            VtsHalWifiSupplicantV1_3TargetTest \
            VtsHalWifiSupplicantV1_4TargetTest \
            VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: Icc502cae18338606a98ada312e9a66a5b11f51db
2020-11-11 11:06:20 +08:00
Oscar Shu
95ddd00d03 Merge "VTS - avoid same MAC for AP and STA" 2020-11-10 21:40:10 +00:00
xshu
a45dd5802a VTS - avoid same MAC for AP and STA
Having the AP and STA set the same MAC address in tests could cause
unintended failures when WifiApIfaceHidlTest and WifiStaIfaceHidlTest
are executed back to back.

Bug: 172528120
Test: atest VtsHalWifiApV1_4TargetTest VtsHalWifiV1_2TargetTest

Change-Id: I336d21cd896c46b064f16ecfa184a26dab67deaa
2020-11-09 18:37:36 -08:00
lesl
a6c5b8c573 wifi: Fix incorrect instance version
The vts use getAidlInstances to check current HIDL version whether or not
exist in the device manifests.
When there are no instances installed, the suite won't be instantiated

Test: atest -c VtsHalWifiHostapdV1_3TargetTest in S GSI + R build
Bug: 172539662
Change-Id: Ia268282eeeb53a092bb5f36ef0426ac213b45a9f
2020-11-09 17:54:16 +00:00
TreeHugger Robot
ccf7517de7 Merge "wifi: add enable SAE PK only mode API" 2020-11-06 20:04:15 +00:00
Roshan Pius
734be98c77 Merge "wifi: Add STA + STA HIDL API's" 2020-11-06 19:57:44 +00:00
Roshan Pius
e9d1e7d384 wifi: Add STA + STA HIDL API's
Add the HIDL API's + shim + VTS tests.

Bug: 170305665
Test: atest VtsHalWifiV1_3TargetTest VtsHalWifiV1_5TargetTest
Change-Id: I26ada11aebfe8082bfda251cf7e6990e0aa08a06
2020-11-06 11:54:51 -08:00
Treehugger Robot
61b1ceee5e Merge "vts(wifi): Stop wifi fully instead of stopping framework" into android11-tests-dev 2020-11-06 18:11:10 +00:00
Jimmy Chen
7e792611bb wifi: add enable SAE PK only mode API
Bug: 160642415
Test: atest VtsHalWifiSupplicantV1_4TargetTest
Change-Id: I9e9fe69bf5ebc1127085b568f02f44a2ab1b08af
2020-11-06 11:04:53 +08:00
Hai Shalom
8bdc3db2d3 Merge "Add HAL support for Passpoint venue URL" 2020-11-05 22:57:36 +00:00
Roshan Pius
894739b6b0 vts(wifi): Stop wifi fully instead of stopping framework
Stopping entire framework can cause other essential services to be
stopped. When wifi is stopped, it does not interact with any of the
wifi HAL's.

Bug: 168278011
Test: atest --iterations 10
VtsHalWifiSupplicantP2pV1_0TargetTest
VtsHalWifiSupplicantP2pV1_1TargetTest
VtsHalWifiSupplicantP2pV1_2TargetTest
VtsHalWifiSupplicantP2pV1_3TargetTest
Change-Id: Ia93e78cf4c147e42dd3d68e24a582c0c1af15899
2020-11-05 22:18:03 +00:00
Hai Shalom
349bc58cb4 Add HAL support for Passpoint venue URL
Bug: 162783305
Test: atest VtsHalWifiSupplicantV1_4TargetTest
Change-Id: I46e8e6a97c860236129d6761a11946a174985787
2020-11-04 18:51:04 -08:00
TreeHugger Robot
8a8eb6e5c3 Merge "wifi: Create 1.3::IfaceParams to support dual bands (AP+AP Part 1)" 2020-11-05 01:29:33 +00:00
TreeHugger Robot
67f6c1b71f Merge "wifi: add new status code for unsupported cases" 2020-11-04 18:40:11 +00:00
Jimmy Chen
52861d4cb4 Merge "wifi: fix old vts failure due to deprecated API" 2020-11-04 06:56:23 +00:00
Jimmy Chen
4d9f1eed0f wifi: add new status code for unsupported cases
Bug: 160642415
Test: atest VtsHalWifiSupplicantV1_4TargetTest \
            VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I6eac4646df4a3e595f5dd0c359660420b71d444c
2020-11-03 15:51:35 +08:00
Hai Shalom
bcdf1b9418 Merge "HAL changes for Passpoint T&C" 2020-11-03 02:51:39 +00:00
lesl
65caf76788 wifi: Create 1.3::IfaceParams to support dual bands (AP+AP Part 1)
1. Add new 1.3::IfaceParams to support AP+AP.
2. Fix vts to match use the 1.3::IfaceParams

But the test on dual APs mode needs to add after vendor Hal ready to
create two interfaces.

AP+AP Part 1 includes:
1. HIDL: Hostapd support dual bands/channels configuration
2. Framework: HostapdHal support only
3. Hostapd deamon:
a. Support briged interface query
b. Support config dual bands/channel
c. Callback use bridge interface in dual APs mode.

Bug: 162686273
Test: atest -c VtsHalWifiHostapdV1_3TargetTest
Test: atest -c VtsHalWifiHostapdV1_2TargetTest
Test: atest -c VtsHalWifiHostapdV1_1TargetTest
Test: atest -c VtsHalWifiHostapdV1_0TargetTest
Change-Id: I621b303c1e1f36996ca9b7720242f134bbe5fd75
2020-11-02 16:29:19 +08:00
Jimmy Chen
72e0239ed6 wifi: fix old vts failure due to deprecated API
Bug: 160643860
Test: atest VtsHalWifiSupplicantV1_0TargetTest
Change-Id: If47c92981e9a13323bfe5be58e288a77b5adb722
2020-11-02 13:34:02 +08:00
Hai Shalom
1cc3ba235c HAL changes for Passpoint T&C
Add SupplicantStaIfaceCallback v1.4 with support for the new
Passpoint T&C notification callback.

Bug: 171928337
Test: atest VtsHalWifiSupplicantV1_4TargetTest
Change-Id: I14f88427a6112b6a097d168c00ece3e36a7bd82f
2020-10-30 09:41:28 -07:00
Jimmy Chen
b5c7e1813d wifi: check all possible returning codes for connect/cancelConnect
Before R, those two calls are not going to work with fake values.
After enabling auto-join, it will success always.

Bug: 169890122
Bug: 170271410
Test: atest VtsHalWifiSupplicantP2pV1_0TargetTest
Change-Id: I7d94e797e140520a5df33bba854d5cb2b015eacf
2020-10-30 16:30:34 +00:00
Jimmy Chen
61ef86b625 wifi: add enable SAE H2E only mode API
Bug: 160642700
Test: atest VtsHalWifiSupplicantV1_4TargetTest
Change-Id: Ic40d8435d35917a7eb722b102de3c2b7640c1aac
2020-10-23 18:47:00 +08:00
Jimmy Chen
77f2c0780c wifi: add transition disable callback API
Bug: 160643860
Test: atest VtsHalWifiSupplicantV1_4TargetTest
Change-Id: I66839d6766b39483c78919aaa42d42db032f87a7
2020-10-23 18:47:00 +08:00
Nate Jiang
77d3ff366d Merge "[AWARE] Add support for instant communication mode" 2020-10-20 16:19:02 +00:00
Jimmy Chen
2abc352787 wifi: add 60GHz Wi-Fi P2P support
Bug: 14749550
Test: atest VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I9ad8afa194999409c55e3606510ef6ed43f4960e
2020-10-16 12:00:46 +08:00
Nate Jiang
3ec6781c35 [AWARE] Add support for instant communication mode
Bug: 160725208
Test: atest WifiNanIfaceTest,VtsHalWifiNanV1_0TargetTest, VtsHalWifiNanV1_2TargetTest, VtsHalWifiNanV1_4TargetTest, VtsHalWifiNanV1_5TargetTest

Change-Id: I66c8532dcd50d5702edbcd89005b9e7373659594
2020-10-15 17:15:46 -07:00
Xin Li
50393137ed Merge ab/6749736 in stage.
Bug: 167233921
Merged-In: I6756cad681e4cfa01868450214da0d7b2d5261e4
Change-Id: Ia529ecf4f48248d5af63673f359916486f71bc35
2020-10-08 23:22:52 -07:00
TreeHugger Robot
df17ab2f52 Merge "wifi: check all possible returning codes for connect/cancelConnect" 2020-10-09 01:04:24 +00:00
Blair Prescott
28833592b3 wifi: Fix VTS error for non-p2p devices am: 230e96521d am: bd7b0bceee am: 3f4660cec8 am: 2b6cf192a1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1453396

Change-Id: I5352dd40433b5073aa1525119d5760b9a23d8440
2020-10-08 23:13:58 +00:00
Blair Prescott
2b6cf192a1 wifi: Fix VTS error for non-p2p devices am: 230e96521d am: bd7b0bceee am: 3f4660cec8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1453396

Change-Id: Ibdb539dab2f1fcd461bbe3e462ea6c780c0a55a1
2020-10-08 23:07:20 +00:00
Blair Prescott
3f4660cec8 wifi: Fix VTS error for non-p2p devices am: 230e96521d am: bd7b0bceee
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1453396

Change-Id: I7d4eef43b8a8eecf4ca6ad11fb6658359b734123
2020-10-08 22:45:34 +00:00
Jimmy Chen
d459e4eecd wifi: check all possible returning codes for connect/cancelConnect
Before R, those two calls are not going to work with fake values.
After enabling auto-join, it will success always.

Bug: 169890122
Test: atest VtsHalWifiSupplicantP2pV1_0TargetTest
Change-Id: I7d94e797e140520a5df33bba854d5cb2b015eacf
2020-10-08 10:24:17 +08:00
Blair Prescott
5bca5badf9 wifi: Fix VTS error for non-p2p devices
Fix VtsHalWifiSupplicantP2pV1_0TargetTest to skip tests
in such a way that VTS reports the module as complete on
devices that don't support Wifi Direct.

Bug: 170326147
Test: run vts -m VtsHalWifiSupplicantP2pV1_0TargetTest
Change-Id: Ia418c4bb72f4772422d724636453395c4ba9fb2d
2020-10-07 19:57:32 +00:00
Blair Prescott
230e96521d wifi: Fix VTS error for non-p2p devices
Fix VtsHalWifiSupplicantP2pV1_0TargetTest to skip tests
in such a way that VTS reports the module as complete on
devices that don't support Wifi Direct.

Bug: 170326147
Test: run vts -m VtsHalWifiSupplicantP2pV1_0TargetTest
Change-Id: Ia418c4bb72f4772422d724636453395c4ba9fb2d
2020-10-07 19:54:39 +00:00
Les Lee
df227a3b11 Merge "wifi: Add vts 1.3 for hostapd hidl 1.3" 2020-09-30 16:52:38 +00:00
Les Lee
d6b8e4ab1d Merge "wifi: ignore addAccessPoint_1_2 test if current hidl is 1_3" 2020-09-29 00:29:00 +00:00
Roshan Pius
d3dcea5f11 supplicant(vts): Stop adding empty instance for vendor HAL am: b9ddf021d3 am: 8a4e68b788 am: 329fe1ca18 am: a8cec5d5ce
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1438028

Change-Id: I332a0a820f480104557d9fd69657dcc401b2da0b
2020-09-28 19:04:08 +00:00
Roshan Pius
329fe1ca18 supplicant(vts): Stop adding empty instance for vendor HAL am: b9ddf021d3 am: 8a4e68b788
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1438028

Change-Id: I0549c24594969ae37c71d8a71b585fcd588c88df
2020-09-28 18:38:16 +00:00
Roshan Pius
b9ddf021d3 supplicant(vts): Stop adding empty instance for vendor HAL
We don't need to test supplicant in the presence of vendor HAL & without
it. For a given device, this behavior is fixed.

Bug: 161951052
Test: atest VtsHalWifiSupplicantV1_1TargetTest
Merged-In: I71097c3afef1765ca514abf2c350c423e3999020
Change-Id: I71097c3afef1765ca514abf2c350c423e3999020
(cherry picked from commit 984b6e0607)
2020-09-28 16:42:47 +00:00
lesl
9b85a78e71 wifi: Add vts 1.3 for hostapd hidl 1.3
Duplicate from 1.2 and add
1. Call setDebugParams for debugging
2. Add metered indication in NetworkParams (default is true)
3. Add non metered test case

Bug: 151189102
Test: atest -c VtsHalWifiHostapdV1_3TargetTest --rebuild-module-info
Test: atest -c VtsHalWifiHostapdV1_2TargetTest
Test: atest -c VtsHalWifiHostapdV1_1TargetTest
Test: atest -c VtsHalWifiHostapdV1_0TargetTest
Change-Id: Ie425e14a08a71cfe4eb8a6b67cd837afd6da4dbe
2020-09-28 11:55:23 +08:00
lesl
f910d10d23 wifi: ignore addAccessPoint_1_2 test if current hidl is 1_3
Bug: 169385303
Test: atest -c VtsHalWifiHostapdV1_2TargetTest
Test: atest -c VtsHalWifiHostapdV1_1TargetTest
Test: atest -c VtsHalWifiHostapdV1_0TargetTest
Change-Id: I4be366be0e733b2ad00c64036a0f8be4e391228c
2020-09-28 11:29:31 +08:00
Treehugger Robot
91927a754a Merge "vts: Use global hostapd_ since teardown will call terminate function" into android11-tests-dev 2020-09-25 22:53:30 +00:00
Roshan Pius
4cbd355b25 Merge changes I71097c3a,I872a1b3e
* changes:
  supplicant(vts): Stop adding empty instance for vendor HAL
  Revert "wifi: remove wifi instance name string check"
2020-09-25 21:51:16 +00:00
Roshan Pius
133389711d supplicant(vts): Stop adding empty instance for vendor HAL
We don't need to test supplicant in the presence of vendor HAL & without
it. For a given device, this behavior is fixed.

Bug: 161951052
Test: atest VtsHalWifiSupplicantV1_1TargetTest
Merged-In: I71097c3afef1765ca514abf2c350c423e3999020
Change-Id: I71097c3afef1765ca514abf2c350c423e3999020
2020-09-25 19:14:13 +00:00
Roshan Pius
f00ab8b77b Revert "wifi: remove wifi instance name string check"
This reverts commit 1c50a59eae.

Reason for revert: This was not needed. Does not fix the issue at hand.
Bug: 161951052
Merged-In: I872a1b3e87f17a43eb3c22c930e916c7e5e2d2a6
Change-Id: I872a1b3e87f17a43eb3c22c930e916c7e5e2d2a6
2020-09-25 19:13:45 +00:00
Treehugger Robot
224824b2dc Merge "vts: Use global hostapd_ since teardown will call terminate function" am: 77c3b52888 am: 7ce0280a4d am: c663e086fd am: 45de416230 am: bd3a9bae8a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436771

Change-Id: I367f68fb2cd380085bc1423be4feea7118bd83f1
2020-09-25 07:50:03 +00:00
Treehugger Robot
bd3a9bae8a Merge "vts: Use global hostapd_ since teardown will call terminate function" am: 77c3b52888 am: 7ce0280a4d am: c663e086fd am: 45de416230
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436771

Change-Id: If17caa26b7dde0f77320ea9e5431b44f74c964ab
2020-09-25 07:35:03 +00:00
Treehugger Robot
c663e086fd Merge "vts: Use global hostapd_ since teardown will call terminate function" am: 77c3b52888 am: 7ce0280a4d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436771

Change-Id: I46da75297a7d58c4db18831a7aba491e3801c400
2020-09-25 07:07:34 +00:00
lesl
b688ea7e73 vts: Use global hostapd_ since teardown will call terminate function
aosp/1427815 add invoke terminate function in teardown function.
It will cause Create Test case fail since Create killed global hostapd_
service to re-generate the local one.
Use global hostapd_ to replace local variable to make teardown function
work normally.

Bug: 169248773
Test: atest -c VtsHalWifiHostapdV1_2TargetTest
Test: atest -c VtsHalWifiHostapdV1_1TargetTest
Test: atest -c VtsHalWifiHostapdV1_0TargetTest
Change-Id: I6300a626db76e68873bbc34c489a9a8ee2d55e7a
2020-09-24 08:17:34 +00:00
lesl
25f606fbc5 vts: Use global hostapd_ since teardown will call terminate function
aosp/1427815 add invoke terminate function in teardown function.
It will cause Create Test case fail since Create killed global hostapd_
service to re-generate the local one.
Use global hostapd_ to replace local variable to make teardown function
work normally.

Bug: 169248773
Test: atest -c VtsHalWifiHostapdV1_2TargetTest
Test: atest -c VtsHalWifiHostapdV1_1TargetTest
Test: atest -c VtsHalWifiHostapdV1_0TargetTest
Change-Id: I6300a626db76e68873bbc34c489a9a8ee2d55e7a
2020-09-24 16:05:39 +08:00
Roshan Pius
984b6e0607 supplicant(vts): Stop adding empty instance for vendor HAL
We don't need to test supplicant in the presence of vendor HAL & without
it. For a given device, this behavior is fixed.

Bug: 161951052
Test: atest VtsHalWifiSupplicantV1_1TargetTest
Change-Id: I71097c3afef1765ca514abf2c350c423e3999020
2020-09-23 15:19:30 -07:00
Roshan Pius
533a44d096 Revert "wifi: remove wifi instance name string check"
This reverts commit 1c50a59eae.

Reason for revert: This was not needed. Does not fix the issue at hand.
Bug: 161951052
Test: atest VtsHalWifiSupplicantV1_1TargetTest

Change-Id: I872a1b3e87f17a43eb3c22c930e916c7e5e2d2a6
2020-09-23 15:10:07 -07:00
lesl
c9d109fe06 wifi: Add access network type support
The access network type can be used to indicate network metered state.
Add access network type support when create access point.

Test: Manual Test, check client scan IE to show correct interworking
value. see: b/137879206#comment14
Test: atest VtsHalWifiHostapdV1_0TargetTest
Test: atest VtsHalWifiHostapdV1_1TargetTest
Test: atest VtsHalWifiHostapdV1_2TargetTest
Bug: 137879206

Change-Id: I74213bd763f865f26781313b00e1b1cfeee93086
2020-09-22 20:46:24 +08:00
Treehugger Robot
0cd6bffb74 Merge "wifi(vts): Precondition AP tests on existence of hostapd HAL" into android11-tests-dev 2020-09-19 03:17:21 +00:00
Jimmy Chen
d3e28b91a9 Merge "wifi: add 60GHz STA support" 2020-09-18 07:21:22 +00:00
Treehugger Robot
ec23502100 Merge "wifi: wait for the framework to be ready before checking features" into android11-tests-dev 2020-09-18 03:27:19 +00:00
Les Lee
4ed9a8494c Merge "wifi: Report mac address of apIfaceInstance in callback" 2020-09-18 02:34:57 +00:00
TreeHugger Robot
b504944278 Merge "wifi: wait for the framework to be ready before checking features" 2020-09-18 02:11:37 +00:00
Treehugger Robot
d6db131281 Merge "wifi: Call terminate in VTS teardown" am: 226727ca88 am: 188a7b6bbf am: 6718df8902 am: e9089d18ef am: 7ba81ef68d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1427815

Change-Id: I42a0b019d75ef40bc78de605eaa31c2a0194efdd
2020-09-17 14:54:27 +00:00
Treehugger Robot
7ba81ef68d Merge "wifi: Call terminate in VTS teardown" am: 226727ca88 am: 188a7b6bbf am: 6718df8902 am: e9089d18ef
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1427815

Change-Id: I9bdab0d4e0d36b2f1920c808fea63623d3982db6
2020-09-17 14:14:11 +00:00
Treehugger Robot
9392a18cc6 Merge "wifi: Added capability check in RTT tests" am: 08c0142b21 am: cabeb6149b am: c418575f39 am: bb913aa46f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1428450

Change-Id: Icd8172ffcfd340852eeba681c76abaf1b28c5f05
2020-09-17 14:12:47 +00:00
Treehugger Robot
6718df8902 Merge "wifi: Call terminate in VTS teardown" am: 226727ca88 am: 188a7b6bbf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1427815

Change-Id: I6c449c10f8200c66df4f183df348d7744cba3865
2020-09-17 10:00:21 +00:00
Treehugger Robot
226727ca88 Merge "wifi: Call terminate in VTS teardown" 2020-09-17 08:28:14 +00:00
Treehugger Robot
c418575f39 Merge "wifi: Added capability check in RTT tests" am: 08c0142b21 am: cabeb6149b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1428450

Change-Id: I1b36177052e1bb33def059b75b90ef4240e040a3
2020-09-17 07:37:14 +00:00
Treehugger Robot
8695039f22 Merge "wifi: Added capability check in RTT tests" into android11-tests-dev 2020-09-17 06:17:11 +00:00
Treehugger Robot
08c0142b21 Merge "wifi: Added capability check in RTT tests" 2020-09-17 06:13:34 +00:00
Treehugger Robot
70047281b5 Merge "wifi: remove wifi instance name string check" into android11-tests-dev 2020-09-17 03:38:41 +00:00
lesl
0a43f6dc11 wifi: Call terminate in VTS teardown
When OEM register different hostapd instance without update the StopHostapd.
It will cause VTS clean fail because hostapd process name is the new
one.
Call terminate to request clean HAL state.

Bug: 161682236
Bug: 167636313
Test: atest -c VtsHalWifiHostapdV1_2TargetTest
Test: atest -c VtsHalWifiHostapdV1_1TargetTest
Test: atest -c VtsHalWifiHostapdV1_0TargetTest
Change-Id: If56e5b5351abd31865150bdf97d27674dbbc4257
2020-09-17 00:57:17 +00:00
Les Lee
19cc21ea41 Merge "vts: Fix incorrect instance name in Teardown" 2020-09-17 00:56:50 +00:00
Roshan Pius
0076dae608 wifi(vts): Precondition AP tests on existence of hostapd HAL
This used to be present on the old host side VTS tests, port the feature to
target side since host side VTS tests are deprecated.

Also,
i) Added a separate test: VtsHalWifiV1_4TargetTest to test the wifi
chip methods. Putting them in VtsHalWifiApV1_4TargetTest will prevent
these from running on devices without AP feature.
ii) Ensured all the non-NAN, non-RTT tests disable framework for
testing. NAN/RTT tests uses framework to check if the corresponding
package manager feature exists.

Bug: 166529516
Test: atest \
VtsHalWifiApV1_0TargetTest \
VtsHalWifiApV1_4TargetTest \
VtsHalWifiV1_0TargetTest \
VtsHalWifiV1_4TargetTest

Change-Id: I05aab6992277601633a0f926a8262c4c27402e93
2020-09-17 00:19:54 +00:00
Sunil Ravi
b016478784 wifi: Added capability check in RTT tests
Added test for 2 sided RTT.
Added RTT measurement type capability check in range request tests.

Bug: 163327074
Test: vts test - VtsHalWifiRttV1_4TargetTest
Change-Id: I546806605b6b3ecd124068fc81b9fb275b745f45
Merged-In: I546806605b6b3ecd124068fc81b9fb275b745f45
(cherry picked from commit d85edb7f66)
2020-09-16 17:16:51 +00:00
Sunil Ravi
bd5a47d5dd wifi: Added capability check in RTT tests
Added test for 2 sided RTT.
Added RTT measurement type capability check in range request tests.

Bug: 163327074
Test: vts test - VtsHalWifiRttV1_4TargetTest
Change-Id: I546806605b6b3ecd124068fc81b9fb275b745f45
(cherry picked from commit d85edb7f66)
2020-09-16 10:09:41 -07:00
Jimmy Chen
a8ae5ac2fa wifi: add 60GHz STA support
Extend the PairwiseCipherMask and GroupCipherMask enums with GCMP_128
as WiGig doesn't support GCMP_256.
Add a flag for enabling EDMG (802.11ay, 60GHz channel bonding) for STA.

Bug: 147495507
Test: atest VtsHalWifiV1_0TargetTest VtsHalWifiNanV1_0TargetTest VtsHalWifiApV1_0TargetTest \
            VtsHalWifiV1_1TargetTest \
            VtsHalWifiV1_2TargetTest VtsHalWifiNanV1_2TargetTest \
            VtsHalWifiV1_3TargetTest \
            VtsHalWifiApV1_4TargetTest VtsHalWifiNanV1_4TargetTest VtsHalWifiRttV1_4TargetTest

Change-Id: I008955c3f6960b888271a679a5ba10ae2f9a9ad1
2020-09-16 10:40:54 +08:00
Jimmy Chen
1c50a59eae wifi: remove wifi instance name string check
When wifi instance name is empty, HAL should still be started normally.

Bug: 161951052
Test: atest VtsHalWifiV1_0TargetTest VtsHalWifiNanV1_0TargetTest VtsHalWifiApV1_0TargetTest \
            VtsHalWifiV1_1TargetTest \
            VtsHalWifiV1_2TargetTest VtsHalWifiNanV1_2TargetTest \
            VtsHalWifiV1_3TargetTest \
            VtsHalWifiApV1_4TargetTest VtsHalWifiNanV1_4TargetTest VtsHalWifiRttV1_4TargetTest
Change-Id: I2d848501ba3e7d4128b07d8ac858e5ebd31c6452
2020-09-16 02:16:57 +00:00
lesl
bc86698c89 vts: Fix incorrect instance name in Teardown
The stopHostapd uses vendor HAL HIDL interface.
The interface name should use wifi_instance.

Bug: 161682236
Test: atest VtsHalWifiHostapdV1_2TargetTest
Change-Id: I8215cba3e2a36f48863f57e199684c7446e20692
Merged-In: I8215cba3e2a36f48863f57e199684c7446e20692
2020-09-16 09:38:21 +08:00
Dan Shi
8b3d1f32a5 Merge "Suppress gtest error for tests without any instance" am: de3f15adc0 am: acfabe652f am: 6086e20a02 am: ecbff25e71
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425889

Change-Id: Id004165914d469c01113091081d120f7cd68ec26
2020-09-16 00:23:41 +00:00
Dan Shi
6086e20a02 Merge "Suppress gtest error for tests without any instance" am: de3f15adc0 am: acfabe652f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425889

Change-Id: I8b25839bef2f81a02590357dc7c3658ea4499f76
2020-09-15 23:06:07 +00:00
Jimmy Chen
e29dd0090b wifi: remove wifi instance name string check
When wifi instance name is empty, HAL should still be started normally.

Bug: 161951052
Test: atest VtsHalWifiV1_0TargetTest VtsHalWifiNanV1_0TargetTest VtsHalWifiApV1_0TargetTest \
            VtsHalWifiV1_1TargetTest \
            VtsHalWifiV1_2TargetTest VtsHalWifiNanV1_2TargetTest \
            VtsHalWifiV1_3TargetTest \
            VtsHalWifiApV1_4TargetTest VtsHalWifiNanV1_4TargetTest VtsHalWifiRttV1_4TargetTest
Change-Id: I2d848501ba3e7d4128b07d8ac858e5ebd31c6452
2020-09-15 18:04:31 +08:00
Jimmy Chen
fa7543563f wifi: wait for the framework to be ready before checking features
supplicant vts will stop and then start the framework, it is too
slow to allow next test checking necessary features.

This change also create a base class, SupplicantHidlTestBase, to do the
common initialization for all vts tests.

Bug: 167230822
Test: atest VtsHalWifiSupplicantV1_0TargetTest \
            VtsHalWifiSupplicantP2pV1_0TargetTest \
            VtsHalWifiSupplicantV1_1TargetTest \
            VtsHalWifiSupplicantV1_2TargetTest \
            VtsHalWifiSupplicantP2pV1_2TargetTest \
            VtsHalWifiSupplicantV1_3TargetTest \
Change-Id: Ice25c6d2198f719fc964a17515e66146a0a8ace2
2020-09-15 13:59:08 +08:00
lesl
6f326efb0a wifi: Call terminate in VTS teardown
When OEM register different hostapd instance without update the StopHostapd.
It will cause VTS clean fail because hostapd process name is the new
one.
Call terminate to request clean HAL state.

Bug: 161682236
Bug: 167636313
Test: atest -c VtsHalWifiHostapdV1_2TargetTest
Test: atest -c VtsHalWifiHostapdV1_1TargetTest
Test: atest -c VtsHalWifiHostapdV1_0TargetTest
Change-Id: If56e5b5351abd31865150bdf97d27674dbbc4257
2020-09-14 20:00:54 +08:00
Jimmy Chen
5e4daa8d9a wifi: wait for the framework to be ready before checking features
supplicant vts will stop and then start the framework, it is too
slow to allow next test checking necessary features.

This change also create a base class, SupplicantHidlTestBase, to do the
common initialization for all vts tests.

Bug: 167230822
Test: atest VtsHalWifiSupplicantV1_0TargetTest \
            VtsHalWifiSupplicantP2pV1_0TargetTest \
            VtsHalWifiSupplicantV1_1TargetTest \
            VtsHalWifiSupplicantV1_2TargetTest \
            VtsHalWifiSupplicantP2pV1_2TargetTest \
            VtsHalWifiSupplicantV1_3TargetTest \
            VtsHalWifiSupplicantV1_4TargetTest
Change-Id: Ice25c6d2198f719fc964a17515e66146a0a8ace2
2020-09-14 08:29:28 +00:00
Dan Shi
ac9cf4482b Suppress gtest error for tests without any instance
Bug: 162052785
Test: m -j vts
Change-Id: I627d6790aa08aa9c6e3c5b8bdc533213ee08de21
Merged-In: I627d6790aa08aa9c6e3c5b8bdc533213ee08de21
2020-09-11 11:02:25 -07:00
lesl
0d23292225 wifi: Report mac address of apIfaceInstance in callback
Test: Manuel Test. Hotspot works normally & mac address is correct to
show in framework.
Test: atest VtsHalWifiHostapdV1_0TargetTest
Test: atest VtsHalWifiHostapdV1_1TargetTest
Test: atest VtsHalWifiHostapdV1_2TargetTest

Change-Id: I33f4548257d51fc06fa85af00a92637345364820
2020-09-11 23:37:17 +08:00
Dan Shi
d4b249725b Merge "Suppress gtest error for tests without any instance" 2020-09-08 23:33:38 +00:00
Les Lee
c5e6608a68 Merge "wifi: Add Mobile Hotspot(MHS) info callback" 2020-09-08 21:52:54 +00:00
Dan Shi
6b0fd062bb Suppress gtest error for tests without any instance
Bug: 162052785
Test: m -j vts
Change-Id: I627d6790aa08aa9c6e3c5b8bdc533213ee08de21
2020-09-08 10:42:38 -07:00
Xin Li
3211c41054 Merge RP1A.200720.011
Bug: 167588565
Merged-In: If6721904a50f164626d30460a2b13c59ffd2814f
Change-Id: I254b5fef3368a656c3f67cdab85623deb5399c88
2020-09-02 11:55:34 -07:00
lesl
4aee25fa69 wifi: Add Mobile Hotspot(MHS) info callback
The info includes AP's frequency, bandwidth
and generation(operational mode).

Bug: 163288112
Test: Manuel Test. Hotspot works normally.
Test: atest VtsHalWifiHostapdV1_0TargetTest
Test: atest VtsHalWifiHostapdV1_1TargetTest
Test: atest VtsHalWifiHostapdV1_2TargetTest
Change-Id: I5ff640169f10178fac196d17cadbfeedd2787fc0
2020-09-02 18:14:52 +08:00
Jimmy Chen
5cbf6276f5 Wifi: support 60GHz (Wigig) band
Update WifiBand enum with new bands to support 60GHz band:
BAND_60GHZ - 60GHz band
BAND_24GHZ_5GHZ_6GHZ_60GHZ -
  2.4 GHz + 5 GHz (no DFS) + 6GHz + 60GHz
BAND_24GHZ_5GHZ_WITH_DFS_6GHZ_60GHZ -
  2.4 GHz + 5 GHz with DFS + 6GHz + 60GHz

Bug: 147495506
Test: atest VtsHalWifiV1_0TargetTest VtsHalWifiNanV1_0TargetTest VtsHalWifiApV1_0TargetTest \
            VtsHalWifiV1_1TargetTest \
            VtsHalWifiV1_2TargetTest VtsHalWifiNanV1_2TargetTest \
            VtsHalWifiV1_3TargetTest \
            VtsHalWifiApV1_4TargetTest VtsHalWifiNanV1_4TargetTest VtsHalWifiRttV1_4TargetTest
Change-Id: I7c7cc514b88b999cc33e9573ac65910c0c53417a
2020-09-02 10:56:56 +08:00
Jimmy Chen
1bdf1a79f4 Wifi: add new chip capability WIGIG
Add a new chip capability WIGIG, for chips that
can operate on the 60GHz band. This capability is
mapped to the vendor HAL feature WIFI_FEATURE_INFRA_60G.

Bug: 147522435
Test: atest VtsHalWifiV1_0TargetTest VtsHalWifiNanV1_0TargetTest VtsHalWifiApV1_0TargetTest \
            VtsHalWifiV1_1TargetTest \
            VtsHalWifiV1_2TargetTest VtsHalWifiNanV1_2TargetTest \
            VtsHalWifiV1_3TargetTest \
            VtsHalWifiApV1_4TargetTest VtsHalWifiNanV1_4TargetTest VtsHalWifiRttV1_4TargetTest
Change-Id: I37b1121c62acadb621dca5e38671c78817f592e1
2020-09-02 10:56:56 +08:00
TreeHugger Robot
30f8aa988b Merge "Make wifi hidl interfaces available to the platform" 2020-08-29 19:22:48 +00:00
Colin Cross
81dec9cfc4 Make wifi hidl interfaces available to the platform
The wifi hidl interfaces need apex_available: ["com.android.wifi"]
because the generated java interfaces are needed by the
com.android.wifi apex, but that causes the C interfaces to not
be available to the platform.  The unavailability was hidden
by b/154888298.  Explicitly mark them with "//apex_available:platform".

Bug: 154888298
Test: m checkbuild
Change-Id: I8959ec1454cce6817802bcc1785a34ba56adc99c
2020-08-28 15:05:59 -07:00
Xin Li
36dcf1a404 Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
Bug: 166295507
Merged-In: I6502829205ede2de914b27e6c2c5c42916af2b39
Change-Id: I7cb06511e43bd1fffd5f80a11dbdf5b1314cfe8e
2020-08-28 13:05:04 -07:00
Nate Jiang
adce22ea9d resolve merge conflicts of 0bb061f863 to master
Change-Id: I0b13f3fc6edcfb2d5982ec13728753906f158c30
2020-08-27 20:46:32 +00:00
Nate Jiang
0bb061f863 WifiNanIface: Validate interface before cleanup. am: 674b27abc3
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12464566

Change-Id: Ibc123ac00b48485c9f319d8ec304221e427cd989
2020-08-27 19:54:40 +00:00
Nate Jiang
674b27abc3 WifiNanIface: Validate interface before cleanup.
Calling invalidate() API twice would lead to fatal error. This
commit is to check if interface isValid() before doing other operations
in invalidate() API.

Bug: 166412651
Test: atest VtsHalWifiNanV1_4TargetTest WifiNanIfaceTest
Change-Id: Ia3fc48bb3d98660705bba9a32b7a5845ff7af79f
2020-08-26 16:38:19 -07:00
lesl
7140c0bd18 vts: Fix incorrect instance name in Teardown am: a6cc5825e9 am: 9ce5301add am: 676d1b13dc am: 726ad5373b am: c36041d0e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12422070

Change-Id: Ic4f1e56a1d03186814ab0405c263390895853b7d
2020-08-26 16:25:38 +00:00
lesl
c36041d0e3 vts: Fix incorrect instance name in Teardown am: a6cc5825e9 am: 9ce5301add am: 676d1b13dc am: 726ad5373b
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12422070

Change-Id: I5218babac3d87d748dffeb928fee77d425280e6e
2020-08-26 15:41:44 +00:00
lesl
355eb41cd7 vts: Fix incorrect instance name in Teardown am: a6cc5825e9 am: 9ce5301add am: 676d1b13dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12422070

Change-Id: I5bb711148ae6ba355b6c0af62a0100718eb0a0f7
2020-08-26 15:19:34 +00:00
lesl
726ad5373b vts: Fix incorrect instance name in Teardown am: a6cc5825e9 am: 9ce5301add am: 676d1b13dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12422070

Change-Id: I53cc1eb272c5d529e3882d334895a73496044911
2020-08-26 15:18:42 +00:00
lesl
04d7e84c6e vts: Fix incorrect instance name in Teardown am: a6cc5825e9 am: 9ce5301add
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12422070

Change-Id: I783c3bd78d5adee5ceee8c4bc55c380b80434949
2020-08-26 14:45:07 +00:00