Home
last modified time | relevance | path

Searched refs:regex (Results 1 – 25 of 106) sorted by relevance

12345

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPropertyUtil.java27 import java.util.regex.Matcher;
28 import java.util.regex.Pattern;
134 public static boolean propertyMatches(String property, String regex) { in propertyMatches() argument
135 if (regex == null || regex.isEmpty()) { in propertyMatches()
140 return (value == null) ? false : value.matches(regex); in propertyMatches()
DAppStandbyUtils.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DPropertyUtil.java26 import java.util.regex.Matcher;
27 import java.util.regex.Pattern;
133 public static boolean propertyMatches(String property, String regex) { in propertyMatches() argument
134 if (regex == null || regex.isEmpty()) { in propertyMatches()
139 return (value == null) ? false : value.matches(regex); in propertyMatches()
DAppStandbyUtils.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
/cts/tests/tests/os/src/android/os/cts/
DSPMITest.java24 import java.util.regex.Matcher;
25 import java.util.regex.Pattern;
DCpuFeaturesTest.java25 import java.util.regex.Matcher;
26 import java.util.regex.Pattern;
/cts/hostsidetests/cpptools/src/com/android/cts/cpptools/
DRunAsHostTest.java21 import java.util.regex.Pattern;
22 import java.util.regex.Matcher;
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DPropertyDeviceInfo.java25 import java.util.regex.Matcher;
26 import java.util.regex.Pattern;
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTest.java38 import java.util.regex.Matcher;
39 import java.util.regex.Pattern;
164 Pattern regex = Pattern.compile("^\\w+-(\\w+)_\\d+fps.\\w+"); in data() local
165 Matcher matcher = regex.matcher(file); in data()
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_LinkerNamespacesTest.cpp54 static const std::vector<std::regex> kSystemPathRegexes = {
55 std::regex("/system/lib(64)?"),
56 std::regex("/apex/com\\.android\\.[^/]*/lib(64)?"),
369 for (const auto& regex : kSystemPathRegexes) { in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl() local
370 if (std::regex_match(path, regex)) { in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl()
/cts/suite/audio_quality/lib/src/task/
DTaskCase.cpp113 regex_t regex; in findAllGeneric() local
114 if (regcomp(&regex, re, REG_EXTENDED | REG_NOSUB) != 0) { in findAllGeneric()
121 if (regexec(&regex, it->first, 0, NULL, 0) == 0) { in findAllGeneric()
125 regfree(&regex); in findAllGeneric()
133 regfree(&regex); in findAllGeneric()
/cts/tests/signature/lib/common/src/android/signature/cts/
DDexMethod.java20 import java.util.regex.Matcher;
21 import java.util.regex.Pattern;
DDexApiDocumentParser.java25 import java.util.regex.Matcher;
26 import java.util.regex.Pattern;
/cts/hostsidetests/incident/src/com/android/server/cts/
DPackageIncidentTest.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
/cts/tests/tests/security/src/android/security/cts/
DAslrTest.java34 import java.util.regex.Matcher;
35 import java.util.regex.Pattern;
/cts/tests/tests/opengl/src/android/opengl/cts/
DEgl14Utils.java27 import java.util.regex.Matcher;
28 import java.util.regex.Pattern;
/cts/libs/vogar-expect/src/vogar/util/
DStrings.java32 import java.util.regex.Matcher;
33 import java.util.regex.Pattern;
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DStoragedDumpsysTest.java24 import java.util.regex.Matcher;
25 import java.util.regex.Pattern;
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DRegexUtils.java20 import java.util.regex.Pattern;
21 import java.util.regex.Matcher;
DSecurityTestCase.java25 import java.util.regex.Pattern;
26 import java.util.regex.Matcher;
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DBaseShortcutManagerHostTest.java42 import java.util.regex.MatchResult;
43 import java.util.regex.Matcher;
44 import java.util.regex.Pattern;
/cts/hostsidetests/backup/src/android/cts/backup/
DBaseBackupHostSideTest.java40 import java.util.regex.Matcher;
41 import java.util.regex.Pattern;
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DAccountCheckHostSideTest.java23 import java.util.regex.Matcher;
24 import java.util.regex.Pattern;
/cts/tools/cts-media-preparer-app/src/android/mediastress/cts/preconditions/app/
DMediaPreparerAppTest.java33 import java.util.regex.Matcher;
34 import java.util.regex.Pattern;
/cts/hostsidetests/os/src/android/os/cts/
DOsHostTests.java36 import java.util.regex.Matcher;
37 import java.util.regex.Pattern;

12345