Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 127) sorted by relevance

123456

/tools/test/connectivity/acts_tests/tests/google/nr/nsa5g/
DNsa5gDSDSMessageTest.py41 0, None, 0, mo_rat=["5g_volte", "5g_volte"], msg="SMS", direction="mo")
49 None, 0, 0, mt_rat=["5g_volte", "5g_volte"], msg="SMS", direction="mt")
57 0, None, 1, mo_rat=["5g_volte", "5g_volte"], msg="SMS", direction="mo")
65 None, 0, 1, mt_rat=["5g_volte", "5g_volte"], msg="SMS", direction="mt")
73 1, None, 0, mo_rat=["5g_volte", "5g_volte"], msg="SMS", direction="mo")
81 None, 1, 0, mt_rat=["5g_volte", "5g_volte"], msg="SMS", direction="mt")
89 1, None, 1, mo_rat=["5g_volte", "5g_volte"], msg="SMS", direction="mo")
97 None, 1, 1, mt_rat=["5g_volte", "5g_volte"], msg="SMS", direction="mt")
105 0, None, 0, mo_rat=["5g_volte", "volte"], msg="SMS", direction="mo")
113 None, 0, 0, mt_rat=["5g_volte", "volte"], msg="SMS", direction="mt")
[all …]
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveGFTDSDSMessageTest.py403 0, None, 0, mo_rat=["volte", "volte"], msg="SMS", direction="mo")
411 0, None, 1, mo_rat=["volte", "volte"], msg="SMS", direction="mo")
419 None, 0, 0, mt_rat=["volte", "volte"], msg="SMS", direction="mt")
427 None, 0, 1, mt_rat=["volte", "volte"], msg="SMS", direction="mt")
435 1, None, 0, mo_rat=["volte", "volte"], msg="SMS", direction="mo")
443 1, None, 1, mo_rat=["volte", "volte"], msg="SMS", direction="mo")
451 None, 1, 0, mt_rat=["volte", "volte"], msg="SMS", direction="mt")
459 None, 1, 1, mt_rat=["volte", "volte"], msg="SMS", direction="mt")
467 0, None, 0, mo_rat=["volte", "csfb"], msg="SMS", direction="mo")
475 0, None, 1, mo_rat=["volte", "csfb"], msg="SMS", direction="mo")
[all …]
DTelLivePostflightTest.py47 msg = ""
53 msg += "%s find new crash reports %s " % (ad.serial,
61 if msg:
62 fail(msg)
68 msg = ""
76 msg += message
81 if msg:
82 fail(msg)
88 msg = ""
92 msg += "%s %s" % (ad.serial, dict(ad.data_accounting))
[all …]
DTelLiveSettingsTest.py278 msg = "Power off SIM slot is not supported"
279 self.dut.log.warning("%s, test finished", msg)
280 self.result_detail = "%s, %s" % (self.result_detail, msg)
287 msg = "After SIM power down, carrier_id = %s(expecting -1), " \
291 self.dut.log.error(msg)
293 msg)
298 self.dut.log.info(msg)
301 msg = "Power off SIM slot is not working"
302 self.dut.log.error(msg)
304 self.result_detail = "%s, %s" % (self.result_detail, msg)
[all …]
DTelLiveRilImsKpiTest.py210 for msg in ims_reg:
211 print_nested_dict(ad, msg)
215 for msg in parsing_fail:
216 ad.log.info(msg)
347 for msg in ims_reg:
348 print_nested_dict(ad, msg)
352 for msg in parsing_fail:
353 ad.log.info(msg)
471 for msg in ims_reg:
472 print_nested_dict(ad, msg)
[all …]
DTelLiveStressDataTest.py58 msg = "Stress Throughput Test %s Iteration: <%s> / <%s>" % (
61 self.log.info(msg)
72 self.log.error("%s upload failure.", msg)
82 self.log.error("%s upload failure.", msg)
84 self.log.info("%s %s", msg, iteration_result)
113 msg = "Stress Throughput Test %s Iteration: <%s> / <%s>" % (
116 self.log.info(msg)
127 self.log.error("%s download failure.", msg)
137 self.log.error("%s download failure.", msg)
139 self.log.info("%s %s", msg, iteration_result)
/tools/test/connectivity/acts/framework/acts/controllers/amarisoft_lib/
Dims.py53 msg = {}
54 msg['message'] = 'mt_call'
55 msg['impi'] = impi
56 msg['impu'] = impu
57 msg['contact'] = contact
58 msg['sip_file'] = sip_file
59 msg['caller'] = caller
60 msg['duration'] = duration
61 dump_msg = json.dumps(msg)
77 msg = {}
[all …]
Dmme.py42 msg = {}
43 msg['message'] = 'pws_write'
44 msg['local_id'] = local_id
45 msg['nf'] = n50
46 dump_msg = json.dumps(msg)
59 msg = {}
60 msg['message'] = 'pws_kill'
61 msg['local_id'] = local_id
62 msg['nf'] = n50
63 dump_msg = json.dumps(msg)
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/stress/
DMessagesStressTest.py56 def init_info(self, msg, id, messages_by_msg, messages_by_id): argument
65 messages_by_msg[msg] = {}
66 messages_by_msg[msg][KEY_ID] = id
67 messages_by_msg[msg][KEY_TX_OK_COUNT] = 0
68 messages_by_msg[msg][KEY_TX_FAIL_COUNT] = 0
69 messages_by_msg[msg][KEY_RX_COUNT] = 0
70 messages_by_id[id] = msg
101 msg = messages_by_id[id]
103 messages_by_msg[msg][
104 KEY_TX_OK_COUNT] = messages_by_msg[msg][KEY_TX_OK_COUNT] + 1
[all …]
/tools/test/connectivity/acts/framework/acts/
Dtracelogger.py41 def _log_with(self, logging_lambda, trace_level, msg, *args, **kwargs): argument
43 logging_lambda('%s %s' % (msg, trace_info), *args, **kwargs)
45 def exception(self, msg, *args, **kwargs): argument
46 self._log_with(self._logger.exception, 5, msg, *args, **kwargs)
48 def debug(self, msg, *args, **kwargs): argument
49 self._log_with(self._logger.debug, 3, msg, *args, **kwargs)
51 def error(self, msg, *args, **kwargs): argument
52 self._log_with(self._logger.error, 3, msg, *args, **kwargs)
54 def warn(self, msg, *args, **kwargs): argument
55 self._log_with(self._logger.warn, 3, msg, *args, **kwargs)
[all …]
Dasserts.py35 msg=None, argument
53 first, second, msg=msg, delta=delta)
56 first, second, places=places, msg=msg)
59 if msg:
60 my_msg = "%s %s" % (my_msg, msg)
/tools/apksig/src/test/java/com/android/apksig/
DApkVerifierTest.java717 String msg = e.getMessage(); in testV1SchemeSignatureCertNotReencoded() local
719 if ((msg != null) in testV1SchemeSignatureCertNotReencoded()
720 && (msg.contains("Redundant length bytes found"))) { in testV1SchemeSignatureCertNotReencoded()
1466 StringBuilder msg = new StringBuilder(); in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped() local
1474 if (msg.length() > 0) { in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped()
1475 msg.append('\n'); in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped()
1477 msg.append( in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped()
1483 if (msg.length() > 0) { in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped()
1484 fail(msg.toString()); in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped()
1704 StringBuilder msg = new StringBuilder(); in assertVerified() local
[all …]
DSourceStampVerifierTest.java413 StringBuilder msg = new StringBuilder(); in assertVerified() local
415 if (msg.length() > 0) { in assertVerified()
416 msg.append('\n'); in assertVerified()
418 msg.append(error.toString()); in assertVerified()
420 fail("APK failed source stamp verification: " + msg.toString()); in assertVerified()
439 StringBuilder msg = new StringBuilder(); in assertSourceStampVerificationIssue() local
444 if (msg.length() > 0) { in assertSourceStampVerificationIssue()
445 msg.append('\n'); in assertSourceStampVerificationIssue()
447 msg.append(issue.toString()); in assertSourceStampVerificationIssue()
455 + (msg.length() > 0 ? msg.toString() : "No reported issues")); in assertSourceStampVerificationIssue()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dconnectivity_test_utils.py20 def _listen_for_keepalive_event(ad, key, msg, ka_event): argument
34 asserts.fail(msg)
55 msg = "Failed to receive confirmation of starting natt socket keeaplive"
56 status = _listen_for_keepalive_event(ad, key, msg, "Started")
69 msg = "Failed to receive confirmation of starting tcp socket keeaplive"
70 status = _listen_for_keepalive_event(ad, key, msg, "Started")
81 msg = "Failed to receive confirmation of Error callback"
82 return _listen_for_keepalive_event(ad, key, msg, "Error")
92 msg = "Failed to receive confirmation of OnDataReceived callback"
93 return _listen_for_keepalive_event(ad, key, msg, "OnDataReceived")
[all …]
Dsocket_test_utils.py99 msg = MSG + " %s" % _
100 send_list.append(msg)
101 client.log.info("Sending message: %s" % msg)
102 client.droid.sendDataOverSocket(server_ip, server_port, msg, client_fd)
158 msg = MSG + " %s" % _
159 send_list.append(msg)
160 client.log.info("Sending message: %s" % msg)
162 msg,
287 msg = MSG + " %s" % _
288 send_list.append(msg)
[all …]
/tools/external_updater/
Dnotifier.py76 msg = ""
80 msg = 'An upgrade change is generated at:\n{}'.format(
84 msg = 'Failed to generate upgrade change. See logs below for details.'
89 msg += '\n\nOWNERS file: \n'
90 msg += owners
92 msg += '\n\n'
93 msg += upgrade_log
109 input=msg,
154 msg = """Failed to send email for {} ({}).
157 print(msg)
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dtako_trace_logger.py34 def step(self, msg, *args, **kwargs): argument
36 self._log_with(self._logger_level('STEP'), 1, msg, *args, **kwargs)
38 def device(self, msg, *args, **kwargs): argument
40 self._log_with(self._logger_level('DEVICE'), 1, msg, *args, **kwargs)
42 def suite(self, msg, *args, **kwargs): argument
44 self._log_with(self._logger_level('SUITE'), 1, msg, *args, **kwargs)
46 def case(self, msg, *args, **kwargs): argument
48 self._log_with(self._logger_level('CASE'), 1, msg, *args, **kwargs)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_parse_utils.py108 def get_slot_from_logcat(msg): argument
117 res = re.findall(r'\[(PHONE[\d])\]', msg)
125 def get_apn_from_logcat(msg): argument
134 res = re.findall(r'DataProfile=[^/]+/[^/]+/[^/]+/([^/]+)/', msg)
227 for msg in logcat:
228 ad.log.info(msg["log_message"])
539 for msg in logcat:
540 ad.log.info(msg["log_message"])
775 for msg in logcat:
776 ad.log.info(msg["log_message"])
[all …]
Dtel_ss_utils.py208 msg = "Cannot make call from %s to %s by %s digits" % (
210 ad_caller.log.info(msg)
211 raise signals.TestSkip(msg)
216 msg = "Call from %s to %s (forwarded to %s)" % (
219 msg = "Video %s" % msg
224 msg = "%s for duration of %s seconds" % (msg, wait_time_in_call)
225 ad_caller.log.info(msg)
1012 msg = "Cannot make call from %s to %s by %s digits" % (
1014 ad_caller.log.info(msg)
1015 raise signals.TestSkip(msg)
[all …]
Dtel_message_utils.py1228 for msg in msgs:
1229 all_msgs.append([tx, msg, msg, ''])
1246 for msg in all_msgs_copy:
1247 if event_text in msg[2]:
1250 msg[0])
1251 msg[2] = msg[2][event_text_length:]
1252 msg[3] += event_text
1254 if msg[2] == "":
1255 all_msgs.remove(msg)
1262 for msg in all_msgs_copy:
[all …]
/tools/loganalysis/src/com/android/loganalysis/parser/
DLogcatParser.java231 String msg = null; in parseLine() local
241 msg = m.group(6); in parseLine()
247 msg = tm.group(5); in parseLine()
259 Pattern.matches("Rebooting, reason: .*", msg)) { in parseLine()
272 Matcher pidMatcher = JAVA_PROC_START.matcher(msg); in parseLine()
284 if (!mDataMap.containsKey(key) || AnrParser.START.matcher(msg).matches()) { in parseLine()
292 data.mLines.add(msg); in parseLine()
301 … if (!mDataMap.containsKey(key) || NativeCrashParser.FINGERPRINT.matcher(msg).matches()) { in parseLine()
309 data.mLines.add(msg); in parseLine()
324 data.mLines.add(msg); in parseLine()
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/functional/
DMessageTest.py164 msg = self.create_msg(s_dut.aware_capabilities, payload_size, i)
167 msg, 0)
176 msg,
182 msg = self.create_msg(s_dut.aware_capabilities, payload_size,
186 msg, 0)
195 msg,
297 msg = self.create_msg(s_dut.aware_capabilities, payload_size, i)
299 msgs[msg] = 0
302 msg, 0)
312 msg = self.create_msg(p_dut.aware_capabilities, payload_size,
[all …]
/tools/test/connectivity/acts_tests/tests/google/tel/lab/
DTelLabGFTVoWifiStressTest.py173 msg = "Stress Test %s Iteration: <%s> / <%s>" % (
176 self.log.info(msg)
202 self.log.error("%s:%s", msg, error_msg)
220 self.log.error("%s:%s", msg, error_msg)
221 self.log.info("%s %s", msg, iteration_result)
269 msg = "Stress Test %s Iteration: <%s> / <%s>" % (
272 self.log.info(msg)
290 self.log.error("%s:%s", msg, error_msg)
304 self.log.error("%s:%s", msg, error_msg)
323 self.log.error("%s:%s", msg, error_msg)
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Devent_dispatcher.py218 msg = 'Timeout after {}s waiting for event: {}'.format(
220 self.log.info(msg)
221 raise queue.Empty(msg)
278 msg = 'Timeout after {}s waiting for event: {}'.format(
280 self.log.info(msg)
281 raise queue.Empty(msg)
318 msg = 'Timeout after {}s waiting for event: {}'.format(
320 self.log.error(msg)
321 raise queue.Empty(msg)
/tools/test/connectivity/acts_tests/tests/google/bt/headphone_automation/
DHeadphoneTest.py149 msg = "Unable to pair to %s", headphone.name
150 assert_true(self._discover_and_pair(headphone), msg)
191 msg = "Unable to pair to %s", headphone.name
192 assert_true(self._discover_and_pair(headphone), msg)
228 msg = "Unable to pair to %s", headphone.name
229 assert_true(self._discover_and_pair(headphone), msg)

123456