Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c89b764 authored by PAVAN ITTAMALLA's avatar PAVAN ITTAMALLA
Browse files

Google RCS uses FTEU MO SMS for phone number verification [ Week 08, 09 & 10]

Test: atest android.telephony.cts.SmsUsageMonitorShortCodeTest

BUG: 325240913,326140683,328183470

abtd test : https://android-build.corp.google.com/builds/abtd/run/L38700030002927698

Change-Id: I066de45db840513c0e482d47486ad2dc4b7522e8
parent 4f490c58
Loading
Loading
Loading
Loading
+27 −12
Original line number Original line Diff line number Diff line
@@ -28,7 +28,7 @@
         standard SMS rate. The user is warned when the destination phone number matches the
         standard SMS rate. The user is warned when the destination phone number matches the
         "pattern" or "premium" regexes, and does not match the "free" or "standard" regexes. -->
         "pattern" or "premium" regexes, and does not match the "free" or "standard" regexes. -->


    <!-- Harmonised European Short Codes are 6 digit numbers starting with 116 (free helplines).
    <!-- Harmonised European Short Codes are 7 digit numbers starting with 116 (free helplines).
         Premium patterns include short codes from: http://aonebill.com/coverage&tariffs
         Premium patterns include short codes from: http://aonebill.com/coverage&tariffs
         and http://mobilcent.com/info-worldwide.asp and extracted from:
         and http://mobilcent.com/info-worldwide.asp and extracted from:
         http://smscoin.net/software/engine/WordPress/Paid+SMS-registration/ -->
         http://smscoin.net/software/engine/WordPress/Paid+SMS-registration/ -->
@@ -39,8 +39,8 @@
    <!-- Albania: 5 digits, known short codes listed -->
    <!-- Albania: 5 digits, known short codes listed -->
    <shortcode country="al" pattern="\\d{5}" premium="15191|55[56]00" />
    <shortcode country="al" pattern="\\d{5}" premium="15191|55[56]00" />


    <!-- Argentina: 5 digits, known short codes listed -->
    <!-- Argentina: 6 digits, known short codes listed -->
    <shortcode country="ar" pattern="\\d{5}" free="11711|28291|44077|78887" />
    <shortcode country="ar" pattern="\\d{1,6}" free="11711|28291|44077|78887|191289|39010" />


    <!-- Armenia: 3-5 digits, emergency numbers 10[123] -->
    <!-- Armenia: 3-5 digits, emergency numbers 10[123] -->
    <shortcode country="am" pattern="\\d{3,5}" premium="11[2456]1|3024" free="10[123]|71522|71512|71502" />
    <shortcode country="am" pattern="\\d{3,5}" premium="11[2456]1|3024" free="10[123]|71522|71512|71502" />
@@ -67,7 +67,7 @@
    <shortcode country="bh" pattern="\\d{1,5}" free="81181|85999" />
    <shortcode country="bh" pattern="\\d{1,5}" free="81181|85999" />


    <!-- Brazil: 1-5 digits (standard system default, not country specific) -->
    <!-- Brazil: 1-5 digits (standard system default, not country specific) -->
    <shortcode country="br" pattern="\\d{1,5}" free="6000[012]\\d|876|5500|9963|4141|8000" />
    <shortcode country="br" pattern="\\d{1,5}" free="6000[012]\\d|876|5500|9963|4141|8000|2652" />


    <!-- Belarus: 4 digits -->
    <!-- Belarus: 4 digits -->
    <shortcode country="by" pattern="\\d{4}" premium="3336|4161|444[4689]|501[34]|7781" />
    <shortcode country="by" pattern="\\d{4}" premium="3336|4161|444[4689]|501[34]|7781" />
@@ -163,7 +163,7 @@
    <shortcode country="in" pattern="\\d{1,5}" free="59336|53969" />
    <shortcode country="in" pattern="\\d{1,5}" free="59336|53969" />


    <!-- Indonesia: 1-5 digits (standard system default, not country specific) -->
    <!-- Indonesia: 1-5 digits (standard system default, not country specific) -->
    <shortcode country="id" pattern="\\d{1,5}" free="99477|6006|46645|363|93457" />
    <shortcode country="id" pattern="\\d{1,5}" free="99477|6006|46645|363|93457|99265" />


    <!-- Ireland: 5 digits, 5xxxx (50xxx=free, 5[12]xxx=standard), plus EU:
    <!-- Ireland: 5 digits, 5xxxx (50xxx=free, 5[12]xxx=standard), plus EU:
         http://www.comreg.ie/_fileupload/publications/ComReg1117.pdf -->
         http://www.comreg.ie/_fileupload/publications/ComReg1117.pdf -->
@@ -172,6 +172,9 @@
    <!-- Israel: 1-5 digits, known premium codes listed -->
    <!-- Israel: 1-5 digits, known premium codes listed -->
    <shortcode country="il" pattern="\\d{1,5}" premium="4422|4545" free="37477|6681" />
    <shortcode country="il" pattern="\\d{1,5}" premium="4422|4545" free="37477|6681" />


    <!-- Iran: 4-6 digits, known premium codes listed -->
    <shortcode country="ir" pattern="\\d{4,6}" free="700791|700792" />

    <!-- Italy: 5 digits (premium=41xxx,42xxx), plus EU:
    <!-- Italy: 5 digits (premium=41xxx,42xxx), plus EU:
         https://www.itu.int/dms_pub/itu-t/oth/02/02/T020200006B0001PDFE.pdf -->
         https://www.itu.int/dms_pub/itu-t/oth/02/02/T020200006B0001PDFE.pdf -->
    <shortcode country="it" pattern="\\d{5}" premium="44[0-4]\\d{2}|47[0-4]\\d{2}|48[0-4]\\d{2}|44[5-9]\\d{4}|47[5-9]\\d{4}|48[5-9]\\d{4}|455\\d{2}|499\\d{2}" free="116\\d{3}|4112503|40\\d{0,12}" standard="430\\d{2}|431\\d{2}|434\\d{4}|435\\d{4}|439\\d{7}" />
    <shortcode country="it" pattern="\\d{5}" premium="44[0-4]\\d{2}|47[0-4]\\d{2}|48[0-4]\\d{2}|44[5-9]\\d{4}|47[5-9]\\d{4}|48[5-9]\\d{4}|455\\d{2}|499\\d{2}" free="116\\d{3}|4112503|40\\d{0,12}" standard="430\\d{2}|431\\d{2}|434\\d{4}|435\\d{4}|439\\d{7}" />
@@ -219,11 +222,11 @@
    <!-- Mozambique: 1-5 digits (standard system default, not country specific) -->
    <!-- Mozambique: 1-5 digits (standard system default, not country specific) -->
    <shortcode country="mz" pattern="\\d{1,5}" free="1714" />
    <shortcode country="mz" pattern="\\d{1,5}" free="1714" />


    <!-- Mexico: 4-5 digits (not confirmed), known premium codes listed -->
    <!-- Mexico: 4-7 digits (not confirmed), known premium codes listed -->
    <shortcode country="mx" pattern="\\d{4,6}" premium="53035|7766" free="26259|46645|50025|50052|5050|76551|88778|9963|91101|45453|550346" />
    <shortcode country="mx" pattern="\\d{4,7}" premium="53035|7766" free="26259|46645|50025|50052|5050|76551|88778|9963|91101|45453|550346|3030303" />


    <!-- Malaysia: 5 digits: http://www.skmm.gov.my/attachment/Consumer_Regulation/Mobile_Content_Services_FAQs.pdf -->
    <!-- Malaysia: 5 digits: http://www.skmm.gov.my/attachment/Consumer_Regulation/Mobile_Content_Services_FAQs.pdf -->
    <shortcode country="my" pattern="\\d{5}" premium="32298|33776" free="22099|28288|66668" />
    <shortcode country="my" pattern="\\d{5}" premium="32298|33776" free="22099|28288|66668|66966" />


    <!-- Namibia: 1-5 digits (standard system default, not country specific) -->
    <!-- Namibia: 1-5 digits (standard system default, not country specific) -->
    <shortcode country="na" pattern="\\d{1,5}" free="40005" />
    <shortcode country="na" pattern="\\d{1,5}" free="40005" />
@@ -255,6 +258,9 @@
    <!-- Palestine: 5 digits, known premium codes listed -->
    <!-- Palestine: 5 digits, known premium codes listed -->
    <shortcode country="ps" pattern="\\d{1,5}" free="37477|6681" />
    <shortcode country="ps" pattern="\\d{1,5}" free="37477|6681" />


    <!-- Paraguay: 6 digits, known premium codes listed -->
    <shortcode country="py" pattern="\\d{6}" free="191289" />

    <!-- Poland: 4-5 digits (not confirmed), known premium codes listed, plus EU -->
    <!-- Poland: 4-5 digits (not confirmed), known premium codes listed, plus EU -->
    <shortcode country="pl" pattern="\\d{4,5}" premium="74240|79(?:10|866)|92525" free="116\\d{3}|8012|80921" />
    <shortcode country="pl" pattern="\\d{4,5}" premium="74240|79(?:10|866)|92525" free="116\\d{3}|8012|80921" />


@@ -275,7 +281,7 @@
    <shortcode country="ru" pattern="\\d{4}" premium="1(?:1[56]1|899)|2(?:09[57]|322|47[46]|880|990)|3[589]33|4161|44(?:4[3-9]|81)|77(?:33|81)|8424" free="6954|8501" standard="2037|2044"/>
    <shortcode country="ru" pattern="\\d{4}" premium="1(?:1[56]1|899)|2(?:09[57]|322|47[46]|880|990)|3[589]33|4161|44(?:4[3-9]|81)|77(?:33|81)|8424" free="6954|8501" standard="2037|2044"/>


    <!-- Rwanda: 4 digits -->
    <!-- Rwanda: 4 digits -->
    <shortcode country="rw" pattern="\\d{4}" free="5060" />
    <shortcode country="rw" pattern="\\d{4}" free="5060|5061" />


    <!-- Saudi Arabia -->
    <!-- Saudi Arabia -->
    <shortcode country="sa" pattern="\\d{1,5}" free="8145" />
    <shortcode country="sa" pattern="\\d{1,5}" free="8145" />
@@ -309,7 +315,10 @@
    <shortcode country="tj" pattern="\\d{4}" premium="11[3-7]1|4161|4333|444[689]" />
    <shortcode country="tj" pattern="\\d{4}" premium="11[3-7]1|4161|4333|444[689]" />


    <!-- Tanzania: 1-5 digits (standard system default, not country specific) -->
    <!-- Tanzania: 1-5 digits (standard system default, not country specific) -->
    <shortcode country="tz" pattern="\\d{1,5}" free="15046|15234" />
    <shortcode country="tz" pattern="\\d{1,5}" free="15046|15234|15324" />

    <!-- Tunisia: 5 digits, known premium codes listed -->
    <shortcode country="tn" pattern="\\d{5}" free="85799" />


    <!-- Turkey -->
    <!-- Turkey -->
    <shortcode country="tr" pattern="\\d{1,5}" free="7529|5528|6493|3193" />
    <shortcode country="tr" pattern="\\d{1,5}" free="7529|5528|6493|3193" />
@@ -324,8 +333,11 @@
         visual voicemail code for T-Mobile: 122 -->
         visual voicemail code for T-Mobile: 122 -->
    <shortcode country="us" pattern="\\d{5,6}" premium="20433|21(?:344|472)|22715|23(?:333|847)|24(?:15|28)0|25209|27(?:449|606|663)|28498|305(?:00|83)|32(?:340|941)|33(?:166|786|849)|34746|35(?:182|564)|37975|38(?:135|146|254)|41(?:366|463)|42335|43(?:355|500)|44(?:578|711|811)|45814|46(?:157|173|327)|46666|47553|48(?:221|277|669)|50(?:844|920)|51(?:062|368)|52944|54(?:723|892)|55928|56483|57370|59(?:182|187|252|342)|60339|61(?:266|982)|62478|64(?:219|898)|65(?:108|500)|69(?:208|388)|70877|71851|72(?:078|087|465)|73(?:288|588|882|909|997)|74(?:034|332|815)|76426|79213|81946|83177|84(?:103|685)|85797|86(?:234|236|666)|89616|90(?:715|842|938)|91(?:362|958)|94719|95297|96(?:040|666|835|969)|97(?:142|294|688)|99(?:689|796|807)" standard="44567|244444" free="122|87902|21696|24614|28003|30356|33669|40196|41064|41270|43753|44034|46645|52413|56139|57969|61785|66975|75136|76227|81398|83952|85140|86566|86799|95737|96684|99245|611611|96831" />
    <shortcode country="us" pattern="\\d{5,6}" premium="20433|21(?:344|472)|22715|23(?:333|847)|24(?:15|28)0|25209|27(?:449|606|663)|28498|305(?:00|83)|32(?:340|941)|33(?:166|786|849)|34746|35(?:182|564)|37975|38(?:135|146|254)|41(?:366|463)|42335|43(?:355|500)|44(?:578|711|811)|45814|46(?:157|173|327)|46666|47553|48(?:221|277|669)|50(?:844|920)|51(?:062|368)|52944|54(?:723|892)|55928|56483|57370|59(?:182|187|252|342)|60339|61(?:266|982)|62478|64(?:219|898)|65(?:108|500)|69(?:208|388)|70877|71851|72(?:078|087|465)|73(?:288|588|882|909|997)|74(?:034|332|815)|76426|79213|81946|83177|84(?:103|685)|85797|86(?:234|236|666)|89616|90(?:715|842|938)|91(?:362|958)|94719|95297|96(?:040|666|835|969)|97(?:142|294|688)|99(?:689|796|807)" standard="44567|244444" free="122|87902|21696|24614|28003|30356|33669|40196|41064|41270|43753|44034|46645|52413|56139|57969|61785|66975|75136|76227|81398|83952|85140|86566|86799|95737|96684|99245|611611|96831" />


    <!--Uruguay : 1-5 digits (standard system default, not country specific) -->
    <!--Uruguay : 1-6 digits (standard system default, not country specific) -->
    <shortcode country="uy" pattern="\\d{1,5}" free="55002" />
    <shortcode country="uy" pattern="\\d{1,6}" free="55002|191289" />

    <!-- Venezuela: 1-6 digits (standard system default, not country specific) -->
    <shortcode country="ve" pattern="\\d{1,6}" free="538352" />


    <!-- Vietnam: 1-5 digits (standard system default, not country specific) -->
    <!-- Vietnam: 1-5 digits (standard system default, not country specific) -->
    <shortcode country="vn" pattern="\\d{1,5}" free="5001|9055|8079" />
    <shortcode country="vn" pattern="\\d{1,5}" free="5001|9055|8079" />
@@ -336,6 +348,9 @@
    <!-- South Africa -->
    <!-- South Africa -->
    <shortcode country="za" pattern="\\d{1,5}" free="44136|30791|36056|33009" />
    <shortcode country="za" pattern="\\d{1,5}" free="44136|30791|36056|33009" />


    <!-- Yemen -->
    <shortcode country="ye" pattern="\\d{1,4}" free="5081" />

    <!-- Zimbabwe -->
    <!-- Zimbabwe -->
    <shortcode country="zw" pattern="\\d{1,5}" free="33679" />
    <shortcode country="zw" pattern="\\d{1,5}" free="33679" />