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.java2992 BluetoothMetricsProto.BluetoothLog.Builder metricsBuilder = in dumpMetrics() local
2998 metricsBuilder.mergeFrom(nativeMetricsBytes); in dumpMetrics()
3004 metricsBuilder.setNumBondedDevices(getBondedDevices().length); in dumpMetrics()
3005 MetricsLogger.dumpProto(metricsBuilder); in dumpMetrics()
3007 profile.dumpProto(metricsBuilder); in dumpMetrics()
3009 byte[] metricsBytes = Base64.encode(metricsBuilder.build().toByteArray(), Base64.DEFAULT); in dumpMetrics()