Lines Matching defs:can

82      * A connection is active. Both parties are connected to the call and can actively communicate.
101 * A connection can only be in this state if the {@link #PROPERTY_IS_EXTERNAL_CALL} property and
108 * Connection can currently be put on hold or unheld. This is distinct from
110 * it does not at the moment support the function. This can be true while the call is in the
120 * Connections within a conference can be merged. A {@link ConnectionService} has the option to
131 * Connections within a conference can be swapped between foreground and background.
146 /** Connection can be muted. */
151 * {@link Conference}s which can have {@link Connection}s as children.
228 * Call can be upgraded to a video call.
233 * For video calls, indicates whether the outgoing video for the call can be paused using
274 * Intuitively, a call which can be downgraded to audio should also have local and remote
282 * When set for an external connection, indicates that this {@code Connection} can be pulled
327 * When a user places a call on one devices, the telephony stack can represent that call on the
361 * Connection extra key used to store the subject for an incoming call. The user interface can
409 public static boolean can(int capabilities, int capability) {
420 public boolean can(int capability) {
421 return can(mConnectionCapabilities, capability);
448 if (can(capabilities, CAPABILITY_HOLD)) {
451 if (can(capabilities, CAPABILITY_SUPPORT_HOLD)) {
454 if (can(capabilities, CAPABILITY_MERGE_CONFERENCE)) {
457 if (can(capabilities, CAPABILITY_SWAP_CONFERENCE)) {
460 if (can(capabilities, CAPABILITY_RESPOND_VIA_TEXT)) {
463 if (can(capabilities, CAPABILITY_MUTE)) {
466 if (can(capabilities, CAPABILITY_MANAGE_CONFERENCE)) {
469 if (can(capabilities, CAPABILITY_SUPPORTS_VT_LOCAL_RX)) {
472 if (can(capabilities, CAPABILITY_SUPPORTS_VT_LOCAL_TX)) {
475 if (can(capabilities, CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL)) {
478 if (can(capabilities, CAPABILITY_SUPPORTS_VT_REMOTE_RX)) {
481 if (can(capabilities, CAPABILITY_SUPPORTS_VT_REMOTE_TX)) {
484 if (can(capabilities, CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL)) {
487 if (can(capabilities, CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO)) {
490 if (can(capabilities, CAPABILITY_SPEED_UP_MT_AUDIO)) {
493 if (can(capabilities, CAPABILITY_CAN_UPGRADE_TO_VIDEO)) {
496 if (can(capabilities, CAPABILITY_CAN_PAUSE_VIDEO)) {
499 if (can(capabilities, CAPABILITY_CONFERENCE_HAS_NO_CHILDREN)) {
502 if (can(capabilities, CAPABILITY_CAN_SEND_RESPONSE_VIA_CONNECTION)) {
505 if (can(capabilities, CAPABILITY_CAN_PULL_CALL)) {
524 if (can(properties, PROPERTY_SHOW_CALLBACK_NUMBER)) {
528 if (can(properties, PROPERTY_HIGH_DEF_AUDIO)) {
532 if (can(properties, PROPERTY_WIFI)) {
536 if (can(properties, PROPERTY_GENERIC_CONFERENCE)) {
540 if (can(properties, PROPERTY_IS_EXTERNAL_CALL)) {
624 * A camera failure has occurred for the selected camera. The {@link InCallService} can use
632 * for operation. The {@link InCallService} can use this as a cue to inform the user that
856 * Returns binder object which can be used across IPC methods.
1246 * {@link #setExtras(Bundle)}. Used so that on subsequent invocations we can remove any extras
1555 * Sets state to active (e.g., an ongoing connection where two or more parties can actively
1762 * Sets the connections with which this connection can be conferenced.
1764 * @param conferenceableConnections The set of connections this connection can conference with.
1782 * or conferences with which this connection can be conferenced.
1806 * Returns the connections or conferences with which this connection can be conferenced.
1878 * Set some extras that can be associated with this {@code Connection}.
1909 // called we can see if the caller has removed any extras values.
2153 * These extras changes can originate from Telecom itself, or from an {@link InCallService} via
2222 * The returned {@code Connection} can be assumed to {@link #destroy()} itself when appropriate,