/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | ScanFilterTest.java | 80 assertTrue("setName filter fails", filter.matches(mScanResult)); in testsetNameFilter() 83 assertFalse("setName filter fails", filter.matches(mScanResult)); in testsetNameFilter() 92 assertTrue("device filter fails", filter.matches(mScanResult)); in testDeviceAddressFilter() 95 assertFalse("device filter fails", filter.matches(mScanResult)); in testDeviceAddressFilter() 105 assertTrue("uuid filter fails", filter.matches(mScanResult)); in testsetServiceUuidFilter() 110 assertFalse("uuid filter fails", filter.matches(mScanResult)); in testsetServiceUuidFilter() 118 assertTrue("uuid filter fails", filter.matches(mScanResult)); in testsetServiceUuidFilter() 128 assertTrue("uuid filter fails", filter.matches(mScanResult)); in testsetServiceSolicitationUuidFilter() 133 assertFalse("uuid filter fails", filter.matches(mScanResult)); in testsetServiceSolicitationUuidFilter() 140 assertTrue("uuid filter fails", filter.matches(mScanResult)); in testsetServiceSolicitationUuidFilter() [all …]
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | InstantAppTest.java | 59 final List<ResolveInfo> matches = in testInstantAppResolverQuery() local 61 assertTrue(matches == null || matches.size() <= 1); in testInstantAppResolverQuery() 73 final List<ResolveInfo> matches = in testInstantAppInstallerQuery() local 75 assertTrue(matches == null || matches.size() <= 1); in testInstantAppInstallerQuery()
|
/cts/tests/tests/rcs/src/android/telephony/ims/cts/ |
D | RcsEventTest.java | 102 event -> matches(rcsGroupThreadParticipantJoinedEvent, event)); in testCreateRcsEvent_canSaveAndQueryGroupThreadParticipantJoinedEvent() 116 event -> matches(rcsGroupThreadNameChangedEvent, event)); in testCreateRcsEvent_canSaveAndQueryGroupThreadNameChangedEvent() 129 event -> matches(rcsParticipantAliasChangedEvent, event)); in testCreateRcsEvent_canSaveAndQueryParticipantAliasChangedEvent() 143 event -> matches(rcsGroupThreadParticipantLeftEvent, event)); in testCreateRcsEvent_canSaveAndQueryGroupThreadParticipantLeftEvent() 159 event -> matches(rcsGroupThreadIconChangedEvent, event)); in testCreateRcsEvent_canSaveAndQueryGroupThreadIconChangedEvent() 174 private boolean matches(RcsGroupThreadParticipantJoinedEvent expected, RcsEvent actual) { in matches() method in RcsEventTest 187 private boolean matches(RcsGroupThreadNameChangedEvent expected, RcsEvent actual) { in matches() method in RcsEventTest 198 private boolean matches(RcsGroupThreadParticipantLeftEvent expected, RcsEvent actual) { in matches() method in RcsEventTest 211 private boolean matches(RcsGroupThreadIconChangedEvent expected, RcsEvent actual) { in matches() method in RcsEventTest 231 private boolean matches(RcsParticipantAliasChangedEvent expected, RcsEvent actual) { in matches() method in RcsEventTest
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BuildTest.java | 235 assertTrue(BOARD_PATTERN.matcher(Build.BOARD).matches()); in testBuildConstants() 237 assertTrue(BRAND_PATTERN.matcher(Build.BRAND).matches()); in testBuildConstants() 239 assertTrue(DEVICE_PATTERN.matcher(Build.DEVICE).matches()); in testBuildConstants() 243 assertTrue(HARDWARE_PATTERN.matcher(Build.HARDWARE).matches()); in testBuildConstants() 247 assertTrue(ID_PATTERN.matcher(Build.ID).matches()); in testBuildConstants() 253 assertTrue(PRODUCT_PATTERN.matcher(Build.PRODUCT).matches()); in testBuildConstants() 255 assertTrue(SERIAL_NUMBER_PATTERN.matcher(Build.SERIAL).matches()); in testBuildConstants() 257 assertTrue(TAGS_PATTERN.matcher(Build.TAGS).matches()); in testBuildConstants() 261 assertTrue(TYPE_PATTERN.matcher(Build.TYPE).matches()); in testBuildConstants()
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | DexApiDocumentParser.java | 102 int matchCount = (matchField.matches() ? 1 : 0) + (matchMethod.matches() ? 1 : 0); in parseLine() 110 if (matchField.matches()) { in parseLine() 113 } else if (matchMethod.matches()) { in parseLine()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecListTest.java | 502 if (name.matches("(?i)\\b(encoder|enc)\\b")) { in testKindInCodecNamesIsMeaningful() 505 if (name.matches("(?i)\\b(decoder|dec)\\b")) { in testKindInCodecNamesIsMeaningful() 517 if (name.matches("(?i)\\b(mp(eg)?2)\\b")) { in testMediaTypeInCodecNamesIsMeaningful() 522 if (name.matches("(?i)\\b(h\\.?263)\\b")) { in testMediaTypeInCodecNamesIsMeaningful() 525 if (name.matches("(?i)\\b(mp(eg)?4)\\b")) { in testMediaTypeInCodecNamesIsMeaningful() 528 if (name.matches("(?i)\\b(h\\.?264|avc)\\b")) { in testMediaTypeInCodecNamesIsMeaningful() 531 if (name.matches("(?i)\\b(vp8)\\b")) { in testMediaTypeInCodecNamesIsMeaningful() 534 if (name.matches("(?i)\\b(h\\.?265|hevc)\\b")) { in testMediaTypeInCodecNamesIsMeaningful() 537 if (name.matches("(?i)\\b(vp9)\\b")) { in testMediaTypeInCodecNamesIsMeaningful() 540 if (name.matches("(?i)\\b(av0?1)\\b")) { in testMediaTypeInCodecNamesIsMeaningful() [all …]
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | AccessibilityEventFilterUtils.java | 38 return (new AccessibilityEventTypeMatcher(eventType))::matches; in filterForEventType() 43 .and(new WindowChangesMatcher(changes)))::matches; in filterWindowsChangedWithChangeTypes() 52 return (both(new AccessibilityEventTypeMatcher(eventType)).and(matchResourceName))::matches; in filterForEventTypeWithResource() 59 new WindowTitleMatcher(uiAutomation, title))::matches; in filterWindowsChangeTypesAndWindowTitle()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ARTBootASLRTest.java | 42 if (line.matches("/system/.*boot\\.art")) { in testARTASLR() 44 } else if (line.matches(".*boot\\.art")) { in testARTASLR()
|
/cts/libs/vogar-expect/src/vogar/ |
D | Expectation.java | 97 public boolean matches(Outcome outcome) { in matches() method in Expectation 102 return pattern.matcher(outcome.getOutput()).matches(); in patternMatches()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | TextUtils.java | 42 if (start.matcher(line).matches()) { in extractSection() 54 if (end.matcher(line).matches()) { in extractSection()
|
D | CtsMouseUtil.java | 106 public boolean matches(MotionEvent actual) { in matches() method in CtsMouseUtil.ActionMatcher 127 public boolean matches(MotionEvent actual) { in matches() method in CtsMouseUtil.PositionMatcher 128 return super.matches(actual) in matches()
|
D | Within.java | 55 if (data.getWanted().matches(invocation)) { in verify()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | TextUtils.java | 42 if (start.matcher(line).matches()) { in extractSection() 54 if (end.matcher(line).matches()) { in extractSection()
|
D | CtsMouseUtil.java | 106 public boolean matches(MotionEvent actual) { in matches() method in CtsMouseUtil.ActionMatcher 127 public boolean matches(MotionEvent actual) { in matches() method in CtsMouseUtil.PositionMatcher 128 return super.matches(actual) in matches()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityPaneTest.java | 95 }), (new ContentChangesMatcher(CONTENT_CHANGE_TYPE_PANE_TITLE))::matches, in windowLikeViewSettersWork_andNewValuesReportedToAccessibility() 106 new ContentChangesMatcher(CONTENT_CHANGE_TYPE_PANE_APPEARED))::matches; in windowLikeViewVisibility_reportAsWindowStateChanges() 109 new ContentChangesMatcher(CONTENT_CHANGE_TYPE_PANE_DISAPPEARED))::matches; in windowLikeViewVisibility_reportAsWindowStateChanges()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | AmStartOptionsTests.java | 158 if (matcher.matches()) { in verifyShellOutput() 163 if (matcher.matches()) { in verifyShellOutput() 168 if (matcher.matches()) { in verifyShellOutput()
|
/cts/tests/tests/selinux/common/src/android/security/ |
D | SELinuxTargetSdkTestBase.java | 44 "found:\n" + line, m.matches()); in noExecuteOnly() 126 assertTrue(msg, m.matches()); in appDomainContext() 139 assertTrue(msg, m.matches()); in appDataContext()
|
/cts/apps/CtsVerifier/jni/midi/ |
D | MidiTestManager.cpp | 142 bool matches = true; in matchStream() local 146 matches = false; in matchStream() 156 ALOGI(" returns:%d", matches); in matchStream() 158 return matches; in matchStream()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | CharSequenceMatcher.java | 28 public boolean matches(CharSequence actual) { in matches() method in CharSequenceMatcher
|
/cts/tests/tests/util/src/android/util/cts/ |
D | PatternsTest.java | 38 assertTrue("WEB_URL pattern should match commas", Patterns.WEB_URL.matcher(url).matches()); in testWebUrl_matchesUrlsWithCommasInRequestParameterValues()
|
/cts/hostsidetests/cpptools/src/com/android/cts/cpptools/ |
D | RunAsHostTest.java | 40 appIdMatcher.matches()); in testRunAs()
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | RootProcessScanner.java | 100 return pathname.isDirectory() && Pattern.matches("\\d+", pathname.getName()); in isPidDirectory() 162 return !ROOT_PROCESS_WHITELIST_PATTERN.matcher(name).matches() in isRootProcess()
|
/cts/hostsidetests/os/src/android/os/cts/ |
D | ProcfsHostTests.java | 173 if (m.matches()) { in startTestApp() 199 pattern.matcher(readResult).matches()); in readAndCheckFile()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | MidiActivity.java | 489 public boolean matches(byte[] msg, int offset, int count) { in matches() method in MidiActivity.TestMessage 717 boolean matches = true; in matchStream() 721 matches = false; in matchStream() 731 Log.i(TAG, " returns:" + matches); in matchStream() 733 return matches; in matchStream()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | InMatcher.java | 46 public boolean matches(Object o) { in matches() method in InMatcher
|