blob: 0b63017c8983601606e1eda09df458f0833ca34c [file] [log] [blame]
#
# Copyright 2018 - 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.
#
class Constant(object):
"""Constant values used in scripts. """
# Header of the .bp files generated by scripts.
BP_WARNING_HEADER = (
'// This file was auto-generated. Do not edit manually.\n'
'// Use launch_hal_test.py or update_makefiles.py in test/vts-testcase/hal/script/ to generate this file.\n\n')
# Default path that stores the Google defined HAL interface.
HAL_INTERFACE_PATH = 'hardware/interfaces'
# Regular expression for HAL package names.
HAL_PACKAGE_NAME_PATTERN = '(([a-zA-Z_0-9]*)(?:[.][a-zA-Z_0-9]*)*)@([0-9]+)[.]([0-9]+)'
# Default package root for Google defined HAL interface.
HAL_PACKAGE_PREFIX = 'android.hardware'
# Default path that stores HAL traces, used for replay tests.
HAL_TRACE_PATH = 'test/vts-testcase/hal-trace'
# Default path for VTS test configure files.
VTS_HAL_TEST_CASE_PATH = 'test/vts-testcase/hal'