Home
last modified time | relevance | path

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

12

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DScanFilterTest.java68 assertTrue("setName filter fails", filter.matches(mScanResult)); in testsetNameFilter()
71 assertFalse("setName filter fails", filter.matches(mScanResult)); in testsetNameFilter()
78 assertTrue("device filter fails", filter.matches(mScanResult)); in testDeviceAddressFilter()
81 assertFalse("device filter fails", filter.matches(mScanResult)); in testDeviceAddressFilter()
89 assertTrue("uuid filter fails", filter.matches(mScanResult)); in testsetServiceUuidFilter()
94 assertFalse("uuid filter fails", filter.matches(mScanResult)); in testsetServiceUuidFilter()
102 assertTrue("uuid filter fails", filter.matches(mScanResult)); in testsetServiceUuidFilter()
112 assertTrue("service data filter fails", filter.matches(mScanResult)); in testsetServiceDataFilter()
116 assertTrue("service data filter fails", filter.matches(mScanResult)); in testsetServiceDataFilter()
121 assertTrue("service data filter fails", filter.matches(mScanResult)); in testsetServiceDataFilter()
[all …]
DBluetoothLeScanTest.java121 assertTrue(filter.matches(result)); in testScanFilter()
/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/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.java57 if (p.matcher(line).matches()) { in hasKernelCrypto()
DListeningPortsTest.java220 if (Pattern.matches(pattern, input)) { in isPatternMatch()
/cts/tests/tests/telephony/src/android/telephony/cts/
DTelephonyManagerTest.java248 Pattern.matches(imeiPattern, deviceId)); in assertGsmDeviceId()
308 Pattern.matches(esnPattern, deviceId)); in assertHexadecimalEsnFormat()
317 Pattern.matches(meidPattern, deviceId)); in assertMeidFormat()
326 Pattern.matches("[0-9A-Za-z]+", Build.SERIAL)); in assertSerialNumber()
332 Pattern.matches(macPattern, macAddress)); in assertMacAddress()
374 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode)); in testGetNetworkCountryIso()
386 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()
DExpectationStore.java95 if (entry.getValue().matches(outcome)) { in get()
/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/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/tests/hardware/src/android/hardware/camera2/cts/helpers/
DInMatcher.java46 public boolean matches(Object o) { in matches() method in InMatcher
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewStartupTest.java88 assertTrue(m.matches()); in testCookieManagerBlockingUiThread()
DCookieManagerTest.java119 assertTrue(m.matches()); in testAcceptCookie()
129 assertTrue(m.matches()); in testAcceptCookie()
140 assertTrue(m.matches()); in testAcceptCookie()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DTestFilter.java146 if (mIncludedMethod != null && !mIncludedMethod.matcher(test.getTestName()).matches()) { in filter()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DWifiConfigCreator.java173 || length == 58) && password.matches("[0-9A-Fa-f]*")) { in updateForWEPConfiguration()
/cts/apps/CtsVerifier/libs/
Dopencv-android.jar ... .core.Mat trainDescriptors java.util.List matches int k org.opencv.core.Mat mask ...
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_Audio_PlaylistsTest.java125 assertTrue(Pattern.matches("content://media/internal/audio/playlists/\\d+", in testStoreAudioPlaylistsInternal()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DSensorCtsHelper.java233 if (sanitizedValue.matches("_*")) { in sanitizeStringForFileName()
/cts/tests/tests/graphics/src/android/opengl/cts/
DOpenGlEsVersionTest.java250 assertTrue(message, Pattern.matches(".*OpenGL.*ES.*" + versionString + "\\.\\d.*", in assertGlVersionString()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteQueryBuilderTest.java112 assertTrue(sql.matches("SELECT (age|name|address), (age|name|address), (age|name|address) " in testSetProjectionMap()
121 assertTrue(sql.matches("SELECT (name|address), (name|address) " in testSetProjectionMap()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DMessageTestActivity.java300 if (matcher.matches()) { in addNewMessage()

12