Home
last modified time | relevance | path

Searched refs:matched (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/util/
DSearchUtilTest.java33 SearchUtil.MatchedLine matched = SearchUtil.findMatchingLine(actual, "poten"); in testFindMatchingLine() local
34 assertEquals("With potentially many lines.", matched.line); in testFindMatchingLine()
35 assertEquals(5, matched.startIndex); in testFindMatchingLine()
38 matched = SearchUtil.findMatchingLine(actual, "hello"); in testFindMatchingLine()
39 assertEquals("hello", matched.line); in testFindMatchingLine()
40 assertEquals(0, matched.startIndex); in testFindMatchingLine()
43 matched = SearchUtil.findMatchingLine(actual, "this"); in testFindMatchingLine()
44 assertEquals("this is a long test string.", matched.line); in testFindMatchingLine()
45 assertEquals(0, matched.startIndex); in testFindMatchingLine()
48 matched = SearchUtil.findMatchingLine(actual, "punc"); in testFindMatchingLine()
[all …]
/packages/apps/Settings/src/com/android/settings/password/
DConfirmLockPassword.java364 boolean matched = false; in startVerifyPassword()
366 matched = true; in startVerifyPassword()
373 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs, in startVerifyPassword()
393 public void onChecked(boolean matched, int timeoutMs) { in startCheckPassword()
395 if (matched && isInternalActivity() && mReturnCredentials) { in startCheckPassword()
402 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs, in startCheckPassword()
433 private void onPasswordChecked(boolean matched, Intent intent, int timeoutMs, in onPasswordChecked() argument
436 if (matched) { in onPasswordChecked()
460 public void onCredentialChecked(boolean matched, Intent intent, int timeoutMs, in onCredentialChecked() argument
462 onPasswordChecked(matched, intent, timeoutMs, effectiveUserId, newResult); in onCredentialChecked()
DConfirmLockPattern.java433 boolean matched = false;
435 matched = true;
442 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs,
470 public void onChecked(boolean matched, int timeoutMs) {
472 if (matched && isInternalActivity() && mReturnCredentials) {
478 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs,
485 private void onPatternChecked(boolean matched, Intent intent, int timeoutMs, in onPatternChecked() argument
488 if (matched) { in onPatternChecked()
513 public void onCredentialChecked(boolean matched, Intent intent, int timeoutMs, in onCredentialChecked() argument
515 onPatternChecked(matched, intent, timeoutMs, effectiveUserId, newResult); in onCredentialChecked()
DCredentialCheckResultTracker.java55 public void setResult(boolean matched, Intent intent, int timeoutMs, int effectiveUserId) { in setResult() argument
56 mResultMatched = matched; in setResult()
78 public void onCredentialChecked(boolean matched, Intent intent, int timeoutMs, in onCredentialChecked() argument
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmLockPassword.java364 boolean matched = false; in startVerifyPassword()
366 matched = true; in startVerifyPassword()
373 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs, in startVerifyPassword()
393 public void onChecked(boolean matched, int timeoutMs) { in startCheckPassword()
395 if (matched && isInternalActivity() && mReturnCredentials) { in startCheckPassword()
402 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs, in startCheckPassword()
433 private void onPasswordChecked(boolean matched, Intent intent, int timeoutMs, in onPasswordChecked() argument
436 if (matched) { in onPasswordChecked()
460 public void onCredentialChecked(boolean matched, Intent intent, int timeoutMs, in onCredentialChecked() argument
462 onPasswordChecked(matched, intent, timeoutMs, effectiveUserId, newResult); in onCredentialChecked()
DConfirmLockPattern.java433 boolean matched = false;
435 matched = true;
442 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs,
470 public void onChecked(boolean matched, int timeoutMs) {
472 if (matched && isInternalActivity() && mReturnCredentials) {
478 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs,
485 private void onPatternChecked(boolean matched, Intent intent, int timeoutMs, in onPatternChecked() argument
488 if (matched) { in onPatternChecked()
513 public void onCredentialChecked(boolean matched, Intent intent, int timeoutMs, in onCredentialChecked() argument
515 onPatternChecked(matched, intent, timeoutMs, effectiveUserId, newResult); in onCredentialChecked()
DCredentialCheckResultTracker.java55 public void setResult(boolean matched, Intent intent, int timeoutMs, int effectiveUserId) { in setResult() argument
56 mResultMatched = matched; in setResult()
78 public void onCredentialChecked(boolean matched, Intent intent, int timeoutMs, in onCredentialChecked() argument
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DCheckLockWorker.java52 public void onChecked(boolean matched, int throttleTimeoutMs) { in onChecked() argument
57 mLockMatched = matched; in onChecked()
59 mListener.onCheckCompleted(matched); in onChecked()
113 void onCheckCompleted(boolean matched); in onCheckCompleted() argument
/packages/apps/Dialer/java/com/android/contacts/common/util/
DSearchUtil.java33 final MatchedLine matched = new MatchedLine(); in findMatchingLine() local
54 matched.line = contents.substring(start + 1, end); in findMatchingLine()
55 matched.startIndex = index - (start + 1); in findMatchingLine()
57 return matched; in findMatchingLine()
/packages/apps/Contacts/src/com/android/contacts/util/
DSearchUtil.java50 final MatchedLine matched = new MatchedLine(); in findMatchingLine() local
71 matched.line = contents.substring(start + 1, end); in findMatchingLine()
72 matched.startIndex = index - (start + 1); in findMatchingLine()
74 return matched; in findMatchingLine()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state.cpp224 const bool matched = (currentCodePoints[j] == baseLowerC in getProximityType() local
226 if (matched) { in getProximityType()
239 const bool matched = (currentCodePoints[j] == baseLowerC in getProximityType() local
241 if (matched) { in getProximityType()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredNfcFServicesCache.java280 boolean matched = false; in invalidateCache()
284 matched = true; in invalidateCache()
288 if (!matched) { in invalidateCache()
291 matched = false; in invalidateCache()
296 matched = true; in invalidateCache()
300 if (!matched) { in invalidateCache()
303 matched = false; in invalidateCache()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSpannableStringUtils.java162 boolean matched = false; in split()
166 matched = true; in split()
168 if (!matched) { in split()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dshortcut_dict_content.cpp162 bool matched = true; in findShortcutEntryAndGetPos() local
165 matched = false; in findShortcutEntryAndGetPos()
169 if (matched) { in findShortcutEntryAndGetPos()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dshortcut_dict_content.cpp177 bool matched = true; in findShortcutEntryAndGetPos() local
180 matched = false; in findShortcutEntryAndGetPos()
184 if (matched) { in findShortcutEntryAndGetPos()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListItemView.java1726 final SearchUtil.MatchedLine matched = SearchUtil.findMatchingLine(snippet, query); in updateSnippet() local
1728 if (matched != null && matched.line != null) { in updateSnippet()
1734 if (matched.line.length() > lengthThreshold) { in updateSnippet()
1735 return snippetize(matched.line, matched.startIndex, lengthThreshold); in updateSnippet()
1737 return matched.line; in updateSnippet()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dsax.md53 These events can be easily matched with the JSON, except some event parameters need further explana…
DDoxyfile.in836 # Note that the wildcards are matched against the file with absolute path, so to
847 # Note that the wildcards are matched against the file with absolute path, so to
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile656 # certain files from those directories. Note that the wildcards are matched
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile656 # certain files from those directories. Note that the wildcards are matched
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz