Home
last modified time | relevance | path

Searched refs:metricsBuilder (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DMetricsLoggerTest.java59 BluetoothLog.Builder metricsBuilder = BluetoothLog.newBuilder(); in testLogProfileConnectionEvent() local
60 MetricsLogger.dumpProto(metricsBuilder); in testLogProfileConnectionEvent()
61 BluetoothLog metricsProto = metricsBuilder.build(); in testLogProfileConnectionEvent()
81 BluetoothLog.Builder metricsBuilder = BluetoothLog.newBuilder(); in testLogProfileConnectionEventMultipleProfile() local
82 MetricsLogger.dumpProto(metricsBuilder); in testLogProfileConnectionEventMultipleProfile()
83 BluetoothLog metricsProto = metricsBuilder.build(); in testLogProfileConnectionEventMultipleProfile()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DMetricsLogger.java49 public static void dumpProto(BluetoothLog.Builder metricsBuilder) { in dumpProto() argument
52 (key, value) -> metricsBuilder.addProfileConnectionStats( in dumpProto()
DAdapterService.java2818 BluetoothMetricsProto.BluetoothLog.Builder metricsBuilder = in dumpMetrics() local
2824 metricsBuilder.mergeFrom(nativeMetricsBytes); in dumpMetrics()
2830 metricsBuilder.setNumBondedDevices(getBondedDevices().length); in dumpMetrics()
2831 MetricsLogger.dumpProto(metricsBuilder); in dumpMetrics()
2833 profile.dumpProto(metricsBuilder); in dumpMetrics()
2835 byte[] metricsBytes = Base64.encode(metricsBuilder.build().toByteArray(), Base64.DEFAULT); in dumpMetrics()