Stubs for Keepalive API
Bug: 33277538
Test: tbd
Change-Id: I7c96e857419573e4c44c8264134c921e6766677e
diff --git a/src/java/com/android/internal/telephony/RadioIndication.java b/src/java/com/android/internal/telephony/RadioIndication.java
index 8c09b4b..024c6c3 100644
--- a/src/java/com/android/internal/telephony/RadioIndication.java
+++ b/src/java/com/android/internal/telephony/RadioIndication.java
@@ -81,6 +81,7 @@
import android.hardware.radio.V1_0.StkCcUnsolSsResult;
import android.hardware.radio.V1_0.SuppSvcNotification;
import android.hardware.radio.V1_1.IRadioIndication;
+import android.hardware.radio.V1_1.KeepaliveStatus;
import android.os.AsyncResult;
import android.os.SystemProperties;
import android.telephony.CellInfo;
@@ -802,6 +803,15 @@
new AsyncResult(null, null, null));
}
+ /**
+ * Indicates a change in the status of an ongoing Keepalive session
+ * @param indicationType RadioIndicationType
+ * @param keepaliveStatus Status of the ongoing Keepalive session
+ */
+ public void keepaliveStatus(int indicationType, KeepaliveStatus keepaliveStatus) {
+ throw new UnsupportedOperationException("keepaliveStatus Indications are not implemented");
+ }
+
private CommandsInterface.RadioState getRadioStateFromInt(int stateInt) {
CommandsInterface.RadioState state;
diff --git a/src/java/com/android/internal/telephony/RadioResponse.java b/src/java/com/android/internal/telephony/RadioResponse.java
index 914a60a..259896a 100644
--- a/src/java/com/android/internal/telephony/RadioResponse.java
+++ b/src/java/com/android/internal/telephony/RadioResponse.java
@@ -34,6 +34,7 @@
import android.hardware.radio.V1_0.SetupDataCallResult;
import android.hardware.radio.V1_0.VoiceRegStateResult;
import android.hardware.radio.V1_1.IRadioResponse;
+import android.hardware.radio.V1_1.KeepaliveStatus;
import android.os.AsyncResult;
import android.os.Message;
import android.os.SystemClock;
@@ -1218,6 +1219,22 @@
responseVoid(responseInfo);
}
+ /**
+ * @param responseInfo Response info struct containing response type, serial no. and error
+ * @param keepaliveStatus status of the keepalive with a handle for the session
+ */
+ public void startKeepaliveResponse(RadioResponseInfo responseInfo,
+ KeepaliveStatus keepaliveStatus) {
+ throw new UnsupportedOperationException("startKeepaliveResponse not implemented");
+ }
+
+ /**
+ * @param responseInfo Response info struct containing response type, serial no. and error
+ */
+ public void stopKeepaliveResponse(RadioResponseInfo responseInfo) {
+ throw new UnsupportedOperationException("stopKeepaliveResponse not implemented");
+ }
+
private void responseIccCardStatus(RadioResponseInfo responseInfo, CardStatus cardStatus) {
RILRequest rr = mRil.processResponse(responseInfo);