Home
last modified time | relevance | path

Searched refs:activeDevice (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbHostController.java133 UsbDevice activeDevice = getActiveDevice(); in deviceMatchedActiveDevice() local
134 return activeDevice != null && activeDevice.getSerialNumber() != null in deviceMatchedActiveDevice()
135 && activeDevice.getSerialNumber().equals(device.getSerialNumber()); in deviceMatchedActiveDevice()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/
DUsbHostController.java137 UsbDevice activeDevice = getActiveDevice(); in deviceMatchedActiveDevice() local
138 return activeDevice != null && activeDevice.getSerialNumber() != null in deviceMatchedActiveDevice()
139 && activeDevice.getSerialNumber().equals(device.getSerialNumber()); in deviceMatchedActiveDevice()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothRouteManagerTest.java418 private void setupConnectedDevices(BluetoothDevice[] devices, BluetoothDevice activeDevice) { in setupConnectedDevices() argument
421 if (activeDevice != null) { in setupConnectedDevices()
422 when(mHeadsetProxy.isAudioConnected(eq(activeDevice))).thenReturn(true); in setupConnectedDevices()