hal_implementation_test: exempt AIDL tests
Exempting android.hardware.tests.* interfaces which are used as
examples, for testing, but which are not real interfaces.
Bug: N/A
Test: N/A
Change-Id: Ibfe6159324e935f2755823d04a1da0f111a19b43
diff --git a/tests/hal/hal_implementation_test.cpp b/tests/hal/hal_implementation_test.cpp
index 7d8924e..1c2e278 100644
--- a/tests/hal/hal_implementation_test.cpp
+++ b/tests/hal/hal_implementation_test.cpp
@@ -168,7 +168,8 @@
static bool isAospAidlInterface(const std::string& name) {
return base::StartsWith(name, "android.") &&
!base::StartsWith(name, "android.automotive.") &&
- !base::StartsWith(name, "android.hardware.automotive.");
+ !base::StartsWith(name, "android.hardware.automotive.") &&
+ !base::StartsWith(name, "android.hardware.tests.");
}
static std::set<std::string> allAidlManifestInterfaces() {