wifi: uprev supplicant interface to 1.4

Bug: 162901316
Test: atest VtsHalWifiSupplicantV1_0TargetTest \
            VtsHalWifiSupplicantP2pV1_0TargetTest \
            VtsHalWifiSupplicantV1_1TargetTest \
            VtsHalWifiSupplicantV1_2TargetTest \
            VtsHalWifiSupplicantP2pV1_2TargetTest \
            VtsHalWifiSupplicantV1_3TargetTest
Change-Id: Ic6292bb27e234f76013a341e62652dedf55f8490
This commit is contained in:
Jimmy Chen 2020-08-05 10:17:48 +08:00
parent 4431935980
commit 1913fdbf3e
3 changed files with 51 additions and 1 deletions

View file

@ -545,7 +545,7 @@
</hal>
<hal format="hidl" optional="true">
<name>android.hardware.wifi.supplicant</name>
<version>1.0-3</version>
<version>1.0-4</version>
<interface>
<name>ISupplicant</name>
<instance>default</instance>

View file

@ -0,0 +1,21 @@
// This file is autogenerated by hidl-gen -Landroidbp.
hidl_interface {
name: "android.hardware.wifi.supplicant@1.4",
root: "android.hardware",
srcs: [
"ISupplicant.hal",
],
interfaces: [
"android.hardware.wifi.supplicant@1.0",
"android.hardware.wifi.supplicant@1.1",
"android.hardware.wifi.supplicant@1.2",
"android.hardware.wifi.supplicant@1.3",
"android.hardware.wifi@1.0",
"android.hidl.base@1.0",
],
gen_java: true,
apex_available: [
"com.android.wifi",
],
}

View file

@ -0,0 +1,29 @@
/*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package android.hardware.wifi.supplicant@1.4;
import @1.3::ISupplicant;
/**
* Interface exposed by the supplicant HIDL service registered
* with the hardware service manager.
* This is the root level object for any the supplicant interactions.
* To use 1.4 features you must cast specific interfaces returned from the
* 1.1 HAL. For example V1_1::ISupplicant::addIface() adds V1_0::ISupplicantIface,
* which can be cast to V1_4::ISupplicantStaIface.
*/
interface ISupplicant extends @1.3::ISupplicant {};