summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorShishir Agrawal <shishir@google.com>2013-11-27 16:26:20 -0800
committerShishir Agrawal <shishir@google.com>2013-12-02 10:56:21 -0800
commit8b03ab85024389ee0596675226691cf0748efc03 (patch)
treef2958eb83b4f8388e84a0187f59bff460484ab78 /telephony
parentf226bc606af9ce5aceff6b05fc4b0200c94cb248 (diff)
downloadframeworks_base-8b03ab85024389ee0596675226691cf0748efc03.zip
frameworks_base-8b03ab85024389ee0596675226691cf0748efc03.tar.gz
frameworks_base-8b03ab85024389ee0596675226691cf0748efc03.tar.bz2
RIL changes for supporting generic SIM communication.
Adds the 4 new commands to RIL interface: - RIL_REQUEST_SIM_TRANSMIT_BASIC (AT+CSIM - TS 27.007) - RIL_REQUEST_SIM_OPEN_CHANNEL (AT+CCHO - TS 27.007) - RIL_REQUEST_SIM_CLOSE_CHANNEL (AT+CCHC - TS 27.007) - RIL_REQUEST_SIM_TRANSMIT_CHANNEL (AT+CGLA - TS 27.007) Change-Id: Iee4d950d37a6097493cd945e611c914c40827215
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/com/android/internal/telephony/RILConstants.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/RILConstants.java b/telephony/java/com/android/internal/telephony/RILConstants.java
index 821a11c..8e445d9 100644
--- a/telephony/java/com/android/internal/telephony/RILConstants.java
+++ b/telephony/java/com/android/internal/telephony/RILConstants.java
@@ -55,6 +55,8 @@ public interface RILConstants {
int ILLEGAL_SIM_OR_ME = 15; /* network selection failure due
to wrong SIM/ME and no
retries needed */
+ int MISSING_RESOURCE = 16; /* no logical channel available */
+ int NO_SUCH_ELEMENT = 17; /* application not found on SIM */
/* NETWORK_MODE_* See ril.h RIL_REQUEST_SET_PREFERRED_NETWORK_TYPE */
int NETWORK_MODE_WCDMA_PREF = 0; /* GSM/WCDMA (WCDMA preferred) */
@@ -265,6 +267,10 @@ cat include/telephony/ril.h | \
int RIL_REQUEST_SET_INITIAL_ATTACH_APN = 111;
int RIL_REQUEST_IMS_REGISTRATION_STATE = 112;
int RIL_REQUEST_IMS_SEND_SMS = 113;
+ int RIL_REQUEST_SIM_TRANSMIT_APDU_BASIC = 114;
+ int RIL_REQUEST_SIM_OPEN_CHANNEL = 115;
+ int RIL_REQUEST_SIM_CLOSE_CHANNEL = 116;
+ int RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL = 117;
int RIL_UNSOL_RESPONSE_BASE = 1000;
int RIL_UNSOL_RESPONSE_RADIO_STATE_CHANGED = 1000;
int RIL_UNSOL_RESPONSE_CALL_STATE_CHANGED = 1001;