From 69a910f802e61363133d1dce4026e9718993ed3b Mon Sep 17 00:00:00 2001 From: Keun Soo Yim Date: Mon, 23 Jan 2017 10:00:08 -0800 Subject: [PATCH] Add host-side code for wifi HAL test Test: make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module HalWifiHidlTargetTest -l INFO Bug: 34179464 Change-Id: I70c9495a5f2cb0c726373969ada5e33a00cc4c18 --- wifi/1.0/vts/Android.mk | 20 +++++++++++++ .../vts/testcases/hal/wifi/__init__.py | 0 .../vts/testcases/hal/wifi/hidl/Android.mk | 19 ++++++++++++ .../vts/testcases/hal/wifi/hidl/__init__.py | 0 .../testcases/hal/wifi/hidl/target/Android.mk | 23 ++++++++++++++ .../hal/wifi/hidl/target/AndroidTest.xml | 30 +++++++++++++++++++ 6 files changed, 92 insertions(+) create mode 100644 wifi/1.0/vts/Android.mk create mode 100644 wifi/1.0/vts/functional/vts/testcases/hal/wifi/__init__.py create mode 100644 wifi/1.0/vts/functional/vts/testcases/hal/wifi/hidl/Android.mk create mode 100644 wifi/1.0/vts/functional/vts/testcases/hal/wifi/hidl/__init__.py create mode 100644 wifi/1.0/vts/functional/vts/testcases/hal/wifi/hidl/target/Android.mk create mode 100644 wifi/1.0/vts/functional/vts/testcases/hal/wifi/hidl/target/AndroidTest.xml diff --git a/wifi/1.0/vts/Android.mk b/wifi/1.0/vts/Android.mk new file mode 100644 index 0000000000..d3471363c1 --- /dev/null +++ b/wifi/1.0/vts/Android.mk @@ -0,0 +1,20 @@ +# +# Copyright (C) 2016 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. +# + +LOCAL_PATH := $(call my-dir) + +# include hidl test makefiles +include $(LOCAL_PATH)/functional/vts/testcases/hal/wifi/hidl/Android.mk diff --git a/wifi/1.0/vts/functional/vts/testcases/hal/wifi/__init__.py b/wifi/1.0/vts/functional/vts/testcases/hal/wifi/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/wifi/1.0/vts/functional/vts/testcases/hal/wifi/hidl/Android.mk b/wifi/1.0/vts/functional/vts/testcases/hal/wifi/hidl/Android.mk new file mode 100644 index 0000000000..f9e32763ff --- /dev/null +++ b/wifi/1.0/vts/functional/vts/testcases/hal/wifi/hidl/Android.mk @@ -0,0 +1,19 @@ +# +# Copyright (C) 2016 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. +# + +LOCAL_PATH := $(call my-dir) + +include $(call all-subdir-makefiles) diff --git a/wifi/1.0/vts/functional/vts/testcases/hal/wifi/hidl/__init__.py b/wifi/1.0/vts/functional/vts/testcases/hal/wifi/hidl/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/wifi/1.0/vts/functional/vts/testcases/hal/wifi/hidl/target/Android.mk b/wifi/1.0/vts/functional/vts/testcases/hal/wifi/hidl/target/Android.mk new file mode 100644 index 0000000000..40f154efcd --- /dev/null +++ b/wifi/1.0/vts/functional/vts/testcases/hal/wifi/hidl/target/Android.mk @@ -0,0 +1,23 @@ +# +# Copyright (C) 2016 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. +# + +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE := HalWifiHidlTargetTest +VTS_CONFIG_SRC_DIR := testcases/hal/wifi/hidl/target +include test/vts/tools/build/Android.host_config.mk diff --git a/wifi/1.0/vts/functional/vts/testcases/hal/wifi/hidl/target/AndroidTest.xml b/wifi/1.0/vts/functional/vts/testcases/hal/wifi/hidl/target/AndroidTest.xml new file mode 100644 index 0000000000..1099a5a6e7 --- /dev/null +++ b/wifi/1.0/vts/functional/vts/testcases/hal/wifi/hidl/target/AndroidTest.xml @@ -0,0 +1,30 @@ + + + + + + + + +