Home
last modified time | relevance | path

Searched refs:getBluetoothClass (Results 1 – 23 of 23) 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.java532 device.getBluetoothClass().getDeviceClass()); in onDeviceFound()
569 if (mInputDeviceCriteria.isInputDevice(device.getBluetoothClass())) { in getAutoPairDevice()
628 if (!(target.getBluetoothClass().getDeviceClass() in onBonded()
708 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/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.java144 when(mBluetoothDevice.getBluetoothClass()).thenReturn(mBluetoothClass); in onSetContactSharingState_permissionUnknown_audioVideoHandsfree_setPBAPAllowed()
155 when(mBluetoothDevice.getBluetoothClass()).thenReturn(mBluetoothClass); in onSetContactSharingState_permissionRejected_setPBAPRejected()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DBluetoothQualityReportNativeInterface.java90 remoteBtClass = device.getBluetoothClass(); in bqrDeliver()
DMetricsLogger.java324 device.getBluetoothClass() != null in getRemoteDeviceInfoProto()
325 ? device.getBluetoothClass().getClassOfDevice() in getRemoteDeviceInfoProto()
DRemoteDevices.java357 int getBluetoothClass() { in getBluetoothClass() method in RemoteDevices.DeviceProperties
912 if (newBluetoothClass == deviceProperties.getBluetoothClass()) { in devicePropertyChangedCallback()
925 new BluetoothClass(deviceProperties.getBluetoothClass())); in devicePropertyChangedCallback()
1033 BluetoothDevice.EXTRA_CLASS, new BluetoothClass(deviceProp.getBluetoothClass())); in deviceFoundCallback()
1236 BluetoothClass deviceClass = device.getBluetoothClass(); in aclStateChangeCallback()
DBondStateMachine.java323 BluetoothClass btClass = dev.getBluetoothClass(); in processMessage()
568 BluetoothClass deviceClass = device.getBluetoothClass(); in sendIntent()
DAudioRoutingManager.java698 BluetoothClass deviceClass = device.getBluetoothClass(); in shouldActivateWhenConnected()
DActiveDeviceManager.java1231 BluetoothClass deviceClass = device.getBluetoothClass(); in isWatch()
DAdapterProperties.java1251 BluetoothClass cod = device.getBluetoothClass(); in dump()
DAdapterService.java3068 return deviceProp != null ? deviceProp.getBluetoothClass() : 0; in getRemoteClass()
/packages/apps/Car/Settings/tests/unit/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.java824 BluetoothClass deviceClass = device.getBluetoothClass(); in isWatch()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothQualityReport.java376 public @Nullable BluetoothClass getBluetoothClass() { in getBluetoothClass() method in BluetoothQualityReport
DBluetoothDevice.java2373 public BluetoothClass getBluetoothClass() { in getBluetoothClass() method in BluetoothDevice
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetService.java2556 BluetoothClass deviceClass = device.getBluetoothClass(); in getFallbackCandidates()
/packages/modules/Bluetooth/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt87 Landroid/bluetooth/BluetoothAdapter;->getBluetoothClass()Landroid/bluetooth/BluetoothClass;
1103 Landroid/bluetooth/IBluetooth$Stub$Proxy;->getBluetoothClass()Landroid/bluetooth/BluetoothClass;
1236 Landroid/bluetooth/IBluetooth;->getBluetoothClass()Landroid/bluetooth/BluetoothClass;
/packages/modules/Bluetooth/framework/api/
Dcurrent.txt539 …Manifest.permission.BLUETOOTH_CONNECT) public android.bluetooth.BluetoothClass getBluetoothClass();
Dsystem-current.txt860 method @Nullable public android.bluetooth.BluetoothClass getBluetoothClass();