Searched refs:devClass (Results 1 – 2 of 2) sorted by relevance
143 final int devClass = bluetoothClass.getDeviceClass(); in isBluetoothHeadset() local144 return (devClass == BluetoothClass.Device.AUDIO_VIDEO_WEARABLE_HEADSET || in isBluetoothHeadset()145 devClass == BluetoothClass.Device.AUDIO_VIDEO_HEADPHONES || in isBluetoothHeadset()146 devClass == BluetoothClass.Device.AUDIO_VIDEO_LOUDSPEAKER || in isBluetoothHeadset()147 devClass == BluetoothClass.Device.AUDIO_VIDEO_PORTABLE_AUDIO || in isBluetoothHeadset()148 devClass == BluetoothClass.Device.AUDIO_VIDEO_HIFI_AUDIO); in isBluetoothHeadset()241 final int devClass = bluetoothClass.getDeviceClass(); in getIcon() local249 } else if ((devClass & MINOR_DEVICE_CLASS_POINTING) != 0) { in getIcon()253 } else if ((devClass & MINOR_DEVICE_CLASS_REMOTE) != 0) { in getIcon()255 } else if ((devClass & MINOR_DEVICE_CLASS_JOYSTICK) != 0) { in getIcon()[all …]
1694 int devClass, product; in search_devices() local1764 devClass = descriptor.bDeviceClass; in search_devices()1769 if (devClass == 0) in search_devices()1770 devClass = ifaceClass; in search_devices()1773 if (devClass != ifaceClass) in search_devices()1774 devClass = ifaceClass; in search_devices()1775 if (devClass == targetClass) { in search_devices()1788 fprintf (output," device class %02x not matching target\n", devClass); in search_devices()