Searched refs:bluetoothDevice (Results 1 – 10 of 10) sorted by relevance
137 final BluetoothDevice bluetoothDevice = cachedDevice.getDevice(); in getBtRainbowDrawableWithDescription() local139 bluetoothDevice, BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET); in getBtRainbowDrawableWithDescription()146 final Uri iconUri = getUriMetaData(bluetoothDevice, in getBtRainbowDrawableWithDescription()203 public static boolean getBooleanMetaData(BluetoothDevice bluetoothDevice, int key) { in getBooleanMetaData() argument204 if (bluetoothDevice == null) { in getBooleanMetaData()207 final byte[] data = bluetoothDevice.getMetadata(key); in getBooleanMetaData()221 public static String getStringMetaData(BluetoothDevice bluetoothDevice, int key) { in getStringMetaData() argument222 if (bluetoothDevice == null) { in getStringMetaData()225 final byte[] data = bluetoothDevice.getMetadata(key); in getStringMetaData()239 public static int getIntMetaData(BluetoothDevice bluetoothDevice, int key) { in getIntMetaData() argument[all …]
93 final BluetoothDevice bluetoothDevice = mock(BluetoothDevice.class); in startScan_haveA2dpProfileDeviceIsPreferredAndBonded_shouldAddDevice() local94 devices.add(bluetoothDevice); in startScan_haveA2dpProfileDeviceIsPreferredAndBonded_shouldAddDevice()97 when(mCachedDeviceManager.findDevice(bluetoothDevice)).thenReturn(cachedDevice); in startScan_haveA2dpProfileDeviceIsPreferredAndBonded_shouldAddDevice()99 when(mA2dpProfile.isPreferred(bluetoothDevice)).thenReturn(true); in startScan_haveA2dpProfileDeviceIsPreferredAndBonded_shouldAddDevice()110 final BluetoothDevice bluetoothDevice = mock(BluetoothDevice.class); in startScan_haveA2dpProfileDeviceIsPreferredAndBondNone_shouldNotAddDevice() local111 devices.add(bluetoothDevice); in startScan_haveA2dpProfileDeviceIsPreferredAndBondNone_shouldNotAddDevice()114 when(mCachedDeviceManager.findDevice(bluetoothDevice)).thenReturn(cachedDevice); in startScan_haveA2dpProfileDeviceIsPreferredAndBondNone_shouldNotAddDevice()116 when(mA2dpProfile.isPreferred(bluetoothDevice)).thenReturn(true); in startScan_haveA2dpProfileDeviceIsPreferredAndBondNone_shouldNotAddDevice()138 final BluetoothDevice bluetoothDevice = mock(BluetoothDevice.class); in startScan_haveHapProfileDeviceIsPreferredAndBonded_shouldAddDevice() local139 devices.add(bluetoothDevice); in startScan_haveHapProfileDeviceIsPreferredAndBonded_shouldAddDevice()[all …]
44 public static String getId(BluetoothDevice bluetoothDevice) { in getId() argument45 return bluetoothDevice.getAddress(); in getId()
314 public Device(BluetoothDevice bluetoothDevice) { in Device() argument315 mBluetoothDevice = bluetoothDevice; in Device()678 public void openBluetoothDevice(IBinder token, BluetoothDevice bluetoothDevice, in openBluetoothDevice() argument686 device = mBluetoothDevices.get(bluetoothDevice); in openBluetoothDevice()688 device = new Device(bluetoothDevice); in openBluetoothDevice()689 mBluetoothDevices.put(bluetoothDevice, device); in openBluetoothDevice()801 BluetoothDevice bluetoothDevice = null; in addDeviceLocked() local803 bluetoothDevice = (BluetoothDevice)properties.getParcelable( in addDeviceLocked()805 device = mBluetoothDevices.get(bluetoothDevice); in addDeviceLocked()814 if (bluetoothDevice != null) { in addDeviceLocked()[all …]
25 IBinder addBluetoothDevice(in BluetoothDevice bluetoothDevice); in addBluetoothDevice() argument
282 public void openBluetoothDevice(BluetoothDevice bluetoothDevice, in openBluetoothDevice() argument305 mService.openBluetoothDevice(mToken, bluetoothDevice, callback); in openBluetoothDevice()
39 void openBluetoothDevice(IBinder clientToken, in BluetoothDevice bluetoothDevice, in openBluetoothDevice() argument
532 public final void requestBluetoothAudio(@NonNull BluetoothDevice bluetoothDevice) { in requestBluetoothAudio() argument534 mPhone.requestBluetoothAudio(bluetoothDevice.getAddress()); in requestBluetoothAudio()
2739 public void requestBluetoothAudio(@NonNull BluetoothDevice bluetoothDevice) { in requestBluetoothAudio() argument2742 bluetoothDevice.getAddress()); in requestBluetoothAudio()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...