Home | History | Annotate | Download | only in bluetooth

Lines Matching defs:Service

28  * <p>Every Bluetooth class is composed of zero or more service classes, and
35 * service discovery is done through SDP requests, which are automatically
47 * constants and methods to determine which Service Class(es) and Device Class
102 * Defines all service class constants.
103 * <p>Each {@link BluetoothClass} encodes zero or more service classes.
105 public static final class Service {
120 * Return true if the specified service class is supported by this
122 * <p>Valid service classes are the public constants in
123 * {@link BluetoothClass.Service}. For example, {@link
124 * BluetoothClass.Service#AUDIO}.
126 * @param service valid service class
127 * @return true if the service class is supported
129 public boolean hasService(int service) {
130 return ((mClass & Service.BITMASK & service) != 0);
141 * <p>See {@link BluetoothClass.Service} for service class constants.
274 if (hasService(Service.RENDER)) {
277 // By the A2DP spec, sinks must indicate the RENDER service.
290 // The render service class is required by the spec for HFP, so is a
292 if (hasService(Service.RENDER)) {
295 // Just in case they forgot the render service class
305 if (hasService(Service.OBJECT_TRANSFER)) {