Home | History | Annotate | Download | only in cts
      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             );
    135 
    136     // List of network operators that doesn't support Maltipart SMS message
    137     public static final List<String> UNSUPPORT_MULTIPART_SMS_MESSAGES =
    138             Arrays.asList(
    139                     "44010",    // NTT DOCOMO
    140                     "44020",    // SBM
    141                     "44051",    // KDDI
    142                     "302720",   // Rogers
    143                     "30272",    // Rogers
    144                     "302370",   // Fido
    145                     "30237",    // Fido
    146                     "45006",    // LGT
    147                     "45008"     // KT
    148             );
    149 }
    150