Merge "Reorder/cleanup FCM exempt list #1" am: ef85febe6a am: 7380d36ae3

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1427724

Change-Id: Ie575d326cc19ebb495712bb0b34194831e32a4c7
This commit is contained in:
Yifan Hong 2020-09-16 17:14:41 +00:00 committed by Automerger Merge Worker
commit 7a07e92303

View file

@ -33,12 +33,12 @@ bool ShouldCheckMissingHalsInFcm(const std::string& package) {
};
static std::vector<std::string> excluded_prefixes{
// TODO(b/110261831): reduce items in this list
"android.hardware.gnss.measurement_corrections@",
// Packages without top level interfaces (including types-only packages) are exempted.
"android.hardware.camera.device@",
"android.hardware.gnss.measurement_corrections@1.",
"android.hardware.graphics.bufferqueue@",
// Exempted.
"android.hardware.camera.device@",
// Test packages are exempted.
"android.hardware.tests.",
};
@ -46,20 +46,21 @@ bool ShouldCheckMissingHalsInFcm(const std::string& package) {
// TODO(b/110261831): reduce items in this list
"android.hardware.audio@7.0",
"android.hardware.audio.effect@7.0",
"android.hardware.biometrics.fingerprint@2.3",
"android.hardware.cas.native@1.0",
"android.hardware.fastboot@1.0",
"android.hardware.gnss.visibility_control@1.0",
"android.hardware.media.bufferpool@1.0",
"android.hardware.media.bufferpool@2.0",
"android.hardware.radio.config@1.2",
"android.hardware.tv.cec@2.0",
"android.hardware.tv.tuner@1.0",
"android.hardware.keymaster",
// Exempted
// Packages without top level interfaces (including types-only packages) are exempted.
// HIDL
"android.hardware.cas.native@1.0",
"android.hardware.gnss.visibility_control@1.0",
"android.hardware.radio.config@1.2",
// AIDL
"android.hardware.common",
"android.hardware.graphics.common",
"android.hardware.keymaster",
};
auto package_has_prefix = [&](const std::string& prefix) {