From 1e2fdde5333231604e24e7ba4e1e1f16732fb48a Mon Sep 17 00:00:00 2001 From: Nathan Harold Date: Tue, 11 Jul 2017 16:25:16 -0700 Subject: [PATCH] Add Constants for NATT Keepalive to RILConstants Bug: 38350389 Test: compilation Merged-In: Ic18a7c947d2c62efe76d656bd683f9ce296f68fd Change-Id: Ic18a7c947d2c62efe76d656bd683f9ce296f68fd (cherry picked from commit 974aada04734ced17f3842c817e7e8c3528d0739) --- .../java/com/android/internal/telephony/RILConstants.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/telephony/java/com/android/internal/telephony/RILConstants.java b/telephony/java/com/android/internal/telephony/RILConstants.java index f804cb068b316..cdee9e6f2d73f 100644 --- a/telephony/java/com/android/internal/telephony/RILConstants.java +++ b/telephony/java/com/android/internal/telephony/RILConstants.java @@ -105,6 +105,8 @@ public interface RILConstants { int DEVICE_IN_USE = 64; /* Operation cannot be performed because the device is currently in use */ int ABORTED = 65; /* Operation aborted */ + int INVALID_RESPONSE = 66; /* Invalid response sent by vendor code */ + // Below is list of OEM specific error codes which can by used by OEMs in case they don't want to // reveal particular replacement for Generic failure int OEM_ERROR_1 = 501; @@ -419,6 +421,8 @@ cat include/telephony/ril.h | \ int RIL_REQUEST_STOP_NETWORK_SCAN = 143; int RIL_REQUEST_GET_SLOT_STATUS = 144; int RIL_REQUEST_SET_LOGICAL_TO_PHYSICAL_SLOT_MAPPING = 145; + int RIL_REQUEST_START_KEEPALIVE = 146; + int RIL_REQUEST_STOP_KEEPALIVE = 147; int RIL_RESPONSE_ACKNOWLEDGEMENT = 800; @@ -474,4 +478,5 @@ cat include/telephony/ril.h | \ int RIL_UNSOL_CARRIER_INFO_IMSI_ENCRYPTION = 1048; int RIL_UNSOL_NETWORK_SCAN_RESULT = 1049; int RIL_UNSOL_ICC_SLOT_STATUS = 1050; + int RIL_UNSOL_KEEPALIVE_STATUS = 1051; }