Home
last modified time | relevance | path

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

/cts/hostsidetests/monkey/src/com/android/cts/monkey/
DPackageTest.java33 assertTrue(out, ALLOW_MONKEY.matcher(out).find()); in testSinglePackage()
34 assertFalse(out, ALLOW_CHIMP.matcher(out).find()); in testSinglePackage()
37 assertFalse(out, ALLOW_MONKEY.matcher(out).find()); in testSinglePackage()
38 assertTrue(out, ALLOW_CHIMP.matcher(out).find()); in testSinglePackage()
44 assertTrue(out, ALLOW_MONKEY.matcher(out).find()); in testMultiplePackages()
45 assertTrue(out, ALLOW_CHIMP.matcher(out).find()); in testMultiplePackages()
/cts/hostsidetests/usb/src/com/android/cts/usb/
DTestUsbTest.java98 Matcher matcher = pattern.matcher(lsusbOutput); in testUsbSerial() local
100 while (matcher.find()) { in testUsbSerial()
101 String currentSerial = matcher.group(1).toLowerCase(); in testUsbSerial()
123 matcher = pattern.matcher(logs); in testUsbSerial()
125 while (matcher.find()) { in testUsbSerial()
126 String currentSerial = matcher.group(1).toLowerCase(); in testUsbSerial()
/cts/libs/vogar-expect/src/vogar/util/
DStrings.java107 Matcher matcher = XML_INVALID_CHARS.matcher(text); in xmlSanitize() local
108 while (matcher.find()) { in xmlSanitize()
109 matcher.appendReplacement(result, ""); in xmlSanitize()
110 result.append(escapeCodePoint(matcher.group())); in xmlSanitize()
112 matcher.appendTail(result); in xmlSanitize()
/cts/tests/tests/os/src/android/os/cts/
DBuildTest.java192 assertTrue(BOARD_PATTERN.matcher(Build.BOARD).matches()); in testBuildConstants()
194 assertTrue(BRAND_PATTERN.matcher(Build.BRAND).matches()); in testBuildConstants()
196 assertTrue(DEVICE_PATTERN.matcher(Build.DEVICE).matches()); in testBuildConstants()
200 assertTrue(HARDWARE_PATTERN.matcher(Build.HARDWARE).matches()); in testBuildConstants()
204 assertTrue(ID_PATTERN.matcher(Build.ID).matches()); in testBuildConstants()
210 assertTrue(PRODUCT_PATTERN.matcher(Build.PRODUCT).matches()); in testBuildConstants()
212 assertTrue(SERIAL_NUMBER_PATTERN.matcher(Build.SERIAL).matches()); in testBuildConstants()
214 assertTrue(TAGS_PATTERN.matcher(Build.TAGS).matches()); in testBuildConstants()
218 assertTrue(TYPE_PATTERN.matcher(Build.TYPE).matches()); in testBuildConstants()
DCpuFeaturesTest.java64 Matcher m = p.matcher(line); in getFieldFromCpuinfo()
/cts/tests/tests/calllog/src/android/calllog/cts/
DCallLogBackupTest.java165 Matcher matcher = BMGR_ENABLED_PATTERN.matcher(output.trim()); in enableBackup() local
166 if (matcher.find()) { in enableBackup()
167 previouslyEnabled = "enabled".equals(matcher.group(1)); in enableBackup()
189 Matcher matcher = pattern.matcher(output); in setBackupTransport() local
190 if (matcher.find()) { in setBackupTransport()
191 return matcher.group(1); in setBackupTransport()
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTest.java73 Matcher m = sLineWithTgid.matcher(line); in parseLine()
84 m = sLineWithIrqInfo.matcher(line); in parseLine()
95 m = sLineLegacy.matcher(line); in parseLine()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DMessageTestActivity.java299 Matcher matcher = MESSAGE_PATTERN.matcher(msg); in addNewMessage() local
300 if (matcher.matches()) { in addNewMessage()
301 int number = Integer.valueOf(matcher.group(1)); in addNewMessage()
/cts/libs/vogar-expect/src/vogar/
DExpectation.java102 return pattern.matcher(outcome.getOutput()).matches(); in patternMatches()
/cts/tests/tests/security/src/android/security/cts/
DEncryptionTest.java57 if (p.matcher(line).matches()) { in hasKernelCrypto()
/cts/tools/vm-tests-tf/src/util/build/
DBuildDalvikSuite.java668 Matcher m = p.matcher(methodSource);
676 Matcher loadMatcher = loadPattern.matcher(methodSource);
684 Matcher loadAndRunMatcher = loadAndRunPattern.matcher(methodSource);
766 Matcher m = p.matcher(all);
773 .matcher(res);
784 Matcher constraintM = Pattern.compile("@constraint (.*)").matcher(
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewStartupTest.java87 Matcher m = pat.matcher(cookie); in testCookieManagerBlockingUiThread()
DCookieManagerTest.java118 Matcher m = pat.matcher(cookie); in testAcceptCookie()
128 m = pat.matcher(cookie); in testAcceptCookie()
139 m = pat.matcher(cookie); in testAcceptCookie()
DWebSettingsTest.java129 Matcher patternMatcher = userAgentExpr.matcher(actualUserAgentString); in testUserAgentString_default()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DGeeTestResultParser.java405 Matcher time = timePattern.matcher(identifier); in parseTestIdentifier()
435 Matcher numTests = numTestsPattern.matcher(identifier); in processRunStartedTag()
461 Matcher time = timePattern.matcher(identifier); in processRunCompletedTag()
DTestFilter.java146 if (mIncludedMethod != null && !mIncludedMethod.matcher(test.getTestName()).matches()) { in filter()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DCameraErrorCollector.java87 public <T> void checkThat(final T value, final Matcher<T> matcher) { in checkThat() argument
88 super.checkThat(mCameraMsg, value, matcher); in checkThat()
98 public <T> void checkThat(final String reason, final T value, final Matcher<T> matcher) { in checkThat() argument
99 super.checkThat(mCameraMsg + reason, value, matcher); in checkThat()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DRootProcessScanner.java162 return !ROOT_PROCESS_WHITELIST_PATTERN.matcher(name).matches() in isRootProcess()
/cts/suite/cts/deviceTests/browserbench/src/com/android/cts/browser/
DBrowserBenchTest.java92 Matcher matchResult = resultPattern.matcher(uriString); in setUp()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestPackageResult.java260 Matcher m = mCtsLogPattern.matcher(perfResult); in populateMetrics()
/cts/hostsidetests/security/src/android/cts/security/
DSELinuxHostTest.java720 Matcher m = p.matcher(psOutString); in createProcMap()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java747 Matcher m = p.matcher(value); in getResponse()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex47321 private java.util.regex.Matcher matcher
58701 public java.util.regex.Matcher matcher(