DisabledChecks.h revision fc7c44c02917959d1a4a16ab4ed899eff86d0486
1/* 2 * Copyright (C) 2017 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17#ifndef ANDROID_VINTF_DISABLED_CHECKS_H_ 18#define ANDROID_VINTF_DISABLED_CHECKS_H_ 19 20namespace android { 21namespace vintf { 22 23// Flags for *::checkCompatibility functions. 24enum DisabledChecks : int32_t { 25 ENABLE_ALL_CHECKS = 0, 26 // Disable AVB version check in RuntimeInfo::checkCompatibility 27 DISABLE_AVB_CHECK = 1 << 0, 28 // Disable RuntimeInfo <-> Framework Matrix check. This implies DISABLE_AVB_CHECK. 29 DISABLE_RUNTIME_INFO = 1 << 1, 30}; 31 32} // namespace vintf 33} // namespace android 34 35#endif // ANDROID_VINTF_DISABLED_CHECKS_H_ 36