am afa79585: Remove getCurrentDataConnectionList.

* commit 'afa79585e0e517d9fdfe6065bc5084cab9bb2300':
  Remove getCurrentDataConnectionList.
This commit is contained in:
Wink Saville
2011-04-20 11:33:11 -07:00
committed by Android Git Automerger
5 changed files with 0 additions and 27 deletions

View File

@ -365,14 +365,6 @@ public abstract class DataConnectionTracker extends Handler {
return mActivity; return mActivity;
} }
/**
* @return the data connections
*/
public ArrayList<DataConnection> getAllDataConnections() {
/** TODO: change return type to Collection? */
return new ArrayList<DataConnection>(mDataConnections.values());
}
public boolean isApnTypeActive(String type) { public boolean isApnTypeActive(String type) {
// TODO: support simultaneous with List instead // TODO: support simultaneous with List instead
if (Phone.APN_TYPE_DUN.equals(type)) { if (Phone.APN_TYPE_DUN.equals(type)) {

View File

@ -1249,13 +1249,6 @@ public interface Phone {
*/ */
void getDataCallList(Message response); void getDataCallList(Message response);
/**
* Get current mutiple data connection status
*
* @return list of data connections
*/
List<DataConnection> getCurrentDataConnectionList();
/** /**
* Update the ServiceState CellLocation for current network registration. * Update the ServiceState CellLocation for current network registration.
*/ */

View File

@ -593,10 +593,6 @@ public class PhoneProxy extends Handler implements Phone {
mActivePhone.getDataCallList(response); mActivePhone.getDataCallList(response);
} }
public List<DataConnection> getCurrentDataConnectionList() {
return mActivePhone.getCurrentDataConnectionList();
}
public void updateServiceLocation() { public void updateServiceLocation() {
mActivePhone.updateServiceLocation(); mActivePhone.updateServiceLocation();
} }

View File

@ -727,10 +727,6 @@ public class CDMAPhone extends PhoneBase {
return mDataConnectionTracker.getDataOnRoamingEnabled(); return mDataConnectionTracker.getDataOnRoamingEnabled();
} }
public List<DataConnection> getCurrentDataConnectionList () {
return mDataConnectionTracker.getAllDataConnections();
}
public void setVoiceMailNumber(String alphaTag, public void setVoiceMailNumber(String alphaTag,
String voiceMailNumber, String voiceMailNumber,
Message onComplete) { Message onComplete) {

View File

@ -1069,10 +1069,6 @@ public class GSMPhone extends PhoneBase {
mCM.getDataCallList(response); mCM.getDataCallList(response);
} }
public List<DataConnection> getCurrentDataConnectionList () {
return mDataConnectionTracker.getAllDataConnections();
}
public void updateServiceLocation() { public void updateServiceLocation() {
mSST.enableSingleLocationUpdate(); mSST.enableSingleLocationUpdate();
} }