From ad694b36a88b6d9c4975c9a67e2fe71ef61dc29a Mon Sep 17 00:00:00 2001 From: Yuexi Ma Date: Thu, 19 Jan 2017 13:04:41 -0800 Subject: [PATCH] Add tv input and cec profiling test Test: ENABLE_TREBLE=true make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module TvCecHidlProfilingTest -l INFO Change-Id: Id7a12f6b6b63e5208f7a8d568e4cb457a8a05a9b --- .../hal/tv_cec/hidl/host_profiling/Android.mk | 23 ++++++++++++++ .../hidl/host_profiling/AndroidTest.xml | 31 +++++++++++++++++++ .../tv_cec/hidl/host_profiling/__init__.py | 0 .../tv_input/hidl/host_profiling/Android.mk | 23 ++++++++++++++ .../hidl/host_profiling/AndroidTest.xml | 31 +++++++++++++++++++ .../tv_input/hidl/host_profiling/__init__.py | 0 6 files changed, 108 insertions(+) create mode 100644 tv/cec/1.0/vts/functional/vts/testcases/hal/tv_cec/hidl/host_profiling/Android.mk create mode 100644 tv/cec/1.0/vts/functional/vts/testcases/hal/tv_cec/hidl/host_profiling/AndroidTest.xml create mode 100644 tv/cec/1.0/vts/functional/vts/testcases/hal/tv_cec/hidl/host_profiling/__init__.py create mode 100644 tv/input/1.0/vts/functional/vts/testcases/hal/tv_input/hidl/host_profiling/Android.mk create mode 100644 tv/input/1.0/vts/functional/vts/testcases/hal/tv_input/hidl/host_profiling/AndroidTest.xml create mode 100644 tv/input/1.0/vts/functional/vts/testcases/hal/tv_input/hidl/host_profiling/__init__.py diff --git a/tv/cec/1.0/vts/functional/vts/testcases/hal/tv_cec/hidl/host_profiling/Android.mk b/tv/cec/1.0/vts/functional/vts/testcases/hal/tv_cec/hidl/host_profiling/Android.mk new file mode 100644 index 0000000000..40536a5de2 --- /dev/null +++ b/tv/cec/1.0/vts/functional/vts/testcases/hal/tv_cec/hidl/host_profiling/Android.mk @@ -0,0 +1,23 @@ +# +# Copyright (C) 2017 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 := TvCecHidlProfilingTest +VTS_CONFIG_SRC_DIR := testcases/hal/tv_cec/hidl/host_profiling +include test/vts/tools/build/Android.host_config.mk diff --git a/tv/cec/1.0/vts/functional/vts/testcases/hal/tv_cec/hidl/host_profiling/AndroidTest.xml b/tv/cec/1.0/vts/functional/vts/testcases/hal/tv_cec/hidl/host_profiling/AndroidTest.xml new file mode 100644 index 0000000000..ffd857eb51 --- /dev/null +++ b/tv/cec/1.0/vts/functional/vts/testcases/hal/tv_cec/hidl/host_profiling/AndroidTest.xml @@ -0,0 +1,31 @@ + + + + + + + + + + \ No newline at end of file diff --git a/tv/cec/1.0/vts/functional/vts/testcases/hal/tv_cec/hidl/host_profiling/__init__.py b/tv/cec/1.0/vts/functional/vts/testcases/hal/tv_cec/hidl/host_profiling/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tv/input/1.0/vts/functional/vts/testcases/hal/tv_input/hidl/host_profiling/Android.mk b/tv/input/1.0/vts/functional/vts/testcases/hal/tv_input/hidl/host_profiling/Android.mk new file mode 100644 index 0000000000..514df20ae2 --- /dev/null +++ b/tv/input/1.0/vts/functional/vts/testcases/hal/tv_input/hidl/host_profiling/Android.mk @@ -0,0 +1,23 @@ +# +# Copyright (C) 2017 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 := TvInputHidlProfilingTest +VTS_CONFIG_SRC_DIR := testcases/hal/tv_input/hidl/host_profiling +include test/vts/tools/build/Android.host_config.mk diff --git a/tv/input/1.0/vts/functional/vts/testcases/hal/tv_input/hidl/host_profiling/AndroidTest.xml b/tv/input/1.0/vts/functional/vts/testcases/hal/tv_input/hidl/host_profiling/AndroidTest.xml new file mode 100644 index 0000000000..5b8e6f99d7 --- /dev/null +++ b/tv/input/1.0/vts/functional/vts/testcases/hal/tv_input/hidl/host_profiling/AndroidTest.xml @@ -0,0 +1,31 @@ + + + + + + + + + + diff --git a/tv/input/1.0/vts/functional/vts/testcases/hal/tv_input/hidl/host_profiling/__init__.py b/tv/input/1.0/vts/functional/vts/testcases/hal/tv_input/hidl/host_profiling/__init__.py new file mode 100644 index 0000000000..e69de29bb2