Home
last modified time | relevance | path

Searched refs:getBluetoothClass (Results 1 – 17 of 17) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DAccessoryUtils.java121 if (device == null || device.getBluetoothClass() == null) { in isRemoteClass()
124 int major = device.getBluetoothClass().getMajorDeviceClass(); in isRemoteClass()
125 int minor = device.getBluetoothClass().getDeviceClass() & MINOR_MASK; in isRemoteClass()
176 final BluetoothClass bluetoothClass = device.getBluetoothClass(); in isBluetoothHeadset()
186 return device != null && device.getBluetoothClass() != null in isA2dpSource()
187 && device.getBluetoothClass().doesClassMatch(BluetoothProfile.A2DP); in isA2dpSource()
DBluetoothDevicePairer.java536 device.getBluetoothClass().getDeviceClass()); in onDeviceFound()
573 if (mInputDeviceCriteria.isInputDevice(device.getBluetoothClass())) { in getAutoPairDevice()
631 if (!(target.getBluetoothClass().getDeviceClass() in onBonded()
711 int majorDeviceClass = mTarget.getBluetoothClass().getMajorDeviceClass(); in getBluetoothConnector()
DAccessoriesFragment.java181 if (dev == null || dev.getBluetoothClass() == null) { in getImageIdForDevice()
185 final int devClass = dev.getBluetoothClass().getDeviceClass(); in getImageIdForDevice()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/util/bluetooth/
DBluetoothDeviceCriteria.java57 if (!isMatchingMajorDeviceClass(device.getBluetoothClass().getMajorDeviceClass())) { in isMatchingDevice()
61 if (!isMatchingDeviceClass(device.getBluetoothClass().getDeviceClass())) { in isMatchingDevice()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothUnbondedDevicesPreferenceController.java96 matches = device.getBluetoothClass() != null in matches()
99 device.getBluetoothClass().getMajorDeviceClass()); in matches()
DBluetoothPairingController.java169 if (mDevice.getBluetoothClass().getDeviceClass() in getContactSharingState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothPairingControllerTest.java143 when(mBluetoothDevice.getBluetoothClass()).thenReturn(mBluetoothClass); in onSetContactSharingState_permissionUnknown_audioVideoHandsfree_setPBAPAllowed()
154 when(mBluetoothDevice.getBluetoothClass()).thenReturn(mBluetoothClass); in onSetContactSharingState_permissionRejected_setPBAPRejected()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DRemoteDevices.java284 public int getBluetoothClass(BluetoothDevice device) { in getBluetoothClass() method in RemoteDevices
289 return deviceProp.getBluetoothClass(); in getBluetoothClass()
486 int getBluetoothClass() { in getBluetoothClass() method in RemoteDevices.DeviceProperties
1133 if (newBluetoothClass == deviceProperties.getBluetoothClass()) { in devicePropertyChangedCallback()
1146 new BluetoothClass(deviceProperties.getBluetoothClass())); in devicePropertyChangedCallback()
1271 BluetoothDevice.EXTRA_CLASS, new BluetoothClass(deviceProp.getBluetoothClass())); in deviceFoundCallback()
1475 getBluetoothClass(device), in aclStateChangeCallback()
DAdapterProperties.java1104 + String.format("%06X", mRemoteDevices.getBluetoothClass(device)) in dump()
1115 .append(String.format("%06X", mRemoteDevices.getBluetoothClass(device))) in dump()
DBondStateMachine.java334 new BluetoothClass(mRemoteDevices.getBluetoothClass(dev)) in processMessage()
569 int classOfDevice = mRemoteDevices.getBluetoothClass(device); in sendIntent()
DAdapterService.java3654 return mRemoteDevices.getBluetoothClass(device); in getRemoteClass()
/packages/apps/Car/Settings/tests/multivalent/src/com/android/car/settings/bluetooth/
DBluetoothUnbondedDevicesPreferenceControllerTest.java126 when(mUnbondedDevice.getBluetoothClass()).thenReturn(mBluetoothClass); in setUp()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothRouteManager.java826 BluetoothClass deviceClass = device.getBluetoothClass(); in isWatch()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothQualityReport.java438 public @Nullable BluetoothClass getBluetoothClass() { in getBluetoothClass() method in BluetoothQualityReport
DBluetoothDevice.java2433 public BluetoothClass getBluetoothClass() { in getBluetoothClass() method in BluetoothDevice
/packages/modules/Bluetooth/framework/api/
Dcurrent.txt542 …Manifest.permission.BLUETOOTH_CONNECT) public android.bluetooth.BluetoothClass getBluetoothClass();
Dsystem-current.txt932 method @Nullable public android.bluetooth.BluetoothClass getBluetoothClass();