/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | DmesgParser.java | 203 Matcher match = null; in parseServiceInfo() local 204 if ((match = matches(START_SERVICE, line)) != null) { in parseServiceInfo() 206 serviceItem.setServiceName(match.group(SERVICENAME)); in parseServiceInfo() 208 match.group(TIMESTAMP)) * 1000)); in parseServiceInfo() 209 getServiceInfoItems().put(match.group(SERVICENAME), serviceItem); in parseServiceInfo() 211 } else if ((match = matches(EXIT_SERVICE, line)) != null) { in parseServiceInfo() 212 if (getServiceInfoItems().containsKey(match.group(SERVICENAME))) { in parseServiceInfo() 214 match.group(SERVICENAME)); in parseServiceInfo() 216 match.group(TIMESTAMP)) * 1000)); in parseServiceInfo() 233 Matcher match = null; in parseStageInfo() local [all …]
|
D | EventsLogParser.java | 94 Matcher match = null; in parseTransitionDelayInfo() local 96 if ((match = matches(SYSUI_TRANSITION_INFO_PATTERN, line)) != null) { in parseTransitionDelayInfo() 98 match.group(TRANSITION_INFO)); in parseTransitionDelayInfo() 109 delayItem.setDateTime(String.format("%s %s", match.group(DATE), in parseTransitionDelayInfo() 110 match.group(TIME))); in parseTransitionDelayInfo() 153 Matcher match = null; in parseLatencyInfo() local 154 if ((match = matches(ACTION_LATENCY, line)) != null) { in parseLatencyInfo() 156 latencyItem.setActionId(Integer.parseInt(match.group("action"))); in parseLatencyInfo() 157 latencyItem.setDelay(Long.parseLong(match.group("delay"))); in parseLatencyInfo() 175 Matcher match = null; in parseBootEventInfo() local [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_performance_test_utils/ |
D | qcom_utils.py | 72 match = re.search('bssid=.*', status_output) 73 if match: 74 current_bssid = match.group(0).split('=')[1] 82 match = re.search('\s+ssid=.*', status_output) 83 if match: 84 ssid = match.group(0).split('=')[1] 93 match = re.search('FREQUENCY=.*', signal_poll_output) 94 if match: 95 frequency = int(match.group(0).split('=')[1]) 99 match = re.search('RSSI=.*', signal_poll_output) [all …]
|
D | brcm_utils.py | 155 match = re.search('bssid=.*', status_output) 156 if match: 157 current_bssid = match.group(0).split('=')[1] 166 match = re.search('\s+ssid=.*', status_output) 167 if match: 168 ssid = match.group(0).split('=')[1] 174 match = re.search('\s+freq=.*', status_output) 175 if match: 176 frequency = int(match.group(0).split('=')[1]) 213 match = re.search('RSSI=.*', signal_poll_output) [all …]
|
D | ping_utils.py | 50 match = re.search(LOSS_REGEX, line) 51 self.packet_loss_percentage = float(match.group('loss')) 53 match = re.search(RTT_REGEX, line) 55 self.start_time = float(match.group('timestamp')) 58 float(match.group('timestamp')) - self.start_time, 59 float(match.group('rtt'))))
|
/tools/asuite/atest/test_finders/ |
D | test_finder_utils.py | 241 match = _PACKAGE_RE.match(line) 242 if match: 243 package = match.group('package') 278 match = _PACKAGE_RE.match(line) 279 if match: 280 return match.group('package') 294 match = _PARENT_CLS_RE.match(line) 295 if match: 296 return match.group('parent') 349 if constants.JAVA_EXT_RE.match(test_path): [all …]
|
D | tf_integration_finder.py | 255 match = _INT_NAME_RE.match(test_file) 256 if not match: 260 int_name = match.group('int_name') 324 match = _INT_NAME_RE.match(rel_config) 325 if not match: 329 int_name = match.group('int_name')
|
/tools/asuite/atest/tools/ |
D | atest_tools.py | 111 match = constants.ACLOUD_REPORT_FILE_RE.match(acloud_args) 112 if match: 113 return match.group('report_file') 193 match = output_re.match(entry) 194 if match: 195 _dict.setdefault(match.group(key), set()).add( 196 match.group(value)) 326 match = constants.QCLASS_OUTPUT_RE.match(entry) 327 if match: 328 fqcn = match.group('package') + '.' + match.group('class') [all …]
|
/tools/asuite/atest-py2/test_finders/ |
D | test_finder_utils.py | 183 match = _PACKAGE_RE.match(line) 184 if match: 185 package = match.group('package') 204 match = _CC_CLASS_RE.match(line) 205 if match: 221 match = _PACKAGE_RE.match(line) 222 if match: 223 return match.group('package') 242 if constants.JAVA_EXT_RE.match(test_path): 245 elif constants.CC_EXT_RE.match(test_path): [all …]
|
D | tf_integration_finder.py | 189 match = _INT_NAME_RE.match(test_file) 190 if not match: 194 int_name = match.group('int_name') 257 match = _INT_NAME_RE.match(rel_config) 258 if not match: 262 int_name = match.group('int_name')
|
/tools/external_updater/ |
D | crates_updater.py | 59 match = CRATES_IO_URL_RE.match(self._old_url.value) 60 if match is None: 62 self.package = match.group(1) 66 match = VERSION_MATCHER.match(version) 67 if match is not None: 68 return tuple(int(match.group(i)) for i in range(1, 4)) 85 if (not v["yanked"] and not ALPHA_BETA_RE.match(version) and 99 if ALPHA_BETA_RE.match(self._new_ver): 198 match = DESCRIPTION_MATCHER.match(line) 199 if match: [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/ |
D | apollo_lib.py | 110 match = re.search(DEVICE_REGEX, line) 111 interface = match.group('interface') 115 commander_port = '/dev/' + match.group('port') 118 log_port = '/dev/' + match.group('port') 121 device_serial = match.group('device_serial') 338 match = re.match(regexp, res[0][0]) 339 if match: 340 connlib41 = match.group('m2') + match.group('m1') 354 match = re.search(regexp, res[0][0]) 355 if match: [all …]
|
D | b29_lib.py | 69 match = re.search(DEVICE_REGEX, line) 70 device_serial = match.group('device_serial') 72 commander_port = '/dev/' + match.group('port') 120 match = version_match.search(version_str) 121 version = match.groups()[0] 125 def _parse_output_of_running_process(self, subprocess, match, timeout=30): argument 136 success_match = re.compile(match)
|
/tools/acloud/list/ |
D | instance.py | 125 match = _LOCAL_INSTANCE_NAME_PATTERN.match(name) 126 if match: 127 return int(match.group("id")) 270 match = _RE_TIMEZONE.match(start_time) 274 if match: 292 process_match = match_pattern.match(line) 583 device_match = _RE_DEVICE_INFO.match(output) 804 match = cls._INSTANCE_NAME_PATTERN.match(name) 805 if match: 806 return int(match.group("id")) [all …]
|
/tools/asuite/atest-py2/tools/ |
D | atest_tools.py | 156 match = output_re.match(entry) 157 if match: 158 _dict.setdefault(match.group(key), set()).add(match.group(value)) 284 match = constants.QCLASS_OUTPUT_RE.match(entry) 285 if match: 286 fqcn = match.group('package') + '.' + match.group('class') 287 _dict.setdefault(fqcn, set()).add(match.group('java_path'))
|
/tools/acloud/setup/ |
D | setup_common.py | 117 match = _INSTALLED_RE.match(line) 118 if match: 119 installed_ver = match.group("installed_ver").strip() 121 match = _CANDIDATE_RE.match(line) 122 if match: 123 candidate_ver = match.group("candidate_ver").strip()
|
/tools/acloud/create/ |
D | avd_spec.py | 270 match = _RE_RES.match(value) 271 if match: 272 arg_hw_properties[_X_RES] = match.group("x_res") 273 arg_hw_properties[_Y_RES] = match.group("y_res") 278 match = _RE_MEMORY.match(value) 279 if match and match.group("gb_size"): 281 int(match.group("gb_size")) * 1024) 282 elif match and match.group("mb_size"): 283 arg_hw_properties[key] = match.group("mb_size") 288 if not _RE_INT.match(value): [all …]
|
D | remote_image_remote_instance.py | 123 match = _RE_OXYGEN_LEASE_ERROR.match(response) 124 if match: 125 response = match.group("error").strip() 147 session_id_match = _RE_SESSION_ID.match(line) 154 server_url_match = _RE_SERVER_URL.match(line)
|
/tools/acloud/internal/lib/ |
D | adb_tools.py | 84 match = re.match(_RE_SERIAL, device_serial) 85 if match: 86 self._adb_port = match.group("port") 165 match = re.match(_RE_ADB_DEVICE_INFO % self._device_serial, device) 166 if match: 168 attribute: match.group(attribute) if match.group(attribute)
|
/tools/ndkports/buildSrc/src/main/kotlin/com/android/ndkports/ |
D | CMakeCompatibleVersion.kt | 54 val match = versionRegex.find(versionString) in toString() constant 55 require(match != null) { in toString() 59 match.groups[1]!!.value.toInt(), in toString() 60 match.groups[2]?.value?.toInt(), in toString() 61 match.groups[3]?.value?.toInt(), in toString() 62 match.groups[4]?.value?.toInt() in toString()
|
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/ |
D | contest.py | 171 match = re.search('(?<={}).+(?=\\\\)'.format(prefix), 173 if match: 174 testplan_directory = match.group(0) 178 match = re.search('(?<=Exit code: )-?\d+', output) 179 if match: 180 exit_code = int(match.group(0)) 270 match = re.search('(?<=Margin search completed, the lowest ' 273 if match: 275 match.group(0))
|
/tools/asuite/atest-py2/test_runners/ |
D | robolectric_test_runner.py | 165 if not reg.match(buf) or data == '': 173 match = EVENT_RE.match(event) 174 if match: 176 event_data = json.loads(match.group('json_data'), 181 match.group('json_data')) 183 event_name = match.group('event_name')
|
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/ |
D | ip.py | 60 match = re.search('inet (?P<address>[^\s]*) brd (?P<bcast>[^\s]*)', 62 if match: 63 d = match.groupdict() 68 match = re.search('inet (?P<address>[^\s]*)', line) 69 if match: 70 d = match.groupdict()
|
D | route.py | 100 match = re.search('dev (?P<net_interface>.*)', line) 102 if match: 106 match.groupdict()['net_interface']) 109 match = re.search( 112 if match: 115 d = match.groupdict()
|
/tools/asuite/atest/test_runners/ |
D | robolectric_test_runner.py | 182 if not reg.match(buf) or data == '': 190 match = EVENT_RE.match(event) 191 if match: 193 event_data = json.loads(match.group('json_data'), 198 match.group('json_data')) 200 event_name = match.group('event_name')
|