Searched refs:matched (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DAccessibilityManagerTest.java214 * @param matched The event to check.
215 * @return True if expectations are matched.
217 private static AccessibilityEvent eqAccessibilityEvent(AccessibilityEvent matched) { argument
218 reportMatcher(new AccessibilityEventMather(matched));
243 public boolean matches(Object matched) { argument
244 if (!(matched instanceof AccessibilityEvent)) {
247 AccessibilityEvent receivedEvent = (AccessibilityEvent) matched;
263 public boolean matches(Object matched) { argument
264 if (!(matched instanceof IAccessibilityManagerClient)) {
/frameworks/base/core/jni/
H A Dandroid_net_TrafficStats.cpp89 int matched = sscanf(buffer, "%31s %" SCNu64 " %" SCNu64 " %" SCNu64 local
93 if (matched >= 5) {
94 if (matched == 7) {
102 if (matched == 7) {
/frameworks/base/services/core/java/com/android/server/
H A DLockSettingsService.java323 boolean matched = Arrays.equals(hash, storedHash);
324 if (matched && !TextUtils.isEmpty(pattern)) {
327 return matched;
341 boolean matched = Arrays.equals(hash, storedHash);
342 if (matched && !TextUtils.isEmpty(password)) {
345 return matched;
/frameworks/compile/mclinker/lib/Object/
H A DSectionMap.cpp185 if (matched(**in, pInputFile, pInputSection))
199 if (matched(**in, pInputFile, pInputSection))
308 bool SectionMap::matched(const SectionMap::Input& pInput, function in class:SectionMap
312 if (pInput.spec().hasFile() && !matched(pInput.spec().file(), pInputFile))
319 if (matched(llvm::cast<WildcardPattern>(**file), pInputFile)) {
328 if (matched(llvm::cast<WildcardPattern>(**sect), pInputSection)) {
337 bool SectionMap::matched(const WildcardPattern& pPattern, function in class:SectionMap
/frameworks/compile/mclinker/include/mcld/Object/
H A DSectionMap.h198 bool matched(const Input& pInput,
202 bool matched(const WildcardPattern& pPattern, const std::string& pName) const;
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java1180 private boolean matched; field in class:AbstractMessageParser.Format
1188 public void setMatched(boolean matched) { this.matched = matched; } argument
1193 // This character only implies special formatting if it was matched.
1195 if (matched) {
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java454 int matched;
466 matched = 0;
492 ia--; ib--; matched++;
496 if (matched < MIN_MATCH) {
501 // if the number of dialable chars in a and b match, but the matched chars < MIN_MATCH,
503 if (effectiveALen == effectiveBLen && effectiveALen == matched) {
510 // At least one string has matched completely;
511 if (matched >= MIN_MATCH && (ia < 0 || ib < 0)) {
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp1096 bool matched = true;
1110 matched = false;
1114 return matched ? 0 : 1;
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java962 boolean matched = false;
965 matched = true;
970 if (!matched) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTrackerBase.java750 ApnSetting matched = fetchDunApn();
751 log("hasMatchedTetherApnSetting: APN=" + matched);
752 return matched != null;
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp2459 bool matched = false; local
2463 matched = true;
2466 matched = ((*it)->flag() & llvm::ELF::SHF_WRITE) == 0;
2469 matched = ((*it)->flag() & llvm::ELF::SHF_WRITE) != 0;
2473 if (matched)

Completed in 217 milliseconds