/aosp14/frameworks/base/services/core/java/com/android/server/stats/pull/netstats/ |
H A D | SubInfo.java | 34 public final String mnc; field in SubInfo 39 public SubInfo(int subId, int carrierId, @NonNull String mcc, @NonNull String mnc, in SubInfo() argument 44 this.mnc = mnc; in SubInfo() 58 && mnc.equals(other.mnc) in equals() 64 return Objects.hash(subId, mcc, mnc, carrierId, subscriberId, isOpportunistic); in hashCode()
|
/aosp14/frameworks/base/telephony/java/android/telephony/ |
H A D | ImsiEncryptionInfo.java | 43 private final String mnc; field in ImsiEncryptionInfo 52 public ImsiEncryptionInfo(String mcc, String mnc, int keyType, String keyIdentifier, in ImsiEncryptionInfo() argument 54 this(mcc, mnc, keyType, keyIdentifier, makeKeyObject(key), expirationTime, carrierId); in ImsiEncryptionInfo() 58 public ImsiEncryptionInfo(String mcc, String mnc, int keyType, String keyIdentifier, in ImsiEncryptionInfo() argument 64 this.mnc = mnc; in ImsiEncryptionInfo() 79 mnc = in.readString(); in ImsiEncryptionInfo() 88 return this.mnc; in getMnc() 164 dest.writeString(mnc); in writeToParcel() 175 + " mnc=" + mnc in toString()
|
H A D | CellIdentity.java | 79 @Nullable String mnc, @Nullable String alphal, @Nullable String alphas) { in CellIdentity() argument 96 if (mnc == null || isMnc(mnc)) { in CellIdentity() 97 mMncStr = mnc; in CellIdentity() 98 } else if (mnc.isEmpty() || mnc.equals(String.valueOf(Integer.MAX_VALUE))) { in CellIdentity() 105 log("invalid MNC format: " + mnc); in CellIdentity() 350 private static boolean isMnc(@NonNull String mnc) { in isMnc() argument 352 if (mnc.length() < MNC_MIN_LENGTH || mnc.length() > MNC_MAX_LENGTH) return false; in isMnc() 355 for (int i = 0; i < mnc.length(); i++) { in isMnc() 356 if (mnc.charAt(i) < '0' || mnc.charAt(i) > '9') return false; in isMnc()
|
H A D | SubscriptionInfo.java | 266 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument 269 roaming, icon, mcc, mnc, countryIso, isEmbedded, nativeAccessRules, cardString, -1, in SubscriptionInfo() 284 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument 288 roaming, icon, mcc, mnc, countryIso, isEmbedded, nativeAccessRules, cardString, -1, in SubscriptionInfo() 302 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument 309 roaming, icon, mcc, mnc, countryIso, isEmbedded, nativeAccessRules, cardString, in SubscriptionInfo() 330 roaming, icon, mcc, mnc, countryIso, isEmbedded, nativeAccessRules, cardString, in SubscriptionInfo() 345 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument 362 this.mMnc = TextUtils.emptyIfNull(mnc); in SubscriptionInfo() 1426 public Builder setMnc(@Nullable String mnc) { in setMnc() argument [all …]
|
H A D | EmergencyRegResult.java | 101 @NonNull String mcc, @NonNull String mnc, @NonNull String iso) { in EmergencyRegResult() argument 110 mMnc = mnc; in EmergencyRegResult()
|
H A D | CellIdentityTdscdma.java | 90 public CellIdentityTdscdma(@Nullable String mcc, @Nullable String mnc, int lac, int cid, in CellIdentityTdscdma() argument 94 super(TAG, CellInfo.TYPE_TDSCDMA, mcc, mnc, alphal, alphas); in CellIdentityTdscdma()
|
H A D | CellIdentityLte.java | 95 public CellIdentityLte(int mcc, int mnc, int ci, int pci, int tac) { in CellIdentityLte() argument 97 String.valueOf(mcc), String.valueOf(mnc), null, null, new ArraySet<>(), in CellIdentityLte()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ui/ |
H A D | MobileContextProviderTest.kt | 69 assertThat(config.mnc).isEqualTo(SUB_1_MNC) 84 assertThat(config1.mnc).isEqualTo(SUB_1_MNC) 88 assertThat(config2.mnc).isEqualTo(SUB_2_MNC) 110 whenever(it.mnc).thenReturn(SUB_1_MNC) 120 whenever(it.mnc).thenReturn(SUB_2_MNC)
|
/aosp14/frameworks/base/core/java/android/timezone/ |
H A D | TelephonyNetworkFinder.java | 44 public TelephonyNetwork findNetworkByMccMnc(@NonNull String mcc, @NonNull String mnc) { in findNetworkByMccMnc() argument 46 Objects.requireNonNull(mnc); in findNetworkByMccMnc() 49 mDelegate.findNetworkByMccMnc(mcc, mnc); in findNetworkByMccMnc()
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/dataservice/ |
H A D | SubscriptionInfoEntity.java | 36 String displayName, String carrierName, int dataRoaming, String mcc, String mnc, in SubscriptionInfoEntity() argument 51 this.mnc = mnc; in SubscriptionInfoEntity() 95 public String mnc; field in SubscriptionInfoEntity 176 result = 31 * result + mnc.hashCode(); in hashCode() 214 && TextUtils.equals(mnc, info.mnc) in equals() 251 .append(mnc) in toString()
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_content_res_Configuration.cpp | 32 jfieldID mnc; member 51 out->mnc = env->GetIntField(clazz, gConfigurationClassInfo.mnc); in android_Configuration_getFromJava() 80 gConfigurationClassInfo.mnc = GetFieldIDOrDie(env, clazz, "mnc", "I"); in register_android_content_res_Configuration()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ui/ |
H A D | MobileContextProvider.kt | 87 return createCarrierConfigContext(context, info.mcc, info.mnc) 133 private fun createCarrierConfigContext(context: Context, mcc: Int, mnc: Int): Context { 137 c.mnc = mnc
|
/aosp14/frameworks/base/services/core/jni/gnss/ |
H A D | AGnssRil.cpp | 48 jboolean AGnssRil::setRefLocation(jint type, jint mcc, jint mnc, jint lac, jlong cid, jint tac, in setRefLocation() argument 59 location.cellID.mnc = static_cast<int>(mnc); in setRefLocation() 124 jboolean AGnssRil_V1_0::setRefLocation(jint type, jint mcc, jint mnc, jint lac, jlong cid, jint tac, in setRefLocation() argument 134 location.cellID.mnc = static_cast<uint16_t>(mnc); in setRefLocation()
|
H A D | AGnssRil.h | 41 virtual jboolean setRefLocation(jint type, jint mcc, jint mnc, jint lac, jlong cid, jint tac, 55 jboolean setRefLocation(jint type, jint mcc, jint mnc, jint lac, jlong cid, jint tac, jint pcid, 72 jboolean setRefLocation(jint type, jint mcc, jint mnc, jint lac, jlong cid, jint, jint,
|
/aosp14/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 125 public int mnc; field in Configuration 1064 mnc = o.mnc; in setTo() 1111 sb.append(mnc); in toString() 1551 mcc = mnc = 0; in setToDefaults() 1608 if (delta.mnc != 0 && mnc != delta.mnc) { in updateFrom() 1610 mnc = delta.mnc; in updateFrom() 1798 mnc = delta.mnc; in setTo() 1903 if ((compareUndefined || delta.mnc != 0) && mnc != delta.mnc) { in diff() 2169 n = this.mnc - that.mnc; in compareTo() 2794 if (base.mnc != change.mnc) { in generateDelta() [all …]
|
/aosp14/frameworks/base/telephony/java/android/service/carrier/ |
H A D | CarrierIdentifier.java | 61 public CarrierIdentifier(String mcc, String mnc, @Nullable String spn, @Nullable String imsi, in CarrierIdentifier() argument 63 this(mcc, mnc, spn, imsi, gid1, gid2, TelephonyManager.UNKNOWN_CARRIER_ID, in CarrierIdentifier() 79 public CarrierIdentifier(@NonNull String mcc, @NonNull String mnc, @Nullable String spn, in CarrierIdentifier() argument 83 mMnc = mnc; in CarrierIdentifier()
|
/aosp14/frameworks/base/native/android/ |
H A D | configuration.cpp | 54 return config->mnc; in AConfiguration_getMnc() 146 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc) { in AConfiguration_setMnc() argument 147 config->mnc = mnc; in AConfiguration_setMnc()
|
/aosp14/frameworks/base/libs/androidfw/ |
H A D | ConfigDescription.cpp | 68 if (out) out->mnc = 0; in parseMnc() 88 out->mnc = atoi(val); in parseMnc() 89 if (out->mnc == 0) { in parseMnc() 90 out->mnc = ACONFIGURATION_MNC_ZERO; in parseMnc() 938 if (mnc || o.mnc) return (!o.mnc); in HasHigherPrecedenceThan() 1001 return !pred(mcc, o.mcc) || !pred(mnc, o.mnc) || !pred(locale, o.locale) || in ConflictsWith()
|
H A D | ResourceTypes.cpp | 2042 mnc = dtohs(mnc); in copyFromDtoH() 2056 mnc = htods(mnc); in swapHtoD() 2148 if (mnc != o.mnc) { in compareLogical() 2149 return mnc < o.mnc ? -1 : 1; in compareLogical() 2213 if (mnc != o.mnc) diffs |= CONFIG_MNC; in diff() 2281 if (mnc != o.mnc) { in isMoreSpecificThan() 2282 if (!mnc) return false; in isMoreSpecificThan() 2562 if ((mnc != o.mnc) && requested->mnc) { in isBetterThan() 2563 return (mnc); in isBetterThan() 2826 if (mnc != 0 && mnc != settings.mnc) { in match() [all …]
|
/aosp14/frameworks/base/tools/aapt2/test/ |
H A D | Builders.h | 215 ConfigDescriptionBuilder& setMnc(uint16_t mnc) { in setMnc() argument 216 config_.mnc = mnc; in setMnc()
|
/aosp14/frameworks/base/services/core/java/com/android/server/location/gnss/hal/ |
H A D | GnssNative.java | 971 int mnc, int lac, long cid, int tac, int pcid, int arfcn) { in setAgpsReferenceLocationCellId() argument 973 mGnssHal.setAgpsReferenceLocationCellId(type, mcc, mnc, lac, cid, tac, pcid, arfcn); in setAgpsReferenceLocationCellId() 1508 int mnc, int lac, long cid, int tac, int pcid, int arfcn) { in setAgpsReferenceLocationCellId() argument 1509 native_agps_set_ref_location_cellid(type, mcc, mnc, lac, cid, tac, pcid, arfcn); in setAgpsReferenceLocationCellId() 1663 private static native void native_agps_set_ref_location_cellid(int type, int mcc, int mnc, in native_agps_set_ref_location_cellid() argument
|
/aosp14/frameworks/base/core/proto/android/content/ |
H A D | configuration.proto | 34 optional uint32 mnc = 3 [ (.android.privacy).dest = DEST_EXPLICIT ]; field
|
/aosp14/frameworks/base/telephony/java/android/telephony/emergency/ |
H A D | EmergencyNumber.java | 265 public EmergencyNumber(@NonNull String number, @NonNull String countryIso, @NonNull String mnc, in EmergencyNumber() argument 272 this.mMnc = mnc; in EmergencyNumber()
|
/aosp14/frameworks/base/tools/aapt/ |
H A D | AaptConfig.cpp | 351 out->mnc = atoi(val); in parseMnc() 352 if (out->mnc == 0) { in parseMnc() 353 out->mnc = ACONFIGURATION_MNC_ZERO; in parseMnc()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
H A D | IntervalStatsTests.java | 118 config2.mnc = 5; in populateIntervalStats()
|