diff options
author | fenglu <fenglu@google.com> | 2015-03-20 11:29:56 -0700 |
---|---|---|
committer | fenglu <fenglu@google.com> | 2015-04-15 23:13:52 -0700 |
commit | 2bbd2b683042ea0a20c46b6dfd78b6b65fcc86eb (patch) | |
tree | bbd48b54291ac6a79db17aeaa720d9fa712ead2b /telephony/java | |
parent | e14bbcc0e2ac9f817aff9de4e60202536784fc52 (diff) | |
download | frameworks_base-2bbd2b683042ea0a20c46b6dfd78b6b65fcc86eb.zip frameworks_base-2bbd2b683042ea0a20c46b6dfd78b6b65fcc86eb.tar.gz frameworks_base-2bbd2b683042ea0a20c46b6dfd78b6b65fcc86eb.tar.bz2 |
LCE service implementation - connectivity side
Change-Id: If11bd99c44c7dc8d2aa2bc05a10e04421739baa6
Diffstat (limited to 'telephony/java')
-rw-r--r-- | telephony/java/com/android/internal/telephony/RILConstants.java | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/telephony/java/com/android/internal/telephony/RILConstants.java b/telephony/java/com/android/internal/telephony/RILConstants.java index 9280311..12541d8 100644 --- a/telephony/java/com/android/internal/telephony/RILConstants.java +++ b/telephony/java/com/android/internal/telephony/RILConstants.java @@ -69,9 +69,6 @@ public interface RILConstants { int SS_MODIFIED_TO_USSD = 25; /* SS request modified to USSD */ int SUBSCRIPTION_NOT_SUPPORTED = 26; /* Subscription not supported */ int SS_MODIFIED_TO_SS = 27; /* SS request modified to different SS request */ - - int SIM_NOT_READY = 28; - int SIM_ALREADY_POWERED_OFF = 29; /* SAP: 0x03, Error card aleready powered off */ int SIM_ALREADY_POWERED_ON = 30; /* SAP: 0x05, Error card already powered on */ int SIM_DATA_NOT_AVAILABLE = 31; /* SAP: 0x06, Error data not available */ @@ -79,6 +76,7 @@ public interface RILConstants { int SIM_SAP_MSG_SIZE_TOO_LARGE = 33; int SIM_SAP_MSG_SIZE_TOO_SMALL = 34; int SIM_SAP_CONNECT_OK_CALL_ONGOING = 35; + int LCE_NOT_SUPPORTED = 36; /* Link Capacity Estimation (LCE) not supported */ /* NETWORK_MODE_* See ril.h RIL_REQUEST_SET_PREFERRED_NETWORK_TYPE */ @@ -145,6 +143,11 @@ public interface RILConstants { int NV_CONFIG_ERASE_RESET = 2; int NV_CONFIG_FACTORY_RESET = 3; + /* LCE service related constants. */ + int LCE_NOT_AVAILABLE = -1; + int LCE_STOPPED = 0; + int LCE_ACTIVE = 1; + /* cat include/telephony/ril.h | \ egrep '^#define' | \ @@ -317,6 +320,9 @@ cat include/telephony/ril.h | \ int RIL_REQUEST_SHUTDOWN = 129; int RIL_REQUEST_GET_RADIO_CAPABILITY = 130; int RIL_REQUEST_SET_RADIO_CAPABILITY = 131; + int RIL_REQUEST_START_LCE = 132; + int RIL_REQUEST_STOP_LCE = 133; + int RIL_REQUEST_PULL_LCEDATA = 134; int RIL_UNSOL_RESPONSE_BASE = 1000; int RIL_UNSOL_RESPONSE_RADIO_STATE_CHANGED = 1000; @@ -364,4 +370,5 @@ cat include/telephony/ril.h | \ int RIL_UNSOL_RADIO_CAPABILITY = 1042; int RIL_UNSOL_ON_SS = 1043; int RIL_UNSOL_STK_CC_ALPHA_NOTIFY = 1044; + int RIL_UNSOL_LCEDATA_RECV = 1045; } |