Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 25) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DUriMatcherTest.java58 assertEquals(sCode1, mUriMatcher.match(uri1)); in testMatch()
59 assertEquals(sCode2, mUriMatcher.match(uri2)); in testMatch()
60 assertEquals(sCode3, mUriMatcher.match(uri3)); in testMatch()
61 assertEquals(sCode4, mUriMatcher.match(uri4)); in testMatch()
65 assertEquals(-1, mUriMatcher.match(unknown)); in testMatch()
70 mUriMatcher.match(null); in testMatchFailure()
78 assertEquals(-1, mUriMatcher.match(uri1)); in testAddURI()
79 assertEquals(-1, mUriMatcher.match(uri2)); in testAddURI()
80 assertEquals(-1, mUriMatcher.match(uri3)); in testAddURI()
81 assertEquals(-1, mUriMatcher.match(uri4)); in testAddURI()
[all …]
DIntentFilter_AuthorityEntryTest.java56 assertEquals(IntentFilter.NO_MATCH_DATA, mAuthorityEntry.match(uri)); in testMatch()
58 assertEquals(IntentFilter.NO_MATCH_DATA, mAuthorityEntry.match(uri)); in testMatch()
61 assertEquals(IntentFilter.NO_MATCH_DATA, mAuthorityEntry.match(uri)); in testMatch()
64 assertEquals(IntentFilter.MATCH_CATEGORY_HOST, mAuthorityEntry.match(uri)); in testMatch()
68 assertEquals(IntentFilter.MATCH_CATEGORY_HOST, mAuthorityEntry.match(uri)); in testMatch()
72 assertEquals(IntentFilter.MATCH_CATEGORY_PORT, mAuthorityEntry.match(uri)); in testMatch()
76 assertEquals(IntentFilter.MATCH_CATEGORY_HOST, mAuthorityEntry.match(uri)); in testMatch()
DMockContentProvider.java137 switch (URL_MATCHER.match(uri)) { in delete()
176 switch (URL_MATCHER.match(uri)) { in getType()
208 switch (URL_MATCHER.match(uri)) { in insert()
245 switch (URL_MATCHER.match(uri)) { in query()
305 switch (URL_MATCHER.match(uri)) { in update()
338 switch (URL_MATCHER.match(uri)) { in openAssetFile()
354 switch (URL_MATCHER.match(uri)) { in openTypedAssetFile()
DIntentFilterTest.java773 assertEquals(IntentFilter.NO_MATCH_ACTION, mIntentFilter.match(resolver, intent, true, in testMatchWithIntent()
777 mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent()
781 assertEquals(IntentFilter.NO_MATCH_DATA, mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent()
783 assertEquals(IntentFilter.NO_MATCH_DATA, mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent()
785 assertEquals(IntentFilter.NO_MATCH_DATA, mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent()
790 mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent()
792 mIntentFilter.match(resolver, intent, false, null)); in testMatchWithIntent()
794 assertEquals(IntentFilter.NO_MATCH_CATEGORY, mIntentFilter.match(resolver, intent, true, in testMatchWithIntent()
798 mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent()
801 assertEquals(IntentFilter.NO_MATCH_DATA, mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent()
[all …]
DDummyProvider.java131 switch (sMatcher.match(uri)) { in getTableName()
/cts/tests/tests/os/src/android/os/cts/
DPatternMatcherTest.java119 assertTrue(mPatternMatcher.match("test")); in testMatch()
120 assertFalse(mPatternMatcher.match("test1")); in testMatch()
123 assertTrue(mPatternMatcher.match("testHello")); in testMatch()
124 assertFalse(mPatternMatcher.match("atestHello")); in testMatch()
127 assertFalse(mPatternMatcher.match("testHello")); in testMatch()
128 assertFalse(mPatternMatcher.match("test")); in testMatch()
129 assertFalse(mPatternMatcher.match("atestHello")); in testMatch()
132 assertTrue(mPatternMatcher.match("")); in testMatch()
135 assertTrue(mPatternMatcher.match("test")); in testMatch()
138 assertFalse(mPatternMatcher.match("test")); in testMatch()
/cts/suite/audio_quality/lib/src/
DSimpleScriptExec.cpp44 android::String8 match; in checkIfPassed() local
45 match.append(PASS_MAGIC_WORD); in checkIfPassed()
46 match.append(reMatch); in checkIfPassed()
47 LOGV("re match %s", match.string()); in checkIfPassed()
53 if (regcomp(&re, match.string(), cflags) != 0) { in checkIfPassed()
/cts/tests/tests/drm/jni/
Dandroid_drm_cts_NativeCodeTest.cpp40 const char *match = "Result: Parcel(00000000 '....')"; in android_drm_cts_InstallDrmEngineTest() local
41 if (!strncmp(buffer, match, strlen(match))) { in android_drm_cts_InstallDrmEngineTest()
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/
Djquery.js86 var match, elem, ret, doc;
114 match = [ null, selector, null ];
117 match = quickExpr.exec( selector );
121 if ( match && (match[1] || !context) ) {
124 if ( match[1] ) {
142 ret = jQuery.buildFragment( [ match[1] ], [ doc ] );
150 elem = document.getElementById( match[2] );
157 if ( elem.id !== match[2] ) {
847 var match = rwebkit.exec( ua ) ||
853 return { browser: match[1] || "", version: match[2] || "0" };
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsProvider.java125 int match = URI_MATCHER.match(uri); in query() local
126 switch (match) { in query()
161 int match = URI_MATCHER.match(uri); in update() local
162 switch (match) { in update()
/cts/suite/audio_quality/lib/src/audio/
DAudioHardware.cpp48 android::String8 match("[ \t]+([A-Za-z0-9_]+)[ \t]+([0-9]+)"); in detectAudioHw() local
51 if (!SimpleScriptExec::checkIfPassed(resultStr, match, nmatch, pmatch)) { in detectAudioHw()
/cts/tests/tests/content/src/android/content/pm/cts/
DResolveInfoTest.java64 assertEquals(resolveInfo.match, infoFromParcel.match); in testDump()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteFtsTest.java119 private Cursor queryFtsTable(String table, String match) { in queryFtsTable() argument
121 "content MATCH ?", new String[] { match }, in queryFtsTable()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dshared.rsh24 /* These constants must match those in UnitTest.java */
/cts/tests/tests/rscpp/librscpptest/
Dshared.rsh24 /* These constants must match those in UnitTest.java */
/cts/tools/utils/cts/
Dtools.py175 if exp.match(package):
190 if exp.match(package):
/cts/tools/utils/
DbuildCts.py53 for match in pattern.finditer(content):
54 result[match.group(1)] = match.group(2)
/cts/suite/audio_quality/lib/src/task/
DTaskCase.cpp129 typename std::pair<android::String8, T> match(it->first, it->second); in findAllGeneric() local
130 list->push_back(match); in findAllGeneric()
/cts/tests/tests/text/src/android/text/util/cts/
DLinkifyTest.java55 public final String transformUrl(final Matcher match, String url) {
57 String matchingRegion = match.group();
/cts/tools/signature-tools/lib/
Dantlr-2.7.7.jarMETA-INF/ META-INF/MANIFEST.MF antlr/ antlr/ActionElement.class ActionElement ...
/cts/tools/vm-tests-tf/src/util/build/
DBuildDalvikSuite.java662 MatchResult result = scanner.match();
721 MatchResult result = scanner.match();
/cts/apps/CtsVerifier/libs/
Dopencv-android.jar ... org.opencv.core.Mat matches_mat public void match (org.opencv.core.Mat, org ...
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dregexp.js459 s15[i].match(/zfvr/gi);
460 s15[i].match(/bcren/gi);
Dearley-boyer.js2441 throw "closing par doesn't match: " + listBeginType
/cts/tools/dex-tools/dex/
Dclasses0.out.dex34413 public abstract boolean match(
34734 public abstract boolean match(
35632 public boolean match(
35780 public boolean match(
39584 private int match(
47471 public java.util.regex.MatchResult match()
106804 public boolean match(
106836 public boolean match(