/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
TelephonyUtil.java | 54 * and realm is derived MMC/MNC tuple according 3GGP spec(TS23.003) 72 /* extract mcc & mnc from mccMnc */ 74 String mnc; local 77 mnc = mccMnc.substring(3); 78 if (mnc.length() == 2) { 79 mnc = "0" + mnc; 82 // extract mcc & mnc from IMSI, assume mnc size is 3 84 mnc = imsi.substring(3, 6) [all...] |
/packages/apps/Messaging/src/com/android/messaging/sms/ |
BugleCarrierConfigValuesLoader.java | 165 final int mnc = mccMnc[1]; local 167 if (mcc == 0 && mnc == 0) { 170 subConfig.mnc = config.mnc; 173 subConfig.mnc = mnc;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
CellularNetwork.java | 30 int mnc = ((plmn[2] << 4) & 0xf0) | local 35 String.format("%03x%03x", mcc, (mnc << 4) | n2) : 36 String.format("%03x%02x", mcc, mnc);
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
Utils.java | 96 * Get MCC/MNC of an SIM subscription 100 * @return a non-empty array with exactly two elements, first is mcc and last is mnc. 119 Log.w(MmsService.TAG, "Invalid mcc/mnc from system " + mccMncString + ": " + e); 140 final int mnc = mccMnc[1]; local 141 if (mcc == 0 && mnc == 0) { 146 subConfig.mnc = mnc;
|
/frameworks/base/core/jni/ |
android_content_res_Configuration.cpp | 32 jfieldID mnc; member in struct:android::__anon28109 51 out->mnc = env->GetIntField(clazz, gConfigurationClassInfo.mnc); 80 gConfigurationClassInfo.mnc = GetFieldIDOrDie(env, clazz, "mnc", "I");
|
/frameworks/base/telephony/java/android/telephony/ |
CellIdentityGsm.java | 60 * @param mnc 2 or 3-digit Mobile Network Code, 0..999 66 public CellIdentityGsm (int mcc, int mnc, int lac, int cid) { 67 this(mcc, mnc, lac, cid, Integer.MAX_VALUE, Integer.MAX_VALUE); 73 * @param mnc 2 or 3-digit Mobile Network Code, 0..999 81 public CellIdentityGsm (int mcc, int mnc, int lac, int cid, int arfcn, int bsic) { 83 mMnc = mnc;
|
CellIdentityLte.java | 61 * @param mnc 2 or 3-digit Mobile Network Code, 0..999 68 public CellIdentityLte (int mcc, int mnc, int ci, int pci, int tac) { 69 this(mcc, mnc, ci, pci, tac, Integer.MAX_VALUE); 75 * @param mnc 2 or 3-digit Mobile Network Code, 0..999 83 public CellIdentityLte (int mcc, int mnc, int ci, int pci, int tac, int earfcn) { 85 mMnc = mnc;
|
CellIdentityWcdma.java | 60 * @param mnc 2 or 3-digit Mobile Network Code, 0..999 67 public CellIdentityWcdma (int mcc, int mnc, int lac, int cid, int psc) { 68 this(mcc, mnc, lac, cid, psc, Integer.MAX_VALUE); 74 * @param mnc 2 or 3-digit Mobile Network Code, 0..999 82 public CellIdentityWcdma (int mcc, int mnc, int lac, int cid, int psc, int uarfcn) { 84 mMnc = mnc;
|
SubscriptionInfo.java | 117 Bitmap icon, int mcc, int mnc, String countryIso) { 129 this.mMnc = mnc; 274 * @return the MNC. 300 int mnc = source.readInt(); 305 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso); 358 + " mnc " + mMnc + "}";
|
/frameworks/base/core/java/android/service/carrier/ |
CarrierIdentifier.java | 48 public CarrierIdentifier(String mcc, String mnc, String spn, String imsi, String gid1, 51 mMnc = mnc; 112 + ",mnc=" + mMnc
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
ApnEditorActivity.java | 152 Telephony.Carriers.MNC, // 4 263 // MCC is first 3 chars and then in 2 - 3 chars of MNC 268 String mnc = numeric.substring(3); local 269 // Auto populate MNC and MCC for new entries, based on what SIM reports 271 mMnc.setText(mnc); 272 mCurMnc = mnc; 353 final String mnc = checkNotSet(mMnc.getText()); local 379 values.put(Telephony.Carriers.MNC, mnc); 381 values.put(Telephony.Carriers.NUMERIC, mcc + mnc); 442 String mnc = checkNotSet(mMnc.getText()); local [all...] |
/development/apps/Development/src/com/android/development/ |
ConfigurationViewer.java | 46 + "mnc=" + c.mnc + "\n"
|
/development/tools/findunused/ |
findunusedtranslations | 31 if ($values =~ /^(-mcc[^-]*)*(-mnc[^-]*)*(.*)$/) {
|
/external/autotest/client/cros/cellular/ |
base_station_interface.py | 43 def SetPlmn(self, mcc, mnc):
|
/frameworks/base/native/android/ |
configuration.cpp | 49 return config->mnc; 141 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc) { 142 config->mnc = mnc;
|
/frameworks/base/core/java/android/content/res/ |
Configuration.java | 71 * IMSI MNC (Mobile Network Code), corresponding to 72 * <a href="{@docRoot}guide/topics/resources/providing-resources.html#MccQualifier">mnc</a> 73 * resource qualifier. 0 if undefined. Note that the actual MNC may be 0; in order to check 76 public int mnc; field in class:Configuration 79 * Constant used to to represent MNC (Mobile Network Code) zero. 80 * 0 cannot be used, since it is used to represent an undefined MNC. 696 /** @hide Native-specific bit mask for MNC config; DO NOT USE UNLESS YOU ARE SURE. */ [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
PhoneUtils.java | 123 * Get the MCC and MNC in integer of the SIM's provider 125 * @return an array of two ints, [0] is the MCC code and [1] is the MNC code 130 * Get the mcc/mnc string 302 int mnc = 0; local 305 mnc = Integer.parseInt(mccmnc.substring(3)); 309 return new int[]{mcc, mnc}; 465 int mnc = 0; local 469 mnc = subInfo.getMnc(); 471 return new int[]{mcc, mnc}; [all...] |
/external/autotest/client/site_tests/cellular_ServiceName/ |
cellular_ServiceName.py | 60 carrier.mnc = TEST_3GPP_HOME_CARRIER_MNC 62 carrier.operator_id = carrier.mcc + carrier.mnc
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
MccTable.java | 57 MccEntry(int mnc, String iso, int smallestDigitsMCC) { 61 mMcc = mnc; 158 * Updates MCC and MNC device configuration information for application retrieving 159 * correct version of resources. If MCC is 0, MCC and MNC will be ignored (not set). 161 * @param mccmnc truncated imsi with just the MCC and MNC - MNC assumed to be from 4th to end 177 int mcc, mnc; local 189 mnc = Integer.parseInt(mccmnc.substring(3)); 195 Slog.d(LOG_TAG, "updateMccMncConfiguration: mcc=" + mcc + ", mnc=" + mnc); [all...] |
/system/connectivity/shill/mobile_operator_db/ |
serviceproviders_converter.py | 283 def _CheckAmbiguousMCCMNC(self, mcc, mnc): 285 Ensure that no two mcc, mnc pairs concat to the same MCCMNC. 288 @param mnc: The mnc to check. 291 mccmnc = mcc + mnc 294 if old_mcc != mcc or old_mnc != mnc: 297 old_mcc, old_mnc, mcc, mnc) 299 self._mcc_mnc_by_mccmnc[u'mccmnc'] = (mcc, mnc) 313 mnc = network_id_node.get(u'mnc') [all...] |
/frameworks/support/v13/ |
Android.mk | 37 # A helper sub-library that makes direct use of MNC APIs. 39 LOCAL_MODULE := android-support-v13-mnc 51 LOCAL_STATIC_JAVA_LIBRARIES := android-support-v13-mnc
|
/packages/services/Mms/src/com/android/mms/service/ |
MmsConfigManager.java | 59 * the TelephonyManager has loaded the information needed in order to get the mcc/mnc's for 111 // Always put the mnc/mcc in the log so we can tell which mms_config.xml 113 LogUtil.i("MmsConfigManager loads in background mcc/mnc: " + 114 configuration.mcc + "/" + configuration.mnc);
|
/packages/apps/Settings/src/com/android/settings/ |
ApnEditor.java | 133 Telephony.Carriers.MNC, // 10 386 case Telephony.Carriers.MNC: 483 // MCC is first 3 chars and then in 2 - 3 chars of MNC 488 String mnc = numeric.substring(3); local 489 // Auto populate MNC and MCC for new entries, based on what SIM reports 491 mMnc.setText(mnc); 492 mCurMnc = mnc; 792 String mnc = checkNotSet(mMnc.getText()); local 888 String mnc = checkNotSet(mMnc.getText()); local [all...] |
/cts/build/ |
test_deqp_package.mk | 26 $(cts_library_xml): external/deqp/android/cts/master/com.drawelements.deqp.$(DEQP_API).xml external/deqp/android/cts/mnc/$(DEQP_API)-master.txt $(CTS_EXPECTATIONS) $(CTS_UNSUPPORTED_ABIS) $(CTS_XML_GENERATOR)
|
/hardware/ril/include/telephony/ |
ril.h | 710 const char * mnc; member in struct:__anon34858 1261 int mnc; \/* 2 or 3-digit Mobile Network Code, 0..999, INT_MAX if unknown *\/ member in struct:__anon34891 1268 int mnc; \/* 2 or 3-digit Mobile Network Code, 0..999, INT_MAX if unknown *\/ member in struct:__anon34892 1277 int mnc; \/* 2 or 3-digit Mobile Network Code, 0..999, INT_MAX if unknown *\/ member in struct:__anon34893 1285 int mnc; \/* 2 or 3-digit Mobile Network Code, 0..999, INT_MAX if unknown *\/ member in struct:__anon34894 1309 int mnc; \/* 2 or 3-digit Mobile Network Code, 0..999, INT_MAX if unknown *\/ member in struct:__anon34896 1317 int mnc; \/* 2 or 3-digit Mobile Network Code, 0..999, INT_MAX if unknown *\/ member in struct:__anon34897 1326 int mnc; \/* 2 or 3-digit Mobile Network Code, 0..999, INT_MAX if unknown *\/ member in struct:__anon34898 [all...] |