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 ec5ecaf12134c..c74f2d7bde906 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 10a6c5dd83537..3c3a68b2abb79 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 ecd812440a884..895b770d771ce 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 ce7526c02ebd9..2712abcfad73c 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 67467a07fedc4..5a74462e5c551 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 619e517c148cd..814960a545a1d 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 723af3dfd845b..d527304379fb5 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 0d5fe5717d2d7..2f5171bccf354 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 9cfe31fed354f..a367e7619ffa5 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 000f8971d5818..c689d22f28d02 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 dfc58fe59ba5e..b4b4334e4919e 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 cd401912745dd..51abd36b365da 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 a6c4d1b6dfe29..c17a07c963e00 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 00c415551f8b0..f6777d0391df3 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 bb491ed6a16a5..cfc1380dd26f4 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 51a9934f387c5..a092fb97ffcd1 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 7331c5009b170..1705e4a504512 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 671394482bc98..9e4fc95cdc99c 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 24c24f87935a8..bd480d340e753 100644 --- a/core/res/res/values/symbols.xml +++ b/core/res/res/values/symbols.xml @@ -538,7 +538,6 @@ - @@ -1546,6 +1545,7 @@ +