Remove getCurrentDataConnectionList.

This should not be exposed externally and is used only by
RadioInfo.java a hidden application used for debugging.
I'll another mechanism which will probably use an
asynchronous interface with the DataConnectionTracker.

Change-Id: Ic21cc8d45bd3172c2ceeab154eca6118d94580e9
This commit is contained in:
Wink Saville
2011-04-18 16:03:03 -07:00
parent 64c42cae44
commit afa79585e0
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();
} }