Home
last modified time | relevance | path

Searched refs:carrierIdentifier (Results 1 – 4 of 4) sorted by relevance

/packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/
DCarrierConfigTest.java307 @NonNull CarrierIdentifier carrierIdentifier) { in getCarrierId() argument
312 args.add(carrierIdentifier.getMcc() + carrierIdentifier.getMnc()); in getCarrierId()
313 if (carrierIdentifier.getGid1() != null) { in getCarrierId()
314 args.add(carrierIdentifier.getGid1()); in getCarrierId()
316 if (carrierIdentifier.getGid2() != null) { in getCarrierId()
317 args.add(carrierIdentifier.getGid2()); in getCarrierId()
319 if (carrierIdentifier.getImsi() != null) { in getCarrierId()
320 args.add(carrierIdentifier.getImsi()); in getCarrierId()
322 if (carrierIdentifier.getSpn() != null) { in getCarrierId()
323 args.add(carrierIdentifier.getSpn()); in getCarrierId()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/
DCarrierIdentifierMatcher.java49 public boolean matches(CarrierIdentifier carrierIdentifier) { in matches() argument
50 if (!mccMnc().equals(carrierIdentifier.mccMnc())) { in matches()
54 if (!gid1().get().equalsIgnoreCase(carrierIdentifier.gid1())) { in matches()
DDialerVvmConfigManager.java112 public PersistableBundle getConfig(CarrierIdentifier carrierIdentifier) { in getConfig() argument
113 if (!configs.containsKey(carrierIdentifier.mccMnc())) { in getConfig()
116 for (ConfigEntry configEntry : configs.get(carrierIdentifier.mccMnc())) { in getConfig()
117 if (configEntry.matcher.matches(carrierIdentifier)) { in getConfig()
DOmtpVvmCarrierConfigHelper.java114 Optional<CarrierIdentifier> carrierIdentifier = CarrierIdentifier.forHandle(context, handle); in OmtpVvmCarrierConfigHelper() local
119 if (telephonyManager == null || !carrierIdentifier.isPresent()) { in OmtpVvmCarrierConfigHelper()
136 telephonyConfig = new DialerVvmConfigManager(context).getConfig(carrierIdentifier.get()); in OmtpVvmCarrierConfigHelper()