summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPresubmit Automerger Backend <android-build-presubmit-automerger-backend@system.gserviceaccount.com>2023-02-28 08:27:10 +0000
committerPresubmit Automerger Backend <android-build-presubmit-automerger-backend@system.gserviceaccount.com>2023-02-28 08:27:10 +0000
commit748228ee552b27733edbcf8853d41074c8ae6681 (patch)
treeb264cb001dd7e5e7e5d56fa71eb69b084549472b /tests
parent33aa4d9ca9ee94410c5108e623f181bd4d7bb1b4 (diff)
parentccf804b433f0440bc3f9bdaae806e6d47a8fadcc (diff)
downloadCellBroadcastReceiver-748228ee552b27733edbcf8853d41074c8ae6681.tar.gz
[automerge] Support emergency alert for Bulgaria. 2p: ccf804b433
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/CellBroadcastReceiver/+/20955844 Bug: 254012817 Bug: 261786240 Bug: 234323746 Change-Id: Ie8ea258ed23bcce596dcb6942d3ece26d9466997
Diffstat (limited to 'tests')
-rw-r--r--tests/compliancetests/assets/emergency_alert_channels.json56
-rw-r--r--tests/compliancetests/assets/emergency_alert_settings.json26
-rw-r--r--tests/compliancetests/assets/region_plmn_list.json4
3 files changed, 86 insertions, 0 deletions
diff --git a/tests/compliancetests/assets/emergency_alert_channels.json b/tests/compliancetests/assets/emergency_alert_channels.json
index a10366184..0355b094d 100644
--- a/tests/compliancetests/assets/emergency_alert_channels.json
+++ b/tests/compliancetests/assets/emergency_alert_channels.json
@@ -1594,6 +1594,62 @@
"toggle_avail": "true"
}
},
+ "bulgaria": {
+ "4370": {
+ "title": "BG-ALERT: Emergency Alert",
+ "default_value": "true",
+ "toggle_avail": "false"
+ },
+ "4383": {
+ "title": "BG-ALERT: Emergency Alert",
+ "default_value": "true",
+ "toggle_avail": "false"
+ },
+ "4371": {
+ "title": "BG-ALERT: Warning",
+ "default_value": "true",
+ "toggle_avail": "true",
+ "end_channel": "4372"
+ },
+ "4384": {
+ "title": "BG-ALERT: Warning",
+ "default_value": "true",
+ "toggle_avail": "true",
+ "end_channel": "4385"
+ },
+ "4373": {
+ "title": "BG-ALERT: Information",
+ "default_value": "true",
+ "toggle_avail": "true",
+ "end_channel": "4378"
+ },
+ "4386": {
+ "title": "BG-ALERT: Information",
+ "default_value": "true",
+ "toggle_avail": "true",
+ "end_channel": "4391"
+ },
+ "4379": {
+ "title": "BG-ALERT: Missing Person Alert",
+ "default_value": "true",
+ "toggle_avail": "true"
+ },
+ "4392": {
+ "title": "BG-ALERT: Missing Person Alert",
+ "default_value": "true",
+ "toggle_avail": "true"
+ },
+ "4380": {
+ "title": "BG-ALERT: Test alert",
+ "default_value": "false",
+ "toggle_avail": "true"
+ },
+ "4393": {
+ "title": "BG-ALERT: Test alert",
+ "default_value": "false",
+ "toggle_avail": "true"
+ }
+ },
"estonia": {
"4352": {
"title": "",
diff --git a/tests/compliancetests/assets/emergency_alert_settings.json b/tests/compliancetests/assets/emergency_alert_settings.json
index 1944f2010..d77accb47 100644
--- a/tests/compliancetests/assets/emergency_alert_settings.json
+++ b/tests/compliancetests/assets/emergency_alert_settings.json
@@ -487,6 +487,32 @@
"toggle_avail": "true"
}
},
+ "bulgaria": {
+ "Extreme and Severe Threats": {
+ "default_value": "true",
+ "toggle_avail": "true"
+ },
+ "Information": {
+ "default_value": "true",
+ "toggle_avail": "true"
+ },
+ "Missing Person Alerts": {
+ "default_value": "true",
+ "toggle_avail": "true"
+ },
+ "Test Alerts": {
+ "default_value": "false",
+ "toggle_avail": "true"
+ },
+ "Vibration": {
+ "default_value": "true",
+ "toggle_avail": "true"
+ },
+ "Speak alert message": {
+ "default_value": "true",
+ "toggle_avail": "true"
+ }
+ },
"netherlands": {
"NL-Alert": {
"default_value": "true",
diff --git a/tests/compliancetests/assets/region_plmn_list.json b/tests/compliancetests/assets/region_plmn_list.json
index 088373655..16a4c8359 100644
--- a/tests/compliancetests/assets/region_plmn_list.json
+++ b/tests/compliancetests/assets/region_plmn_list.json
@@ -167,6 +167,10 @@
"mccmnc": "24702",
"imsi": "247020123456789"
},
+ "bulgaria": {
+ "mccmnc": "28401",
+ "imsi": "284010123456789"
+ },
"greece": {
"mccmnc": "20201",
"imsi": "202010123456789"