Home
last modified time | relevance | path

Searched refs:BluetoothDeviceManager (Results 1 – 14 of 14) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothDeviceManagerTest.java51 import com.android.server.telecom.bluetooth.BluetoothDeviceManager;
82 BluetoothDeviceManager mBluetoothDeviceManager;
114 mBluetoothDeviceManager = new BluetoothDeviceManager(mContext, mAdapter, in setUp()
154 BluetoothDeviceManager.DEVICE_TYPE_HEADSET)); in testSingleDeviceConnectAndDisconnect()
158 BluetoothDeviceManager.DEVICE_TYPE_HEADSET)); in testSingleDeviceConnectAndDisconnect()
170 BluetoothDeviceManager.DEVICE_TYPE_HEADSET)); in testAddDeviceFailsWhenServicesAreNull()
173 BluetoothDeviceManager.DEVICE_TYPE_HEARING_AID)); in testAddDeviceFailsWhenServicesAreNull()
176 BluetoothDeviceManager.DEVICE_TYPE_LE_AUDIO)); in testAddDeviceFailsWhenServicesAreNull()
186 BluetoothDeviceManager.DEVICE_TYPE_HEADSET)); in testMultiDeviceConnectAndDisconnect()
189 BluetoothDeviceManager.DEVICE_TYPE_HEARING_AID)); in testMultiDeviceConnectAndDisconnect()
[all …]
DBluetoothRouteManagerTest.java47 import com.android.server.telecom.bluetooth.BluetoothDeviceManager;
78 @Mock private BluetoothDeviceManager mDeviceManager;
104 BluetoothDeviceManager.DEVICE_TYPE_HEARING_AID); in testConnectLeftHearingAidWhenLeftIsActive()
130 BluetoothDeviceManager.DEVICE_TYPE_HEARING_AID); in testConnectRightHearingAidWhenLeftIsActive()
181 sm.onActiveDeviceChanged(DEVICE1, BluetoothDeviceManager.DEVICE_TYPE_HEADSET); in testAmbiguousActiveDevice()
182 sm.onActiveDeviceChanged(DEVICE2, BluetoothDeviceManager.DEVICE_TYPE_LE_AUDIO); in testAmbiguousActiveDevice()
184 BluetoothDeviceManager.DEVICE_TYPE_HEARING_AID); in testAmbiguousActiveDevice()
DBluetoothRouteTransitionTests.java50 import com.android.server.telecom.bluetooth.BluetoothDeviceManager;
261 @Mock private BluetoothDeviceManager mDeviceManager;
293 int deviceType = BluetoothDeviceManager.DEVICE_TYPE_HEADSET; in testTransitions()
295 deviceType = BluetoothDeviceManager.DEVICE_TYPE_HEARING_AID; in testTransitions()
297 deviceType = BluetoothDeviceManager.DEVICE_TYPE_LE_AUDIO; in testTransitions()
DInCallTonePlayerTest.java48 import com.android.server.telecom.bluetooth.BluetoothDeviceManager;
68 @Mock private BluetoothDeviceManager mBluetoothDeviceManager;
DCallAudioRouteControllerTest.java80 import com.android.server.telecom.bluetooth.BluetoothDeviceManager;
104 @Mock BluetoothDeviceManager mBluetoothDeviceManager;
DCallsManagerTest.java133 import com.android.server.telecom.bluetooth.BluetoothDeviceManager;
315 @Mock private BluetoothDeviceManager mBluetoothDeviceManager;
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothStateReceiver.java72 private final BluetoothDeviceManager mBluetoothDeviceManager;
180 deviceType = BluetoothDeviceManager.DEVICE_TYPE_LE_AUDIO; in handleConnectionStateChanged()
183 deviceType = BluetoothDeviceManager.DEVICE_TYPE_HEARING_AID; in handleConnectionStateChanged()
186 deviceType = BluetoothDeviceManager.DEVICE_TYPE_HEADSET; in handleConnectionStateChanged()
194 BluetoothDeviceManager.getDeviceTypeString(deviceType), in handleConnectionStateChanged()
222 deviceType = BluetoothDeviceManager.DEVICE_TYPE_LE_AUDIO; in handleActiveDeviceChanged()
225 deviceType = BluetoothDeviceManager.DEVICE_TYPE_HEARING_AID; in handleActiveDeviceChanged()
228 deviceType = BluetoothDeviceManager.DEVICE_TYPE_HEADSET; in handleActiveDeviceChanged()
236 BluetoothDeviceManager.getDeviceTypeString(deviceType)); in handleActiveDeviceChanged()
250 if (deviceType == BluetoothDeviceManager.DEVICE_TYPE_HEARING_AID in handleActiveDeviceChanged()
[all …]
DBluetoothRouteManager.java598 private BluetoothDeviceManager mDeviceManager;
608 BluetoothDeviceManager deviceManager, Timeouts.Adapter timeoutsAdapter, in BluetoothRouteManager()
759 if (deviceType == BluetoothDeviceManager.DEVICE_TYPE_LE_AUDIO) { in onActiveDeviceChanged()
769 } else if (deviceType == BluetoothDeviceManager.DEVICE_TYPE_HEARING_AID) { in onActiveDeviceChanged()
779 } else if (deviceType == BluetoothDeviceManager.DEVICE_TYPE_HEADSET) { in onActiveDeviceChanged()
1260 if (deviceType == BluetoothDeviceManager.DEVICE_TYPE_LE_AUDIO) { in setActiveDeviceCacheForTesting()
1262 } else if (deviceType == BluetoothDeviceManager.DEVICE_TYPE_HEARING_AID) { in setActiveDeviceCacheForTesting()
1264 } else if (deviceType == BluetoothDeviceManager.DEVICE_TYPE_HEADSET) { in setActiveDeviceCacheForTesting()
1269 public BluetoothDeviceManager getDeviceManager() { in getDeviceManager()
DBluetoothDeviceManager.java67 public class BluetoothDeviceManager { class
151 Log.i(BluetoothDeviceManager.this, logString);
165 Log.i(BluetoothDeviceManager.this, logString);
177 Log.i(BluetoothDeviceManager.this, logString);
216 Log.i(BluetoothDeviceManager.this, logString);
305 public BluetoothDeviceManager(Context context, BluetoothAdapter bluetoothAdapter, in BluetoothDeviceManager() method in BluetoothDeviceManager
/packages/services/Car/service/src/com/android/car/bluetooth/
DBluetoothDeviceManager.java74 public final class BluetoothDeviceManager { class
75 private static final String TAG = CarLog.tagFor(BluetoothDeviceManager.class);
257 public static @Nullable BluetoothDeviceManager create(Context context) { in create()
259 return new BluetoothDeviceManager(context); in create()
272 private BluetoothDeviceManager(Context context) { in BluetoothDeviceManager() method in BluetoothDeviceManager
DCarBluetoothService.java77 private BluetoothDeviceManager mDeviceManager;
307 mDeviceManager = BluetoothDeviceManager.create(mContext); in createBluetoothDeviceManagerLocked()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomSystem.java43 import com.android.server.telecom.bluetooth.BluetoothDeviceManager;
260 BluetoothDeviceManager bluetoothDeviceManager = new BluetoothDeviceManager(mContext, in TelecomSystem()
DCallsManager.java120 import com.android.server.telecom.bluetooth.BluetoothDeviceManager;
616 BluetoothDeviceManager bluetoothDeviceManager, in CallsManager()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DBluetoothDeviceManagerTest.java99 BluetoothDeviceManager mDeviceManager;
153 mDeviceManager = BluetoothDeviceManager.create(mMockContext); in setUp()