metrics stubs

Change-Id: I2eb1417feb5ceda3ae3ad08ccb00894f99f2c5c4
diff --git a/stubs/metrics/c_metrics_library.h b/stubs/metrics/c_metrics_library.h
new file mode 100644
index 0000000..18f583f
--- /dev/null
+++ b/stubs/metrics/c_metrics_library.h
@@ -0,0 +1,29 @@
+typedef void* CMetricsLibrary;
+
+static inline CMetricsLibrary CMetricsLibraryNew() {
+	return NULL;
+}
+
+static inline void CMetricsLibraryDelete(CMetricsLibrary l) {
+	return;
+}
+
+static inline int CMetricsLibraryAreMetricsEnabled() {
+	return 0;
+}
+
+static inline int CMetricsLibrarySendToUMA(CMetricsLibrary handle,
+                             const char* name,
+                             int sample,
+                             int min,
+                             int max,
+                             int nbuckets) {
+	return 0;
+}
+
+static inline int CMetricsLibrarySendEnumToUMA(CMetricsLibrary handle,
+                                 const char* name,
+                                 int sample,
+                                 int max) {
+	return 0;
+}
diff --git a/stubs/metrics/c_structured_metrics.h b/stubs/metrics/c_structured_metrics.h
new file mode 100644
index 0000000..f63e715
--- /dev/null
+++ b/stubs/metrics/c_structured_metrics.h
@@ -0,0 +1,49 @@
+static inline void BluetoothAdapterStateChanged(const char* boot_id,
+                                                int64_t system_time,
+                                                int state) {}
+
+static inline void BluetoothPairingStateChanged(const char* boot_id,
+                                                int64_t system_time,
+                                                const char* device_id,
+                                                int device_type,
+                                                int state) {}
+
+static inline void BluetoothAclConnectionStateChanged(const char* boot_id,
+                                                      int64_t system_time,
+                                                      const char* device_id,
+                                                      int device_type,
+                                                      int connection_direction,
+                                                      int connection_initiator,
+                                                      int state_change_type,
+                                                      int state) {}
+
+void BluetoothProfileConnectionStateChanged(const char* boot_id,
+                                            int64_t system_time,
+                                            const char* device_id,
+                                            int state_change_type,
+                                            int profile,
+                                            int state) {}
+
+void BluetoothDeviceInfoReport(const char* boot_id,
+                               int64_t system_time,
+                               const char* device_id,
+                               int device_type,
+                               int device_class,
+                               int device_category,
+                               int vendor_id,
+                               int vendor_id_source,
+                               int product_id,
+                               int product_version) {}
+
+void BluetoothDeviceInfo(int device_type,
+                         int device_class,
+                         int device_category,
+                         int vendor_id,
+                         int vendor_id_source,
+                         int product_id,
+                         int product_version) {}
+
+void BluetoothChipsetInfo(int vendor_id,
+                          int product_id,
+                          int transport,
+                          const char* chipset_string) {}