Home
last modified time | relevance | path

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

/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/ide/common/resources/deprecated/
DResourceItem.java74 ResourceFile match = referenceConfig.findMatchingConfigurable(mFiles); in getResourceValue() local
76 if (match != null) { in getResourceValue()
78 return match.getValue(type, mName); in getResourceValue()
DFrameworkResources.java125 ResourceItem match = null; in loadPublicResources() local
128 match = map.get(name); in loadPublicResources()
131 if (match != null) { in loadPublicResources()
169 publicList.add(match); in loadPublicResources()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DOrientationRule.kt59 getAnnotation(Landscape::class.java)?.deviceType?.any { it.match() } ?: false in Description()
62 getAnnotation(Portrait::class.java)?.deviceType?.any { it.match() } ?: false in Description()
79 enum class DeviceTypeFilter(val match: () -> Boolean) { constant in android.platform.test.rule.DeviceTypeFilter
DPortraitLandscapeRule.kt23 if (portraitDeviceFilter.any { it.match() }) { in apply()
26 if (landscapeDeviceFilter.any { it.match() }) { in apply()
DPresubmitRule.java73 final boolean match = Arrays.asList(annotation.value().split(",")).contains(flavor); in apply()
74 if (match) return base; in apply()
DPlatinumRule.java68 final boolean match = Arrays.asList(annotation.devices().split(",")).contains(flavor); in apply()
69 if (match) return base; in apply()
/platform_testing/tests/bettertogether/betocq/
Dandroid_wifi_utils.py157 if match := _SSID_PATTERN.search(ad.adb.shell(['cmd', 'wifi', 'status'])):
158 return match.group('ssid').decode()
174 if match := _SAVED_WIFI_LIST_PATTERN.search(line):
177 id=match.group('id'),
178 ssid=match.group('ssid').strip(),
179 security=match.group('security'),
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/
DProcLoadHelper.java110 Matcher match = null; in getProcLoadInLastMinute() local
111 if ((match = matches(LOAD_OUTPUT_PATTERN, output.trim())) != null) { in getProcLoadInLastMinute()
113 match.group("LASTMINUTELOAD"))); in getProcLoadInLastMinute()
114 return Double.parseDouble(match.group("LASTMINUTELOAD")); in getProcLoadInLastMinute()
/platform_testing/tests/automotive/mobly_tests/media/
Dmedia_test_prev_and_next_song_metadata_validation.py79 re.match(TIMESTAMP_MATCHER, actual_current_song_playing_time),
84 re.match(TIMESTAMP_MATCHER, actual_current_song_max_playing_time),
120 re.match(TIMESTAMP_MATCHER, actual_previous_current_song_playing_time),
125 re.match(TIMESTAMP_MATCHER, actual_previous_current_song_max_playing_time),
Dmedia_test_song_metadata_validation.py81 re.match(TIMESTAMP_MATCHER, actual_current_song_playing_time),
86 re.match(TIMESTAMP_MATCHER, actual_current_song_max_playing_time),
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DFreeMemHelper.java129 Matcher match; in getMetrics() local
130 if ((match = matches(PID_PATTERN, process)) != null) { in getMetrics()
131 String processId = match.group(PROCESS_ID); in getMetrics()
194 Matcher match; in getCachedProcesses() local
196 && (match = matches(CACHE_PROC_START_PATTERN, currLine)) == null) { in getCachedProcesses()
/platform_testing/tests/automotive/health/boottime/src/android/boottime/postprocessor/
DBaseBootTimeTestLogPostProcessor.java103 Optional<String> match = in filterFiles() local
105 if (match.isPresent()) { in filterFiles()
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DJankCollectionHelper.java356 private void verifyMatches(String output, String match, String message, Object... args) { in verifyMatches() argument
357 Verify.verify(output.matches(match), message, args); in verifyMatches()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DCrashUtils.java189 .flatMap(frame -> backtraceIncludes.stream().map(p -> p.match(frame))) in matchSecurityCrashes()
203 .flatMap(frame -> backtraceExcludes.stream().map(p -> p.match(frame))) in matchSecurityCrashes()
563 public boolean match(JSONObject frame) { in match() method in CrashUtils.Config.BacktraceFilterPattern
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/util/
DTombstoneUtils.java323 .flatMap(frame -> backtraceIncludes.stream().map(p -> p.match(frame)))
338 .flatMap(frame -> backtraceExcludes.stream().map(p -> p.match(frame)))
552 public boolean match(BacktraceFrame frame) {
/platform_testing/libraries/motion/golden_updater/
Dwatch_local_tests.py500 match = re.search(r"_actual_(.*?)\.png$", self.actual_image)
501 if match:
502 self.golden_identifier = match.group(1)
/platform_testing/host_runners/boot/src/com/android/boot/
DBootTimeTest.java1171 Matcher match = null; in analyzeUnlockBootInfo() local
1172 if ((match = matches(SCREEN_UNLOCKED, line)) != null && !isDuplicateLine(line)) { in analyzeUnlockBootInfo()
1174 Date time = parseTime(match.group(1)); in analyzeUnlockBootInfo()
1177 } else if ((match = matches(DISPLAYED_LAUNCHER, line)) != null in analyzeUnlockBootInfo()
1180 Date time = parseTime(match.group(1)); in analyzeUnlockBootInfo()
/platform_testing/tests/automotive/mobly_tests/utilities/
Dmedia_utils.py293 if re.match(constants.FM_FREQUENCY_PATTERN, fm_frequency):