Snap for 8730838 from 3b3844a3601b3f0f05d0403a32347101b9a562d9 to tm-release

Change-Id: I0360fc6ece44669b26058215768c9f53fc818869
diff --git a/stats/atoms.proto b/stats/atoms.proto
index 8b4fbb7..8a83c9f 100644
--- a/stats/atoms.proto
+++ b/stats/atoms.proto
@@ -703,6 +703,7 @@
         ServiceRequestEventReported service_request_event_reported = 476 [(module) = "framework"];
         ProviderAcquisitionEventReported provider_acquisition_event_reported =
                 477 [(module) = "framework"];
+        BluetoothDeviceNameReported bluetooth_device_name_reported = 478 [(module) = "bluetooth"];
         // StatsdStats tracks platform atoms with ids upto 750.
         // Update StatsdStats::kMaxPushedAtomId when atom ids here approach that value.
     }
@@ -3236,6 +3237,29 @@
 }
 
 /**
+* Logs the user created Bluetooth device's name.
+* It is pushed at Bluetooth pairing and connection.
+* The metric will only be collected from dogfooders.
+*
+* Logged from:
+*     packages/modules/Bluetooth
+*/
+message BluetoothDeviceNameReported {
+   // An identifier that can be used to match events for this device.
+   // The incremental identifier is locally generated and guaranteed not derived
+   // from any globally unique hardware id.
+   // For paired devices, it stays consistent between Bluetooth toggling for the
+   // same remote device.
+   // For unpaired devices, it stays consistent within the same Bluetooth adapter
+   // session for the same remote device.
+   // Default: 0 if the device's metric id is unknown.
+   optional int32 metric_id = 1;
+
+   // Name of the Bluetooth device. It is created by the user.
+   optional string device_name = 2;
+}
+
+/**
  * Logs when bond state of a Bluetooth device changes
  *
  * Logged from: