/packages/apps/Messaging/src/android/support/v7/mms/ |
D | Utils.java | 103 final int[] mccMnc = new int[] { 0, 0 }; in getMccMnc() local 108 mccMnc[0] = subInfo.getMcc(); in getMccMnc() 109 mccMnc[1] = subInfo.getMnc(); in getMccMnc() 116 mccMnc[0] = Integer.parseInt(mccMncString.substring(0, 3)); in getMccMnc() 117 mccMnc[1] = Integer.parseInt(mccMncString.substring(3)); in getMccMnc() 120 mccMnc[0] = 0; in getMccMnc() 121 mccMnc[1] = 0; in getMccMnc() 124 return mccMnc; in getMccMnc() 138 final int[] mccMnc = getMccMnc(context, subId); in getSubDepContext() local 139 final int mcc = mccMnc[0]; in getSubDepContext() [all …]
|
D | DefaultApnSettingsLoader.java | 396 final int[] mccMnc = Utils.getMccMnc(mContext, subId); in loadFromResources() local 397 if (mccMnc[0] == 0) { in loadFromResources() 412 if (mccMnc[0] == Integer.parseInt(mcc) && in loadFromResources() 413 mccMnc[1] == Integer.parseInt(mnc) && in loadFromResources()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | IMSIParameter.java | 111 public boolean matchesMccMnc(String mccMnc) { in matchesMccMnc() argument 112 if (mccMnc == null) { in matchesMccMnc() 115 if (mccMnc.length() != MCC_MNC_LENGTH_5 && mccMnc.length() != MCC_MNC_LENGTH_6) { in matchesMccMnc() 118 if (mPrefix && mccMnc.length() != mImsi.length()) { in matchesMccMnc() 122 return mImsi.startsWith(mccMnc); in matchesMccMnc()
|
D | WifiCarrierInfoManager.java | 256 public final String mccMnc; field in WifiCarrierInfoManager.SimInfo 260 SimInfo(String imsi, String mccMnc, int carrierIdFromSimMccMnc, int simCarrierId) { in SimInfo() argument 262 this.mccMnc = mccMnc; in SimInfo() 280 .append(", MCCMNC=").append(mccMnc) in toString() 1023 simInfo.mccMnc, false); in getSimIdentity() 1073 Pair<String, String> mccMncPair = extractMccMnc(simInfo.imsi, simInfo.mccMnc); in getAnonymousIdentityWith3GppRealm() 1183 private String buildIdentity(int eapMethod, String imsi, String mccMnc, in buildIdentity() argument 1195 Pair<String, String> mccMncPair = extractMccMnc(imsi, mccMnc); in buildIdentity() 1623 Pair<String, String> mccMncPair = extractMccMnc(simInfo.imsi, simInfo.mccMnc); in decoratePseudonymWith3GppRealm() 1770 if (simInfo.mccMnc != null && imsiParameter.matchesMccMnc(simInfo.mccMnc)) { in getMatchingImsiCarrierId() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | DialerVvmConfigManager.java | 69 return comparisonChain.compare(matcher.mccMnc(), other.matcher.mccMnc()).result(); in compareTo() 113 if (!configs.containsKey(carrierIdentifier.mccMnc())) { in getConfig() 116 for (ConfigEntry configEntry : configs.get(carrierIdentifier.mccMnc())) { in getConfig() 148 String mccMnc = uri.getPath(); in loadConfigs() local 150 if (configs.containsKey(mccMnc)) { in loadConfigs() 151 set = configs.get(mccMnc); in loadConfigs() 155 configs.put(mccMnc, set); in loadConfigs() 158 matcherBuilder.setMccMnc(mccMnc); in loadConfigs()
|
D | CarrierIdentifierMatcher.java | 31 public abstract String mccMnc(); in mccMnc() method in CarrierIdentifierMatcher 42 public abstract Builder setMccMnc(String mccMnc); in setMccMnc() argument 50 if (!mccMnc().equals(carrierIdentifier.mccMnc())) { in matches()
|
D | CarrierIdentifier.java | 34 public abstract String mccMnc(); in mccMnc() method in CarrierIdentifier 46 public abstract Builder setMccMnc(String mccMnc); in setMccMnc() argument
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | ANQPMatcher.java | 194 private static boolean matchMccMnc(String mccMnc, IMSIParameter imsiParam, in matchMccMnc() argument 196 if (imsiParam == null || TextUtils.isEmpty(simImsi) || mccMnc == null) { in matchMccMnc() 200 if (!imsiParam.matchesMccMnc(mccMnc)) { in matchMccMnc() 206 return simImsi.startsWith(mccMnc); in matchMccMnc()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | BugleCarrierConfigValuesLoader.java | 137 public void process(final String mccMnc, final String key, final String value, in loadFromResources() 163 final int[] mccMnc = PhoneUtils.get(subId).getMccMnc(); in getSubDepContext() local 164 final int mcc = mccMnc[0]; in getSubDepContext() 165 final int mnc = mccMnc[1]; in getSubDepContext()
|
D | BugleApnSettingsLoader.java | 497 final String mccMnc = PhoneUtils.getMccMncString(PhoneUtils.getDefault().getMccMnc()); in loadFromLocalDatabase() local 499 cursor = queryLocalDatabase(database, mccMnc, apnName); in loadFromLocalDatabase() 501 cursor = queryLocalDatabase(database, mccMnc, null/*apnName*/); in loadFromLocalDatabase() 629 public static String getFirstTryApn(final SQLiteDatabase database, final String mccMnc) { in getFirstTryApn() argument 633 cursor = queryLocalDatabase(database, mccMnc, null/*apnName*/); in getFirstTryApn()
|
D | ApnsXmlProcessor.java | 44 public void process(String mccMnc, String key, String value, String type); in process() argument 308 private void processMmsConfigKeyValue(String mccMnc) in processMmsConfigKeyValue() argument 326 mMmsConfigHandler.process(mccMnc, key, value, type); in processMmsConfigKeyValue()
|
/packages/apps/CellBroadcastReceiver/tests/compliancetests/src/com/android/cellbroadcastreceiver/compliancetests/ |
D | CellBroadcastBaseTest.java | 304 String mccMnc = mccMncList.getString(i); in paramsCarrierAndMccMncForTest() local 305 result.add(new String[]{carrierName, mccMnc}); in paramsCarrierAndMccMncForTest() 337 String[] mccMnc = new String[] {mcc, mnc}; in setSimInfo() local 339 + ", mcc = " + mccMnc[0] + ", mnc = " + mccMnc[1]); in setSimInfo() 344 SimInfoChangedResult.SIM_INFO_TYPE_MCC_MNC, mccMnc); in setSimInfo()
|
D | CellBroadcastConfigTest.java | 41 public void testCellBroadcastRange(String carrierName, String mccMnc) throws Throwable { in testCellBroadcastRange() argument 44 setSimInfo(carrierName, mccMnc); in testCellBroadcastRange()
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | ApnSettingsActivity.java | 219 final String mccMnc = PhoneUtils.getMccMncString(PhoneUtils.get(mSubId).getMccMnc()); in fillList() local 225 String[] selectionArgs = new String[]{ mccMnc }; in fillList() 239 mSelectedKey = BugleApnSettingsLoader.getFirstTryApn(mDatabase, mccMnc); in fillList()
|
/packages/services/AlternativeNetworkAccess/src/com/android/ons/ |
D | ONSProfileSelector.java | 296 String mccMnc = mcc + mnc; in getSubIdUsingAvailableNetworks() local 304 if (TextUtils.equals(availableMccMnc, mccMnc)) { in getSubIdUsingAvailableNetworks()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneGlobals.java | 1328 for (String mccMnc : includedMccMncs) { in shouldShowRoamingNotification() 1329 if (roamingNumeric.equals(mccMnc)) { in shouldShowRoamingNotification() 1330 Log.d(LOG_TAG, "shouldShowRoamingNotification: show for MCC/MNC " + mccMnc); in shouldShowRoamingNotification()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyProviderTest.java | 519 .map((mccMnc) -> { in testMccMncMigration() 521 cv.put(Telephony.CarrierId.All.MCCMNC, mccMnc); in testMccMncMigration()
|