Home
last modified time | relevance | path

Searched refs:matchType (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/app/timezonedetector/
DTelephonyTimeZoneSuggestion.java334 public Builder setMatchType(@MatchType int matchType) { in setMatchType() argument
335 mMatchType = matchType; in setMatchType()
370 int matchType = mMatchType; in validate() local
372 if (quality != QUALITY_NA || matchType != MATCH_TYPE_NA) { in validate()
374 + " quality=" + quality + ", matchType=" + matchType); in validate()
380 boolean matchTypeValid = (matchType == MATCH_TYPE_NETWORK_COUNTRY_ONLY in validate()
381 || matchType == MATCH_TYPE_NETWORK_COUNTRY_AND_OFFSET in validate()
382 || matchType == MATCH_TYPE_EMULATOR_ZONE_ID in validate()
383 || matchType == MATCH_TYPE_TEST_NETWORK_OFFSET_ONLY); in validate()
386 + " quality=" + quality + ", matchType=" + matchType); in validate()
[all …]
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/
DTimeZoneDetectorStrategyImplTest.java1653 int slotIndex, @MatchType int matchType, @Quality int quality, String zoneId) { in createTelephonySuggestion() argument
1655 .setMatchType(matchType) in createTelephonySuggestion()
1980 public final int matchType; field in TimeZoneDetectorStrategyImplTest.TelephonyTestCase
1984 TelephonyTestCase(int matchType, int quality, int expectedScore) { in TelephonyTestCase() argument
1985 this.matchType = matchType; in TelephonyTestCase()
1993 .setMatchType(matchType) in createSuggestion()
2000 @MatchType int matchType, @Quality int quality, int expectedScore) { in newTelephonyTestCase()
2001 return new TelephonyTestCase(matchType, quality, expectedScore); in newTelephonyTestCase()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRILUtils.java1888 int matchType = CarrierIdentifier.MatchType.ALL; in convertToHalCarrierRestrictionList() local
1891 matchType = CarrierIdentifier.MatchType.SPN; in convertToHalCarrierRestrictionList()
1894 matchType = CarrierIdentifier.MatchType.IMSI_PREFIX; in convertToHalCarrierRestrictionList()
1897 matchType = CarrierIdentifier.MatchType.GID1; in convertToHalCarrierRestrictionList()
1900 matchType = CarrierIdentifier.MatchType.GID2; in convertToHalCarrierRestrictionList()
1903 c.matchType = matchType; in convertToHalCarrierRestrictionList()
1924 int matchType = CarrierIdentifier.MatchType.ALL; in convertToHalCarrierRestrictionListAidl() local
1927 matchType = CarrierIdentifier.MatchType.SPN; in convertToHalCarrierRestrictionListAidl()
1930 matchType = CarrierIdentifier.MatchType.IMSI_PREFIX; in convertToHalCarrierRestrictionListAidl()
1933 matchType = CarrierIdentifier.MatchType.GID1; in convertToHalCarrierRestrictionListAidl()
[all …]
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java2958 PhoneNumberUtil.MatchType matchType = util.isNumberMatch(n1, n2); in areSamePhoneNumber() local
2959 if (matchType == PhoneNumberUtil.MatchType.EXACT_MATCH in areSamePhoneNumber()
2960 || matchType == PhoneNumberUtil.MatchType.NSN_MATCH) { in areSamePhoneNumber()
2962 } else if (matchType == PhoneNumberUtil.MatchType.SHORT_NSN_MATCH) { in areSamePhoneNumber()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java2620 c1.matchType = CarrierIdentifier.MatchType.ALL; in testCreateCarrierRestrictionList()
2624 c2.matchType = CarrierIdentifier.MatchType.SPN; in testCreateCarrierRestrictionList()
2629 c3.matchType = CarrierIdentifier.MatchType.IMSI_PREFIX; in testCreateCarrierRestrictionList()
2634 c4.matchType = CarrierIdentifier.MatchType.GID1; in testCreateCarrierRestrictionList()
2639 c5.matchType = CarrierIdentifier.MatchType.GID2; in testCreateCarrierRestrictionList()