Home
last modified time | relevance | path

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

1234

/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveGFTDSDSMessageTest.py79 mt_sub_id, msg="SMS", argument
98 if msg == "SMS":
110 "%s of length %s test failed", msg, length)
114 "%s of length %s test succeeded", msg, length)
116 msg, self.message_lengths)
118 elif msg == "MMS":
130 msg, length)
134 "%s of body length %s test succeeded", msg, length)
136 msg, self.message_lengths)
254 msg="SMS", argument
[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.py264 msg = "Power off SIM slot is not supported"
265 self.dut.log.warning("%s, test finished", msg)
266 self.result_detail = "%s, %s" % (self.result_detail, msg)
273 msg = "After SIM power down, carrier_id = %s(expecting -1), " \
277 self.dut.log.error(msg)
279 msg)
284 self.dut.log.info(msg)
287 msg = "Power off SIM slot is not working"
288 self.dut.log.error(msg)
290 self.result_detail = "%s, %s" % (self.result_detail, msg)
[all …]
DTelLiveStressCallTest.py197 msg = "Stress Call Test %s Iteration: <%s> / <%s>" % (
200 self.log.info(msg)
207 self.log.error("%s call dialing failure.", msg)
214 self.log.error("%s network check %s failure.", msg,
222 self.log.error("%s network check failure.", msg)
226 self.log.error("%s call dropped.", msg)
236 self.log.info("%s %s", msg, iteration_result)
/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)
Dtest_runner.py177 msg = ('Encountered error importing test class %s, '
182 self.log.exception(msg)
183 raise ValueError(msg)
283 msg = '\nSummary for test run %s: %s\n' % (
286 self.log.info(msg.strip())
/tools/test/connectivity/acts_tests/tests/google/nr/nsa5g/
DNsa5gDsdsMessageTest.py70 mt_sub_id, msg="SMS", argument
89 if msg == "SMS":
101 "%s of length %s test failed", msg, length)
105 "%s of length %s test succeeded", msg, length)
107 msg, self.message_lengths)
109 elif msg == "MMS":
121 msg, length)
125 "%s of body length %s test succeeded", msg, length)
127 msg, self.message_lengths)
135 msg="SMS", argument
[all …]
/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 …]
Dui_utils.py180 msg = ('Timed out after %ds waiting for UI node matching conditions: %s.'
183 msg = ('%s extra conditions: %s'
184 % (msg, get_key_value_pair_strings(child)))
186 msg = ('%s extra conditions: %s'
187 % (msg, get_key_value_pair_strings(sibling)))
188 raise AndroidDeviceError(device, msg)
/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/apksig/src/test/java/com/android/apksig/
DApkVerifierTest.java679 String msg = e.getMessage(); in testV1SchemeSignatureCertNotReencoded() local
681 if ((msg != null) in testV1SchemeSignatureCertNotReencoded()
682 && (msg.contains("Redundant length bytes found"))) { in testV1SchemeSignatureCertNotReencoded()
1311 StringBuilder msg = new StringBuilder(); in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped() local
1319 if (msg.length() > 0) { in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped()
1320 msg.append('\n'); in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped()
1322 msg.append( in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped()
1328 if (msg.length() > 0) { in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped()
1329 fail(msg.toString()); in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped()
1407 StringBuilder msg = new StringBuilder(); in assertVerified() local
[all …]
DSourceStampVerifierTest.java307 StringBuilder msg = new StringBuilder(); in assertVerified() local
309 if (msg.length() > 0) { in assertVerified()
310 msg.append('\n'); in assertVerified()
312 msg.append(error.toString()); in assertVerified()
314 fail("APK failed source stamp verification: " + msg.toString()); in assertVerified()
333 StringBuilder msg = new StringBuilder(); in assertSourceStampVerificationIssue() local
338 if (msg.length() > 0) { in assertSourceStampVerificationIssue()
339 msg.append('\n'); in assertSourceStampVerificationIssue()
341 msg.append(issue.toString()); in assertSourceStampVerificationIssue()
349 + (msg.length() > 0 ? msg.toString() : "No reported issues")); in assertSourceStampVerificationIssue()
/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/repohooks/rh/
Dutils.py96 def __init__(self, returncode, cmd, stdout=None, stderr=None, msg=None, argument
110 self.msg = msg
135 if self.msg:
136 items.append(self.msg)
192 signum << 8, cmd, msg='Received signal %i' % signum)
411 msg = 'cwd=%s' % cwd
413 msg += ', extra env=%s' % extra_env
415 result.returncode, result.cmd, msg=msg,
432 result.returncode, result.cmd, msg=estr, exception=e,
Dconfig_test.py28 def assertEqual(msg, exp, actual): argument
30 assert exp == actual, '%s: expected "%s" but got "%s"' % (msg, exp, actual)
46 def check_commit_msg(msg): argument
48 assert len(msg) > 1, 'commit message must be at least 2 bytes: %s'
/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)
/tools/test/graphicsbenchmark/functional_tests/hostside/src/com/android/game/qualification/test/
DVkJsonTests.java156 String msg = "Driver conformance version must be at least " + DRIVER_CONFORMANCE_VERSION; in checkKHRDriverProperties() local
157 assertWithMessage("major version: " + msg).that(version.major).isAtLeast(MAJOR); in checkKHRDriverProperties()
159 assertWithMessage("minor version: " + msg).that(version.minor).isAtLeast(MINOR); in checkKHRDriverProperties()
161 assertWithMessage("subminor version: " + msg).that(version.subminor) in checkKHRDriverProperties()
/tools/test/connectivity/acts/framework/tests/libs/logging/
Dlog_stream_test.py90 msg='__validate_styles did not raise the expected error message')
107 msg='__validate_styles did not raise the expected error message')
116 msg='__validate_styles did not raise the expected error message')
126 msg='__validate_styles did not raise the expected error message')
141 msg='__validate_styles did not raise the expected error message')
156 msg='__validate_styles did not raise the expected error message')
176 msg='__validate_styles did not raise the expected error message')
/tools/test/connectivity/acts/framework/acts/controllers/
Darduino_wifi_dongle.py231 def start_controller_log(self, msg=None): argument
241 if msg:
243 self.log_file_fd.write(curr_time + ' INFO: ' + msg)
248 def stop_controller_log(self, msg=None): argument
256 if msg:
258 self.log_file_fd.write(curr_time + ' INFO: ' + msg)
/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/
Drpc_connection_test.py31 def write(self, msg): argument
32 self.last_write = msg
123 msg=rpc_client.Sl4aProtocolError.NO_RESPONSE_FROM_HANDSHAKE):
/tools/aadevtools/dev/
Dclone_proj.sh64 …--git-dir`/hooks/commit-msg ; mkdir -p $(dirname $f) ; curl -Lo $f https://gerrit-review.googlesou…
/tools/acloud/public/acloud_kernel/
Dacloud_kernel.py86 msg = "\n".join(report.errors)
87 sys.stderr.write("Encountered the following errors:\n%s\n" % msg)

1234