Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/java/android/app/timezonedetector/
H A 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()
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()
405 Integer matchType = null; in parseCommandLineArg() local
442 if (matchType != null) { in parseCommandLineArg()
[all …]
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DClusterSource.java61 int matchType = mMatcher.match(path); in createMediaObject() local
65 switch (matchType) { in createMediaObject()
71 return new ClusterAlbumSet(path, mApplication, sets[0], matchType); in createMediaObject()
H A DFilterSource.java62 int matchType = mMatcher.match(path); in createMediaObject() local
64 switch (matchType) { in createMediaObject()
/aosp12/packages/apps/Dialer/java/com/android/dialer/phonenumberproto/
H A DDialerPhoneNumberUtil.java173 MatchType matchType = phoneNumberUtil.isNumberMatch(phoneNumber1, phoneNumber2); in isMatch() local
175 return (matchType == MatchType.SHORT_NSN_MATCH in isMatch()
176 || matchType == MatchType.NSN_MATCH in isMatch()
177 || matchType == MatchType.EXACT_MATCH) in isMatch()
/aosp12/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
H A DI18nPhoneNumberWrapper.java63 PhoneNumberUtil.MatchType matchType = PhoneNumberUtil.getInstance().isNumberMatch( in equals() local
65 return matchType == EXACT_MATCH || matchType == NSN_MATCH; in equals()
/aosp12/system/netd/server/
H A DTrafficController.cpp100 std::string matchType; in uidMatchTypeToString() local
101 FLAG_MSG_TRANS(matchType, HAPPY_BOX_MATCH, match); in uidMatchTypeToString()
102 FLAG_MSG_TRANS(matchType, PENALTY_BOX_MATCH, match); in uidMatchTypeToString()
103 FLAG_MSG_TRANS(matchType, DOZABLE_MATCH, match); in uidMatchTypeToString()
104 FLAG_MSG_TRANS(matchType, STANDBY_MATCH, match); in uidMatchTypeToString()
105 FLAG_MSG_TRANS(matchType, POWERSAVE_MATCH, match); in uidMatchTypeToString()
106 FLAG_MSG_TRANS(matchType, RESTRICTED_MATCH, match); in uidMatchTypeToString()
107 FLAG_MSG_TRANS(matchType, IIF_MATCH, match); in uidMatchTypeToString()
111 return matchType; in uidMatchTypeToString()
559 RETURN_IF_NOT_OK(removeRule(uid, matchType)); in updateUidOwnerMap()
[all …]
H A DBandwidthController.h93 int manipulateSpecialApps(const std::vector<uint32_t>& appStrUids, UidOwnerMatchType matchType,
H A DTrafficController.h110 UidOwnerMatchType matchType, BandwidthController::IptOp op)
H A DBandwidthController.cpp343 UidOwnerMatchType matchType, IptOp op) { in manipulateSpecialApps() argument
344 Status status = gCtls->trafficCtrl.updateUidOwnerMap(appUids, matchType, op); in manipulateSpecialApps()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
H A DTimeZoneDetectorStrategyImplTest.java1039 int slotIndex, @MatchType int matchType, @Quality int quality, String zoneId) { in createTelephonySuggestion() argument
1041 .setMatchType(matchType) in createTelephonySuggestion()
1280 public final int matchType; field in TimeZoneDetectorStrategyImplTest.TelephonyTestCase
1284 TelephonyTestCase(int matchType, int quality, int expectedScore) { in TelephonyTestCase() argument
1285 this.matchType = matchType; in TelephonyTestCase()
1293 .setMatchType(matchType) in createSuggestion()
1300 @MatchType int matchType, @Quality int quality, int expectedScore) { in newTelephonyTestCase()
1301 return new TelephonyTestCase(matchType, quality, expectedScore); in newTelephonyTestCase()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DConstants.java245 for (String matchType : matchAgainst) { in mimeTypeMatches()
246 if (mimeTypeMatches(mimeType, matchType)) { in mimeTypeMatches()
/aosp12/packages/modules/Connectivity/tests/unit/java/android/net/
H A DNetworkTemplateTest.kt448 matchType: Int,
456 val templateOemYes = NetworkTemplate(matchType, subscriberId, matchSubscriberIds,
459 val templateOemAll = NetworkTemplate(matchType, subscriberId, matchSubscriberIds,
470 val template = NetworkTemplate(matchType, subscriberId, matchSubscriberIds,
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
H A DMimeUtility.java295 for (String matchType : matchAgainst) { in mimeTypeMatches()
296 if (mimeTypeMatches(mimeType, matchType)) { in mimeTypeMatches()
/aosp12/frameworks/base/core/java/android/hardware/display/
H A DDisplayManager.java537 ArrayList<Display> displays, int[] displayIds, int matchType) { in addPresentationDisplaysLocked() argument
545 && display.getType() == matchType) { in addPresentationDisplaysLocked()
/aosp12/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java3293 PhoneNumberUtil.MatchType matchType = util.isNumberMatch(n1, n2); in areSamePhoneNumber() local
3294 if (matchType == PhoneNumberUtil.MatchType.EXACT_MATCH in areSamePhoneNumber()
3295 || matchType == PhoneNumberUtil.MatchType.NSN_MATCH) { in areSamePhoneNumber()
3297 } else if (matchType == PhoneNumberUtil.MatchType.SHORT_NSN_MATCH) { in areSamePhoneNumber()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DRadioResponse.java2900 int matchType = carrierList.get(i).matchType; in convertCarrierList() local
2902 if (matchType == CarrierIdentifier.MatchType.SPN) { in convertCarrierList()
2904 } else if (matchType == CarrierIdentifier.MatchType.IMSI_PREFIX) { in convertCarrierList()
2906 } else if (matchType == CarrierIdentifier.MatchType.GID1) { in convertCarrierList()
2908 } else if (matchType == CarrierIdentifier.MatchType.GID2) { in convertCarrierList()
H A DRIL.java5088 int matchType = CarrierIdentifier.MatchType.ALL; in createCarrierRestrictionList() local
5091 matchType = CarrierIdentifier.MatchType.SPN; in createCarrierRestrictionList()
5094 matchType = CarrierIdentifier.MatchType.IMSI_PREFIX; in createCarrierRestrictionList()
5097 matchType = CarrierIdentifier.MatchType.GID1; in createCarrierRestrictionList()
5100 matchType = CarrierIdentifier.MatchType.GID2; in createCarrierRestrictionList()
5103 c.matchType = matchType; in createCarrierRestrictionList()
/aosp12/hardware/interfaces/radio/1.4/vts/functional/
H A Dradio_hidl_hal_api.cpp705 carrierRestrictions.allowedCarriers[0].matchType = CarrierMatchType::ALL; in TEST_P()
750 radioRsp_v1_4->carrierRestrictionsResp.allowedCarriers[0].matchType); in TEST_P()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DRILTest.java2706 c1.matchType = CarrierIdentifier.MatchType.ALL; in testCreateCarrierRestrictionList()
2710 c2.matchType = CarrierIdentifier.MatchType.SPN; in testCreateCarrierRestrictionList()
2715 c3.matchType = CarrierIdentifier.MatchType.IMSI_PREFIX; in testCreateCarrierRestrictionList()
2720 c4.matchType = CarrierIdentifier.MatchType.GID1; in testCreateCarrierRestrictionList()
2725 c5.matchType = CarrierIdentifier.MatchType.GID2; in testCreateCarrierRestrictionList()
/aosp12/hardware/interfaces/radio/1.0/vts/functional/
H A Dradio_hidl_hal_misc.cpp866 carriers.allowedCarriers[0].matchType = CarrierMatchType::ALL; in TEST_P()
/aosp12/hardware/ril/libril/
H A Dril_service.cpp2712 … allowedCarriers[i].match_type = (RIL_CarrierMatchType) carriers.allowedCarriers[i].matchType; in setAllowedCarriers()
2720 (RIL_CarrierMatchType) carriers.excludedCarriers[i].matchType; in setAllowedCarriers()
6523 carrierInfo.allowedCarriers[i].matchType = (CarrierMatchType) carrier->match_type; in getAllowedCarriersResponse()
6533 carrierInfo.excludedCarriers[i].matchType = (CarrierMatchType) carrier->match_type; in getAllowedCarriersResponse()
/aosp12/hardware/interfaces/radio/1.0/
H A Dtypes.hal1890 CarrierMatchType matchType; // Specify match type for the carrier.