Home
last modified time | relevance | path

Searched refs:A2dpService (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java54 public class A2dpService extends ProfileService { class
58 private static A2dpService sA2dpService;
207 public static synchronized A2dpService getA2dpService() { in getA2dpService()
219 private static synchronized void setA2dpService(A2dpService instance) { in setA2dpService()
953 sendBroadcast(intent, A2dpService.BLUETOOTH_PERM); in broadcastCodecConfig()
1134 private A2dpService mService;
1136 private A2dpService getService() { in getService()
1148 BluetoothA2dpBinder(A2dpService svc) { in BluetoothA2dpBinder()
1159 A2dpService service = getService(); in connect()
1168 A2dpService service = getService(); in disconnect()
[all …]
DA2dpNativeInterface.java155 A2dpService service = A2dpService.getA2dpService(); in sendMessageToService()
DA2dpStateMachine.java90 private A2dpService mA2dpService;
98 A2dpStateMachine(BluetoothDevice device, A2dpService a2dpService, in A2dpStateMachine()
120 static A2dpStateMachine make(BluetoothDevice device, A2dpService a2dpService, in make()
696 mA2dpService.sendBroadcast(intent, A2dpService.BLUETOOTH_PERM); in broadcastAudioState()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DPhonePolicy.java36 import com.android.bluetooth.a2dp.A2dpService;
230 A2dpService a2dpService = mFactory.getA2dpService(); in processInitProfilePriorities()
294 A2dpService a2dpService = mFactory.getA2dpService(); in processProfileStateChanged()
336 A2dpService a2dpService = mFactory.getA2dpService(); in handleAllProfilesDisconnected()
399 final A2dpService a2dpService = mFactory.getA2dpService(); in autoConnectA2dp()
461 A2dpService a2dpService = mFactory.getA2dpService(); in processConnectOtherProfiles()
519 A2dpService a2dpService = mFactory.getA2dpService(); in setAutoConnectForA2dpSink()
555 A2dpService a2dpService = mFactory.getA2dpService(); in removeAutoConnectFromA2dpSink()
DServiceFactory.java19 import com.android.bluetooth.a2dp.A2dpService;
29 public A2dpService getA2dpService() { in getA2dpService()
30 return A2dpService.getA2dpService(); in getA2dpService()
DConfig.java28 import com.android.bluetooth.a2dp.A2dpService;
69 new ProfileConfig(A2dpService.class, R.bool.profile_supported_a2dp,
DBondStateMachine.java32 import com.android.bluetooth.a2dp.A2dpService;
533 A2dpService a2dpService = A2dpService.getA2dpService(); in clearProfilePriority()
DSilenceDeviceManager.java33 import com.android.bluetooth.a2dp.A2dpService;
265 A2dpService a2dpService = mFactory.getA2dpService(); in handleSilenceDeviceStateChanged()
DActiveDeviceManager.java38 import com.android.bluetooth.a2dp.A2dpService;
427 final A2dpService a2dpService = mFactory.getA2dpService(); in setA2dpActiveDevice()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java69 private A2dpService mA2dpService;
142 TestUtils.startService(mServiceRule, A2dpService.class); in startService()
143 mA2dpService = A2dpService.getA2dpService(); in startService()
148 TestUtils.stopService(mServiceRule, A2dpService.class); in stopService()
149 mA2dpService = A2dpService.getA2dpService(); in stopService()
234 Assert.assertEquals(mA2dpService, A2dpService.getA2dpService()); in testGetA2dpService()
DA2dpStateMachineTest.java64 @Mock private A2dpService mA2dpService;
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DSilenceDeviceManagerTest.java37 import com.android.bluetooth.a2dp.A2dpService;
63 @Mock private A2dpService mA2dpService;
DActiveDeviceManagerTest.java37 import com.android.bluetooth.a2dp.A2dpService;
64 @Mock private A2dpService mA2dpService;
DPhonePolicyTest.java35 import com.android.bluetooth.a2dp.A2dpService;
64 @Mock private A2dpService mA2dpService;
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpTargetService.java34 import com.android.bluetooth.a2dp.A2dpService;
351 A2dpService.getA2dpService().setActiveDevice(device); in setActiveDevice()
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidService.java36 import com.android.bluetooth.a2dp.A2dpService;
510 final A2dpService a2dpService = mFactory.getA2dpService(); in setActiveDevice()