Searched refs:mnc (Results 1 - 25 of 42) sorted by path

12

/frameworks/base/cmds/statsd/src/
H A Datoms.proto853 // IMSI MNC (Mobile Network Code), corresponding to mnc resource qualifier.
856 // See: https://d.android.com/reference/android/content/res/Configuration.html#mnc
857 optional int32 mnc = 8;
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java1231 public void setConfiguration(int mcc, int mnc, @Nullable String locale, int orientation, argument
1237 nativeSetConfiguration(mObject, mcc, mnc, locale, orientation, touchscreen, density,
1285 private static native void nativeSetConfiguration(long ptr, int mcc, int mnc, argument
H A DConfiguration.java100 * <a href="{@docRoot}guide/topics/resources/providing-resources.html#MccQualifier">mnc</a>
104 public int mnc; field in class:Configuration
899 mnc = o.mnc;
937 if (mnc != 0) {
938 sb.append(mnc);
939 sb.append("mnc");
941 sb.append("?mnc");
1095 protoOutputStream.write(MNC, mnc);
1177 mcc = mnc
[all...]
H A DResourcesImpl.java437 mAssets.setConfiguration(mConfiguration.mcc, mConfiguration.mnc,
/frameworks/base/core/java/android/service/carrier/
H A DCarrierIdentifier.java53 public CarrierIdentifier(String mcc, String mnc, @Nullable String spn, @Nullable String imsi, argument
56 mMnc = mnc;
177 + ",mnc=" + mMnc
/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp32 jfieldID mnc; member in struct:android::__anon829
51 out->mnc = env->GetIntField(clazz, gConfigurationClassInfo.mnc);
80 gConfigurationClassInfo.mnc = GetFieldIDOrDie(env, clazz, "mnc", "I");
H A Dandroid_util_AssetManager.cpp331 static void NativeSetConfiguration(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint mcc, jint mnc, argument
343 configuration.mnc = static_cast<uint16_t>(mnc);
/frameworks/base/core/proto/android/content/
H A Dconfiguration.proto35 optional uint32 mnc = 3 [ (.android.privacy).dest = DEST_EXPLICIT ];
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1901 mnc = dtohs(mnc);
1915 mnc = htods(mnc);
2004 if (mnc != o.mnc) {
2005 return mnc < o.mnc ? -1 : 1;
2067 if (mnc != o.mnc) diff
[all...]
/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceTypes.h924 uint16_t mnc; member in struct:android::ResTable_config::__anon957::__anon958
/frameworks/base/native/android/
H A Dconfiguration.cpp54 return config->mnc;
146 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc) { argument
147 config->mnc = mnc;
/frameworks/base/services/core/java/com/android/server/
H A DConnectivityService.java3968 * <provisioningUrl mcc="310" mnc="4">http://myserver.com/foo?mdn=%3$s&amp;iccid=%1$s&amp;imei=%2$s</provisioningUrl>
3981 /** XML attribute for mnc */
3982 private static final String ATTR_MNC = "mnc";
4005 String mnc = parser.getAttributeValue(null, ATTR_MNC);
4006 if (mnc != null && Integer.parseInt(mnc) == config.mnc) {
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java22552 values.mnc,
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DGnssLocationProvider.java2249 int mnc = Integer.parseInt(phone.getNetworkOperator().substring(3));
2260 native_agps_set_ref_location_cellid(type, mcc, mnc,
2768 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.cpp1453 JNIEnv* /* env */, jobject /* obj */, jint type, jint mcc, jint mnc, jint lac, jint cid) {
1466 location.cellID.mnc = mnc;
1452 android_location_GnssLocationProvider_agps_set_reference_location_cellid( JNIEnv* , jobject , jint type, jint mcc, jint mnc, jint lac, jint cid) argument
/frameworks/base/telephony/java/android/telephony/
H A DCellIdentity.java98 protected CellIdentity(String tag, int type, String mcc, String mnc, String alphal, argument
103 // Only allow INT_MAX if unknown string mcc/mnc
116 if (mnc == null || mnc.matches("^[0-9]{2,3}$")) {
117 mMncStr = mnc;
118 } else if (mnc.isEmpty() || mnc.equals(String.valueOf(Integer.MAX_VALUE))) {
125 log("invalid MNC format: " + mnc);
H A DCellIdentityGsm.java54 * @param mnc 2 or 3-digit Mobile Network Code, 0..999
60 public CellIdentityGsm(int mcc, int mnc, int lac, int cid) { argument
62 String.valueOf(mcc), String.valueOf(mnc), null, null);
68 * @param mnc 2 or 3-digit Mobile Network Code, 0..999
76 public CellIdentityGsm(int mcc, int mnc, int lac, int cid, int arfcn, int bsic) { argument
77 this(lac, cid, arfcn, bsic, String.valueOf(mcc), String.valueOf(mnc), null, null);
H A DCellIdentityLte.java58 * @param mnc 2 or 3-digit Mobile Network Code, 0..999
65 public CellIdentityLte(int mcc, int mnc, int ci, int pci, int tac) { argument
67 String.valueOf(mnc), null, null);
73 * @param mnc 2 or 3-digit Mobile Network Code, 0..999
81 public CellIdentityLte(int mcc, int mnc, int ci, int pci, int tac, int earfcn) { argument
82 this(ci, pci, tac, earfcn, Integer.MAX_VALUE, String.valueOf(mcc), String.valueOf(mnc),
H A DCellIdentityTdscdma.java51 * @param mnc 2 or 3-digit Mobile Network Code, 0..999
58 public CellIdentityTdscdma(int mcc, int mnc, int lac, int cid, int cpid) { argument
59 this(String.valueOf(mcc), String.valueOf(mnc), lac, cid, cpid, null, null);
64 * @param mnc 2 or 3-digit Mobile Network Code in string format
72 public CellIdentityTdscdma(String mcc, String mnc, int lac, int cid, int cpid) { argument
73 super(TAG, TYPE_TDSCDMA, mcc, mnc, null, null);
81 * @param mnc 2 or 3-digit Mobile Network Code in string format
90 public CellIdentityTdscdma(String mcc, String mnc, int lac, int cid, int cpid, argument
92 super(TAG, TYPE_TDSCDMA, mcc, mnc, alphal, alphas);
H A DCellIdentityWcdma.java54 * @param mnc 2 or 3-digit Mobile Network Code, 0..999
61 public CellIdentityWcdma (int mcc, int mnc, int lac, int cid, int psc) { argument
62 this(lac, cid, psc, Integer.MAX_VALUE, String.valueOf(mcc), String.valueOf(mnc),
69 * @param mnc 2 or 3-digit Mobile Network Code, 0..999
77 public CellIdentityWcdma (int mcc, int mnc, int lac, int cid, int psc, int uarfcn) { argument
78 this(lac, cid, psc, uarfcn, String.valueOf(mcc), String.valueOf(mnc), null, null);
H A DImsiEncryptionInfo.java41 private final String mnc; field in class:ImsiEncryptionInfo
48 public ImsiEncryptionInfo(String mcc, String mnc, int keyType, String keyIdentifier, argument
50 this(mcc, mnc, keyType, keyIdentifier, makeKeyObject(key), expirationTime);
53 public ImsiEncryptionInfo(String mcc, String mnc, int keyType, String keyIdentifier, argument
59 this.mnc = mnc;
72 mnc = in.readString();
79 return this.mnc;
137 dest.writeString(mnc);
147 + "mnc
[all...]
H A DSubscriptionInfo.java142 Bitmap icon, int mcc, int mnc, String countryIso) {
144 roaming, icon, mcc, mnc, countryIso, false /* isEmbedded */,
153 Bitmap icon, int mcc, int mnc, String countryIso, boolean isEmbedded,
156 roaming, icon, mcc, mnc, countryIso, isEmbedded, accessRules, null /* cardId */);
164 Bitmap icon, int mcc, int mnc, String countryIso, boolean isEmbedded,
177 this.mMnc = mnc;
429 int mnc = source.readInt();
437 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso,
495 + " mnc " + mMnc + " isEmbedded " + mIsEmbedded
140 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
151 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, boolean isEmbedded, @Nullable UiccAccessRule[] accessRules) argument
162 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, boolean isEmbedded, @Nullable UiccAccessRule[] accessRules, String cardId) argument
H A DSubscriptionManager.java267 public static final String MNC = "mnc";
1689 newConfig.mnc = subInfo.getMnc();
1690 if (newConfig.mnc == 0) newConfig.mnc = Configuration.MNC_ZERO;
/frameworks/base/tools/aapt/
H A DAaptConfig.cpp351 out->mnc = atoi(val);
352 if (out->mnc == 0) {
353 out->mnc = ACONFIGURATION_MNC_ZERO;
H A DResource.cpp134 printf("Dir %s: mcc=%d mnc=%d lang=%c%c cnt=%c%c orient=%d ui=%d density=%d touch=%d key=%d inp=%d nav=%d\n",
135 group->getPath().string(), mParams.mcc, mParams.mnc,

Completed in 1298 milliseconds

12