Methods Summary |
---|
public abstract java.util.List | getConnections()Do not modify the List result!!! This list is not yours to keep
It will change across event loop iterations top
|
public long | getEarliestConnectTime()
List l;
long time = Long.MAX_VALUE;
l = getConnections();
if (l.size() == 0) {
return 0;
}
for (int i = 0, s = l.size() ; i < s ; i++) {
Connection c = (Connection) l.get(i);
long t;
t = c.getConnectTime();
time = t < time ? t : time;
}
return time;
|
public Connection | getEarliestConnection()Returns the Connection associated with this Call that was created
first, or null if there are no Connections in this Call
List l;
long time = Long.MAX_VALUE;
Connection c;
Connection earliest = null;
l = getConnections();
if (l.size() == 0) {
return null;
}
for (int i = 0, s = l.size() ; i < s ; i++) {
c = (Connection) l.get(i);
long t;
t = c.getCreateTime();
if (t < time) {
earliest = c;
}
}
return earliest;
|
public long | getEarliestCreateTime()
List l;
long time = Long.MAX_VALUE;
l = getConnections();
if (l.size() == 0) {
return 0;
}
for (int i = 0, s = l.size() ; i < s ; i++) {
Connection c = (Connection) l.get(i);
long t;
t = c.getCreateTime();
time = t < time ? t : time;
}
return time;
|
public abstract Phone | getPhone()
|
public abstract com.android.internal.telephony.Call$State | getState()
|
public abstract void | hangup()
|
public boolean | hasConnection(Connection c)hasConnection
return c.getCall() == this;
|
public boolean | hasConnections()hasConnections
List connections = getConnections();
if (connections == null) {
return false;
}
return connections.size() > 0;
|
public boolean | isDialingOrAlerting()
return getState().isDialing();
|
public boolean | isIdle()isIdle
FIXME rename
return !getState().isAlive();
|
public abstract boolean | isMultiparty()
|
public boolean | isRinging()
return getState().isRinging();
|