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/
DAdapterService.java218 A2dpService a2dpService = A2dpService.getA2dpService(); in processInitProfilePriorities() local
231 if ((a2dpService != null) && in processInitProfilePriorities()
234 (a2dpService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED)){ in processInitProfilePriorities()
235 a2dpService.setPriority(device,BluetoothProfile.PRIORITY_ON); in processInitProfilePriorities()
1382 A2dpService a2dpService = A2dpService.getA2dpService(); in processConnectOtherProfiles() local
1385 if ((hsService == null) ||(a2dpService == null )){ in processConnectOtherProfiles()
1388 List<BluetoothDevice> a2dpConnDevList= a2dpService.getConnectedDevices(); in processConnectOtherProfiles()
1404 (a2dpService.getPriority(device) >= BluetoothProfile.PRIORITY_ON)){ in processConnectOtherProfiles()
1405 a2dpService.connect(device); in processConnectOtherProfiles()
1419 private void adjustOtherSinkPriorities(A2dpService a2dpService, in adjustOtherSinkPriorities() argument
[all …]
DBondStateMachine.java420 A2dpService a2dpService = A2dpService.getA2dpService(); in setProfilePriorty() local
428 if ((a2dpService != null) && in setProfilePriorty()
429 (a2dpService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED)){ in setProfilePriorty()
430 a2dpService.setPriority(device,BluetoothProfile.PRIORITY_ON); in setProfilePriorty()
441 A2dpService a2dpService = A2dpService.getA2dpService(); in clearProfilePriorty() local
446 if(a2dpService != null) in clearProfilePriorty()
447 a2dpService.setPriority(device,BluetoothProfile.PRIORITY_UNDEFINED); in clearProfilePriorty()