/cts/tests/tests/content/src/android/content/cts/ |
D | UriMatcherTest.java | 58 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 …]
|
D | IntentFilter_AuthorityEntryTest.java | 56 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()
|
D | MockContentProvider.java | 147 switch (URL_MATCHER.match(uri)) { in delete() 186 switch (URL_MATCHER.match(uri)) { in getType() 205 if (URL_MATCHER.match(uri) == TESTTABLE2_ID) { in getStreamTypes() 233 switch (URL_MATCHER.match(uri)) { in insert() 297 switch (URL_MATCHER.match(uri)) { in query() 359 switch (URL_MATCHER.match(uri)) { in update() 392 switch (URL_MATCHER.match(uri)) { in openAssetFile() 408 switch (URL_MATCHER.match(uri)) { in openTypedAssetFile()
|
D | IntentFilterTest.java | 1253 assertEquals(IntentFilter.NO_MATCH_ACTION, mIntentFilter.match(resolver, intent, true, in testMatchWithIntent() 1257 mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent() 1261 assertEquals(IntentFilter.NO_MATCH_DATA, mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent() 1263 assertEquals(IntentFilter.NO_MATCH_DATA, mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent() 1265 assertEquals(IntentFilter.NO_MATCH_DATA, mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent() 1270 mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent() 1272 mIntentFilter.match(resolver, intent, false, null)); in testMatchWithIntent() 1274 assertEquals(IntentFilter.NO_MATCH_CATEGORY, mIntentFilter.match(resolver, intent, true, in testMatchWithIntent() 1278 mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent() 1281 assertEquals(IntentFilter.NO_MATCH_DATA, mIntentFilter.match(resolver, intent, true, null)); in testMatchWithIntent() [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | PatternMatcherTest.java | 119 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/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | RemoteQueryProvider.java | 53 int match = URI_MATCHER.match(uri); in query() local 54 if (match == FILES_FILTER) { in query() 71 int match = URI_MATCHER.match(uri); in getType() local 72 if (match == FILES_FILTER) { in getType()
|
/cts/suite/audio_quality/lib/src/ |
D | SimpleScriptExec.cpp | 44 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/ |
D | android_drm_cts_NativeCodeTest.cpp | 40 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/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsProvider.java | 184 int match = URI_MATCHER.match(uri); in query() local 185 switch (match) { in query() 224 int match = URI_MATCHER.match(uri); in insert() local 225 switch (match) { in insert() 246 int match = URI_MATCHER.match(uri); in update() local 247 switch (match) { in update() 292 int match = URI_MATCHER.match(uri); in delete() local 293 switch (match) { in delete() 326 int match = URI_MATCHER.match(uri); in openFile() local 327 switch (match) { in openFile()
|
D | TestResultHistoryCollection.java | 48 boolean match = false; in addAll() 52 match = true; in addAll() 56 if (match == false) { in addAll()
|
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/ |
D | ListQueryHelper.java | 123 F match = findMatch(containsAtLeast, v); in checkContainsAtLeast() local 125 if (match == null) { in checkContainsAtLeast() 128 v.remove(match); in checkContainsAtLeast() 132 F match = findMatch(containsAtLeast, v); in checkContainsAtLeast() local 134 if (match == null) { in checkContainsAtLeast() 137 v.remove(match); in checkContainsAtLeast()
|
D | SetQueryHelper.java | 139 F match = findMatch(containsAtLeast, v); in checkContainsAtLeast() local 141 if (match == null) { in checkContainsAtLeast() 144 v.remove(match); in checkContainsAtLeast() 148 F match = findMatch(containsAtLeast, v); in checkContainsAtLeast() local 150 if (match == null) { in checkContainsAtLeast() 153 v.remove(match); in checkContainsAtLeast()
|
/cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/ |
D | DirectoryProvider.java | 112 final int match = mURIMatcher.match(uri); in query() local 113 switch (match) { in query() 228 final int match = mURIMatcher.match(uri); in openAssetFile() local 230 switch (match) { in openAssetFile()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/scripts/ |
D | ca.conf | 68 countryName = match 69 stateOrProvinceName = match 70 organizationName = match
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | USBAudioPeripheralButtonsActivity.java | 111 boolean match = mHasBtnA && mHasBtnB && mHasBtnC; in calculateMatch() 112 Log.i(TAG, "match:" + match); in calculateMatch() 113 getPassButton().setEnabled(match); in calculateMatch()
|
/cts/tests/inputmethod/mockspellchecker/src/com/android/cts/mockspellchecker/ |
D | mockspellchecker.proto | 24 // If the string matches 'match', SuggestionsInfo with attributes and suggestions are appended. 26 optional string match = 1; field
|
D | MockSpellChecker.kt | 78 return configuration.suggestionRulesList.find { it.match == textInfo.text } in matchSentenceSuggestion() 97 .find { it.match == textInfo.text } in onGetSuggestions()
|
/cts/suite/audio_quality/lib/src/audio/ |
D | AudioHardware.cpp | 48 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/database/src/android/database/sqlite/cts/ |
D | SQLiteFtsTest.java | 119 private Cursor queryFtsTable(String table, String match) { in queryFtsTable() argument 121 "content MATCH ?", new String[] { match }, in queryFtsTable()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ResolveInfoTest.java | 66 assertEquals(resolveInfo.match, infoFromParcel.match); in testDump()
|
/cts/apps/CameraITS/build/scripts/ |
D | gpylint_rcfile | 108 # Regular expression which should only match correct argument names 111 # Regular expression which should only match correct instance attribute names 120 # Regular expression which should only match correct attribute names in class 124 # Regular expression which should only match correct class names 127 # Regular expression which should only match correct module level names 134 # Regular expression which should only match correct function names 141 # Regular expression which should only match correct list comprehension / 145 # Regular expression which should only match correct method names 149 # Regular expression which should only match correct module names 156 # Regular expression which should only match function or class names that do [all …]
|
/cts/hostsidetests/inputmethodservice/deviceside/provider/src/android/inputmethodservice/cts/provider/ |
D | UriHelper.java | 57 if (mUriMatcher.match(uri) == UriMatcher.NO_MATCH) { in newInstance() 65 return mUriTypeMap.get(mUriMatcher.match(uri), null); in getTypeOf()
|
/cts/tests/tests/contactsprovider/gal/src/android/provider/cts/contacts/galprovider/ |
D | CtsGalProvider.java | 77 final int match = sURIMatcher.match(uri); in query() local 79 switch (match) { in query()
|
/cts/tests/tests/rscpp/librscpptest/ |
D | shared.rsh | 24 /* These constants must match those in UnitTest.java */
|
/cts/tests/tests/rsblas/src/android/renderscript/cts/ |
D | shared.rsh | 24 /* These constants must match those in UnitTest.java */
|