From 767461e509abbf0e0b0039256b87840f3fce36be Mon Sep 17 00:00:00 2001 From: Sungmin Choi Date: Fri, 13 Dec 2013 13:30:44 +0900 Subject: [PATCH] telephony: Change string to string-array config_tether_apndata to support mvno Update tethering profiles to use string-array in config.xml. Bug: 10096119 Change-Id: I551236040c810b9603fb84542af9765184ce0c29 --- core/res/res/values-mcc202-mnc05/config.xml | 7 +++++-- core/res/res/values-mcc208-mnc10/config.xml | 7 +++++-- core/res/res/values-mcc214-mnc01/config.xml | 7 +++++-- core/res/res/values-mcc214-mnc07/config.xml | 4 +++- core/res/res/values-mcc222-mnc10/config.xml | 7 +++++-- core/res/res/values-mcc234-mnc20/config.xml | 4 +++- core/res/res/values-mcc235-mnc94/config.xml | 4 +++- core/res/res/values-mcc268-mnc03/config.xml | 8 +++++--- core/res/res/values-mcc302-mnc370/config.xml | 7 +++++-- core/res/res/values-mcc302-mnc660/config.xml | 7 +++++-- core/res/res/values-mcc302-mnc720/config.xml | 7 +++++-- core/res/res/values-mcc302-mnc780/config.xml | 7 +++++-- core/res/res/values-mcc311-mnc190/config.xml | 4 +++- core/res/res/values-mcc334-mnc050/config.xml | 7 +++++-- core/res/res/values-mcc340-mnc01/config.xml | 7 +++++-- core/res/res/values-mcc425-mnc07/config.xml | 7 +++++-- core/res/res/values-mcc505-mnc01/config.xml | 7 +++++-- core/res/res/values/config.xml | 11 ++++++++--- core/res/res/values/symbols.xml | 2 +- 19 files changed, 86 insertions(+), 35 deletions(-) diff --git a/core/res/res/values-mcc202-mnc05/config.xml b/core/res/res/values-mcc202-mnc05/config.xml index ec5ecaf12134..c74f2d7bde90 100644 --- a/core/res/res/values-mcc202-mnc05/config.xml +++ b/core/res/res/values-mcc202-mnc05/config.xml @@ -33,8 +33,11 @@ - Vf Tethering,internet.vodafone.gr,,,,,,,,,202,05,,DUN + + Vf Tethering,internet.vodafone.gr,,,,,,,,,202,05,,DUN + diff --git a/core/res/res/values-mcc208-mnc10/config.xml b/core/res/res/values-mcc208-mnc10/config.xml index 10a6c5dd8353..3c3a68b2abb7 100644 --- a/core/res/res/values-mcc208-mnc10/config.xml +++ b/core/res/res/values-mcc208-mnc10/config.xml @@ -31,9 +31,12 @@ - SFR option modem,websfr,,,,,,,,,208,10,,DUN + + SFR option modem,websfr,,,,,,,,,208,10,,DUN + 21401 diff --git a/core/res/res/values-mcc214-mnc01/config.xml b/core/res/res/values-mcc214-mnc01/config.xml index ecd812440a88..895b770d771c 100644 --- a/core/res/res/values-mcc214-mnc01/config.xml +++ b/core/res/res/values-mcc214-mnc01/config.xml @@ -33,9 +33,12 @@ - INTERNET,airtelnet.es,,,vodafone,vodafone,,,,,214,01,1,DUN + + INTERNET,airtelnet.es,,,vodafone,vodafone,,,,,214,01,1,DUN + 21402 diff --git a/core/res/res/values-mcc214-mnc07/config.xml b/core/res/res/values-mcc214-mnc07/config.xml index ce7526c02ebd..2712abcfad73 100644 --- a/core/res/res/values-mcc214-mnc07/config.xml +++ b/core/res/res/values-mcc214-mnc07/config.xml @@ -35,6 +35,8 @@ TETHER_DUN_APN. Value is a comma separated series of strings: "name,apn,proxy,port,username,password,server,mmsc,mmsproxy,mmsport,mcc,mnc,auth,type" note that empty fields can be ommitted: "name,apn,,,,,,,,,310,260,,DUN" --> - Conexion Compartida,movistar.es,,,MOVISTAR,MOVISTAR,,,,,214,07,1,DUN + + Conexion Compartida,movistar.es,,,MOVISTAR,MOVISTAR,,,,,214,07,1,DUN + diff --git a/core/res/res/values-mcc222-mnc10/config.xml b/core/res/res/values-mcc222-mnc10/config.xml index 67467a07fedc..5a74462e5c55 100644 --- a/core/res/res/values-mcc222-mnc10/config.xml +++ b/core/res/res/values-mcc222-mnc10/config.xml @@ -32,9 +32,12 @@ - Tethering Internet,web.omnitel.it,,,,,,,,,222,10,,DUN + + Tethering Internet,web.omnitel.it,,,,,,,,,222,10,,DUN + 21401 diff --git a/core/res/res/values-mcc234-mnc20/config.xml b/core/res/res/values-mcc234-mnc20/config.xml index 619e517c148c..814960a545a1 100644 --- a/core/res/res/values-mcc234-mnc20/config.xml +++ b/core/res/res/values-mcc234-mnc20/config.xml @@ -35,7 +35,9 @@ TETHER_DUN_APN. Value is a comma separated series of strings: "name,apn,proxy,port,username,password,server,mmsc,mmsproxy,mmsport,mcc,mnc,auth,type" note that empty fields can be ommitted: "name,apn,,,,,,,,,310,260,,DUN" --> - 3hotspot,3hotspot,,,,,,,,,234,20,0,DUN + + 3hotspot,3hotspot,,,,,,,,,234,20,0,DUN + diff --git a/core/res/res/values-mcc235-mnc94/config.xml b/core/res/res/values-mcc235-mnc94/config.xml index 723af3dfd845..d527304379fb 100644 --- a/core/res/res/values-mcc235-mnc94/config.xml +++ b/core/res/res/values-mcc235-mnc94/config.xml @@ -35,7 +35,9 @@ TETHER_DUN_APN. Value is a comma separated series of strings: "name,apn,proxy,port,username,password,server,mmsc,mmsproxy,mmsport,mcc,mnc,auth,type" note that empty fields can be ommitted: "name,apn,,,,,,,,,310,260,,DUN" --> - 3hotspot,3hotspot,,,,,,,,,235,94,0,DUN + + 3hotspot,3hotspot,,,,,,,,,235,94,0,DUN + diff --git a/core/res/res/values-mcc268-mnc03/config.xml b/core/res/res/values-mcc268-mnc03/config.xml index 0d5fe5717d2d..2f5171bccf35 100644 --- a/core/res/res/values-mcc268-mnc03/config.xml +++ b/core/res/res/values-mcc268-mnc03/config.xml @@ -33,8 +33,10 @@ - Optimus HotSpot,modem,,,,,,,,,268,03,,DUN - + + Optimus HotSpot,modem,,,,,,,,,268,03,,DUN + diff --git a/core/res/res/values-mcc302-mnc370/config.xml b/core/res/res/values-mcc302-mnc370/config.xml index 9cfe31fed354..a367e7619ffa 100644 --- a/core/res/res/values-mcc302-mnc370/config.xml +++ b/core/res/res/values-mcc302-mnc370/config.xml @@ -32,9 +32,12 @@ - Fido LTE Tethering,ltedata.apn,,,,,,,,,302,370,,DUN + + Fido LTE Tethering,ltedata.apn,,,,,,,,,302,370,,DUN + diff --git a/core/res/res/values-mcc302-mnc660/config.xml b/core/res/res/values-mcc302-mnc660/config.xml index 000f8971d581..c689d22f28d0 100644 --- a/core/res/res/values-mcc302-mnc660/config.xml +++ b/core/res/res/values-mcc302-mnc660/config.xml @@ -32,9 +32,12 @@ - MTS -Tethering,internet.mts,,,,,,,,,302,660,,DUN + + MTS -Tethering,internet.mts,,,,,,,,,302,660,,DUN + diff --git a/core/res/res/values-mcc302-mnc720/config.xml b/core/res/res/values-mcc302-mnc720/config.xml index dfc58fe59ba5..b4b4334e4919 100644 --- a/core/res/res/values-mcc302-mnc720/config.xml +++ b/core/res/res/values-mcc302-mnc720/config.xml @@ -32,9 +32,12 @@ - Rogers LTE Tethering,ltedata.apn,,,,,,,,,302,720,,DUN + + Rogers LTE Tethering,ltedata.apn,,,,,,,,,302,720,,DUN + diff --git a/core/res/res/values-mcc302-mnc780/config.xml b/core/res/res/values-mcc302-mnc780/config.xml index cd401912745d..51abd36b365d 100644 --- a/core/res/res/values-mcc302-mnc780/config.xml +++ b/core/res/res/values-mcc302-mnc780/config.xml @@ -33,9 +33,12 @@ - SaskTel Tethering,inet.stm.sk.ca,,,,,,,,,302,780,,DUN + + SaskTel Tethering,inet.stm.sk.ca,,,,,,,,,302,780,,DUN + diff --git a/core/res/res/values-mcc311-mnc190/config.xml b/core/res/res/values-mcc311-mnc190/config.xml index a6c4d1b6dfe2..c17a07c963e0 100644 --- a/core/res/res/values-mcc311-mnc190/config.xml +++ b/core/res/res/values-mcc311-mnc190/config.xml @@ -35,6 +35,8 @@ TETHER_DUN_APN. Value is a comma separated series of strings: "name,apn,proxy,port,username,password,server,mmsc,mmsproxy,mmsport,mcc,mnc,auth,type" note that empty fields can be ommitted: "name,apn,,,,,,,,,310,260,,DUN" --> - Tether,broadband.cellular1.net,,,,,,,,,311,190,,DUN + + Tether,broadband.cellular1.net,,,,,,,,,311,190,,DUN + diff --git a/core/res/res/values-mcc334-mnc050/config.xml b/core/res/res/values-mcc334-mnc050/config.xml index 00c415551f8b..f6777d0391df 100644 --- a/core/res/res/values-mcc334-mnc050/config.xml +++ b/core/res/res/values-mcc334-mnc050/config.xml @@ -33,8 +33,11 @@ - Modem,modem.iusacellgsm.mx,,,iusacellgsm,iusacellgsm,,,,,334,050,1,DUN + + Modem,modem.iusacellgsm.mx,,,iusacellgsm,iusacellgsm,,,,,334,050,1,DUN + diff --git a/core/res/res/values-mcc340-mnc01/config.xml b/core/res/res/values-mcc340-mnc01/config.xml index bb491ed6a16a..cfc1380dd26f 100644 --- a/core/res/res/values-mcc340-mnc01/config.xml +++ b/core/res/res/values-mcc340-mnc01/config.xml @@ -32,9 +32,12 @@ - Orangeweb,orangeweb,,,orange,orange,,,,,340,01,1,DUN + + Orangeweb,orangeweb,,,orange,orange,,,,,340,01,1,DUN + 20801 diff --git a/core/res/res/values-mcc425-mnc07/config.xml b/core/res/res/values-mcc425-mnc07/config.xml index 51a9934f387c..a092fb97ffcd 100644 --- a/core/res/res/values-mcc425-mnc07/config.xml +++ b/core/res/res/values-mcc425-mnc07/config.xml @@ -33,9 +33,12 @@ - PC HOT mobile,pc.hotm,,,,,,,,,425,07,,DUN + + PC HOT mobile,pc.hotm,,,,,,,,,425,07,,DUN + diff --git a/core/res/res/values-mcc505-mnc01/config.xml b/core/res/res/values-mcc505-mnc01/config.xml index 7331c5009b17..1705e4a50451 100644 --- a/core/res/res/values-mcc505-mnc01/config.xml +++ b/core/res/res/values-mcc505-mnc01/config.xml @@ -33,9 +33,12 @@ - Telstra Tethering,telstra.internet,,,,,,,,,505,01,,DUN + + Telstra Tethering,telstra.internet,,,,,,,,,505,01,,DUN + diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 671394482bc9..9e4fc95cdc99 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -323,9 +323,14 @@ - + "name,apn,proxy,port,username,password,server,mmsc,mmsproxy,mmsport,mcc,mnc,auth,type", + Or string format of ApnSettingV3. + note that empty fields can be ommitted: "name,apn,,,,,,,,,310,260,,DUN" + Multiple entries are separated by using string-array: + "[ApnSettingV3]Name,apn,,,,,,,,,123,45,,mms|*,IPV6,IP,true,14,,,,,,,spn,testspn + [ApnSettingV3]Name1,apn2,,,,,,,,,123,46,,mms|*,IPV6,IP,true,12,,,,,,,," --> + + false diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml index 24c24f87935a..bd480d340e75 100644 --- a/core/res/res/values/symbols.xml +++ b/core/res/res/values/symbols.xml @@ -538,7 +538,6 @@ - @@ -1546,6 +1545,7 @@ + -- GitLab