Home
last modified time | relevance | path

Searched refs:mcc (Results 1 – 25 of 30) sorted by relevance

12

/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/android/
DResTableConfigTest.java117 int mcc; field in ResTableConfigTest.ResTableConfigBuilder
143 …return new ResTable_config(0, mcc, mnc, language, region, orientation, touchscreen, density, keybo… in build()
149 public ResTableConfigBuilder setMcc(int mcc) { in setMcc() argument
150 this.mcc = mcc; in setMcc()
DConfigDescriptionTest.java59 assertThat(config.mcc).isEqualTo(310); in parse_mcc()
66 assertThat(config.mcc).isEqualTo(310); in parse_mcc_upperCase()
73 assertThat(config.mcc).isEqualTo(310); in parse_mcc_mnc_upperCase()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResTable_config.java122 int mcc = buffer.getShort() & 0xFFFF; in createConfig() local
180 return new ResTable_config(size, mcc, mnc, language, region, orientation, in createConfig()
541 public int mcc; field in ResTable_config
635 return new ResTable_config(size, mcc, mnc, language, country, in withSdkVersion()
642 public ResTable_config(int size, int mcc, int mnc, byte[] language, byte[] country, in ResTable_config() argument
649 this.mcc = mcc; in ResTable_config()
869 dtohs((short) o.mcc), in fromDtoH()
977 if (mcc != o.mcc) diffs |= CONFIG_MCC; in diff()
1068 return mcc == 0 in isDefault()
1121 result.put(Type.MCC, mcc != 0 ? "mcc" + mcc : ""); in toStringParts()
[all …]
DConfigDescription.java970 out.mcc = 0; in parseMcc()
977 out.mcc = Integer.parseInt(matcher.group(1)); in parseMcc()
/external/autotest/client/site_tests/cellular_ServiceName/
Dcellular_ServiceName.py59 carrier.mcc = TEST_3GPP_HOME_CARRIER_MCC
62 carrier.operator_id = carrier.mcc + carrier.mnc
/external/autotest/client/cros/cellular/
Dpseudo_modem.py142 mcc=None, argument
147 self.mcc = mcc or SIM.MCC_LIST.get(mcc_country, '000')
151 self.imsi = imsi or (self.mcc + self.mnc + SIM.DEFAULT_IMSI)
164 'OperatorIdentifier': self.mcc + self.mnc,
Dbase_station_interface.py43 def SetPlmn(self, mcc, mnc): argument
Dbase_station_8960.py118 def SetPlmn(self, mcc, mnc): argument
121 'CALL:MCCode %s' % mcc,
Dbase_station_pxt.py105 def SetPlmn(self, mcc, mnc): argument
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DConfigurationV25.java77 if (config.mcc != 0) { in resourceQualifierString()
78 parts.add("mcc" + config.mcc); in resourceQualifierString()
DDeviceConfig.java101 if (resTab.mcc != 0) { in applyToConfiguration()
102 configuration.mcc = resTab.mcc; in applyToConfiguration()
/external/autotest/client/cros/cellular/pseudomodem/
Dsim.py98 self.mcc = self.MCC_LIST[carrier[0]]
103 self.operator_id = self.mcc + self.mnc
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DDefaultRequestDirector.java1087 ManagedClientConnection mcc = managedConn; in abortConnection() local
1088 if (mcc != null) { in abortConnection()
1093 mcc.abortConnection(); in abortConnection()
1101 mcc.releaseConnection(); in abortConnection()
/external/apache-http/src/org/apache/http/impl/client/
DDefaultRequestDirector.java1039 ManagedClientConnection mcc = managedConn; in abortConnection() local
1040 if (mcc != null) { in abortConnection()
1045 mcc.abortConnection(); in abortConnection()
1053 mcc.releaseConnection(); in abortConnection()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager.java132 final public void setConfiguration(int mcc, int mnc, String locale, in setConfiguration() argument
137 setConfiguration(mcc, mnc, locale, in setConfiguration()
145 public void setConfiguration(int mcc, int mnc, String locale, in setConfiguration() argument
164 config.mcc = mcc; in setConfiguration()
DShadowLegacyAssetManager.java670 final public void setConfiguration(int mcc, int mnc, String locale, in setConfiguration() argument
675 setConfiguration(mcc, mnc, locale, in setConfiguration()
683 public void setConfiguration(int mcc, int mnc, String locale, in setConfiguration() argument
696 config.mcc = mcc; in setConfiguration()
DShadowArscAssetManager10.java563 protected static void nativeSetConfiguration(long ptr, int mcc, int mnc, in nativeSetConfiguration() argument
572 configuration.mcc = (short) (mcc); in nativeSetConfiguration()
DShadowArscAssetManager9.java559 protected static void nativeSetConfiguration(long ptr, int mcc, int mnc, in nativeSetConfiguration() argument
568 configuration.mcc = (short) (mcc); in nativeSetConfiguration()
/external/u-boot/include/linux/
Dimmap_qe.h267 typedef struct mcc { struct
563 mcc_t mcc; /* mcc */ member
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DBootstrapTest.java155 assertThat(configuration.mcc).isEqualTo(0); in applyQualifiers_shouldAddDefaults()
216 assertThat(configuration.mcc).isEqualTo(310); in applyQualifiers_shouldHonorSpecifiedQualifiers()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DTelephonyManagerFacade.java1164 String mcc = ""; in telephonySetAPN() local
1171 mcc = numeric.substring(0, 3); in telephonySetAPN()
1199 values.put(Telephony.Carriers.MCC, mcc); in telephonySetAPN()
1201 values.put(Telephony.Carriers.NUMERIC, mcc + mnc); in telephonySetAPN()
/external/wpa_supplicant_8/src/eap_peer/
Deap_proxy_qmi_oc.c453 int mcc = 0,i =0; in check_for_3_digit() local
462 mcc = ((imsi[0]-0x30)*100) + ((imsi[1]-0x30)*10) + (imsi[2]-0x30); in check_for_3_digit()
464 wpa_printf(MSG_ERROR, "mcc from the SIM is %d\n", mcc); in check_for_3_digit()
467 if(mcc == valid_mcc[i]) in check_for_3_digit()
Deap.c1500 unsigned int mcc; in mnc_len_from_imsi() local
1504 mcc = atoi(mcc_str); in mnc_len_from_imsi()
1506 if (mcc == 228) in mnc_len_from_imsi()
1508 if (mcc == 244) in mnc_len_from_imsi()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextTest.java35 configuration.mcc = 234; in createConfigurationContext()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c1570 char *mcc, *mnc; in parse_3gpp_cell_net() local
1573 mcc = pos; in parse_3gpp_cell_net()
1583 if (os_strlen(mcc) != 3 || (mnc_len != 2 && mnc_len != 3)) in parse_3gpp_cell_net()
1588 *ipos++ = ((mcc[1] - '0') << 4) | (mcc[0] - '0'); in parse_3gpp_cell_net()
1591 (mcc[2] - '0'); in parse_3gpp_cell_net()

12