Lines Matching refs:configuration
23 * A class representing a configuration on a {@link UsbDevice}.
24 * A USB configuration can have one or more interfaces, each one providing a different
44 * Mask for "self-powered" bit in the configuration's attributes.
50 * Mask for "remote wakeup" bit in the configuration's attributes.
67 * Returns the configuration's ID field.
68 * This is an integer that uniquely identifies the configuration on the device.
70 * @return the configuration's ID
77 * Returns the configuration's name.
79 * @return the configuration's name
86 * Returns the self-powered attribute value configuration's attributes field.
89 * @return the configuration's self-powered attribute
96 * Returns the remote-wakeup attribute value configuration's attributes field.
99 * @return the configuration's remote-wakeup attribute
106 * Returns the configuration's max power consumption, in milliamps.
108 * @return the configuration's max power
115 * Returns the number of {@link UsbInterface}s this configuration contains.
161 UsbConfiguration configuration = new UsbConfiguration(id, name, attributes, maxPower);
162 configuration.setInterfaces(interfaces);
163 return configuration;