Home
last modified time | relevance | path

Searched refs:Pattern (Results 1 – 18 of 18) sorted by relevance

/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DCrashUtils.java25 import java.util.regex.Pattern;
36 public static final Pattern sEndofCrashPattern =
37 Pattern.compile("DEBUG\\s+?:\\s+?backtrace:");
41 public static final Pattern sUploadRequestPattern =
42 Pattern.compile(UPLOAD_REQUEST);
44 public static final Pattern sNewTestPattern =
45 Pattern.compile(NEW_TEST_ALERT + "(\\w+?)\\(.*?\\)");
53 private static final Pattern sCrashBlobPattern =
54 Pattern.compile("DEBUG\\s+?:( [*]{3})+?.*?DEBUG\\s+?:\\s+?backtrace:", Pattern.DOTALL);
56 private static final Pattern sPidtidNamePattern =
[all …]
DBackupUtils.java32 import java.util.regex.Pattern;
49 private static final Pattern BACKUP_MANAGER_CURRENTLY_ENABLE_STATUS_PATTERN =
50 Pattern.compile("^Backup Manager currently (enabled|disabled)$");
389 Pattern pattern = Pattern.compile("\\(formerly (.*)\\)$"); in setBackupTransportForUser()
/test/vts-testcase/hal/media/omx/V1_0/host_omxstore/
DVtsHalMediaOmxStoreV1_0HostTest.py152 class Pattern(object): class
165 'alignment' : Pattern.size,
166 'bitrate-range' : Pattern.range_num,
167 'block-aspect-ratio-range' : Pattern.range_ratio,
168 'block-count-range' : Pattern.range_num,
169 'block-size' : Pattern.size,
170 'blocks-per-second-range' : Pattern.range_num,
171 'complexity-default' : Pattern.num,
172 'complexity-range' : Pattern.range_num,
173 'feature-adaptive-playback' : Pattern.toggle,
[all …]
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DCrashUtilsTest.java30 import java.util.regex.Pattern;
96 .setProcessPatterns(Pattern.compile("synthetic_process_0")))); in testValidCrash()
103 .setProcessPatterns(Pattern.compile("")))); in testMissingName()
110 .setProcessPatterns(Pattern.compile("installd")))); in testSIGABRT()
117 .setProcessPatterns(Pattern.compile("synthetic_process_1")))); in testFaultAddressBelowMin()
124 .setProcessPatterns(Pattern.compile("synthetic_process_1")))); in testIgnoreMinAddressCheck()
131 .setProcessPatterns(Pattern.compile("generic")))); in testBadAbortMessage()
139 Pattern.compile("synthetic_process_0"), in testGoodAndBadCrashes()
140 Pattern.compile("generic")))); in testGoodAndBadCrashes()
149 .setProcessPatterns(Pattern.compile("com\\.android\\.bluetooth")))); in testNullFaultAddress()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DOptionHelper.java26 import java.util.regex.Pattern;
107 Pattern cliPattern = Pattern.compile( in getValidCliArgs()
133 Pattern tokenPattern = Pattern.compile("(\".*\")|[^\\s]+"); in getValidCliArgs()
DCollectorUtil.java36 import java.util.regex.Pattern;
60 Pattern p = Pattern.compile(ADB_LS_PATTERN); in pullFromDevice()
150 Pattern p = Pattern.compile(TEST_METRICS_PATTERN); in reformatJsonString()
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DRootProcessScanner.java27 import java.util.regex.Pattern;
41 if (Pattern.matches("\\d+", line)) { in RootProcessScanner()
48 private static final Pattern ROOT_PROCESS_WHITELIST_PATTERN = getRootProcessWhitelistPattern(
64 private static Pattern getRootProcessWhitelistPattern(String... patterns) { in getRootProcessWhitelistPattern()
72 return Pattern.compile(rootProcessPattern.toString()); in getRootProcessWhitelistPattern()
DPropertyUtil.java24 import java.util.regex.Pattern;
103 Pattern pattern = Pattern.compile("name=([a-z_]*), value=(.*)$"); in getClientIds()
DCpuFeatures.java21 import java.util.regex.Pattern;
68 … String[] kernelVersion = uname(device, UNAME_OPTION_KERNEL_RELEASE).split(Pattern.quote(".")); in kernelVersionLessThan()
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DTestSuiteResultEntity.java56 import java.util.regex.Pattern;
406 Map<String, Pattern> partternMap = in getNormalizedVersion()
407 new HashMap<String, Pattern>() { in getNormalizedVersion()
411 Pattern.compile( in getNormalizedVersion()
413 Pattern.CASE_INSENSITIVE)); in getNormalizedVersion()
416 Pattern.compile( in getNormalizedVersion()
417 "(:8\\.1\\.\\d\\/|:O\\w+-MR1/)", Pattern.CASE_INSENSITIVE)); in getNormalizedVersion()
420 Pattern.compile( in getNormalizedVersion()
421 "(:8\\.0\\.\\d\\/|:O\\w*/)", Pattern.CASE_INSENSITIVE)); in getNormalizedVersion()
425 for (Map.Entry<String, Pattern> entry : partternMap.entrySet()) { in getNormalizedVersion()
/test/vts/testcases/host/fastboot_test/src/com/android/tests/
DFastbootVerifyUserspaceTest.java38 import java.util.regex.Pattern;
64 Pattern p = Pattern.compile("^(\\d+)\\.(\\d+)"); in setUp()
/test/vts/testcases/host/fastboot_getvar/src/com/android/tests/
DFastbootGetvarUserspaceTest.java37 import java.util.regex.Pattern;
59 Pattern p = Pattern.compile("^(\\d+)\\.(\\d+)"); in setUp()
/test/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/
DKernelApiSysfsTest.java35 import java.util.regex.Pattern;
95 Pattern p = Pattern.compile("(\\d+)(-\\d+)?"); in testPerCpuCpufreq()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/
DCompatibilityBuildProvider.java48 import java.util.regex.Pattern;
55 private static final Pattern RELEASE_BUILD = Pattern.compile("^[A-Z]{3}\\d{2}[A-Z]{0,1}$");
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/
DVtsDashboardUtil.java41 import java.util.regex.Pattern;
162 Matcher matcher = Pattern.compile("([^\"]\\S*|\".+?\")\\s*").matcher(commandTemplate); in CurlUpload()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DMediaPreparer.java52 import java.util.regex.Pattern;
181 Pattern pattern = Pattern.compile(PATTERN); in Resolution()
/test/vti/dashboard/src/main/java/com/android/vts/util/
DFilterUtil.java47 import java.util.regex.Pattern;
139 Pattern p = Pattern.compile(INEQUALITY_REGEX); in getFilterForNumber()
/test/vti/dashboard/
Dbuild.gradle201 tasks.addRule("Pattern: vtsGaeDeploy<ID>") { String taskName ->