Google RCS uses FTEU MO SMS for phone number verification test cases.
Add google-owned SMS short codes for the below mentioned countries.
- Added SMS short codes for 6 countries.
a. Uganda (UG) - 8555 - b/422059921
b. Algeria (DZ) - 60101 - b/424657281
c. Ivory Coast (CI) - 9911 - b/429218556
d. Senegal (SN) - 21097 - b/432770940
e. Sri Lanka (LK) - 2245 - b/432768531
f. Colombia (CO) - 899035 - b/432776540
- Config Change for the Japan (JP) country.
Refer : Japan (JP) - b/430746940
- Removed SMS short codes for 1 country.
India(IN) - 51034 b/390153509
Test: atest android.telephony.cts.SmsUsageMonitorShortCodeTest
abtd test : https://android-build.corp.google.com/abtd/run/L12600030014343293/
Bug: 433678566
Flag: TEST_ONLY
Change-Id: Ib74e81ecf8a2cfba73714c87fdc8dcb640177272
diff --git a/tests/tests/telephony/current/src/android/telephony/cts/SmsUsageMonitorShortCodeTest.java b/tests/tests/telephony/current/src/android/telephony/cts/SmsUsageMonitorShortCodeTest.java
index a08a9af..04bc4c2 100644
--- a/tests/tests/telephony/current/src/android/telephony/cts/SmsUsageMonitorShortCodeTest.java
+++ b/tests/tests/telephony/current/src/android/telephony/cts/SmsUsageMonitorShortCodeTest.java
@@ -197,6 +197,10 @@
new ShortCodeTest("ch", "234567", SMS_CATEGORY_NOT_SHORT_CODE),
new ShortCodeTest("ch", "87654321", SMS_CATEGORY_NOT_SHORT_CODE),
+ new ShortCodeTest("ci", "9911", SMS_CATEGORY_FREE_SHORT_CODE),
+ new ShortCodeTest("ci", "484868", SMS_CATEGORY_NOT_SHORT_CODE),
+ new ShortCodeTest("ci", "4868", SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE),
+
new ShortCodeTest("cl", "484857", SMS_CATEGORY_NOT_SHORT_CODE),
new ShortCodeTest("cl", "4849", SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE),
new ShortCodeTest("cl", "4848", SMS_CATEGORY_FREE_SHORT_CODE),
@@ -211,6 +215,7 @@
new ShortCodeTest("co", "491272", SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE),
new ShortCodeTest("co", "491289", SMS_CATEGORY_FREE_SHORT_CODE),
new ShortCodeTest("co", "890119", SMS_CATEGORY_FREE_SHORT_CODE),
+ new ShortCodeTest("co", "899035", SMS_CATEGORY_FREE_SHORT_CODE),
new ShortCodeTest("cr", "4664537", SMS_CATEGORY_NOT_SHORT_CODE),
new ShortCodeTest("cr", "466458", SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE),
@@ -267,6 +272,7 @@
new ShortCodeTest("dz", "63071", SMS_CATEGORY_FREE_SHORT_CODE),
new ShortCodeTest("dz", "63073", SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE),
new ShortCodeTest("dz", "630711", SMS_CATEGORY_NOT_SHORT_CODE),
+ new ShortCodeTest("dz", "60101", SMS_CATEGORY_FREE_SHORT_CODE),
new ShortCodeTest("ec", "4664534", SMS_CATEGORY_NOT_SHORT_CODE),
new ShortCodeTest("ec", "466499", SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE),
@@ -385,7 +391,6 @@
new ShortCodeTest("in", "500763", SMS_CATEGORY_NOT_SHORT_CODE),
new ShortCodeTest("in", "56748", SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE),
- new ShortCodeTest("in", "51034", SMS_CATEGORY_FREE_SHORT_CODE),
new ShortCodeTest("ie", "112", SMS_CATEGORY_NOT_SHORT_CODE),
new ShortCodeTest("ie", "116117", SMS_CATEGORY_FREE_SHORT_CODE),
@@ -472,6 +477,10 @@
new ShortCodeTest("id", "99265", SMS_CATEGORY_FREE_SHORT_CODE),
new ShortCodeTest("id", "77413", SMS_CATEGORY_FREE_SHORT_CODE),
+ new ShortCodeTest("lk", "223456", SMS_CATEGORY_NOT_SHORT_CODE),
+ new ShortCodeTest("lk", "2234", SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE),
+ new ShortCodeTest("lk", "2245", SMS_CATEGORY_FREE_SHORT_CODE),
+
new ShortCodeTest("ls", "320121", SMS_CATEGORY_NOT_SHORT_CODE),
new ShortCodeTest("ls", "32013", SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE),
new ShortCodeTest("ls", "32012", SMS_CATEGORY_FREE_SHORT_CODE),
@@ -684,6 +693,7 @@
new ShortCodeTest("sn", "21215", SMS_CATEGORY_FREE_SHORT_CODE),
new ShortCodeTest("sn", "21098", SMS_CATEGORY_FREE_SHORT_CODE),
new ShortCodeTest("sn", "21217", SMS_CATEGORY_FREE_SHORT_CODE),
+ new ShortCodeTest("sn", "21097", SMS_CATEGORY_FREE_SHORT_CODE),
new ShortCodeTest("sk", "112", SMS_CATEGORY_NOT_SHORT_CODE),
new ShortCodeTest("sk", "116117", SMS_CATEGORY_FREE_SHORT_CODE),
@@ -730,9 +740,10 @@
new ShortCodeTest("ua", "7540", SMS_CATEGORY_PREMIUM_SHORT_CODE),
new ShortCodeTest("ua", "98765", SMS_CATEGORY_NOT_SHORT_CODE),
- new ShortCodeTest("ug", "800999", SMS_CATEGORY_NOT_SHORT_CODE),
+ new ShortCodeTest("ug", "80099", SMS_CATEGORY_NOT_SHORT_CODE),
new ShortCodeTest("ug", "8099", SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE),
new ShortCodeTest("ug", "8009", SMS_CATEGORY_FREE_SHORT_CODE),
+ new ShortCodeTest("ug", "8555", SMS_CATEGORY_FREE_SHORT_CODE),
new ShortCodeTest("us", "911", SMS_CATEGORY_NOT_SHORT_CODE),
new ShortCodeTest("us", "122", SMS_CATEGORY_FREE_SHORT_CODE),