Home
last modified time | relevance | path

Searched refs:KeepaliveStatus (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DKeepaliveStatus.java28 public class KeepaliveStatus implements Parcelable { class
55 public KeepaliveStatus(int error) { in KeepaliveStatus() method in KeepaliveStatus
61 public KeepaliveStatus(int handle, int code) { in KeepaliveStatus() method in KeepaliveStatus
87 private KeepaliveStatus(Parcel p) { in KeepaliveStatus() method in KeepaliveStatus
93 public static final Parcelable.Creator<KeepaliveStatus> CREATOR =
94 new Parcelable.Creator<KeepaliveStatus>() {
96 public KeepaliveStatus createFromParcel(Parcel source) {
97 return new KeepaliveStatus(source);
101 public KeepaliveStatus[] newArray(int size) {
102 return new KeepaliveStatus[size];
DDcNetworkAgent.java424 case KeepaliveStatus.ERROR_NONE: in keepaliveStatusErrorToPacketKeepaliveError()
426 case KeepaliveStatus.ERROR_UNSUPPORTED: in keepaliveStatusErrorToPacketKeepaliveError()
428 case KeepaliveStatus.ERROR_NO_RESOURCES: in keepaliveStatusErrorToPacketKeepaliveError()
430 case KeepaliveStatus.ERROR_UNKNOWN: in keepaliveStatusErrorToPacketKeepaliveError()
436 void handleKeepaliveStarted(final int slot, KeepaliveStatus ks) { in handleKeepaliveStarted()
438 case KeepaliveStatus.STATUS_INACTIVE: in handleKeepaliveStarted()
442 case KeepaliveStatus.STATUS_ACTIVE: in handleKeepaliveStarted()
446 case KeepaliveStatus.STATUS_PENDING: in handleKeepaliveStarted()
459 void handleKeepaliveStatus(KeepaliveStatus ks) { in handleKeepaliveStatus()
472 case KeepaliveStatus.STATUS_INACTIVE: in handleKeepaliveStatus()
[all …]
DDataConnection.java2497 KeepaliveStatus ks = (KeepaliveStatus) ar.result; in processMessage()
2514 KeepaliveStatus ks = (KeepaliveStatus) ar.result; in processMessage()
2530 new KeepaliveStatus(KeepaliveStatus.ERROR_UNKNOWN)); in processMessage()
2534 new KeepaliveStatus(handle, KeepaliveStatus.STATUS_INACTIVE)); in processMessage()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java894 kaStarted, new KeepaliveStatus( in checkStartStopNattKeepalive()
895 sessionHandle, KeepaliveStatus.STATUS_ACTIVE), null); in checkStartStopNattKeepalive()
903 kaStarted, new KeepaliveStatus( in checkStartStopNattKeepalive()
904 sessionHandle, KeepaliveStatus.STATUS_PENDING), null); in checkStartStopNattKeepalive()
908 kaRunning, new KeepaliveStatus( in checkStartStopNattKeepalive()
909 sessionHandle, KeepaliveStatus.STATUS_ACTIVE), null); in checkStartStopNattKeepalive()
971 kaStarted, new KeepaliveStatus(KeepaliveStatus.ERROR_UNSUPPORTED), null); in checkStartNattKeepaliveFail()
977 kaStarted, new KeepaliveStatus( in checkStartNattKeepaliveFail()
978 sessionHandle, KeepaliveStatus.STATUS_PENDING), null); in checkStartNattKeepaliveFail()
982 kaRunning, new KeepaliveStatus( in checkStartNattKeepaliveFail()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioResponse.java57 import com.android.internal.telephony.dataconnection.KeepaliveStatus;
1656 android.hardware.radio.V1_1.KeepaliveStatus keepaliveStatus) { in startKeepaliveResponse()
1661 KeepaliveStatus ret = null; in startKeepaliveResponse()
1667 ret = new KeepaliveStatus(KeepaliveStatus.ERROR_UNSUPPORTED); in startKeepaliveResponse()
1669 ret = new KeepaliveStatus(keepaliveStatus.sessionHandle, convertedStatus); in startKeepaliveResponse()
1676 ret = new KeepaliveStatus(KeepaliveStatus.ERROR_UNSUPPORTED); in startKeepaliveResponse()
1679 ret = new KeepaliveStatus(KeepaliveStatus.ERROR_NO_RESOURCES); in startKeepaliveResponse()
1682 ret = new KeepaliveStatus(KeepaliveStatus.ERROR_UNKNOWN); in startKeepaliveResponse()
1712 return KeepaliveStatus.STATUS_ACTIVE; in convertHalKeepaliveStatusCode()
1714 return KeepaliveStatus.STATUS_INACTIVE; in convertHalKeepaliveStatusCode()
[all …]
DRadioIndication.java109 import com.android.internal.telephony.dataconnection.KeepaliveStatus;
986 int indicationType, android.hardware.radio.V1_1.KeepaliveStatus halStatus) { in keepaliveStatus()
994 KeepaliveStatus ks = new KeepaliveStatus(halStatus.sessionHandle, halStatus.code); in keepaliveStatus()