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.java308 @NonNull CarrierIdentifier carrierIdentifier) { in getCarrierId() argument
313 args.add(carrierIdentifier.getMcc() + carrierIdentifier.getMnc()); in getCarrierId()
314 if (carrierIdentifier.getGid1() != null) { in getCarrierId()
315 args.add(carrierIdentifier.getGid1()); in getCarrierId()
317 if (carrierIdentifier.getGid2() != null) { in getCarrierId()
318 args.add(carrierIdentifier.getGid2()); in getCarrierId()
320 if (carrierIdentifier.getImsi() != null) { in getCarrierId()
321 args.add(carrierIdentifier.getImsi()); in getCarrierId()
323 if (carrierIdentifier.getSpn() != null) { in getCarrierId()
324 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()