Home
last modified time | relevance | path

Searched refs:match (Results 1 – 24 of 24) 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()
DIntentFilterTest.java774 assertEquals(IntentFilter.NO_MATCH_ACTION, mIntentFilter.match(resolver, intent, true, in testMatchWithIntent()
778 mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent()
782 assertEquals(IntentFilter.NO_MATCH_DATA, mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent()
784 assertEquals(IntentFilter.NO_MATCH_DATA, mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent()
786 assertEquals(IntentFilter.NO_MATCH_DATA, mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent()
791 mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent()
793 mIntentFilter.match(resolver, intent, false, null)); in testMatchWithIntent()
795 assertEquals(IntentFilter.NO_MATCH_CATEGORY, mIntentFilter.match(resolver, intent, true, in testMatchWithIntent()
799 mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent()
802 assertEquals(IntentFilter.NO_MATCH_DATA, mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent()
[all …]
/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.cpp39 const char *match = "Result: Parcel(00000000 '....')"; in android_drm_cts_InstallDrmEngineTest() local
40 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.java115 int match = URI_MATCHER.match(uri); in query() local
116 switch (match) { in query()
151 int match = URI_MATCHER.match(uri); in update() local
152 switch (match) { in update()
/cts/tests/src/android/content/cts/
DMockContentProvider.java143 switch (URL_MATCHER.match(uri)) { in delete()
182 switch (URL_MATCHER.match(uri)) { in getType()
214 switch (URL_MATCHER.match(uri)) { in insert()
251 switch (URL_MATCHER.match(uri)) { in query()
319 switch (URL_MATCHER.match(uri)) { in update()
352 switch (URL_MATCHER.match(uri)) { in openAssetFile()
376 switch (URL_MATCHER.match(uri)) { in openTypedAssetFile()
DDummyProvider.java131 switch (sMatcher.match(uri)) { in getTableName()
/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/tools/utils/
DbuildCts.py47 for match in pattern.finditer(content):
48 result[match.group(1)] = match.group(2)
/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/src/android/rsg/cts/
Dshared.rsh24 /* These constants must match those in UnitTest.java */
/cts/tests/src/android/renderscript/cts/
Dshared.rsh24 /* These constants must match those in UnitTest.java */
/cts/tools/utils/cts/
Dtools.py136 if exp.match(package):
151 if exp.match(package):
/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/vm-tests-tf/src/util/build/
DBuildDalvikSuite.java497 MatchResult result = scanner.match();
540 MatchResult result = scanner.match();
/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/
Dclasses.out.dex12599 final boolean match(
20148 public int match(
20378 public final int match(
20384 public final int match(
22367 public int match(
24593 public int match
46432 public static boolean match(
57869 public boolean match(
144923 public int match(
147653 public abstract boolean match(
[all …]
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(