Home
last modified time | relevance | path

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

12

/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/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/google/protobuf/
Ddescriptor_pb2.py1421 FileDescriptorSet = _reflection.GeneratedProtocolMessageType('FileDescriptorSet', (_message.Message
1428 …rProto = _reflection.GeneratedProtocolMessageType('FileDescriptorProto', (_message.Message,), dict(
1435 DescriptorProto = _reflection.GeneratedProtocolMessageType('DescriptorProto', (_message.Message,), …
1437 …ExtensionRange = _reflection.GeneratedProtocolMessageType('ExtensionRange', (_message.Message,), d…
1450 …Proto = _reflection.GeneratedProtocolMessageType('FieldDescriptorProto', (_message.Message,), dict(
1457 …Proto = _reflection.GeneratedProtocolMessageType('OneofDescriptorProto', (_message.Message,), dict(
1464 …rProto = _reflection.GeneratedProtocolMessageType('EnumDescriptorProto', (_message.Message,), dict(
1471 …o = _reflection.GeneratedProtocolMessageType('EnumValueDescriptorProto', (_message.Message,), dict(
1478 …oto = _reflection.GeneratedProtocolMessageType('ServiceDescriptorProto', (_message.Message,), dict(
1485 …roto = _reflection.GeneratedProtocolMessageType('MethodDescriptorProto', (_message.Message,), dict(
[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()
73 mMockEmail.send(EasyMock.<Message>anyObject()); in testOnTerribleFailure_catchesIllegalArgumentException()
84 mMockEmail.send(EasyMock.<Message>anyObject()); in testOnTerribleFailure_catchesIOException()
106 mMockEmail.send(EasyMock.<Message>anyObject()); in testOnTerribleFailure_adjacentFailures()
125 mMockEmail.send(EasyMock.<Message>anyObject()); in testOnTerribleFailure_notAdjacentFailures()
126 mMockEmail.send(EasyMock.<Message>anyObject()); in testOnTerribleFailure_notAdjacentFailures()
154 Message msg = mWtfEmailHandler.generateEmailMessage("something terrible happened", in testGenerateEmailMessage()
/tools/tradefederation/core/atest/proto/
Dinternal_user_log_pb2.py546 …rnal = _reflection.GeneratedProtocolMessageType('AtestLogEventInternal', (_message.Message,), dict(
548 …AtestStartEvent = _reflection.GeneratedProtocolMessageType('AtestStartEvent', (_message.Message,),…
555 …AtestExitEvent = _reflection.GeneratedProtocolMessageType('AtestExitEvent', (_message.Message,), d…
562 …hEvent = _reflection.GeneratedProtocolMessageType('FindTestFinishEvent', (_message.Message,), dict(
569 …BuildFinishEvent = _reflection.GeneratedProtocolMessageType('BuildFinishEvent', (_message.Message,…
576 …ishEvent = _reflection.GeneratedProtocolMessageType('RunnerFinishEvent', (_message.Message,), dict(
578 Test = _reflection.GeneratedProtocolMessageType('Test', (_message.Message,), dict(
590 …hEvent = _reflection.GeneratedProtocolMessageType('RunTestsFinishEvent', (_message.Message,), dict(
597 …LocalDetectEvent = _reflection.GeneratedProtocolMessageType('LocalDetectEvent', (_message.Message,…
Dexternal_user_log_pb2.py423 …rnal = _reflection.GeneratedProtocolMessageType('AtestLogEventExternal', (_message.Message,), dict(
425 …AtestStartEvent = _reflection.GeneratedProtocolMessageType('AtestStartEvent', (_message.Message,),…
432 …AtestExitEvent = _reflection.GeneratedProtocolMessageType('AtestExitEvent', (_message.Message,), d…
439 …hEvent = _reflection.GeneratedProtocolMessageType('FindTestFinishEvent', (_message.Message,), dict(
446 …BuildFinishEvent = _reflection.GeneratedProtocolMessageType('BuildFinishEvent', (_message.Message,…
453 …ishEvent = _reflection.GeneratedProtocolMessageType('RunnerFinishEvent', (_message.Message,), dict(
460 …hEvent = _reflection.GeneratedProtocolMessageType('RunTestsFinishEvent', (_message.Message,), dict(
467 …LocalDetectEvent = _reflection.GeneratedProtocolMessageType('LocalDetectEvent', (_message.Message,…
Dclientanalytics_pb2.py188 LogRequest = _reflection.GeneratedProtocolMessageType('LogRequest', (_message.Message,), dict(
195 ClientInfo = _reflection.GeneratedProtocolMessageType('ClientInfo', (_message.Message,), dict(
202 LogResponse = _reflection.GeneratedProtocolMessageType('LogResponse', (_message.Message,), dict(
209 LogEvent = _reflection.GeneratedProtocolMessageType('LogEvent', (_message.Message,), dict(
/tools/asuite/atest/proto/
Dinternal_user_log_pb2.py546 …rnal = _reflection.GeneratedProtocolMessageType('AtestLogEventInternal', (_message.Message,), dict(
548 …AtestStartEvent = _reflection.GeneratedProtocolMessageType('AtestStartEvent', (_message.Message,),…
555 …AtestExitEvent = _reflection.GeneratedProtocolMessageType('AtestExitEvent', (_message.Message,), d…
562 …hEvent = _reflection.GeneratedProtocolMessageType('FindTestFinishEvent', (_message.Message,), dict(
569 …BuildFinishEvent = _reflection.GeneratedProtocolMessageType('BuildFinishEvent', (_message.Message,…
576 …ishEvent = _reflection.GeneratedProtocolMessageType('RunnerFinishEvent', (_message.Message,), dict(
578 Test = _reflection.GeneratedProtocolMessageType('Test', (_message.Message,), dict(
590 …hEvent = _reflection.GeneratedProtocolMessageType('RunTestsFinishEvent', (_message.Message,), dict(
597 …LocalDetectEvent = _reflection.GeneratedProtocolMessageType('LocalDetectEvent', (_message.Message,…
Dexternal_user_log_pb2.py423 …rnal = _reflection.GeneratedProtocolMessageType('AtestLogEventExternal', (_message.Message,), dict(
425 …AtestStartEvent = _reflection.GeneratedProtocolMessageType('AtestStartEvent', (_message.Message,),…
432 …AtestExitEvent = _reflection.GeneratedProtocolMessageType('AtestExitEvent', (_message.Message,), d…
439 …hEvent = _reflection.GeneratedProtocolMessageType('FindTestFinishEvent', (_message.Message,), dict(
446 …BuildFinishEvent = _reflection.GeneratedProtocolMessageType('BuildFinishEvent', (_message.Message,…
453 …ishEvent = _reflection.GeneratedProtocolMessageType('RunnerFinishEvent', (_message.Message,), dict(
460 …hEvent = _reflection.GeneratedProtocolMessageType('RunTestsFinishEvent', (_message.Message,), dict(
467 …LocalDetectEvent = _reflection.GeneratedProtocolMessageType('LocalDetectEvent', (_message.Message,…
Dclientanalytics_pb2.py188 LogRequest = _reflection.GeneratedProtocolMessageType('LogRequest', (_message.Message,), dict(
195 ClientInfo = _reflection.GeneratedProtocolMessageType('ClientInfo', (_message.Message,), dict(
202 LogResponse = _reflection.GeneratedProtocolMessageType('LogResponse', (_message.Message,), dict(
209 LogEvent = _reflection.GeneratedProtocolMessageType('LogEvent', (_message.Message,), dict(
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/
DStatsdEventMetricPostProcessor.java30 import com.google.protobuf.Message;
121 Message atomContent = (Message) data.getAtom().getField(atomField); in getMetricsByFormatters()
164 if (!(messageOrObject instanceof Message)) { in getNestedFieldFromMessageAsStrings()
171 Message message = (Message) messageOrObject; in getNestedFieldFromMessageAsStrings()
195 String formatter, EventMetricData eventMetric, Message atomContent) { in fillInPlaceholders()
DStatsdGenericPostProcessor.java30 import com.google.protobuf.Message;
173 protected Map<String, Metric.Builder> convertProtoMessage(Message reportMessage) { in convertProtoMessage()
180 if (entry.getValue() instanceof Message) { in convertProtoMessage()
182 convertProtoMessage((Message) entry.getValue()); in convertProtoMessage()
198 if (listMetrics.get(i) instanceof Message) { in convertProtoMessage()
200 convertProtoMessage((Message) listMetrics.get(i)); in convertProtoMessage()
/tools/tradefederation/core/test_framework/com/android/tradefed/postprocessor/
DPerfettoGenericPostProcessor.java32 import com.google.protobuf.Message;
335 private Map<String, Metric.Builder> convertPerfettoProtoMessage(Message reportMessage) { in convertPerfettoProtoMessage()
345 if (!(entry.getValue() instanceof Message) && !(entry.getValue() instanceof List)) { in convertPerfettoProtoMessage()
395 if (entry.getValue() instanceof Message) { in convertPerfettoProtoMessage()
397 convertPerfettoProtoMessage((Message) entry.getValue()); in convertPerfettoProtoMessage()
431 if (listMetrics.get(i) instanceof Message) { in convertPerfettoProtoMessage()
433 convertPerfettoProtoMessage((Message) listMetrics.get(i)); in convertPerfettoProtoMessage()
/tools/test/connectivity/acts/framework/acts/test_utils/bt/loggers/protos/
Dbluetooth_metric_pb2.py752 …Device = _reflection.GeneratedProtocolMessageType('BluetoothTestDevice', (_message.Message,), dict(
759 …tion.GeneratedProtocolMessageType('BluetoothContinuousTestResultHeader', (_message.Message,), dict(
766 …_reflection.GeneratedProtocolMessageType('BluetoothReconnectTestResult', (_message.Message,), dict(
773 …ection.GeneratedProtocolMessageType('BluetoothPairAndConnectTestResult', (_message.Message,), dict(
780 …g = _reflection.GeneratedProtocolMessageType('BluetoothA2dpCodecConfig', (_message.Message,), dict(
787 …taPoint = _reflection.GeneratedProtocolMessageType('AudioTestDataPoint', (_message.Message,), dict(
794 …t = _reflection.GeneratedProtocolMessageType('BluetoothAudioTestResult', (_message.Message,), dict(
801 …lt = _reflection.GeneratedProtocolMessageType('BluetoothDataTestResult', (_message.Message,), dict(
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/
Dapollo_qa_pb2.py749 ApolloQATrace = _reflection.GeneratedProtocolMessageType('ApolloQATrace', (_message.Message,), dict(
756 …nse = _reflection.GeneratedProtocolMessageType('ApolloQAGetVerResponse', (_message.Message,), dict(
763 …e = _reflection.GeneratedProtocolMessageType('ApolloQAGetCodecResponse', (_message.Message,), dict(
770 …_reflection.GeneratedProtocolMessageType('ApolloQAGetDspStatusResponse', (_message.Message,), dict(
777 …d = _reflection.GeneratedProtocolMessageType('ApolloQAFactoryPlaySound', (_message.Message,), dict(
784 …= _reflection.GeneratedProtocolMessageType('ApolloQAFactoryInfoRequest', (_message.Message,), dict(
791 … _reflection.GeneratedProtocolMessageType('ApolloQAFactoryInfoResponse', (_message.Message,), dict(
Dplugin_pb2.py163 …quest = _reflection.GeneratedProtocolMessageType('CodeGeneratorRequest', (_message.Message,), dict(
170 …onse = _reflection.GeneratedProtocolMessageType('CodeGeneratorResponse', (_message.Message,), dict(
172 File = _reflection.GeneratedProtocolMessageType('File', (_message.Message,), dict(
/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/asuite/atest/tools/tradefederation/core/proto/
Dtest_record_pb2.py477 TestRecord = _reflection.GeneratedProtocolMessageType('TestRecord', (_message.Message,), {
479 …'ArtifactsEntry' : _reflection.GeneratedProtocolMessageType('ArtifactsEntry', (_message.Message,),…
486 'MetricsEntry' : _reflection.GeneratedProtocolMessageType('MetricsEntry', (_message.Message,), {
500 ChildReference = _reflection.GeneratedProtocolMessageType('ChildReference', (_message.Message,), {
507 DebugInfo = _reflection.GeneratedProtocolMessageType('DebugInfo', (_message.Message,), {
514 DebugInfoContext = _reflection.GeneratedProtocolMessageType('DebugInfoContext', (_message.Message,)…
Dmetric_measurement_pb2.py336 Measurements = _reflection.GeneratedProtocolMessageType('Measurements', (_message.Message,), {
343 StringValues = _reflection.GeneratedProtocolMessageType('StringValues', (_message.Message,), {
350 NumericValues = _reflection.GeneratedProtocolMessageType('NumericValues', (_message.Message,), {
357 DoubleValues = _reflection.GeneratedProtocolMessageType('DoubleValues', (_message.Message,), {
364 Metric = _reflection.GeneratedProtocolMessageType('Metric', (_message.Message,), {
/tools/tradefederation/core/common_util/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
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DEmailResultReporterTest.java23 import com.android.tradefed.util.IEmail.Message;
50 mMockMailer.send(EasyMock.<Message>anyObject()); in testInvocationEnded()
69 mMockMailer.send(EasyMock.<Message>anyObject()); in testInvocationEnded_multiBuild()
91 mMockMailer.send(EasyMock.<Message>anyObject()); in testNullFlavorAndBranch()
/tools/tradefederation/core/src/com/android/tradefed/util/
DBulkEmailer.java25 import com.android.tradefed.util.IEmail.Message;
72 Message msg = new Message(); in sendEmails()
/tools/tradefederation/core/global_configuration/com/android/tradefed/util/hostmetric/
DEmailHostHealthAgent.java24 import com.android.tradefed.util.IEmail.Message;
81 Message msg = new Message(); in flush()
/tools/test/connectivity/acts/framework/acts/metrics/loggers/protos/gen/
Dmetrics_pb2.py184 BoundedMetric = _reflection.GeneratedProtocolMessageType('BoundedMetric', (_message.Message,), dict(
191 DoubleValue = _reflection.GeneratedProtocolMessageType('DoubleValue', (_message.Message,), dict(
198 KeyValue = _reflection.GeneratedProtocolMessageType('KeyValue', (_message.Message,), dict(
Dacts_usage_metadata_pb2.py108 …tadata = _reflection.GeneratedProtocolMessageType('ActsTestRunMetadata', (_message.Message,), dict(
115 …ta = _reflection.GeneratedProtocolMessageType('ActsMethodUsageMetadata', (_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()

12