aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Ebinger <breadley@google.com>2017-11-08 23:24:31 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-11-08 23:24:31 +0000
commit9ab8c6f5cec2e754f690cdbcfb2c620e94b9f565 (patch)
treea6b5fb5e725fb6cf594e12482da9acd93b87f36d
parent563f708bfa9773111acdecc799a8ea386d4443c5 (diff)
parentc551a96f53393bdeaafb17d442a4249bafcd6cd9 (diff)
downloadims-9ab8c6f5cec2e754f690cdbcfb2c620e94b9f565.tar.gz
Remove ImsService interfaces from Proxy am: 3c7f2f40c8 am: 579a201062
am: c551a96f53 Change-Id: Ibcd7e68ea256f73f7e79a00b41882ed3147c73e5
-rw-r--r--src/java/com/android/ims/ImsServiceProxy.java20
-rw-r--r--src/java/com/android/ims/ImsServiceProxyCompat.java2
2 files changed, 2 insertions, 20 deletions
diff --git a/src/java/com/android/ims/ImsServiceProxy.java b/src/java/com/android/ims/ImsServiceProxy.java
index f7fe1d89..8c51202f 100644
--- a/src/java/com/android/ims/ImsServiceProxy.java
+++ b/src/java/com/android/ims/ImsServiceProxy.java
@@ -20,8 +20,6 @@ import android.app.PendingIntent;
import android.os.IBinder;
import android.os.Message;
import android.os.RemoteException;
-import android.telephony.ims.feature.IMMTelFeature;
-import android.telephony.ims.feature.IRcsFeature;
import android.telephony.ims.feature.ImsFeature;
import android.util.Log;
@@ -41,7 +39,7 @@ import com.android.ims.internal.IImsUt;
* @hide
*/
-public class ImsServiceProxy implements IMMTelFeature, IRcsFeature {
+public class ImsServiceProxy {
protected String LOG_TAG = "ImsServiceProxy";
protected final int mSlotId;
@@ -118,7 +116,6 @@ public class ImsServiceProxy implements IMMTelFeature, IRcsFeature {
mBinder = binder;
}
- @Override
public int startSession(PendingIntent incomingCallIntent, IImsRegistrationListener listener)
throws RemoteException {
synchronized (mLock) {
@@ -128,7 +125,6 @@ public class ImsServiceProxy implements IMMTelFeature, IRcsFeature {
}
}
- @Override
public void endSession(int sessionId) throws RemoteException {
synchronized (mLock) {
// Only check to make sure the binder connection still exists. This method should
@@ -138,7 +134,6 @@ public class ImsServiceProxy implements IMMTelFeature, IRcsFeature {
}
}
- @Override
public boolean isConnected(int callServiceType, int callType)
throws RemoteException {
synchronized (mLock) {
@@ -148,7 +143,6 @@ public class ImsServiceProxy implements IMMTelFeature, IRcsFeature {
}
}
- @Override
public boolean isOpened() throws RemoteException {
synchronized (mLock) {
checkServiceIsReady();
@@ -156,7 +150,6 @@ public class ImsServiceProxy implements IMMTelFeature, IRcsFeature {
}
}
- @Override
public void addRegistrationListener(IImsRegistrationListener listener)
throws RemoteException {
synchronized (mLock) {
@@ -166,7 +159,6 @@ public class ImsServiceProxy implements IMMTelFeature, IRcsFeature {
}
}
- @Override
public void removeRegistrationListener(IImsRegistrationListener listener)
throws RemoteException {
synchronized (mLock) {
@@ -176,7 +168,6 @@ public class ImsServiceProxy implements IMMTelFeature, IRcsFeature {
}
}
- @Override
public ImsCallProfile createCallProfile(int sessionId, int callServiceType, int callType)
throws RemoteException {
synchronized (mLock) {
@@ -186,7 +177,6 @@ public class ImsServiceProxy implements IMMTelFeature, IRcsFeature {
}
}
- @Override
public IImsCallSession createCallSession(int sessionId, ImsCallProfile profile,
IImsCallSessionListener listener) throws RemoteException {
synchronized (mLock) {
@@ -196,7 +186,6 @@ public class ImsServiceProxy implements IMMTelFeature, IRcsFeature {
}
}
- @Override
public IImsCallSession getPendingCallSession(int sessionId, String callId)
throws RemoteException {
synchronized (mLock) {
@@ -206,7 +195,6 @@ public class ImsServiceProxy implements IMMTelFeature, IRcsFeature {
}
}
- @Override
public IImsUt getUtInterface() throws RemoteException {
synchronized (mLock) {
checkServiceIsReady();
@@ -214,7 +202,6 @@ public class ImsServiceProxy implements IMMTelFeature, IRcsFeature {
}
}
- @Override
public IImsConfig getConfigInterface() throws RemoteException {
synchronized (mLock) {
checkServiceIsReady();
@@ -222,7 +209,6 @@ public class ImsServiceProxy implements IMMTelFeature, IRcsFeature {
}
}
- @Override
public void turnOnIms() throws RemoteException {
synchronized (mLock) {
checkServiceIsReady();
@@ -230,7 +216,6 @@ public class ImsServiceProxy implements IMMTelFeature, IRcsFeature {
}
}
- @Override
public void turnOffIms() throws RemoteException {
synchronized (mLock) {
checkServiceIsReady();
@@ -238,7 +223,6 @@ public class ImsServiceProxy implements IMMTelFeature, IRcsFeature {
}
}
- @Override
public IImsEcbm getEcbmInterface() throws RemoteException {
synchronized (mLock) {
checkServiceIsReady();
@@ -246,7 +230,6 @@ public class ImsServiceProxy implements IMMTelFeature, IRcsFeature {
}
}
- @Override
public void setUiTTYMode(int uiTtyMode, Message onComplete)
throws RemoteException {
synchronized (mLock) {
@@ -256,7 +239,6 @@ public class ImsServiceProxy implements IMMTelFeature, IRcsFeature {
}
}
- @Override
public IImsMultiEndpoint getMultiEndpointInterface() throws RemoteException {
synchronized (mLock) {
checkServiceIsReady();
diff --git a/src/java/com/android/ims/ImsServiceProxyCompat.java b/src/java/com/android/ims/ImsServiceProxyCompat.java
index a96446ad..5ba1f351 100644
--- a/src/java/com/android/ims/ImsServiceProxyCompat.java
+++ b/src/java/com/android/ims/ImsServiceProxyCompat.java
@@ -32,7 +32,7 @@ import com.android.ims.internal.IImsService;
import com.android.ims.internal.IImsUt;
/**
- * Compatibility class that implements the new ImsService IMMTelFeature interface, but
+ * Compatibility class that implements the new ImsService MMTelFeature interface, but
* uses the old IImsService interface to support older devices that implement the deprecated
* opt/net/ims interface.
* @hide