Home
last modified time | relevance | path

Searched refs:ProfileId (Results 1 – 21 of 21) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DMetricsLoggerTest.java30 import com.android.bluetooth.BluetoothMetricsProto.ProfileId;
133 MetricsLogger.logProfileConnectionEvent(ProfileId.AVRCP); in testLogProfileConnectionEvent()
139 Assert.assertEquals(ProfileId.AVRCP, profileUsageStatsAvrcp.getProfileId()); in testLogProfileConnectionEvent()
151 MetricsLogger.logProfileConnectionEvent(ProfileId.AVRCP); in testLogProfileConnectionEventMultipleProfile()
152 MetricsLogger.logProfileConnectionEvent(ProfileId.HEADSET); in testLogProfileConnectionEventMultipleProfile()
153 MetricsLogger.logProfileConnectionEvent(ProfileId.AVRCP); in testLogProfileConnectionEventMultipleProfile()
158 Map<ProfileId, ProfileConnectionStats> profileConnectionCountMap = in testLogProfileConnectionEventMultipleProfile()
160 Assert.assertTrue(profileConnectionCountMap.containsKey(ProfileId.AVRCP)); in testLogProfileConnectionEventMultipleProfile()
162 2, profileConnectionCountMap.get(ProfileId.AVRCP).getNumTimesConnected()); in testLogProfileConnectionEventMultipleProfile()
163 Assert.assertTrue(profileConnectionCountMap.containsKey(ProfileId.HEADSET)); in testLogProfileConnectionEventMultipleProfile()
[all …]
/packages/modules/Bluetooth/floss/hcidoc/src/groups/
Dinformational.rs199 active_profiles: HashMap<ProfileId, ProfileInformation>,
236 profile_id: ProfileId, in report_profile_start() argument
251 profile_id: ProfileId, in report_profile_end() argument
302 let profile_id = ProfileId::L2capCid(host_cid); in report_l2cap_conn_rsp()
360 let profile_id = ProfileId::L2capCid(host_cid); in report_l2cap_disconn_rsp()
436 enum ProfileId { enum
583 ProfileId::OnePerConnection(ProfileType::Hfp), in report_sco_connection_start()
598 ProfileId::OnePerConnection(ProfileType::Hfp), in report_connection_end()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DMetricsLogger.java33 import com.android.bluetooth.BluetoothMetricsProto.ProfileId;
67 private static final HashMap<ProfileId, Integer> sProfileConnectionCounts = new HashMap<>();
200 public static void logProfileConnectionEvent(ProfileId profileId) { in logProfileConnectionEvent()
/packages/modules/Bluetooth/system/gd/proto/bluetooth/metrics/
Dbluetooth.proto251 enum ProfileId { enum
277 optional ProfileId profile_id = 1;
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java327 MetricsLogger.logProfileConnectionEvent(BluetoothMetricsProto.ProfileId.A2DP_SINK); in onConnectionStateChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java338 MetricsLogger.logProfileConnectionEvent(BluetoothMetricsProto.ProfileId.PBAP_CLIENT); in onConnectionStateChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DPbapStateMachine.java346 MetricsLogger.logProfileConnectionEvent(BluetoothMetricsProto.ProfileId.PBAP); in enter()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/
DAvrcpTargetService.java307 MetricsLogger.logProfileConnectionEvent(BluetoothMetricsProto.ProfileId.AVRCP); in deviceConnected()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java221 MetricsLogger.logProfileConnectionEvent(BluetoothMetricsProto.ProfileId.OPP); in run()
DBluetoothOppObexServerSession.java687 MetricsLogger.logProfileConnectionEvent(BluetoothMetricsProto.ProfileId.OPP); in onDisconnect()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pan/
DPanService.java718 MetricsLogger.logProfileConnectionEvent(BluetoothMetricsProto.ProfileId.PAN); in handlePanDeviceStateChange()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hid/
DHidDeviceService.java884 MetricsLogger.logProfileConnectionEvent(BluetoothMetricsProto.ProfileId.HID_DEVICE); in setAndBroadcastConnectionState()
DHidHostService.java1383 MetricsLogger.logProfileConnectionEvent(BluetoothMetricsProto.ProfileId.HID_HOST); in updateConnectionState()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/
DSapService.java513 MetricsLogger.logProfileConnectionEvent(BluetoothMetricsProto.ProfileId.SAP); in setState()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/
DHearingAidService.java907 BluetoothMetricsProto.ProfileId.HEARING_AID); in connectionStateChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java1379 BluetoothMetricsProto.ProfileId.AVRCP_CONTROLLER); in broadcastConnectionStateChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/
DMceStateMachine.java294 MetricsLogger.logProfileConnectionEvent(BluetoothMetricsProto.ProfileId.MAP_CLIENT); in onConnectionStateChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapService.java994 MetricsLogger.logProfileConnectionEvent(BluetoothMetricsProto.ProfileId.MAP); in onConnect()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpService.java1330 MetricsLogger.logProfileConnectionEvent(BluetoothMetricsProto.ProfileId.A2DP); in connectionStateChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetService.java2181 MetricsLogger.logProfileConnectionEvent(BluetoothMetricsProto.ProfileId.HEADSET); in onConnectionStateChangedFromStateMachine()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java1427 BluetoothMetricsProto.ProfileId.HEADSET_CLIENT); in enter()