Home
last modified time | relevance | path

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

12

/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/modules/StatsD/statsd/src/matchers/
Dmatcher_util.cpp34 bool matched; in combinationMatch() local
37 matched = true; in combinationMatch()
40 matched = false; in combinationMatch()
47 matched = false; in combinationMatch()
50 matched = true; in combinationMatch()
57 matched = matcherResults[children[0]] == MatchingState::kNotMatched; in combinationMatch()
60 matched = false; in combinationMatch()
63 matched = true; in combinationMatch()
69 matched = true; in combinationMatch()
72 matched = false; in combinationMatch()
[all …]
DSimpleAtomMatchingTracker.cpp74 bool matched = matchesSimple(mUidMap, mMatcher, event); in onLogEvent() local
75 matcherResults[mIndex] = matched ? MatchingState::kMatched : MatchingState::kNotMatched; in onLogEvent()
76 VLOG("Stats SimpleAtomMatcher %lld matched? %d", (long long)mId, matched); in onLogEvent()
DCombinationAtomMatchingTracker.cpp134 bool matched = combinationMatch(mChildren, mLogicalOperation, matcherResults); in onLogEvent() local
135 matcherResults[mIndex] = matched ? MatchingState::kMatched : MatchingState::kNotMatched; in onLogEvent()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmLockPassword.java415 final boolean matched = response.isMatched(); in startVerifyPassword()
416 if (matched && mReturnCredentials) { in startVerifyPassword()
426 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs, in startVerifyPassword()
445 public void onChecked(boolean matched, int timeoutMs) { in startCheckPassword()
447 if (matched && isInternalActivity() && mReturnCredentials) { in startCheckPassword()
456 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs, in startCheckPassword()
487 private void onPasswordChecked(boolean matched, Intent intent, int timeoutMs, in onPasswordChecked() argument
490 if (matched) { in onPasswordChecked()
514 public void onCredentialChecked(boolean matched, Intent intent, int timeoutMs, in onCredentialChecked() argument
516 onPasswordChecked(matched, intent, timeoutMs, effectiveUserId, newResult); in onCredentialChecked()
DConfirmLockPattern.java459 final boolean matched = response.isMatched();
460 if (matched && mReturnCredentials) {
470 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs,
497 public void onChecked(boolean matched, int timeoutMs) {
499 if (matched && isInternalActivity() && mReturnCredentials) {
505 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs,
512 private void onPatternChecked(boolean matched, Intent intent, int timeoutMs, in onPatternChecked() argument
515 if (matched) { in onPatternChecked()
540 public void onCredentialChecked(boolean matched, Intent intent, int timeoutMs, in onCredentialChecked() argument
542 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.java54 public void onChecked(boolean matched, int throttleTimeoutMs) { in onChecked() argument
59 mLockMatched = matched; in onChecked()
62 mListener.onCheckCompleted(matched, throttleTimeoutMs); in onChecked()
123 void onCheckCompleted(boolean matched, int timeoutMs); 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/TvSettings/Settings/src/com/android/tv/settings/service/network/
DNetworkModule.java131 PreferenceParcelable matched = in getAccessPoint() local
136 return matched == null ? accessPoint : new AccessPoint(mContext, matched.getExtras()); in getAccessPoint()
/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/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/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/Nfc/src/com/android/nfc/cardemulation/
DRegisteredNfcFServicesCache.java281 boolean matched = false; in invalidateCache()
285 matched = true; in invalidateCache()
289 if (!matched) { in invalidateCache()
292 matched = false; in invalidateCache()
297 matched = true; in invalidateCache()
301 if (!matched) { in invalidateCache()
304 matched = false; in invalidateCache()
/packages/apps/RemoteProvisioner/tests/unittests/src/com/android/remoteprovisioner/unittest/
DSystemInterfaceTest.java213 boolean matched = false; in testGenerateCSRProvisionAndUseKey()
216 matched = true; in testGenerateCSRProvisionAndUseKey()
227 assertTrue(matched); in testGenerateCSRProvisionAndUseKey()
/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/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java807 boolean matched = false; in matchOis()
816 matched = true; in matchOis()
821 if (matchAll && !matched) { in matchOis()
/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/modules/Wifi/service/proto/src/
Dmetrics.proto3298 // Histogram of requests via this API surface to number of networks matched in scan results.
3378 // Number of times when a ScanResult matched more than one suggestions.
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile656 # certain files from those directories. Note that the wildcards are matched
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile656 # certain files from those directories. Note that the wildcards are matched
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...

12