Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/services/core/java/com/android/server/stats/pull/netstats/
H A DSubInfo.java32 public final String mcc; field in SubInfo
39 public SubInfo(int subId, int carrierId, @NonNull String mcc, @NonNull String mnc, in SubInfo() argument
43 this.mcc = mcc; in SubInfo()
57 && mcc.equals(other.mcc) in equals()
64 return Objects.hash(subId, mcc, mnc, carrierId, subscriberId, isOpportunistic); in hashCode()
/aosp14/frameworks/base/telephony/java/android/telephony/
H A DImsiEncryptionInfo.java42 private final String mcc; 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
63 this.mcc = mcc; in ImsiEncryptionInfo()
78 mcc = in.readString(); in ImsiEncryptionInfo()
93 return this.mcc; in getMcc()
163 dest.writeString(mcc); in writeToParcel()
174 + "mcc=" + mcc in toString()
H A DCellIdentity.java78 protected CellIdentity(@Nullable String tag, int type, @Nullable String mcc, in CellIdentity() argument
84 if (mcc == null || isMcc(mcc)) { in CellIdentity()
85 mMccStr = mcc; in CellIdentity()
86 } else if (mcc.isEmpty() || mcc.equals(String.valueOf(Integer.MAX_VALUE))) { in CellIdentity()
93 log("invalid MCC format: " + mcc); in CellIdentity()
337 private static boolean isMcc(@NonNull String mcc) { in isMcc() argument
339 if (mcc.length() != MCC_LENGTH) return false; in isMcc()
343 if (mcc.charAt(i) < '0' || mcc.charAt(i) > '9') return false; in isMcc()
H A DSubscriptionInfo.java266 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
361 this.mMcc = TextUtils.emptyIfNull(mcc); in SubscriptionInfo()
1414 public Builder setMcc(@Nullable String mcc) { in setMcc() argument
[all …]
H A DEmergencyRegResult.java101 @NonNull String mcc, @NonNull String mnc, @NonNull String iso) { in EmergencyRegResult() argument
109 mMcc = mcc; in EmergencyRegResult()
H A DCellIdentityTdscdma.java90 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 DCellIdentityLte.java95 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 DMobileContextProviderTest.kt68 assertThat(config.mcc).isEqualTo(SUB_1_MCC)
83 assertThat(config1.mcc).isEqualTo(SUB_1_MCC)
87 assertThat(config2.mcc).isEqualTo(SUB_2_MCC)
109 whenever(it.mcc).thenReturn(SUB_1_MCC)
119 whenever(it.mcc).thenReturn(SUB_2_MCC)
/aosp14/frameworks/base/core/java/android/timezone/
H A DTelephonyNetworkFinder.java44 public TelephonyNetwork findNetworkByMccMnc(@NonNull String mcc, @NonNull String mnc) { in findNetworkByMccMnc() argument
45 Objects.requireNonNull(mcc); in findNetworkByMccMnc()
49 mDelegate.findNetworkByMccMnc(mcc, mnc); in findNetworkByMccMnc()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/dataservice/
H A DSubscriptionInfoEntity.java36 String displayName, String carrierName, int dataRoaming, String mcc, String mnc, in SubscriptionInfoEntity() argument
50 this.mcc = mcc; in SubscriptionInfoEntity()
92 public String mcc; field in SubscriptionInfoEntity
175 result = 31 * result + mcc.hashCode(); in hashCode()
213 && TextUtils.equals(mcc, info.mcc) in equals()
249 .append(mcc) in toString()
/aosp14/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp31 jfieldID mcc; member
50 out->mcc = env->GetIntField(clazz, gConfigurationClassInfo.mcc); in android_Configuration_getFromJava()
79 gConfigurationClassInfo.mcc = GetFieldIDOrDie(env, clazz, "mcc", "I"); in register_android_content_res_Configuration()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ui/
H A DMobileContextProvider.kt87 return createCarrierConfigContext(context, info.mcc, info.mnc)
133 private fun createCarrierConfigContext(context: Context, mcc: Int, mnc: Int): Context {
136 c.mcc = mcc
/aosp14/frameworks/base/services/core/jni/gnss/
H A DAGnssRil.cpp48 jboolean AGnssRil::setRefLocation(jint type, jint mcc, jint mnc, jint lac, jlong cid, jint tac, in setRefLocation() argument
58 location.cellID.mcc = static_cast<int>(mcc); in setRefLocation()
124 jboolean AGnssRil_V1_0::setRefLocation(jint type, jint mcc, jint mnc, jint lac, jlong cid, jint tac, in setRefLocation() argument
133 location.cellID.mcc = static_cast<uint16_t>(mcc); in setRefLocation()
H A DAGnssRil.h41 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 DConfiguration.java117 public int mcc; field in Configuration
1063 mcc = o.mcc; in setTo()
1104 if (mcc != 0) { in toString()
1551 mcc = mnc = 0; in setToDefaults()
1604 if (delta.mcc != 0 && mcc != delta.mcc) { in updateFrom()
1606 mcc = delta.mcc; in updateFrom()
1795 mcc = delta.mcc; in setTo()
1900 if ((compareUndefined || delta.mcc != 0) && mcc != delta.mcc) { in diff()
2167 n = this.mcc - that.mcc; in compareTo()
2790 if (base.mcc != change.mcc) { in generateDelta()
[all …]
/aosp14/frameworks/base/telephony/java/android/service/carrier/
H A DCarrierIdentifier.java61 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
82 mMcc = mcc; in CarrierIdentifier()
/aosp14/frameworks/base/telephony/java/android/telephony/euicc/
H A DEuiccRulesAuthTable.java116 public static boolean match(String mccRule, String mcc) { in match() argument
117 if (mccRule.length() < mcc.length()) { in match()
123 || (i < mcc.length() && mccRule.charAt(i) == mcc.charAt(i))) { in match()
/aosp14/frameworks/base/native/android/
H A Dconfiguration.cpp50 return config->mcc; in AConfiguration_getMcc()
142 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc) { in AConfiguration_setMcc() argument
143 config->mcc = mcc; in AConfiguration_setMcc()
/aosp14/frameworks/base/telephony/common/com/android/internal/telephony/
H A DSmsNumberUtils.java247 private static ArrayList<String> getAllIDDs(Context context, String mcc) { in getAllIDDs() argument
248 ArrayList<String> allIDDs = IDDS_MAPS.get(mcc); in getAllIDDs()
261 if (mcc != null) { in getAllIDDs()
263 selectionArgs = new String[] {mcc}; in getAllIDDs()
286 IDDS_MAPS.put(mcc, allIDDs); in getAllIDDs()
288 if (DBG) Log.d(TAG, "MCC = " + mcc + ", all IDDs = " + allIDDs); in getAllIDDs()
H A DHbpcdUtils.java137 public String getIddByMcc(int mcc) { in getIddByMcc() argument
145 MccIdd.MCC + "=" + mcc, null, null); in getIddByMcc()
/aosp14/frameworks/base/libs/androidfw/
H A DConfigDescription.cpp38 if (out) out->mcc = 0; in parseMcc()
59 if (out) out->mcc = d; in parseMcc()
937 if (mcc || o.mcc) return (!o.mcc); in HasHigherPrecedenceThan()
1001 return !pred(mcc, o.mcc) || !pred(mnc, o.mnc) || !pred(locale, o.locale) || in ConflictsWith()
/aosp14/frameworks/base/tools/aapt2/test/
H A DBuilders.h211 ConfigDescriptionBuilder& setMcc(uint16_t mcc) { in setMcc() argument
212 config_.mcc = mcc; in setMcc()
/aosp14/frameworks/base/services/core/java/com/android/server/location/gnss/hal/
H A DGnssNative.java970 public void setAgpsReferenceLocationCellId(@AgpsReferenceLocationType int type, int mcc, in setAgpsReferenceLocationCellId() argument
973 mGnssHal.setAgpsReferenceLocationCellId(type, mcc, mnc, lac, cid, tac, pcid, arfcn); in setAgpsReferenceLocationCellId()
1507 protected void setAgpsReferenceLocationCellId(@AgpsReferenceLocationType int type, int mcc, 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 Dconfiguration.proto33 optional uint32 mcc = 2; field
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DSoundDoseHelper.java936 int mcc = mContext.getResources().getConfiguration().mcc; in onConfigureSafeMedia() local
937 if ((mMcc != mcc) || ((mMcc == 0) && force)) { in onConfigureSafeMedia()
944 mMcc = mcc; in onConfigureSafeMedia()

12