Update bandwidth meter estimates

PiperOrigin-RevId: 501010994
(cherry picked from commit 2c7e9ca8237e39bde686dd635699778aa8c6b96e)
This commit is contained in:
tonihei 2023-01-10 17:08:34 +00:00 committed by christosts
parent 96eb8968a8
commit b6970c09b8

View File

@ -48,27 +48,27 @@ public final class DefaultBandwidthMeter implements BandwidthMeter, TransferList
/** Default initial Wifi bitrate estimate in bits per second. */ /** Default initial Wifi bitrate estimate in bits per second. */
public static final ImmutableList<Long> DEFAULT_INITIAL_BITRATE_ESTIMATES_WIFI = public static final ImmutableList<Long> DEFAULT_INITIAL_BITRATE_ESTIMATES_WIFI =
ImmutableList.of(4_800_000L, 3_100_000L, 2_100_000L, 1_500_000L, 800_000L); ImmutableList.of(4_400_000L, 3_200_000L, 2_300_000L, 1_600_000L, 810_000L);
/** Default initial 2G bitrate estimates in bits per second. */ /** Default initial 2G bitrate estimates in bits per second. */
public static final ImmutableList<Long> DEFAULT_INITIAL_BITRATE_ESTIMATES_2G = public static final ImmutableList<Long> DEFAULT_INITIAL_BITRATE_ESTIMATES_2G =
ImmutableList.of(1_500_000L, 1_000_000L, 730_000L, 440_000L, 170_000L); ImmutableList.of(1_400_000L, 990_000L, 730_000L, 510_000L, 230_000L);
/** Default initial 3G bitrate estimates in bits per second. */ /** Default initial 3G bitrate estimates in bits per second. */
public static final ImmutableList<Long> DEFAULT_INITIAL_BITRATE_ESTIMATES_3G = public static final ImmutableList<Long> DEFAULT_INITIAL_BITRATE_ESTIMATES_3G =
ImmutableList.of(2_200_000L, 1_400_000L, 1_100_000L, 910_000L, 620_000L); ImmutableList.of(2_100_000L, 1_400_000L, 1_000_000L, 890_000L, 640_000L);
/** Default initial 4G bitrate estimates in bits per second. */ /** Default initial 4G bitrate estimates in bits per second. */
public static final ImmutableList<Long> DEFAULT_INITIAL_BITRATE_ESTIMATES_4G = public static final ImmutableList<Long> DEFAULT_INITIAL_BITRATE_ESTIMATES_4G =
ImmutableList.of(3_000_000L, 1_900_000L, 1_400_000L, 1_000_000L, 660_000L); ImmutableList.of(2_600_000L, 1_700_000L, 1_300_000L, 1_000_000L, 700_000L);
/** Default initial 5G-NSA bitrate estimates in bits per second. */ /** Default initial 5G-NSA bitrate estimates in bits per second. */
public static final ImmutableList<Long> DEFAULT_INITIAL_BITRATE_ESTIMATES_5G_NSA = public static final ImmutableList<Long> DEFAULT_INITIAL_BITRATE_ESTIMATES_5G_NSA =
ImmutableList.of(6_000_000L, 4_100_000L, 3_200_000L, 1_800_000L, 1_000_000L); ImmutableList.of(5_700_000L, 3_700_000L, 2_300_000L, 1_700_000L, 990_000L);
/** Default initial 5G-SA bitrate estimates in bits per second. */ /** Default initial 5G-SA bitrate estimates in bits per second. */
public static final ImmutableList<Long> DEFAULT_INITIAL_BITRATE_ESTIMATES_5G_SA = public static final ImmutableList<Long> DEFAULT_INITIAL_BITRATE_ESTIMATES_5G_SA =
ImmutableList.of(2_800_000L, 2_400_000L, 1_600_000L, 1_100_000L, 950_000L); ImmutableList.of(2_800_000L, 1_800_000L, 1_400_000L, 1_100_000L, 870_000L);
/** /**
* Default initial bitrate estimate used when the device is offline or the network type cannot be * Default initial bitrate estimate used when the device is offline or the network type cannot be
@ -483,394 +483,410 @@ public final class DefaultBandwidthMeter implements BandwidthMeter, TransferList
*/ */
private static int[] getInitialBitrateCountryGroupAssignment(String country) { private static int[] getInitialBitrateCountryGroupAssignment(String country) {
switch (country) { switch (country) {
case "AD":
case "CW":
return new int[] {2, 2, 0, 0, 2, 2};
case "AE": case "AE":
return new int[] {1, 4, 4, 4, 4, 0}; return new int[] {1, 4, 3, 4, 4, 2};
case "AG": case "AG":
return new int[] {2, 4, 1, 2, 2, 2}; return new int[] {2, 4, 3, 4, 2, 2};
case "AI": case "AL":
return new int[] {0, 2, 0, 3, 2, 2}; return new int[] {1, 1, 1, 3, 2, 2};
case "AM": case "AM":
return new int[] {2, 3, 2, 3, 2, 2}; return new int[] {2, 3, 2, 3, 2, 2};
case "AO": case "AO":
return new int[] {4, 4, 3, 2, 2, 2}; return new int[] {4, 4, 4, 3, 2, 2};
case "AS": case "AS":
return new int[] {2, 2, 3, 3, 2, 2}; return new int[] {2, 2, 3, 3, 2, 2};
case "AT": case "AT":
return new int[] {1, 0, 1, 1, 0, 0}; return new int[] {1, 2, 1, 4, 1, 4};
case "AU": case "AU":
return new int[] {0, 1, 1, 1, 2, 0}; return new int[] {0, 2, 1, 1, 3, 0};
case "AW":
return new int[] {1, 3, 4, 4, 2, 2};
case "BA":
return new int[] {1, 2, 1, 1, 2, 2};
case "BD":
return new int[] {2, 1, 3, 3, 2, 2};
case "BE": case "BE":
return new int[] {0, 1, 4, 4, 3, 2}; return new int[] {0, 1, 4, 4, 3, 2};
case "BF":
return new int[] {4, 3, 4, 3, 2, 2};
case "BH": case "BH":
return new int[] {1, 2, 1, 3, 4, 2}; return new int[] {1, 3, 1, 4, 4, 2};
case "BJ": case "BJ":
return new int[] {4, 4, 3, 3, 2, 2}; return new int[] {4, 4, 2, 3, 2, 2};
case "BN":
return new int[] {3, 2, 0, 1, 2, 2};
case "BO": case "BO":
return new int[] {1, 2, 3, 2, 2, 2}; return new int[] {1, 2, 3, 2, 2, 2};
case "BS": case "BR":
return new int[] {4, 4, 2, 2, 2, 2}; return new int[] {1, 1, 2, 1, 1, 0};
case "BT":
return new int[] {3, 1, 3, 2, 2, 2};
case "BW": case "BW":
return new int[] {3, 2, 1, 0, 2, 2}; return new int[] {3, 2, 1, 0, 2, 2};
case "BY": case "BY":
return new int[] {0, 1, 2, 3, 2, 2}; return new int[] {1, 1, 2, 3, 2, 2};
case "BZ":
return new int[] {2, 4, 2, 1, 2, 2};
case "CA": case "CA":
return new int[] {0, 2, 2, 2, 3, 2}; return new int[] {0, 2, 3, 3, 3, 3};
case "CD":
return new int[] {4, 2, 3, 2, 2, 2};
case "CH": case "CH":
return new int[] {0, 0, 0, 1, 0, 2}; return new int[] {0, 0, 0, 0, 0, 3};
case "BZ":
case "CK":
return new int[] {2, 2, 2, 1, 2, 2};
case "CL":
return new int[] {1, 1, 2, 1, 3, 2};
case "CM": case "CM":
return new int[] {3, 3, 3, 3, 2, 2}; return new int[] {4, 3, 3, 4, 2, 2};
case "CN": case "CN":
return new int[] {2, 0, 1, 1, 3, 2}; return new int[] {2, 0, 4, 3, 3, 1};
case "CO": case "CO":
return new int[] {2, 3, 4, 3, 2, 2}; return new int[] {2, 3, 4, 2, 2, 2};
case "CR": case "CR":
return new int[] {2, 3, 4, 4, 2, 2}; return new int[] {2, 4, 4, 4, 2, 2};
case "CV": case "CV":
return new int[] {2, 1, 0, 0, 2, 2}; return new int[] {2, 3, 0, 1, 2, 2};
case "BN": case "CZ":
case "CW": return new int[] {0, 0, 2, 0, 1, 2};
return new int[] {2, 2, 0, 0, 2, 2};
case "DE": case "DE":
return new int[] {0, 1, 2, 2, 2, 3}; return new int[] {0, 1, 3, 2, 2, 2};
case "DK":
return new int[] {0, 0, 3, 2, 0, 2};
case "DO": case "DO":
return new int[] {3, 4, 4, 4, 4, 2}; return new int[] {3, 4, 4, 4, 4, 2};
case "AZ":
case "BF":
case "DZ":
return new int[] {3, 3, 4, 4, 2, 2};
case "EC": case "EC":
return new int[] {2, 3, 2, 1, 2, 2}; return new int[] {1, 3, 2, 1, 2, 2};
case "ET": case "CI":
return new int[] {4, 3, 3, 1, 2, 2}; case "EG":
return new int[] {3, 4, 3, 3, 2, 2};
case "FI": case "FI":
return new int[] {0, 0, 0, 3, 0, 2}; return new int[] {0, 0, 0, 2, 0, 2};
case "FJ": case "FJ":
return new int[] {3, 1, 2, 2, 2, 2}; return new int[] {3, 1, 2, 3, 2, 2};
case "FM": case "FM":
return new int[] {4, 2, 4, 1, 2, 2}; return new int[] {4, 2, 3, 0, 2, 2};
case "FR": case "AI":
return new int[] {1, 2, 3, 1, 0, 2};
case "GB":
return new int[] {0, 0, 1, 1, 1, 1};
case "GE":
return new int[] {1, 1, 1, 2, 2, 2};
case "BB": case "BB":
case "BM":
case "BQ":
case "DM": case "DM":
case "FO": case "FO":
case "GI":
return new int[] {0, 2, 0, 0, 2, 2}; return new int[] {0, 2, 0, 0, 2, 2};
case "AF": case "FR":
case "GM": return new int[] {1, 1, 2, 1, 1, 2};
return new int[] {4, 3, 3, 4, 2, 2}; case "GB":
case "GN": return new int[] {0, 1, 1, 2, 1, 2};
return new int[] {4, 3, 4, 2, 2, 2}; case "GE":
case "GQ": return new int[] {1, 0, 0, 2, 2, 2};
return new int[] {4, 2, 1, 4, 2, 2}; case "GG":
case "GT": return new int[] {0, 2, 1, 0, 2, 2};
return new int[] {2, 3, 2, 2, 2, 2};
case "CG": case "CG":
case "EG": case "GH":
return new int[] {3, 3, 3, 3, 2, 2};
case "GM":
return new int[] {4, 3, 2, 4, 2, 2};
case "GN":
return new int[] {4, 4, 4, 2, 2, 2};
case "GP":
return new int[] {3, 1, 1, 3, 2, 2};
case "GQ":
return new int[] {4, 4, 3, 3, 2, 2};
case "GT":
return new int[] {2, 2, 2, 1, 1, 2};
case "AW":
case "GU":
return new int[] {1, 2, 4, 4, 2, 2};
case "GW": case "GW":
return new int[] {3, 4, 3, 3, 2, 2}; return new int[] {4, 4, 2, 2, 2, 2};
case "GY": case "GY":
return new int[] {3, 2, 2, 1, 2, 2}; return new int[] {3, 0, 1, 1, 2, 2};
case "HK": case "HK":
return new int[] {0, 1, 2, 3, 2, 0}; return new int[] {0, 1, 1, 3, 2, 0};
case "HU": case "HN":
return new int[] {0, 0, 0, 1, 3, 2}; return new int[] {3, 3, 2, 2, 2, 2};
case "ID": case "ID":
return new int[] {3, 1, 2, 2, 3, 2}; return new int[] {3, 1, 1, 2, 3, 2};
case "ES": case "BA":
case "IE": case "IE":
return new int[] {0, 1, 1, 1, 2, 2}; return new int[] {1, 1, 1, 1, 2, 2};
case "CL":
case "IL": case "IL":
return new int[] {1, 2, 2, 2, 3, 2}; return new int[] {1, 2, 2, 3, 4, 2};
case "IM":
return new int[] {0, 2, 0, 1, 2, 2};
case "IN": case "IN":
return new int[] {1, 1, 3, 2, 3, 3}; return new int[] {1, 1, 2, 1, 2, 1};
case "IQ":
return new int[] {3, 2, 2, 3, 2, 2};
case "IR": case "IR":
return new int[] {3, 0, 1, 1, 4, 1}; return new int[] {4, 2, 3, 3, 4, 2};
case "IS":
return new int[] {0, 0, 1, 0, 0, 2};
case "IT": case "IT":
return new int[] {0, 0, 0, 1, 1, 2}; return new int[] {0, 0, 1, 1, 1, 2};
case "GI":
case "JE":
return new int[] {1, 2, 0, 1, 2, 2};
case "JM": case "JM":
return new int[] {2, 4, 3, 2, 2, 2}; return new int[] {2, 4, 2, 1, 2, 2};
case "JO": case "JO":
return new int[] {2, 1, 1, 2, 2, 2}; return new int[] {2, 0, 1, 1, 2, 2};
case "JP": case "JP":
return new int[] {0, 1, 1, 2, 2, 4}; return new int[] {0, 3, 3, 3, 4, 4};
case "KH":
return new int[] {2, 1, 4, 2, 2, 2};
case "CF":
case "KI":
return new int[] {4, 2, 4, 2, 2, 2};
case "FK":
case "KE": case "KE":
case "KP": return new int[] {3, 2, 2, 1, 2, 2};
return new int[] {3, 2, 2, 2, 2, 2}; case "KH":
return new int[] {1, 0, 4, 2, 2, 2};
case "CU":
case "KI":
return new int[] {4, 2, 4, 3, 2, 2};
case "CD":
case "KM":
return new int[] {4, 3, 3, 2, 2, 2};
case "KR": case "KR":
return new int[] {0, 1, 1, 3, 4, 4}; return new int[] {0, 2, 2, 4, 4, 4};
case "CY":
case "KW": case "KW":
return new int[] {1, 0, 0, 0, 0, 2}; return new int[] {1, 0, 1, 0, 0, 2};
case "BD":
case "KZ": case "KZ":
return new int[] {2, 1, 2, 2, 2, 2}; return new int[] {2, 1, 2, 2, 2, 2};
case "LA": case "LA":
return new int[] {1, 2, 1, 3, 2, 2}; return new int[] {1, 2, 1, 3, 2, 2};
case "BS":
case "LB": case "LB":
return new int[] {3, 3, 2, 4, 2, 2}; return new int[] {3, 2, 1, 2, 2, 2};
case "LK": case "LK":
return new int[] {3, 1, 3, 3, 4, 2}; return new int[] {3, 2, 3, 4, 4, 2};
case "CI":
case "DZ":
case "LR": case "LR":
return new int[] {3, 4, 4, 4, 2, 2}; return new int[] {3, 4, 3, 4, 2, 2};
case "LS":
return new int[] {3, 3, 2, 2, 2, 2};
case "LT":
return new int[] {0, 0, 0, 0, 2, 2};
case "LU": case "LU":
return new int[] {1, 0, 3, 2, 1, 4}; return new int[] {1, 1, 4, 2, 0, 2};
case "CY":
case "HR":
case "LV":
return new int[] {1, 0, 0, 0, 0, 2};
case "MA": case "MA":
return new int[] {3, 3, 1, 1, 2, 2}; return new int[] {3, 3, 2, 1, 2, 2};
case "MC": case "MC":
return new int[] {0, 2, 2, 0, 2, 2}; return new int[] {0, 2, 2, 0, 2, 2};
case "MD":
return new int[] {1, 0, 0, 0, 2, 2};
case "ME": case "ME":
return new int[] {2, 0, 0, 1, 2, 2}; return new int[] {2, 0, 0, 1, 1, 2};
case "MH":
return new int[] {4, 2, 1, 3, 2, 2};
case "MK": case "MK":
return new int[] {1, 0, 0, 1, 3, 2}; return new int[] {2, 0, 0, 1, 3, 2};
case "MM": case "MM":
return new int[] {2, 4, 2, 3, 2, 2}; return new int[] {2, 2, 2, 3, 4, 2};
case "MN": case "MN":
return new int[] {2, 0, 1, 2, 2, 2}; return new int[] {2, 0, 1, 2, 2, 2};
case "MO": case "MO":
case "MP": return new int[] {0, 2, 4, 4, 4, 2};
return new int[] {0, 2, 4, 4, 2, 2}; case "KG":
case "GP":
case "MQ": case "MQ":
return new int[] {2, 1, 2, 3, 2, 2}; return new int[] {2, 1, 1, 2, 2, 2};
case "MU": case "MR":
return new int[] {3, 1, 1, 2, 2, 2}; return new int[] {4, 2, 3, 4, 2, 2};
case "DK":
case "EE":
case "HU":
case "LT":
case "MT":
return new int[] {0, 0, 0, 0, 0, 2};
case "MV": case "MV":
return new int[] {3, 4, 1, 4, 2, 2}; return new int[] {3, 4, 1, 3, 3, 2};
case "MW": case "MW":
return new int[] {4, 2, 3, 3, 2, 2}; return new int[] {4, 2, 3, 3, 2, 2};
case "MX": case "MX":
return new int[] {2, 4, 3, 4, 2, 2}; return new int[] {3, 4, 4, 4, 2, 2};
case "MY": case "MY":
return new int[] {1, 0, 3, 1, 3, 2}; return new int[] {1, 0, 4, 1, 2, 2};
case "MZ": case "NA":
return new int[] {3, 1, 2, 1, 2, 2}; return new int[] {3, 4, 3, 2, 2, 2};
case "NC": case "NC":
return new int[] {3, 3, 4, 4, 2, 2}; return new int[] {3, 2, 3, 4, 2, 2};
case "NG": case "NG":
return new int[] {3, 4, 2, 1, 2, 2}; return new int[] {3, 4, 2, 1, 2, 2};
case "NI":
return new int[] {2, 3, 4, 3, 2, 2};
case "NL": case "NL":
return new int[] {0, 2, 2, 3, 0, 3}; return new int[] {0, 2, 3, 3, 0, 4};
case "CZ":
case "NO": case "NO":
return new int[] {0, 0, 2, 0, 1, 2}; return new int[] {0, 1, 2, 1, 1, 2};
case "NP": case "NP":
return new int[] {2, 2, 4, 3, 2, 2}; return new int[] {2, 1, 4, 3, 2, 2};
case "NR": case "NR":
return new int[] {4, 0, 3, 2, 2, 2};
case "NU": case "NU":
return new int[] {4, 2, 2, 1, 2, 2}; return new int[] {4, 2, 2, 1, 2, 2};
case "NZ":
return new int[] {1, 0, 2, 2, 4, 2};
case "OM": case "OM":
return new int[] {2, 3, 1, 3, 4, 2}; return new int[] {2, 3, 1, 3, 4, 2};
case "GU": case "PA":
return new int[] {2, 3, 3, 3, 2, 2};
case "PE": case "PE":
return new int[] {1, 2, 4, 4, 4, 2}; return new int[] {1, 2, 4, 4, 3, 2};
case "CK": case "AF":
case "PF":
return new int[] {2, 2, 2, 1, 2, 2};
case "ML":
case "PG": case "PG":
return new int[] {4, 3, 3, 2, 2, 2}; return new int[] {4, 3, 3, 3, 2, 2};
case "PH": case "PH":
return new int[] {2, 1, 3, 3, 3, 0}; return new int[] {2, 1, 3, 2, 2, 0};
case "NZ":
case "PL": case "PL":
return new int[] {1, 1, 2, 2, 4, 2}; return new int[] {2, 1, 2, 2, 4, 2};
case "PR": case "PR":
return new int[] {2, 0, 2, 1, 2, 1}; return new int[] {2, 0, 2, 0, 2, 1};
case "PS": case "PS":
return new int[] {3, 4, 1, 2, 2, 2}; return new int[] {3, 4, 1, 4, 2, 2};
case "PT":
return new int[] {1, 0, 0, 0, 1, 2};
case "PW": case "PW":
return new int[] {2, 2, 4, 1, 2, 2}; return new int[] {2, 2, 4, 2, 2, 2};
case "QA": case "BL":
return new int[] {2, 4, 4, 4, 4, 2};
case "MF": case "MF":
case "PY":
return new int[] {1, 2, 2, 2, 2, 2};
case "QA":
return new int[] {1, 4, 4, 4, 4, 2};
case "RE": case "RE":
return new int[] {1, 2, 1, 2, 2, 2}; return new int[] {1, 2, 2, 3, 1, 2};
case "RO": case "RO":
return new int[] {0, 0, 1, 2, 1, 2}; return new int[] {0, 0, 1, 2, 1, 2};
case "MD":
case "RS": case "RS":
return new int[] {1, 0, 0, 0, 2, 2}; return new int[] {2, 0, 0, 0, 2, 2};
case "RU": case "RU":
return new int[] {1, 0, 0, 0, 4, 3}; return new int[] {1, 0, 0, 0, 3, 3};
case "RW": case "RW":
return new int[] {3, 4, 2, 0, 2, 2}; return new int[] {3, 3, 1, 0, 2, 2};
case "MU":
case "SA": case "SA":
return new int[] {3, 1, 1, 1, 2, 2}; return new int[] {3, 1, 1, 2, 2, 2};
case "CF":
case "SB": case "SB":
return new int[] {4, 2, 4, 3, 2, 2}; return new int[] {4, 2, 4, 2, 2, 2};
case "SC":
return new int[] {4, 3, 1, 1, 2, 2};
case "SD":
return new int[] {4, 3, 4, 2, 2, 2};
case "SE":
return new int[] {0, 1, 1, 1, 0, 2};
case "SG": case "SG":
return new int[] {1, 1, 2, 2, 2, 1}; return new int[] {2, 3, 3, 3, 3, 3};
case "AQ": case "AQ":
case "ER": case "ER":
case "SH": case "SH":
return new int[] {4, 2, 2, 2, 2, 2}; return new int[] {4, 2, 2, 2, 2, 2};
case "GR":
case "HR":
case "SI":
return new int[] {1, 0, 0, 0, 1, 2};
case "BG": case "BG":
case "MT": case "ES":
case "SK": case "GR":
case "SI":
return new int[] {0, 0, 0, 0, 1, 2}; return new int[] {0, 0, 0, 0, 1, 2};
case "AX": case "IQ":
case "LI": case "SJ":
case "MS": return new int[] {3, 2, 2, 2, 2, 2};
case "PM": case "SK":
case "SM": return new int[] {1, 1, 1, 1, 3, 2};
return new int[] {0, 2, 2, 2, 2, 2}; case "GF":
case "PK":
case "SL":
return new int[] {3, 2, 3, 3, 2, 2};
case "ET":
case "SN": case "SN":
return new int[] {4, 4, 4, 3, 2, 2}; return new int[] {4, 4, 3, 2, 2, 2};
case "SO":
return new int[] {3, 2, 2, 4, 4, 2};
case "SR": case "SR":
return new int[] {2, 4, 3, 0, 2, 2}; return new int[] {2, 4, 3, 0, 2, 2};
case "SS":
return new int[] {4, 3, 2, 3, 2, 2};
case "ST": case "ST":
return new int[] {2, 2, 1, 2, 2, 2}; return new int[] {2, 2, 1, 2, 2, 2};
case "NI": case "PF":
case "PA":
case "SV": case "SV":
return new int[] {2, 3, 3, 3, 2, 2}; return new int[] {2, 3, 3, 1, 2, 2};
case "SZ": case "SZ":
return new int[] {3, 3, 3, 4, 2, 2}; return new int[] {4, 4, 3, 4, 2, 2};
case "SX":
case "TC": case "TC":
return new int[] {1, 2, 1, 0, 2, 2}; return new int[] {2, 2, 1, 3, 2, 2};
case "GA": case "GA":
case "TG": case "TG":
return new int[] {3, 4, 1, 0, 2, 2}; return new int[] {3, 4, 1, 0, 2, 2};
case "TH": case "TH":
return new int[] {0, 2, 2, 3, 3, 4}; return new int[] {0, 1, 2, 1, 2, 2};
case "TK":
return new int[] {2, 2, 2, 4, 2, 2};
case "CU":
case "DJ": case "DJ":
case "SY": case "SY":
case "TJ": case "TJ":
case "TL":
return new int[] {4, 3, 4, 4, 2, 2}; return new int[] {4, 3, 4, 4, 2, 2};
case "SC": case "GL":
case "TK":
return new int[] {2, 2, 2, 4, 2, 2};
case "TL":
return new int[] {4, 2, 4, 4, 2, 2};
case "SS":
case "TM": case "TM":
return new int[] {4, 2, 1, 1, 2, 2}; return new int[] {4, 2, 2, 3, 2, 2};
case "AZ":
case "GF":
case "LY":
case "PK":
case "SO":
case "TO":
return new int[] {3, 2, 3, 3, 2, 2};
case "TR": case "TR":
return new int[] {1, 1, 0, 0, 2, 2}; return new int[] {1, 0, 0, 1, 3, 2};
case "TT": case "TT":
return new int[] {1, 4, 1, 3, 2, 2}; return new int[] {1, 4, 0, 0, 2, 2};
case "EE":
case "IS":
case "LV":
case "PT":
case "SE":
case "TW": case "TW":
return new int[] {0, 0, 0, 0, 0, 2}; return new int[] {0, 2, 0, 0, 0, 0};
case "ML":
case "TZ": case "TZ":
return new int[] {3, 4, 3, 2, 2, 2}; return new int[] {3, 4, 2, 2, 2, 2};
case "IM":
case "UA": case "UA":
return new int[] {0, 2, 1, 1, 2, 2}; return new int[] {0, 1, 1, 2, 4, 2};
case "SL": case "LS":
case "UG": case "UG":
return new int[] {3, 3, 4, 3, 2, 2}; return new int[] {3, 3, 3, 2, 2, 2};
case "US": case "US":
return new int[] {1, 0, 2, 2, 3, 1}; return new int[] {1, 1, 4, 1, 3, 1};
case "AR":
case "KG":
case "TN": case "TN":
case "UY": case "UY":
return new int[] {2, 1, 1, 1, 2, 2}; return new int[] {2, 1, 1, 1, 2, 2};
case "UZ": case "UZ":
return new int[] {2, 2, 3, 4, 2, 2}; return new int[] {2, 2, 3, 4, 3, 2};
case "BL": case "AX":
case "CX": case "CX":
case "LI":
case "MP":
case "MS":
case "PM":
case "SM":
case "VA": case "VA":
return new int[] {1, 2, 2, 2, 2, 2}; return new int[] {0, 2, 2, 2, 2, 2};
case "AD":
case "BM":
case "BQ":
case "GD": case "GD":
case "GL":
case "KN": case "KN":
case "KY": case "KY":
case "LC": case "LC":
case "SX":
case "VC": case "VC":
return new int[] {1, 2, 0, 0, 2, 2}; return new int[] {1, 2, 0, 0, 2, 2};
case "VG": case "VG":
return new int[] {2, 2, 1, 1, 2, 2}; return new int[] {2, 2, 0, 1, 2, 2};
case "GG":
case "VI": case "VI":
return new int[] {0, 2, 0, 1, 2, 2}; return new int[] {0, 2, 1, 2, 2, 2};
case "VN": case "VN":
return new int[] {0, 3, 3, 4, 2, 2}; return new int[] {0, 0, 1, 2, 2, 1};
case "GH":
case "NA":
case "VU": case "VU":
return new int[] {3, 3, 3, 2, 2, 2}; return new int[] {4, 3, 3, 1, 2, 2};
case "IO": case "IO":
case "MH":
case "TV": case "TV":
case "WF": case "WF":
return new int[] {4, 2, 2, 4, 2, 2}; return new int[] {4, 2, 2, 4, 2, 2};
case "BT":
case "MZ":
case "WS": case "WS":
return new int[] {3, 1, 3, 1, 2, 2}; return new int[] {3, 1, 2, 1, 2, 2};
case "AL":
case "XK": case "XK":
return new int[] {1, 1, 1, 1, 2, 2}; return new int[] {1, 2, 1, 1, 2, 2};
case "BI": case "BI":
case "HT": case "HT":
case "KM":
case "MG": case "MG":
case "NE": case "NE":
case "SD":
case "TD": case "TD":
case "VE": case "VE":
case "YE": case "YE":
return new int[] {4, 4, 4, 4, 2, 2}; return new int[] {4, 4, 4, 4, 2, 2};
case "JE":
case "YT": case "YT":
return new int[] {4, 2, 2, 3, 2, 2}; return new int[] {2, 3, 3, 4, 2, 2};
case "ZA": case "ZA":
return new int[] {3, 2, 2, 1, 1, 2}; return new int[] {2, 3, 2, 1, 2, 2};
case "ZM": case "ZM":
return new int[] {3, 3, 4, 2, 2, 2}; return new int[] {4, 4, 4, 3, 3, 2};
case "MR": case "LY":
case "TO":
case "ZW": case "ZW":
return new int[] {4, 2, 4, 4, 2, 2}; return new int[] {3, 2, 4, 3, 2, 2};
default: default:
return new int[] {2, 2, 2, 2, 2, 2}; return new int[] {2, 2, 2, 2, 2, 2};
} }