Searched refs:activeDevice (Results 1 - 14 of 14) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
H A DHeadsetServiceAndStateMachineTest.java429 BluetoothDevice activeDevice = connectedDevices.get(MAX_HEADSET_CONNECTIONS / 2);
430 Assert.assertTrue(mHeadsetServiceBinder.setActiveDevice(activeDevice));
431 verify(mNativeInterface).setActiveDevice(activeDevice);
432 waitAndVerifyActiveDeviceChangedIntent(ASYNC_CALL_TIMEOUT_MILLIS, activeDevice);
433 Assert.assertEquals(activeDevice, mHeadsetServiceBinder.getActiveDevice());
465 BluetoothDevice activeDevice = connectedDevices.get(MAX_HEADSET_CONNECTIONS / 2);
466 Assert.assertTrue(mHeadsetServiceBinder.setActiveDevice(activeDevice));
467 verify(mNativeInterface).setActiveDevice(activeDevice);
468 waitAndVerifyActiveDeviceChangedIntent(ASYNC_CALL_TIMEOUT_MILLIS, activeDevice);
469 Assert.assertEquals(activeDevice, mHeadsetServiceBinde
[all...]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DBluetoothRouteTransitionTests.java75 private BluetoothDevice activeDevice = null; field in class:BluetoothRouteTransitionTests.BluetoothRouteTestParametersBuilder
140 this.activeDevice = device;
156 activeDevice);
174 private BluetoothDevice activeDevice = null; field in class:BluetoothRouteTransitionTests.BluetoothRouteTestParameters
181 BluetoothDevice audioOnDevice, BluetoothDevice activeDevice) {
193 this.activeDevice = activeDevice;
209 ", activeDevice='" + activeDevice + '\'' +
243 mParams.audioOnDevice, mParams.activeDevice);
176 BluetoothRouteTestParameters(String name, String initialBluetoothState, BluetoothDevice initialDevice, int messageType, ListenerUpdate[] expectedListenerUpdates, int expectedBluetoothInteraction, BluetoothDevice expectedConnectionDevice, String expectedFinalStateName, BluetoothDevice[] connectedDevices, BluetoothDevice messageDevice, BluetoothDevice audioOnDevice, BluetoothDevice activeDevice) argument
303 setupConnectedDevices(BluetoothDevice[] devices, BluetoothDevice audioOnDevice, BluetoothDevice activeDevice) argument
[all...]
H A DBluetoothRouteManagerTest.java129 private void setupConnectedDevices(BluetoothDevice[] devices, BluetoothDevice activeDevice) { argument
133 if (activeDevice != null) {
134 when(mHeadsetProxy.getAudioState(eq(activeDevice)))
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/
H A DUsbHostController.java137 UsbDevice activeDevice = getActiveDevice();
138 return activeDevice != null && activeDevice.getSerialNumber() != null
139 && activeDevice.getSerialNumber().equals(device.getSerialNumber());
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
H A DUsbHostController.java128 UsbDevice activeDevice = getActiveDevice();
129 return activeDevice != null && UsbUtil.isDevicesMatching(activeDevice, device);
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DPhonePolicy.java179 BluetoothDevice activeDevice =
181 processProfileActiveDeviceChanged(activeDevice, msg.arg1);
306 private void processProfileActiveDeviceChanged(BluetoothDevice activeDevice, int profileId) { argument
307 debugLog("processProfileActiveDeviceChanged, activeDevice=" + activeDevice + ", profile="
315 if (activeDevice == null) {
323 setAutoConnectForA2dpSink(activeDevice);
324 setAutoConnectForHeadset(activeDevice);
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
H A DTestInCallUI.java234 BluetoothDevice activeDevice = cas.getActiveBluetoothDevice();
235 routeText = activeDevice == null ? "null bt" : activeDevice.getName();
/packages/apps/Settings/src/com/android/settings/sound/
H A DAudioSwitchPreferenceController.java200 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { argument
350 BluetoothDevice activeDevice) {
361 if (btDevice.equals(activeDevice)) {
349 setupPreferenceEntries(CharSequence[] mediaOutputs, CharSequence[] mediaValues, BluetoothDevice activeDevice) argument
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothSummaryUpdater.java80 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { argument
H A DBluetoothDeviceUpdater.java144 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { argument
H A DDeviceListPreferenceFragment.java276 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { } argument
/packages/apps/Settings/src/com/android/settings/connecteddevice/
H A DAvailableMediaDeviceGroupController.java152 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { argument
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
H A DBluetoothSettingsFragment.java224 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { argument
H A DBluetoothDeviceListAdapter.java330 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { argument

Completed in 397 milliseconds