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

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

Change-Id: I67239a91d68560abdbb3b2d2fe565a4854828913
This commit is contained in:
Yifan Hong 2020-09-16 16:43:33 +00:00 committed by Automerger Merge Worker
commit 7380d36ae3

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) {