Home
last modified time | relevance | path

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

12345678

/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/tel/live/
DTelLiveGFTDSDSMessageTest.py424 0, None, 0, mo_rat=["volte", "volte"], msg="SMS", direction="mo")
446 None, 0, 0, mt_rat=["volte", "volte"], msg="SMS", direction="mt")
482 1, None, 1, mo_rat=["volte", "volte"], msg="SMS", direction="mo")
504 None, 1, 1, mt_rat=["volte", "volte"], msg="SMS", direction="mt")
512 0, None, 0, mo_rat=["volte", "csfb"], msg="SMS", direction="mo")
520 0, None, 1, mo_rat=["volte", "csfb"], msg="SMS", direction="mo")
528 None, 0, 0, mt_rat=["volte", "csfb"], msg="SMS", direction="mt")
536 None, 0, 1, mt_rat=["volte", "csfb"], msg="SMS", direction="mt")
544 1, None, 0, mo_rat=["volte", "csfb"], msg="SMS", direction="mo")
552 1, 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.py274 msg = "Power off SIM slot is not supported"
275 self.dut.log.warning("%s, test finished", msg)
276 self.result_detail = "%s, %s" % (self.result_detail, msg)
283 msg = "After SIM power down, carrier_id = %s(expecting -1), " \
287 self.dut.log.error(msg)
289 msg)
294 self.dut.log.info(msg)
297 msg = "Power off SIM slot is not working"
298 self.dut.log.error(msg)
300 self.result_detail = "%s, %s" % (self.result_detail, msg)
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DEmailTest.java111 Message msg = new Message(); in testSendInval_destination() local
112 msg.setSubject("subject"); in testSendInval_destination()
113 msg.setBody("body"); in testSendInval_destination()
116 mEmail.send(msg); in testSendInval_destination()
126 Message msg = new Message("dest@ination.com", null, "body"); in testSendInval_subject() local
128 mEmail.send(msg); in testSendInval_subject()
138 Message msg = new Message("dest@ination.com", "subject", null); in testSendInval_body() local
140 mEmail.send(msg); in testSendInval_body()
150 final Message msg = new Message("dest@ination.com", "subject", "body"); in testSend_simple() local
151 msg.setSender("or@igin.com"); in testSend_simple()
[all …]
/tools/test/connectivity/acts_tests/tests/google/gnss/
DGnssHsSenTest.py92 msg = f'Running GSM850 with {self.cell_tx_ant} antenna \
95 self.log.info(msg)
104 msg = f'Running GSM900 with {self.cell_tx_ant} \
107 self.log.info(msg)
116 msg = f'Running GSM1800 {self.cell_tx_ant} antenna and GNSS coexistence sensitivity search.'
117 self.log.info(msg)
126 msg = f'Running GSM1900 {self.cell_tx_ant} antenna and GNSS coexistence sensitivity search.'
127 self.log.info(msg)
136 msg = f'Running LTE B38 {self.cell_tx_ant} antenna and GNSS coexistence sensitivity search.'
137 self.log.info(msg)
[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/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_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.py94 msg = MSG + " %s" % _
95 send_list.append(msg)
96 client.log.info("Sending message: %s" % msg)
97 client.droid.sendDataOverSocket(server_ip, server_port, msg, client_fd)
154 msg = MSG + " %s" % _
155 send_list.append(msg)
156 client.log.info("Sending message: %s" % msg)
157 client.droid.sendDataOverDatagramSocket(client_sock, msg, server_ip,
284 msg = MSG + " %s" % _
285 send_list.append(msg)
[all …]
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DEmail.java101 public void send(Message msg) throws IllegalArgumentException, IOException { in send() argument
103 if (msg.getTo() == null) { in send()
105 } else if (msg.getSubject() == null) { in send()
107 } else if (msg.getBody() == null) { in send()
114 if (msg.getSender() != null) { in send()
115 addHeader(headers, "From", msg.getSender()); in send()
121 mailCmd[cmdLen - 1] = msg.getSender(); in send()
125 addHeaders(headers, "To", msg.getTo()); in send()
126 addHeaders(headers, "Cc", msg.getCc()); in send()
127 addHeaders(headers, "Bcc", msg.getBcc()); in send()
[all …]
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DDeviceNotAvailableException.java52 public DeviceNotAvailableException(String msg) { in DeviceNotAvailableException() argument
53 this(msg, null, null, null); in DeviceNotAvailableException()
63 public DeviceNotAvailableException(String msg, String serial) { in DeviceNotAvailableException() argument
64 this(msg, null, serial, null); in DeviceNotAvailableException()
75 public DeviceNotAvailableException(String msg, String serial, ErrorIdentifier errorId) { in DeviceNotAvailableException() argument
76 this(msg, null, serial, errorId); in DeviceNotAvailableException()
87 public DeviceNotAvailableException(String msg, Throwable cause, String serial) { in DeviceNotAvailableException() argument
88 this(msg, cause, serial, null); in DeviceNotAvailableException()
101 String msg, Throwable cause, String serial, ErrorIdentifier errorId) { in DeviceNotAvailableException() argument
102 super(msg, cause, errorId); in DeviceNotAvailableException()
DDeviceDisconnectedException.java36 public DeviceDisconnectedException(String msg, String serial) { in DeviceDisconnectedException() argument
37 this(msg, null, serial, null); in DeviceDisconnectedException()
48 public DeviceDisconnectedException(String msg, String serial, ErrorIdentifier errorId) { in DeviceDisconnectedException() argument
49 this(msg, null, serial, errorId); in DeviceDisconnectedException()
60 public DeviceDisconnectedException(String msg, Throwable cause, String serial) { in DeviceDisconnectedException() argument
61 this(msg, cause, serial, null); in DeviceDisconnectedException()
74 String msg, Throwable cause, String serial, ErrorIdentifier errorId) { in DeviceDisconnectedException() argument
75 super(msg, cause, serial, errorId); in DeviceDisconnectedException()
DDeviceUnresponsiveException.java36 public DeviceUnresponsiveException(String msg, String serial) { in DeviceUnresponsiveException() argument
37 this(msg, null, serial, null); in DeviceUnresponsiveException()
48 public DeviceUnresponsiveException(String msg, String serial, ErrorIdentifier errorId) { in DeviceUnresponsiveException() argument
49 this(msg, null, serial, errorId); in DeviceUnresponsiveException()
60 public DeviceUnresponsiveException(String msg, Throwable cause, String serial) { in DeviceUnresponsiveException() argument
61 this(msg, cause, serial, null); in DeviceUnresponsiveException()
74 String msg, Throwable cause, String serial, ErrorIdentifier errorId) { in DeviceUnresponsiveException() argument
75 super(msg, cause, serial, errorId); in DeviceUnresponsiveException()
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/
Dcmx500_events.py34 def wrapped(msg): argument
36 msg.registration_state))
37 if msg.registration_state in (
60 def wrapped(msg): argument
62 msg.registration_state))
63 if msg.registration_state in (
86 def wrapped(msg): argument
88 msg.pdu_session_status))
89 if msg.pdu_session_status in (FivegsPduSessionStatus.ACTIVE, ):
/tools/tradefederation/core/common_util/com/android/tradefed/command/
DFatalHostError.java37 public FatalHostError(String msg, Throwable cause, ErrorIdentifier errorId) { in FatalHostError() argument
38 super(msg, cause, errorId); in FatalHostError()
49 public FatalHostError(String msg, Throwable cause) { in FatalHostError() argument
50 super(msg, cause, InfraErrorIdentifier.UNDETERMINED); in FatalHostError()
60 public FatalHostError(String msg, ErrorIdentifier errorId) { in FatalHostError() argument
61 super(msg, errorId); in FatalHostError()
71 public FatalHostError(String msg) { in FatalHostError() argument
72 super(msg, InfraErrorIdentifier.UNDETERMINED); in FatalHostError()
/tools/tradefederation/core/common_util/com/android/tradefed/config/
DConfigurationException.java32 public ConfigurationException(String msg) { in ConfigurationException() argument
33 super(msg, null); in ConfigurationException()
43 public ConfigurationException(String msg, ErrorIdentifier error) { in ConfigurationException() argument
44 super(msg, error); in ConfigurationException()
54 public ConfigurationException(String msg, Throwable cause) { in ConfigurationException() argument
55 super(msg, cause, null); in ConfigurationException()
66 public ConfigurationException(String msg, Throwable cause, ErrorIdentifier error) { in ConfigurationException() argument
67 super(msg, cause, error); in ConfigurationException()
/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/apksig/src/test/java/com/android/apksig/
DApkVerifierTest.java937 String msg = e.getMessage(); in testV1SchemeSignatureCertNotReencoded() local
939 if ((msg != null) in testV1SchemeSignatureCertNotReencoded()
940 && (msg.contains("Redundant length bytes found"))) { in testV1SchemeSignatureCertNotReencoded()
1686 StringBuilder msg = new StringBuilder(); in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped() local
1694 if (msg.length() > 0) { in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped()
1695 msg.append('\n'); in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped()
1697 msg.append( in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped()
1703 if (msg.length() > 0) { in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped()
1704 fail(msg.toString()); in apkVerificationIssueAdapter_verifyAllBaseIssuesMapped()
2056 StringBuilder msg = new StringBuilder();
[all …]
/tools/external_updater/
Dnotifier.py76 msg = ""
80 msg = f'An upgrade change is generated at:\n{match.group(1)}'
83 msg = 'Failed to generate upgrade change. See logs below for details.'
88 msg += '\n\nOWNERS file: \n'
89 msg += owners
91 msg += '\n\n'
92 msg += upgrade_log
108 input=msg,
153 msg = f"""Failed to send email for {proj} ({latest_ver}).
156 print(msg)
/tools/tradefederation/core/src/com/android/tradefed/util/
DBulkEmailer.java72 Message msg = new Message(); in sendEmails() local
73 msg.setTos(mRecipients.split(",")); in sendEmails()
74 msg.setBody(MESSAGE); in sendEmails()
75 msg.setSender(mSender); in sendEmails()
81 msg.setSubject(SUBJECT + i); in sendEmails()
82 email.send(msg); in sendEmails()
86 msg.setSubject(SUBJECT + i); in sendEmails()
87 email.send(msg); in sendEmails()
/tools/tradefederation/core/global_configuration/com/android/tradefed/util/hostmetric/
DEmailHostHealthAgent.java81 Message msg = new Message(); in flush() local
82 msg.setSender(mSender); in flush()
83 msg.setSubject(generateEmailSubject()); in flush()
84 msg.setBody(generateEmailBody()); in flush()
85 msg.setHtml(false); in flush()
88 msg.addTo(toAddress.next()); in flush()
92 CLog.d(msg.getSubject()); in flush()
93 CLog.d(msg.getBody()); in flush()
94 mMailer.send(msg); in flush()
/tools/tradefederation/core/src/com/android/tradefed/log/
DTerribleFailureEmailHandler.java188 Message msg = new Message(); in generateEmailMessage() local
189 msg.setSender(mSender); in generateEmailMessage()
190 msg.setSubject(generateEmailSubject()); in generateEmailMessage()
191 msg.setBody(generateEmailBody(description, cause)); in generateEmailMessage()
192 msg.setHtml(false); in generateEmailMessage()
195 msg.addTo(toAddress.next()); in generateEmailMessage()
197 return msg; in generateEmailMessage()
218 Message msg = generateEmailMessage(description, cause); in onTerribleFailure() local
221 mMailer.send(msg); in onTerribleFailure()

12345678