diff options
author | Naveen Kalla <nkalla@codeaurora.org> | 2011-11-15 11:19:30 -0800 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2013-07-24 18:06:26 -0600 |
commit | 45967551b99489849a24d94e434536586aa9483b (patch) | |
tree | 4466cdf8cf6e5b4cd4ad7e9e0295f5707b8a2bfc /include/telephony/ril.h | |
parent | f2412e9ce22a6b20e0e066dce91b663f1c48bcff (diff) | |
download | android_hardware_ril-45967551b99489849a24d94e434536586aa9483b.tar.gz android_hardware_ril-45967551b99489849a24d94e434536586aa9483b.tar.bz2 android_hardware_ril-45967551b99489849a24d94e434536586aa9483b.zip |
Support Additional SIM Depersonalization
Add support for Additional Depersonalization types
Change-Id: I323f276d4048b168b27669a0aebb58cd9decf9bd
Diffstat (limited to 'include/telephony/ril.h')
-rwxr-xr-x[-rw-r--r--] | include/telephony/ril.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/include/telephony/ril.h b/include/telephony/ril.h index bec664e..f0b926d 100644..100755 --- a/include/telephony/ril.h +++ b/include/telephony/ril.h @@ -494,6 +494,12 @@ typedef enum { RIL_PERSOSUBSTATE_RUIM_RUIM_PUK = 24 } RIL_PersoSubstate; +typedef struct { + RIL_PersoSubstate depersonalizationType; + char *depersonalizationCode; +} RIL_Depersonalization; + + typedef enum { RIL_APPSTATE_UNKNOWN = 0, RIL_APPSTATE_DETECTED = 1, @@ -1129,12 +1135,11 @@ typedef struct { #define RIL_REQUEST_CHANGE_SIM_PIN2 7 /** - * RIL_REQUEST_ENTER_NETWORK_DEPERSONALIZATION + * RIL_REQUEST_ENTER_DEPERSONALIZATION_CODE * * Requests that network personlization be deactivated * - * "data" is const char ** - * ((const char **)(data))[0]] is network depersonlization code + * "data" is const RIL_Depersonalization* * * "response" is int * * ((int *)response)[0] is the number of retries remaining, or -1 if unknown @@ -1148,7 +1153,7 @@ typedef struct { * (code is invalid) */ -#define RIL_REQUEST_ENTER_NETWORK_DEPERSONALIZATION 8 +#define RIL_REQUEST_ENTER_DEPERSONALIZATION_CODE 8 /** * RIL_REQUEST_GET_CURRENT_CALLS |