Lines Matching full:capability
174 * Whether the given capabilities support the specified capability.
176 * @param capabilities A capability bit field.
177 * @param capability The capability to check capabilities for.
178 * @return Whether the specified capability is supported.
181 public static boolean can(int capabilities, int capability) {
182 return (capabilities & capability) != 0;
186 * Whether the capabilities of this {@code Connection} supports the specified capability.
188 * @param capability The capability to check capabilities for.
189 * @return Whether the specified capability is supported.
192 public boolean can(int capability) {
193 return can(mConnectionCapabilities, capability);
197 * Removes the specified capability from the set of capabilities of this {@code Conference}.
199 * @param capability The capability to remove from the set.
202 public void removeCapability(int capability) {
204 newCapabilities &= ~capability;
210 * Adds the specified capability to the set of capabilities of this {@code Conference}.
212 * @param capability The capability to add to the set.
215 public void addCapability(int capability) {
217 newCapabilities |= capability;
289 * capability {@link Connection#CAPABILITY_MERGE_CONFERENCE}.
295 * capability {@link Connection#CAPABILITY_SWAP_CONFERENCE}.