Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DPhonePolicy.java253 A2dpService a2dpService = mFactory.getA2dpService(); in processInitProfilePriorities() local
277 if ((a2dpService != null) && (ArrayUtils.contains(uuids, BluetoothUuid.A2DP_SINK) in processInitProfilePriorities()
279 a2dpService.getConnectionPolicy(device) in processInitProfilePriorities()
351 A2dpService a2dpService = mFactory.getA2dpService(); in handleAllProfilesDisconnected() local
359 if (a2dpService != null) { in handleAllProfilesDisconnected()
360 List<BluetoothDevice> a2dpConnDevList = a2dpService.getConnectedDevices(); in handleAllProfilesDisconnected()
415 final A2dpService a2dpService = mFactory.getA2dpService(); in autoConnectA2dp() local
416 if (a2dpService == null) { in autoConnectA2dp()
420 int a2dpConnectionPolicy = a2dpService.getConnectionPolicy(device); in autoConnectA2dp()
423 a2dpService.connect(device); in autoConnectA2dp()
[all …]
DSilenceDeviceManager.java265 A2dpService a2dpService = mFactory.getA2dpService(); in handleSilenceDeviceStateChanged() local
266 if (a2dpService != null) { in handleSilenceDeviceStateChanged()
267 a2dpService.setSilenceMode(device, state); in handleSilenceDeviceStateChanged()
DActiveDeviceManager.java427 final A2dpService a2dpService = mFactory.getA2dpService(); in setA2dpActiveDevice() local
428 if (a2dpService == null) { in setA2dpActiveDevice()
431 if (!a2dpService.setActiveDevice(device)) { in setA2dpActiveDevice()
DBondStateMachine.java536 A2dpService a2dpService = A2dpService.getA2dpService(); in clearProfilePriority() local
545 if (a2dpService != null) { in clearProfilePriority()
546 a2dpService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java99 A2dpStateMachine(BluetoothDevice device, A2dpService a2dpService, in A2dpStateMachine() argument
104 mA2dpService = a2dpService; in A2dpStateMachine()
121 static A2dpStateMachine make(BluetoothDevice device, A2dpService a2dpService, in make() argument
124 A2dpStateMachine a2dpSm = new A2dpStateMachine(device, a2dpService, a2dpNativeInterface, in make()