Home
last modified time | relevance | path

Searched refs:Message (Results 1 – 11 of 11) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DEmailTest.java19 import com.android.tradefed.util.IEmail.Message;
104 Message msg = new Message(); in testSendInval_destination()
120 Message msg = new Message("dest@ination.com", null, "body"); in testSendInval_subject()
133 Message msg = new Message("dest@ination.com", "subject", null); in testSendInval_body()
146 final Message msg = new Message("dest@ination.com", "subject", "body"); in testSend_simple()
157 assertEquals(Message.PLAIN, headers.get("Content-type")); in testSend_simple()
166 final Message msg = new Message("dest@ination.com", "subject", expectedBody); in testSend_htmlEmail()
174 assertEquals(Message.HTML, headers.get("Content-type")); in testSend_htmlEmail()
182 Message msg = new Message("dest@ination.com", "", "body"); in testSend_emptySubject()
191 Message msg = new Message("dest@ination.com", "subject", ""); in testSend_emptyBody()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/log/
DTerribleFailureEmailHandlerTest.java19 import com.android.tradefed.util.IEmail.Message;
61 mMockEmail.send(EasyMock.<Message>anyObject()); in testOnTerribleFailure()
75 mMockEmail.send(EasyMock.<Message> anyObject()); in testOnTerribleFailure_catchesIllegalArgumentException()
92 mMockEmail.send(EasyMock.<Message> anyObject()); in testOnTerribleFailure_catchesIOException()
117 mMockEmail.send(EasyMock.<Message>anyObject()); in testOnTerribleFailure_adjacentFailures()
136 mMockEmail.send(EasyMock.<Message>anyObject()); in testOnTerribleFailure_notAdjacentFailures()
137 mMockEmail.send(EasyMock.<Message>anyObject()); in testOnTerribleFailure_notAdjacentFailures()
165 Message msg = mWtfEmailHandler.generateEmailMessage("something terrible happened", in testGenerateEmailMessage()
/tools/tradefederation/core/prod-tests/tests/src/com/android/continuous/
DSmokeTestFailureReporterTest.java27 import com.android.tradefed.util.IEmail.Message;
63 final Capture<Message> msgCapture = new Capture<Message>(); in testSingleFail()
86 final Message msg = msgCapture.getValue(); in testSingleFail()
110 final Capture<Message> msgCapture = new Capture<Message>(); in testTwoPassOneFail()
139 final Message msg = msgCapture.getValue(); in testTwoPassOneFail()
/tools/tradefederation/core/src/com/android/tradefed/util/
DIEmail.java43 public void send(Message msg) throws IllegalArgumentException, IOException; in send()
48 public static class Message { class
60 public Message() {} in Message() method in IEmail.Message
69 public Message(String to, String subject, String body) { in Message() method in IEmail.Message
DBulkEmailer.java25 import com.android.tradefed.util.IEmail.Message;
72 Message msg = new Message(); in sendEmails()
DEmail.java96 public void send(Message msg) throws IllegalArgumentException, IOException { in send()
/tools/tradefederation/core/src/com/android/tradefed/log/
DTerribleFailureEmailHandler.java25 import com.android.tradefed.util.IEmail.Message;
186 protected Message generateEmailMessage(String description, Throwable cause) { in generateEmailMessage()
187 Message msg = new Message(); in generateEmailMessage()
217 Message msg = generateEmailMessage(description, cause); in onTerribleFailure()
/tools/tradefederation/core/src/com/android/tradefed/util/hostmetric/
DEmailHostHealthAgent.java24 import com.android.tradefed.util.IEmail.Message;
81 Message msg = new Message(); in flush()
/tools/acloud/internal/proto/
Dinternal_config_pb2.py447 DefaultUserConfig = _reflection.GeneratedProtocolMessageType('DefaultUserConfig', (_message.Message
449 …ntry = _reflection.GeneratedProtocolMessageType('MetadataVariableEntry', (_message.Message,), dict(
462 InternalConfig = _reflection.GeneratedProtocolMessageType('InternalConfig', (_message.Message,), di…
464 …y = _reflection.GeneratedProtocolMessageType('DeviceResolutionMapEntry', (_message.Message,), dict(
471 …lection.GeneratedProtocolMessageType('DeviceDefaultOrientationMapEntry', (_message.Message,), dict(
478 …y = _reflection.GeneratedProtocolMessageType('PrecreatedDataImageEntry', (_message.Message,), dict(
485 …reflection.GeneratedProtocolMessageType('ValidBranchAndMinBuildIdEntry', (_message.Message,), dict(
492 …= _reflection.GeneratedProtocolMessageType('NoProjectAccessMsgMapEntry', (_message.Message,), dict(
Duser_config_pb2.py198 UserConfig = _reflection.GeneratedProtocolMessageType('UserConfig', (_message.Message,), dict(
200 …ntry = _reflection.GeneratedProtocolMessageType('MetadataVariableEntry', (_message.Message,), dict(
/tools/tradefederation/core/src/com/android/tradefed/result/
DEmailResultReporter.java28 import com.android.tradefed.util.IEmail.Message;
311 Message msg = new Message(); in invocationEnded()