1 /* 2 * Copyright (C) 2017 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package android.telephony.cts; 18 19 import java.util.Arrays; 20 import java.util.List; 21 22 public class CarrierCapability { 23 24 // List of network operators that don't support SMS delivery report 25 public static final List<String> NO_DELIVERY_REPORTS = 26 Arrays.asList( 27 "310410", // AT&T Mobility 28 "44010", // NTT DOCOMO 29 "45005", // SKT Mobility 30 "45002", // SKT Mobility 31 "45008", // KT Mobility 32 "45028", // KT Safety Network 33 "45006", // LGT 34 "311660", // MetroPCS 35 "310120", // Sprint 36 "44050", // KDDI 37 "44051", // KDDI 38 "44053", // KDDI 39 "44054", // KDDI 40 "44070", // KDDI 41 "44071", // KDDI 42 "44072", // KDDI 43 "44073", // KDDI 44 "44074", // KDDI 45 "44075", // KDDI 46 "44076", // KDDI 47 "50502", // OPS 48 "51502", // Globe Telecoms 49 "51503", // Smart Communications 50 "51505", // Sun Cellular 51 "53001", // Vodafone New Zealand 52 "53024", // NZC 53 "311870", // Boost Mobile 54 "311220", // USCC 55 "311225", // USCC LTE 56 "311580", // USCC LTE 57 "302720", // Rogers 58 "30272", // Rogers 59 "302370", // Fido 60 "30237", // Fido 61 "311490", // Virgin Mobile 62 "312530", // Sprint Prepaid 63 "310000", // Tracfone 64 "46003", // China Telecom 65 "311230", // C SPire Wireless + Celluar South 66 "310600", // Cellcom 67 "31000", // Republic Wireless US 68 "310260", // Republic Wireless US 69 "310026", // T-Mobile US 70 "330120", // OpenMobile communication 71 // Verizon 72 "310004", 73 "310012", 74 "311280", 75 "311281", 76 "311282", 77 "311283", 78 "311284", 79 "311285", 80 "311286", 81 "311287", 82 "311288", 83 "311289", 84 "311480", 85 "311481", 86 "311482", 87 "311483", 88 "311484", 89 "311485", 90 "311486", 91 "311487", 92 "311488", 93 "311489" 94 ); 95 96 // List of network operators that doesn't support Data(binary) SMS message 97 public static final List<String> UNSUPPORT_DATA_SMS_MESSAGES = 98 Arrays.asList( 99 "44010", // NTT DOCOMO 100 "44020", // SBM 101 "44051", // KDDI 102 "302720", // Rogers 103 "30272", // Rogers 104 "302370", // Fido 105 "30237", // Fido 106 "45008", // KT 107 "45005", // SKT Mobility 108 "45002", // SKT Mobility 109 "45006", // LGT 110 "310260", // Republic Wireless US 111 // Verizon 112 "310004", 113 "310012", 114 "311280", 115 "311281", 116 "311282", 117 "311283", 118 "311284", 119 "311285", 120 "311286", 121 "311287", 122 "311288", 123 "311289", 124 "311480", 125 "311481", 126 "311482", 127 "311483", 128 "311484", 129 "311485", 130 "311486", 131 "311487", 132 "311488", 133 "311489", 134 // AT&T 135 "310030", 136 "310070", 137 "310170", 138 "310280", 139 "310380", 140 "310410", 141 "310560", 142 "310680", 143 "310950", 144 "311180" 145 ); 146 147 // List of network operators that doesn't support Maltipart SMS message 148 public static final List<String> UNSUPPORT_MULTIPART_SMS_MESSAGES = 149 Arrays.asList( 150 "44010", // NTT DOCOMO 151 "44020", // SBM 152 "44051", // KDDI 153 "302720", // Rogers 154 "30272", // Rogers 155 "302370", // Fido 156 "30237", // Fido 157 "45006", // LGT 158 "45008" // KT 159 ); 160 161 162 public static final List<String> SUPPORT_TEL_URI_PUBLISH = 163 Arrays.asList( 164 "310410", // AT&T Mobility 165 "310280", // AT&T Mobility 166 "310030", // AT&T Mobility 167 "310070", // AT&T Mobility 168 "310170", // AT&T Mobility 169 "310380", // AT&T Mobility 170 "310560", // AT&T Mobility 171 "310680", // AT&T Mobility 172 "310950", // AT&T Mobility 173 "311180" // AT&T Mobility 174 ); 175 176 // List of carrier-id that does not support loop back messages 177 public static final List<Integer> UNSUPPORT_LOOP_BACK_MESSAGES = 178 Arrays.asList( 179 1 // "T-Mobile - US" 180 ); 181 } 182