Searched defs:matcher (Results 1 - 15 of 15) sorted by relevance

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
H A DMatchers.java21 import static android.support.test.espresso.matcher.ViewMatchers.isDisplayed;
37 public static boolean present(Matcher<View> matcher) { argument
38 return present(onView(matcher), isDisplayed());
41 public static boolean present(ViewInteraction vi, Matcher<View> matcher) { argument
43 vi.check(matches(matcher));
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DPlatform.java54 static CharMatcher precomputeCharMatcher(CharMatcher matcher) { argument
55 return matcher.precomputedInternal();
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
H A DManagedProfileTest.java38 import static android.support.test.espresso.matcher.ViewMatchers.withId;
121 private void handleFailure(Throwable e, Matcher<View> matcher) { argument
126 new DefaultFailureHandler(getContext()).handle(e, matcher);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DAllAppsList.java125 * Updates the disabled flags of apps matching {@param matcher} based on {@param op}.
127 public void updateDisabledFlags(ItemInfoMatcher matcher, FlagOp op) { argument
131 if (matcher.matches(info, info.componentName)) {
H A DWorkspace.java3856 * Removes items that match the {@param matcher}. When applications are removed
3860 public void removeItemsByMatcher(final ItemInfoMatcher matcher) { argument
3876 for (ItemInfo itemToRemove : matcher.filterItemInfos(items)) {
4031 ItemInfoMatcher matcher = ItemInfoMatcher.ofPackages(packages, user);
4032 mLauncher.getModelWriter().deleteItemsFromDatabase(matcher);
4033 removeItemsByMatcher(matcher);
/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DModelWriter.java236 * Removes all the items from the database matching {@param matcher}.
238 public void deleteItemsFromDatabase(ItemInfoMatcher matcher) { argument
239 deleteItemsFromDatabase(matcher.filterItemInfos(mBgDataModel.itemsIdMap));
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DContactAggregator.java97 final ContactMatcher matcher = new ContactMatcher();
102 matcher.clear();
104 contactId = pickBestMatchBasedOnExceptions(db, rawContactId, matcher);
111 contactId = pickBestMatchBasedOnData(db, rawContactId, candidates, matcher);
551 ContactMatcher matcher) {
586 matcher.keepIn(contactId);
588 matcher.keepOut(contactId);
596 return matcher.pickBestMatch(MatchScore.MAX_SCORE, true);
614 MatchCandidateList candidates, ContactMatcher matcher) {
617 long bestMatch = updateMatchScoresBasedOnDataMatches(db, rawContactId, matcher);
550 pickBestMatchBasedOnExceptions(SQLiteDatabase db, long rawContactId, ContactMatcher matcher) argument
613 pickBestMatchBasedOnData(SQLiteDatabase db, long rawContactId, MatchCandidateList candidates, ContactMatcher matcher) argument
638 pickBestMatchBasedOnSecondaryData(SQLiteDatabase db, long rawContactId, MatchCandidateList candidates, ContactMatcher matcher) argument
670 updateMatchScoresBasedOnDataMatches(SQLiteDatabase db, long rawContactId, ContactMatcher matcher) argument
713 updateMatchScoresBasedOnIdentityMatch(SQLiteDatabase db, long rawContactId, ContactMatcher matcher) argument
760 updateMatchScoresBasedOnNameMatches(SQLiteDatabase db, long rawContactId, ContactMatcher matcher) argument
784 updateMatchScoresBasedOnEmailMatches(SQLiteDatabase db, long rawContactId, ContactMatcher matcher) argument
801 updateMatchScoresBasedOnPhoneMatches(SQLiteDatabase db, long rawContactId, ContactMatcher matcher) argument
822 lookupApproximateNameMatches(SQLiteDatabase db, MatchCandidateList candidates, ContactMatcher matcher) argument
864 matchAllCandidates(SQLiteDatabase db, String selection, MatchCandidateList candidates, ContactMatcher matcher, int algorithm, String limit) argument
926 updateMatchScoresForSuggestionsBasedOnDataMatches(SQLiteDatabase db, long rawContactId, MatchCandidateList candidates, ContactMatcher matcher) argument
937 updateMatchScoresForSuggestionsBasedOnDataMatches(SQLiteDatabase db, MatchCandidateList candidates, ContactMatcher matcher, ArrayList<AggregationSuggestionParameter> parameters) argument
[all...]
H A DContactAggregator2.java113 RawContactMatcher matcher = new RawContactMatcher();
122 matcher);
211 rawContactId, MatchCandidateList candidates, RawContactMatcher matcher) {
212 updateMatchScores(db, rawContactId, candidates, matcher);
214 matcher.pickBestMatches());
502 RawContactMatcher matcher) {
541 matcher.keepIn(rId, contactId, accountId);
543 matcher.keepOut(rId, contactId, accountId);
556 RawContactMatcher matcher) {
570 matcher
210 findRawContactMatchingCandidates(SQLiteDatabase db, long rawContactId, MatchCandidateList candidates, RawContactMatcher matcher) argument
501 updateMatchScoresBasedOnExceptions(SQLiteDatabase db, long rawContactId, RawContactMatcher matcher) argument
555 updateMatchScoresBasedOnIdentityMatch(SQLiteDatabase db, long rawContactId, RawContactMatcher matcher) argument
580 updateMatchScoresBasedOnNameMatches(SQLiteDatabase db, long rawContactId, RawContactMatcher matcher) argument
609 updateMatchScoresBasedOnEmailMatches(SQLiteDatabase db, long rawContactId, RawContactMatcher matcher) argument
634 updateMatchScoresBasedOnNameMatches(SQLiteDatabase db, String query, MatchCandidateList candidates, RawContactMatcher matcher) argument
666 updateMatchScoresBasedOnPhoneMatches(SQLiteDatabase db, long rawContactId, RawContactMatcher matcher) argument
692 lookupApproximateNameMatches(SQLiteDatabase db, MatchCandidateList candidates, RawContactMatcher matcher) argument
738 matchAllCandidates(SQLiteDatabase db, String selection, MatchCandidateList candidates, RawContactMatcher matcher, int algorithm, String limit) argument
841 updateMatchScoresForSuggestionsBasedOnDataMatches(SQLiteDatabase db, long rawContactId, MatchCandidateList candidates, RawContactMatcher matcher) argument
855 updateMatchScores(SQLiteDatabase db, long rawContactId, MatchCandidateList candidates, RawContactMatcher matcher) argument
873 updateMatchScoresForSuggestionsBasedOnDataMatches(SQLiteDatabase db, MatchCandidateList candidates, RawContactMatcher matcher, ArrayList<AggregationSuggestionParameter> parameters) argument
903 updateScoreForCandidatesWithoutName(SQLiteDatabase db, List<Long> secondaryRawContactIds, RawContactMatcher matcher) argument
[all...]
H A DAbstractContactAggregator.java1124 MatchCandidateList candidates, ContactMatcher matcher) {
1142 matcher.matchName(contactId, nameTypeA, name, nameTypeB, name,
1145 matcher.updateScoreWithNicknameMatch(contactId);
1228 MatchCandidateList candidates, ContactMatcher matcher, int algorithm, String limit) {
1243 matcher.matchName(contactId, candidate.mLookupType, candidate.mName,
1123 updateMatchScoresBasedOnNameMatches(SQLiteDatabase db, String query, MatchCandidateList candidates, ContactMatcher matcher) argument
1227 matchAllCandidates(SQLiteDatabase db, String selection, MatchCandidateList candidates, ContactMatcher matcher, int algorithm, String limit) argument
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
H A DMockContentProvider.java66 private Query(UriMatcher matcher) { argument
68 mMatcher = matcher;
193 public static Query forUrisMatching(UriMatcher matcher) { argument
194 return new Query(matcher);
198 final UriMatcher matcher = new UriMatcher(UriMatcher.NO_MATCH);
200 matcher.addURI(authority, paths[i], i);
202 return new Query(matcher);
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
H A DDragController.java258 public void onAppsRemoved(ItemInfoMatcher matcher) { argument
264 if (cn != null && matcher.matches(dragInfo, cn)) {
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DMessageHeaderView.java307 public void setVeiledMatcher(VeiledAddressMatcher matcher) { argument
308 mVeiledMatcher = matcher;
710 Map<String, Address> addressCache, VeiledAddressMatcher matcher,
714 context, meEmailAddress, myName, addressCache, matcher, bidiFormatter);
740 Map<String, Address> addressCache, VeiledAddressMatcher matcher,
747 mMatcher = matcher;
708 getRecipientSummaryText(Context context, String meEmailAddress, String myName, String[] to, String[] cc, String[] bcc, Map<String, Address> addressCache, VeiledAddressMatcher matcher, BidiFormatter bidiFormatter) argument
739 RecipientListsBuilder(Context context, String meEmailAddress, String myName, Map<String, Address> addressCache, VeiledAddressMatcher matcher, BidiFormatter bidiFormatter) argument
/packages/apps/TV/libs/
H A Dexoplayer.jar ... long durationMillis String value java.util.regex.Matcher matcher public static long parseXsDateTime (java.lang.String ...
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...
/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ...

Completed in 605 milliseconds