Lines Matching refs:configuration
26 * A class representing a configuration on a {@link UsbDevice}.
27 * A USB configuration can have one or more interfaces, each one providing a different
49 * Mask for "self-powered" bit in the configuration's attributes.
54 * Mask for "remote wakeup" bit in the configuration's attributes.
70 * Returns the configuration's ID field.
71 * This is an integer that uniquely identifies the configuration on the device.
73 * @return the configuration's ID
80 * Returns the configuration's name.
82 * @return the configuration's name, or {@code null} if the property could not be read
89 * Returns the self-powered attribute value configuration's attributes field.
92 * @return the configuration's self-powered attribute
99 * Returns the remote-wakeup attribute value configuration's attributes field.
102 * @return the configuration's remote-wakeup attribute
109 * Returns the configuration's max power consumption, in milliamps.
111 * @return the configuration's max power
118 * Returns the number of {@link UsbInterface}s this configuration contains.
164 UsbConfiguration configuration = new UsbConfiguration(id, name, attributes, maxPower);
165 configuration.setInterfaces(interfaces);
166 return configuration;