• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef __VTS_PROFILER_android_hardware_tests_memory_V1_0_IMemoryTest__
2 #define __VTS_PROFILER_android_hardware_tests_memory_V1_0_IMemoryTest__
3 
4 
5 #include <android-base/logging.h>
6 #include <hidl/HidlSupport.h>
7 #include <linux/limits.h>
8 #include <test/vts/proto/ComponentSpecificationMessage.pb.h>
9 #include "VtsProfilingInterface.h"
10 
11 // HACK: NAN is #defined by math.h which gets included by
12 // ComponentSpecificationMessage.pb.h, but some HALs use
13 // enums called NAN.  Undefine NAN to work around it.
14 #undef NAN
15 
16 #include <android/hardware/tests/memory/1.0/IMemoryTest.h>
17 #include <android/hidl/base/1.0/types.h>
18 #include <android/hidl/memory/block/1.0/types.h>
19 #include <android/hidl/memory/block/1.0/types.vts.h>
20 #include <android/hidl/memory/token/1.0/IMemoryToken.h>
21 #include <android/hidl/memory/token/1.0/MemoryToken.vts.h>
22 
23 
24 using namespace android::hardware::tests::memory::V1_0;
25 using namespace android::hardware;
26 
27 namespace android {
28 namespace vts {
29 extern "C" {
30 
31     void HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest(
32             details::HidlInstrumentor::InstrumentationEvent event,
33             const char* package,
34             const char* version,
35             const char* interface,
36             const char* method,
37             std::vector<void *> *args);
38 }
39 
40 }  // namespace vts
41 }  // namespace android
42 #endif
43