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.java289 @NonNull CarrierIdentifier carrierIdentifier) { in getCarrierId() argument
294 args.add(carrierIdentifier.getMcc() + carrierIdentifier.getMnc()); in getCarrierId()
295 if (carrierIdentifier.getGid1() != null) { in getCarrierId()
296 args.add(carrierIdentifier.getGid1()); in getCarrierId()
298 if (carrierIdentifier.getGid2() != null) { in getCarrierId()
299 args.add(carrierIdentifier.getGid2()); in getCarrierId()
301 if (carrierIdentifier.getImsi() != null) { in getCarrierId()
302 args.add(carrierIdentifier.getImsi()); in getCarrierId()
304 if (carrierIdentifier.getSpn() != null) { in getCarrierId()
305 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()