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.java307 A2dpService a2dpService = mFactory.getA2dpService(); in processInitProfilePriorities() local
407 if ((a2dpService != null) in processInitProfilePriorities()
410 && (a2dpService.getConnectionPolicy(device) in processInitProfilePriorities()
422 a2dpService.setConnectionPolicy( in processInitProfilePriorities()
762 A2dpService a2dpService = mFactory.getA2dpService(); in processActiveDeviceChanged() local
783 if (a2dpService != null && !isDualMode) { in processActiveDeviceChanged()
787 a2dpService.setConnectionPolicy( in processActiveDeviceChanged()
811 A2dpService a2dpService = mFactory.getA2dpService(); in handleAllProfilesDisconnected() local
822 if (a2dpService != null) { in handleAllProfilesDisconnected()
823 List<BluetoothDevice> a2dpConnDevList = a2dpService.getConnectedDevices(); in handleAllProfilesDisconnected()
[all …]
DActiveDeviceManager.java889 final A2dpService a2dpService = mFactory.getA2dpService(); in setA2dpActiveDevice() local
890 if (a2dpService == null) { in setA2dpActiveDevice()
896 success = a2dpService.removeActiveDevice(!hasFallbackDevice); in setA2dpActiveDevice()
898 success = a2dpService.setActiveDevice(device); in setA2dpActiveDevice()
1085 A2dpService a2dpService = mFactory.getA2dpService(); in setFallbackDeviceActiveLocked() local
1087 if (a2dpService != null) { in setFallbackDeviceActiveLocked()
1088 a2dpFallbackDevice = a2dpService.getFallbackDevice(); in setFallbackDeviceActiveLocked()
DSilenceDeviceManager.java249 A2dpService a2dpService = mFactory.getA2dpService(); in handleSilenceDeviceStateChanged() local
250 if (a2dpService != null) { in handleSilenceDeviceStateChanged()
251 a2dpService.setSilenceMode(device, state); in handleSilenceDeviceStateChanged()
DBondStateMachine.java777 A2dpService a2dpService = A2dpService.getA2dpService(); in clearProfilePriority() local
791 if (a2dpService != null) { in clearProfilePriority()
792 a2dpService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java87 A2dpService a2dpService, in A2dpStateMachine() argument
97 mA2dpService = a2dpService; in A2dpStateMachine()
116 A2dpService a2dpService, in make() argument
121 new A2dpStateMachine(device, a2dpService, a2dpNativeInterface, looper); in make()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetService.java2444 A2dpService a2dpService = A2dpService.getA2dpService(); in okToAcceptConnection() local
2445 if (a2dpService != null && a2dpService.okToConnect(device, true)) { in okToAcceptConnection()
2450 a2dpService.connect(device); in okToAcceptConnection()