1 #ifndef HIDL_TEST_H_ 2 #define HIDL_TEST_H_ 3 4 #include <android/hardware/tests/bar/1.0/IBar.h> 5 #include <android/hardware/tests/baz/1.0/IBaz.h> 6 #include <android/hardware/tests/hash/1.0/IHash.h> 7 #include <android/hardware/tests/inheritance/1.0/IChild.h> 8 #include <android/hardware/tests/inheritance/1.0/IFetcher.h> 9 #include <android/hardware/tests/inheritance/1.0/IParent.h> 10 #include <android/hardware/tests/memory/1.0/IMemoryTest.h> 11 #include <android/hardware/tests/multithread/1.0/IMultithread.h> 12 #include <android/hardware/tests/pointer/1.0/IGraph.h> 13 #include <android/hardware/tests/pointer/1.0/IPointer.h> 14 #include <android/hardware/tests/safeunion/1.0/ISafeUnion.h> 15 #include <android/hardware/tests/safeunion/cpp/1.0/ICppSafeUnion.h> 16 #include <android/hardware/tests/trie/1.0/ITrie.h> 17 18 template <template <typename Type> class Service> runOnEachServer(void)19void runOnEachServer(void) { 20 using ::android::hardware::tests::bar::V1_0::IBar; 21 using ::android::hardware::tests::baz::V1_0::IBaz; 22 using ::android::hardware::tests::hash::V1_0::IHash; 23 using ::android::hardware::tests::inheritance::V1_0::IChild; 24 using ::android::hardware::tests::inheritance::V1_0::IFetcher; 25 using ::android::hardware::tests::inheritance::V1_0::IParent; 26 using ::android::hardware::tests::memory::V1_0::IMemoryTest; 27 using ::android::hardware::tests::multithread::V1_0::IMultithread; 28 using ::android::hardware::tests::pointer::V1_0::IGraph; 29 using ::android::hardware::tests::pointer::V1_0::IPointer; 30 using ::android::hardware::tests::safeunion::cpp::V1_0::ICppSafeUnion; 31 using ::android::hardware::tests::safeunion::V1_0::ISafeUnion; 32 using ::android::hardware::tests::trie::V1_0::ITrie; 33 34 Service<IMemoryTest>::run("memory"); 35 Service<IChild>::run("child"); 36 Service<IParent>::run("parent"); 37 Service<IFetcher>::run("fetcher"); 38 Service<IBaz>::run("baz"); 39 Service<IBar>::run("foo"); 40 Service<IHash>::run("default"); 41 Service<IGraph>::run("graph"); 42 Service<IPointer>::run("pointer"); 43 Service<IMultithread>::run("multithread"); 44 Service<ITrie>::run("trie"); 45 Service<ICppSafeUnion>::run("default"); 46 Service<ISafeUnion>::run("safeunion"); 47 } 48 49 #endif // HIDL_TEST_H_ 50