/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
H A D | HeadsetServiceAndStateMachineTest.java | 429 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 D | BluetoothRouteTransitionTests.java | 75 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 D | BluetoothRouteManagerTest.java | 129 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 D | UsbHostController.java | 137 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 D | UsbHostController.java | 128 UsbDevice activeDevice = getActiveDevice(); 129 return activeDevice != null && UsbUtil.isDevicesMatching(activeDevice, device);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | PhonePolicy.java | 179 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 D | TestInCallUI.java | 234 BluetoothDevice activeDevice = cas.getActiveBluetoothDevice(); 235 routeText = activeDevice == null ? "null bt" : activeDevice.getName();
|
/packages/apps/Settings/src/com/android/settings/sound/ |
H A D | AudioSwitchPreferenceController.java | 200 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 D | BluetoothSummaryUpdater.java | 80 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { argument
|
H A D | BluetoothDeviceUpdater.java | 144 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { argument
|
H A D | DeviceListPreferenceFragment.java | 276 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { } argument
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/ |
H A D | AvailableMediaDeviceGroupController.java | 152 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { argument
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
H A D | BluetoothSettingsFragment.java | 224 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { argument
|
H A D | BluetoothDeviceListAdapter.java | 330 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { argument
|