Searched refs:mnc (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
H A DCellularNetwork.java158 int mnc = ((plmn[2] << 4) & 0xF0) | ((plmn[2] >> 4) & 0x0F);
164 ? String.format("%03x%03x", mcc, (mnc << 4) | mncDigit3)
165 : String.format("%03x%02x", mcc, mnc);
/frameworks/base/core/proto/android/content/
H A Dconfiguration.proto32 uint32 mnc = 3;
/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp32 jfieldID mnc; member in struct:android::__anon1050
51 out->mnc = env->GetIntField(clazz, gConfigurationClassInfo.mnc);
80 gConfigurationClassInfo.mnc = GetFieldIDOrDie(env, clazz, "mnc", "I");
H A Dandroid_util_AssetManager.cpp671 jint mcc, jint mnc,
697 config.mnc = (uint16_t)mnc;
670 android_content_AssetManager_setConfiguration(JNIEnv* env, jobject clazz, jint mcc, jint mnc, jstring locale, jint orientation, jint touchscreen, jint density, jint keyboard, jint keyboardHidden, jint navigation, jint screenWidth, jint screenHeight, jint smallestScreenWidthDp, jint screenWidthDp, jint screenHeightDp, jint screenLayout, jint uiMode, jint colorMode, jint sdkVersion) argument
/frameworks/base/telephony/java/android/telephony/
H A DCellIdentityGsm.java60 * @param mnc 2 or 3-digit Mobile Network Code, 0..999
66 public CellIdentityGsm (int mcc, int mnc, int lac, int cid) { argument
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) { argument
83 mMnc = mnc;
H A DCellIdentityLte.java61 * @param mnc 2 or 3-digit Mobile Network Code, 0..999
68 public CellIdentityLte (int mcc, int mnc, int ci, int pci, int tac) { argument
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) { argument
85 mMnc = mnc;
H A DCellIdentityWcdma.java60 * @param mnc 2 or 3-digit Mobile Network Code, 0..999
67 public CellIdentityWcdma (int mcc, int mnc, int lac, int cid, int psc) { argument
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) { argument
84 mMnc = mnc;
H A DSubscriptionInfo.java117 Bitmap icon, int mcc, int mnc, String countryIso) {
129 this.mMnc = mnc;
300 int mnc = source.readInt();
305 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso);
358 + " mnc " + mMnc + "}";
115 SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, CharSequence carrierName, int nameSource, int iconTint, String number, int roaming, Bitmap icon, int mcc, int mnc, String countryIso) argument
H A DSubscriptionManager.java252 public static final String MNC = "mnc";
1385 newConfig.mnc = subInfo.getMnc();
1386 if (newConfig.mnc == 0) newConfig.mnc = Configuration.MNC_ZERO;
/frameworks/base/core/java/android/service/carrier/
H A DCarrierIdentifier.java48 public CarrierIdentifier(String mcc, String mnc, String spn, String imsi, String gid1, argument
51 mMnc = mnc;
112 + ",mnc=" + mMnc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DTelephonyUtil.java81 /* extract mcc & mnc from mccMnc */
83 String mnc;
86 mnc = mccMnc.substring(3);
87 if (mnc.length() == 2) {
88 mnc = "0" + mnc;
91 // extract mcc & mnc from IMSI, assume mnc size is 3
93 mnc = imsi.substring(3, 6);
96 return prefix + imsi + "@wlan.mnc"
[all...]
/frameworks/base/native/android/
H A Dconfiguration.cpp49 return config->mnc;
141 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc) { argument
142 config->mnc = mnc;
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java77 * <a href="{@docRoot}guide/topics/resources/providing-resources.html#MccQualifier">mnc</a>
81 public int mnc; field in class:Configuration
878 mnc = o.mnc;
916 if (mnc != 0) {
917 sb.append(mnc);
918 sb.append("mnc");
920 sb.append("?mnc");
1069 mcc = mnc = 0;
1123 if (delta.mnc !
[all...]
H A DAssetManager.java782 public native final void setConfiguration(int mcc, int mnc, String locale, argument
/frameworks/base/tools/aapt2/
H A DConfigDescription.cpp93 out->mnc = atoi(val);
94 if (out->mnc == 0) {
95 out->mnc = ACONFIGURATION_MNC_ZERO;
894 if (mnc || o.mnc) return (!o.mnc);
956 return !pred(mcc, o.mcc) || !pred(mnc, o.mnc) || !pred(locale, o.locale) ||
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DMccTable.java60 MccEntry(int mnc, String iso, int smallestDigitsMCC) { argument
64 mMcc = mnc;
194 int mcc, mnc;
206 mnc = Integer.parseInt(mccmnc.substring(3));
212 Slog.d(LOG_TAG, "updateMccMncConfiguration: mcc=" + mcc + ", mnc=" + mnc);
225 config.mnc = mnc == 0 ? Configuration.MNC_ZERO : mnc;
H A DSubscriptionController.java289 int mnc = cursor.getInt(cursor.getColumnIndexOrThrow(
299 + " mcc:" + mcc + " mnc:" + mnc + " countIso:" + countryIso);
308 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso);
1076 int mnc = 0;
1079 mnc = Integer.parseInt(mccMnc.substring(3));
1081 loge("[setMccMnc] - couldn't parse mcc/mnc: " + mccMnc);
1083 if (DBG) logd("[setMccMnc]+ mcc/mnc:" + mcc + "/" + mnc + " subId:" + subId);
1086 value.put(SubscriptionManager.MNC, mnc);
[all...]
H A DRadioResponse.java1730 String mnc = carriers.allowedCarriers.get(i).mnc;
1743 ret.add(new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2));
/frameworks/native/include/android/
H A Dconfiguration.h382 * <a href="@dacRoot/guide/topics/resources/providing-resources.html#MccQualifier">mnc</a>
516 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1845 mnc = dtohs(mnc);
1859 mnc = htods(mnc);
1924 if (mnc != o.mnc) {
1925 return mnc < o.mnc ? -1 : 1;
1987 if (mnc != o.mnc) diff
[all...]
/frameworks/base/tools/aapt/
H A DAaptConfig.cpp351 out->mnc = atoi(val);
352 if (out->mnc == 0) {
353 out->mnc = ACONFIGURATION_MNC_ZERO;
/frameworks/base/services/core/java/com/android/server/location/
H A DGnssLocationProvider.java2073 int mnc = Integer.parseInt(phone.getNetworkOperator().substring(3));
2084 native_agps_set_ref_location_cellid(type, mcc, mnc,
2550 private native void native_agps_set_ref_location_cellid(int type, int mcc, int mnc, argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_GnssLocationProvider.cpp1319 JNIEnv* /* env */, jobject /* obj */, jint type, jint mcc, jint mnc, jint lac, jint cid) {
1332 location.cellID.mnc = mnc;
1318 android_location_GnssLocationProvider_agps_set_reference_location_cellid( JNIEnv* , jobject , jint type, jint mcc, jint mnc, jint lac, jint cid) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiStateMachine.java5471 String mnc;
5486 /* extract mcc & mnc from mccMnc */
5489 mnc = mccMnc.substring(3);
5490 if (mnc.length() == 2)
5491 mnc = "0" + mnc;
5493 // extract mcc & mnc from IMSI, assume mnc size is 3
5495 mnc = imsi.substring(3, 6);
5498 return prefix + imsi + "@wlan.mnc"
[all...]
/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceTypes.h912 uint16_t mnc; member in struct:android::ResTable_config::__anon1176::__anon1177

Completed in 737 milliseconds

12