Home
last modified time | relevance | path

Searched refs:matches (Results 1 – 25 of 46) sorted by relevance

12

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DScanFilterTest.java79 assertTrue("setName filter fails", filter.matches(mScanResult)); in testsetNameFilter()
82 assertFalse("setName filter fails", filter.matches(mScanResult)); in testsetNameFilter()
91 assertTrue("device filter fails", filter.matches(mScanResult)); in testDeviceAddressFilter()
94 assertFalse("device filter fails", filter.matches(mScanResult)); in testDeviceAddressFilter()
104 assertTrue("uuid filter fails", filter.matches(mScanResult)); in testsetServiceUuidFilter()
109 assertFalse("uuid filter fails", filter.matches(mScanResult)); in testsetServiceUuidFilter()
117 assertTrue("uuid filter fails", filter.matches(mScanResult)); in testsetServiceUuidFilter()
129 assertTrue("service data filter fails", filter.matches(mScanResult)); in testsetServiceDataFilter()
133 assertTrue("service data filter fails", filter.matches(mScanResult)); in testsetServiceDataFilter()
138 assertTrue("service data filter fails", filter.matches(mScanResult)); in testsetServiceDataFilter()
[all …]
/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.java65 if (m.matches()) { in getFieldFromCpuinfo()
/cts/hostsidetests/services/activitymanager/src/android/server/cts/
DActivityManagerState.java134 if (matcher.matches()) { in parseSysDump()
143 if (matcher.matches()) { in parseSysDump()
151 if (matcher.matches()) { in parseSysDump()
284 if (!matcher.matches()) { in create()
330 if (matcher.matches()) { in extract()
387 if (!matcher.matches()) { in create()
434 if (matcher.matches()) { in extract()
443 if (matcher.matches()) { in extract()
449 if (matcher.matches()) { in extract()
459 if (matcher.matches()) { in extract()
[all …]
DWindowManagerState.java168 if (matcher.matches()) { in parseSysDump()
177 if (matcher.matches()) { in parseSysDump()
186 if (matcher.matches()) { in parseSysDump()
296 if (!matcher.matches()) { in create()
372 if (!matcher.matches()) { in create()
401 if (matcher.matches()) { in extract()
407 if (matcher.matches()) { in extract()
433 if (pattern.matcher(line).matches()) { in doneExtracting()
442 if (!matcher.matches()) { in extractFullscreen()
454 if (!matcher.matches()) { in extractBounds()
[all …]
DActivityManagerTestBase.java199 if (matcher.matches()) { in getActivityTaskId()
252 if (matcher.matches()) { in isDisplayOn()
393 if (matcher.matches()) { in getLastReportedSizesForActivity()
417 if (matcher.matches()) { in ActivityLifecycleCounts()
423 if (matcher.matches()) { in ActivityLifecycleCounts()
429 if (matcher.matches()) { in ActivityLifecycleCounts()
/cts/tests/tests/security/src/android/security/cts/
DARTBootASLRTest.java40 if (line.matches("/system/.*boot\\.art")) { in testARTASLR()
42 } else if (line.matches(".*boot\\.art")) { in testARTASLR()
DEncryptionTest.java60 if (p.matcher(line).matches()) { in hasKernelCrypto()
DAslrTest.java59 if (m.matches()) { in readMappingAddress()
/cts/tests/tests/telephony/src/android/telephony/cts/
DTelephonyManagerTest.java258 Pattern.matches(imeiPattern, deviceId)); in assertGsmDeviceId()
318 Pattern.matches(esnPattern, deviceId)); in assertHexadecimalEsnFormat()
327 Pattern.matches(meidPattern, deviceId)); in assertMeidFormat()
336 Pattern.matches("[0-9A-Za-z]+", Build.SERIAL)); in assertSerialNumber()
342 Pattern.matches(macPattern, macAddress)); in assertMacAddress()
384 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode)); in testGetNetworkCountryIso()
396 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode)); in testGetSimCountryIso()
/cts/libs/vogar-expect/src/vogar/
DExpectation.java97 public boolean matches(Outcome outcome) { in matches() method in Expectation
102 return pattern.matcher(outcome.getOutput()).matches(); in patternMatches()
DOutcome.java138 return expectation.matches(this) ? ResultValue.OK : ResultValue.FAIL; in getResultValue()
/cts/tests/tests/util/src/android/util/cts/
DPatternsTest.java30 assertTrue("WEB_URL pattern should match commas", Patterns.WEB_URL.matcher(url).matches()); in testWebUrl_matchesUrlsWithCommasInRequestParameterValues()
/cts/tools/dex-tools/
DTODO.txt4 Check if fileformat version matches dex reader
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTest.java74 if (m.matches()) { in parseLine()
85 if (m.matches()) { in parseLine()
96 if (m.matches()) { in parseLine()
/cts/hostsidetests/cpptools/src/com/android/cts/cpptools/
DRunAsHostTest.java40 appIdMatcher.matches()); in testRunAs()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DRootProcessScanner.java100 return pathname.isDirectory() && Pattern.matches("\\d+", pathname.getName()); in isPidDirectory()
162 return !ROOT_PROCESS_WHITELIST_PATTERN.matcher(name).matches() in isRootProcess()
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/
DInMatcher.java46 public boolean matches(Object o) { in matches() method in InMatcher
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DPropertyDeviceInfo.java54 if (matcher.matches()) { in collectRoProperties()
/cts/tests/tests/webkit/src/android/webkit/cts/
DCookieManagerTest.java119 assertTrue(m.matches()); in testAcceptCookie()
129 assertTrue(m.matches()); in testAcceptCookie()
140 assertTrue(m.matches()); in testAcceptCookie()
DWebViewStartupTest.java89 assertTrue(m.matches()); in testCookieManagerBlockingUiThread()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/build/
DCtsBuildProvider.java98 if (RELEASE_BUILD.matcher(buildAlias).matches()) { in getBuild()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/
DCompatibilityBuildProvider.java92 if (RELEASE_BUILD.matcher(buildAlias).matches()) { in getBuild()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DTestFilter.java146 if (mIncludedMethod != null && !mIncludedMethod.matcher(test.getTestName()).matches()) { in filter()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_Audio_PlaylistsTest.java125 assertTrue(Pattern.matches("content://media/internal/audio/playlists/\\d+", in testStoreAudioPlaylistsInternal()

12