Home
last modified time | relevance | path

Searched refs:a2dpService (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DPhonePolicy.java211 A2dpService a2dpService = mFactory.getA2dpService(); in processInitProfilePriorities() local
233 if ((a2dpService != null) in processInitProfilePriorities()
236 && (a2dpService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED)) { in processInitProfilePriorities()
237 a2dpService.setPriority(device, BluetoothProfile.PRIORITY_ON); in processInitProfilePriorities()
311 final A2dpService a2dpService = mFactory.getA2dpService(); in autoConnectA2dp() local
312 if (a2dpService == null) { in autoConnectA2dp()
323 if (a2dpService.getPriority(device) == BluetoothProfile.PRIORITY_AUTO_CONNECT) { in autoConnectA2dp()
325 a2dpService.connect(device); in autoConnectA2dp()
350 A2dpService a2dpService = mFactory.getA2dpService(); in processConnectOtherProfiles() local
362 if (a2dpService != null) { in processConnectOtherProfiles()
[all …]
DBondStateMachine.java491 A2dpService a2dpService = A2dpService.getA2dpService(); in clearProfilePriority() local
499 if (a2dpService != null) in clearProfilePriority()
500 a2dpService.setPriority(device, BluetoothProfile.PRIORITY_UNDEFINED); in clearProfilePriority()
511 if(a2dpService != null) in clearProfilePriority()
512 a2dpService.resetAvrcpBlacklist(device); in clearProfilePriority()