Expose HidlInstrumentor data.

These are required for refactoring code
into static blocks.

Bug: 64066141
Test: pass
Change-Id: I3e047adbdba8972eb5e70575e490ae87ae2928bd
diff --git a/base/include/hidl/HidlInternal.h b/base/include/hidl/HidlInternal.h
index d81dd9c..2a86c9e 100644
--- a/base/include/hidl/HidlInternal.h
+++ b/base/include/hidl/HidlInternal.h
@@ -156,7 +156,13 @@
             const std::string &insterface);
     virtual ~HidlInstrumentor();
 
- protected:
+   public:
+    const std::vector<InstrumentationCallback>& getInstrumentationCallbacks() {
+        return mInstrumentationCallbacks;
+    }
+    bool isInstrumentationEnabled() { return mEnableInstrumentation; }
+
+   protected:
     // Set mEnableInstrumentation based on system property
     // hal.instrumentation.enable, register/de-register instrumentation
     // callbacks if mEnableInstrumentation is true/false.