Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DPhonePolicy.java301 A2dpService a2dpService = mFactory.getA2dpService(); in processInitProfilePriorities() local
333 if ((a2dpService != null) && (Utils.arrayContains(uuids, BluetoothUuid.A2DP_SINK) in processInitProfilePriorities()
335 a2dpService.getConnectionPolicy(device) in processInitProfilePriorities()
489 A2dpService a2dpService = mFactory.getA2dpService(); in processActiveDeviceChanged() local
490 if (a2dpService != null) { in processActiveDeviceChanged()
491 if ((a2dpService.getConnectionPolicy(device) in processActiveDeviceChanged()
493 && (a2dpService.getConnectionState(device) in processActiveDeviceChanged()
496 a2dpService.disconnect(device); in processActiveDeviceChanged()
513 A2dpService a2dpService = mFactory.getA2dpService(); in handleAllProfilesDisconnected() local
524 if (a2dpService != null) { in handleAllProfilesDisconnected()
[all …]
DActiveDeviceManager.java674 final A2dpService a2dpService = mFactory.getA2dpService(); in setA2dpActiveDevice() local
675 if (a2dpService == null) { in setA2dpActiveDevice()
678 if (!a2dpService.setActiveDevice(device)) { in setA2dpActiveDevice()
786 A2dpService a2dpService = mFactory.getA2dpService(); in setFallbackDeviceActive() local
788 if (a2dpService != null) { in setFallbackDeviceActive()
789 a2dpFallbackDevice = a2dpService.getFallbackDevice(); in setFallbackDeviceActive()
DSilenceDeviceManager.java270 A2dpService a2dpService = mFactory.getA2dpService(); in handleSilenceDeviceStateChanged() local
271 if (a2dpService != null) { in handleSilenceDeviceStateChanged()
272 a2dpService.setSilenceMode(device, state); in handleSilenceDeviceStateChanged()
DBondStateMachine.java613 A2dpService a2dpService = A2dpService.getA2dpService(); in clearProfilePriority() local
622 if (a2dpService != null) { in clearProfilePriority()
623 a2dpService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java107 A2dpStateMachine(BluetoothDevice device, A2dpService a2dpService, in A2dpStateMachine() argument
112 mA2dpService = a2dpService; in A2dpStateMachine()
129 static A2dpStateMachine make(BluetoothDevice device, A2dpService a2dpService, in make() argument
132 A2dpStateMachine a2dpSm = new A2dpStateMachine(device, a2dpService, a2dpNativeInterface, in make()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetService.java2189 A2dpService a2dpService = A2dpService.getA2dpService(); in okToAcceptConnection() local
2190 if (a2dpService != null && a2dpService.okToConnect(device, true)) { in okToAcceptConnection()
2193 a2dpService.connect(device); in okToAcceptConnection()