Home
last modified time | relevance | path

Searched refs:matchType (Results 1 – 6 of 6) 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/servicestests/src/com/android/server/timezonedetector/
DTimeZoneDetectorStrategyImplTest.java641 public final int matchType; field in TimeZoneDetectorStrategyImplTest.SuggestionTestCase
645 SuggestionTestCase(int matchType, int quality, int expectedScore) { in SuggestionTestCase() argument
646 this.matchType = matchType; in SuggestionTestCase()
654 .setMatchType(matchType) in createSuggestion()
661 @MatchType int matchType, @Quality int quality, int expectedScore) { in newTestCase()
662 return new SuggestionTestCase(matchType, quality, expectedScore); in newTestCase()
/frameworks/base/core/java/android/hardware/display/
DDisplayManager.java387 ArrayList<Display> displays, int[] displayIds, int matchType) { in addPresentationDisplaysLocked() argument
392 && display.getType() == matchType) { in addPresentationDisplaysLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioResponse.java2531 int matchType = carrierList.get(i).matchType; in convertCarrierList() local
2533 if (matchType == CarrierIdentifier.MatchType.SPN) { in convertCarrierList()
2535 } else if (matchType == CarrierIdentifier.MatchType.IMSI_PREFIX) { in convertCarrierList()
2537 } else if (matchType == CarrierIdentifier.MatchType.GID1) { in convertCarrierList()
2539 } else if (matchType == CarrierIdentifier.MatchType.GID2) { in convertCarrierList()
DRIL.java4692 int matchType = CarrierIdentifier.MatchType.ALL; in createCarrierRestrictionList() local
4695 matchType = CarrierIdentifier.MatchType.SPN; in createCarrierRestrictionList()
4698 matchType = CarrierIdentifier.MatchType.IMSI_PREFIX; in createCarrierRestrictionList()
4701 matchType = CarrierIdentifier.MatchType.GID1; in createCarrierRestrictionList()
4704 matchType = CarrierIdentifier.MatchType.GID2; in createCarrierRestrictionList()
4707 c.matchType = matchType; in createCarrierRestrictionList()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java2425 c1.matchType = CarrierIdentifier.MatchType.ALL; in testCreateCarrierRestrictionList()
2429 c2.matchType = CarrierIdentifier.MatchType.SPN; in testCreateCarrierRestrictionList()
2434 c3.matchType = CarrierIdentifier.MatchType.IMSI_PREFIX; in testCreateCarrierRestrictionList()
2439 c4.matchType = CarrierIdentifier.MatchType.GID1; in testCreateCarrierRestrictionList()
2444 c5.matchType = CarrierIdentifier.MatchType.GID2; in testCreateCarrierRestrictionList()