Home
last modified time | relevance | path

Searched refs:ClusterCommandEvent (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandScheduler.java189 private ClusterCommandEvent.Builder createEventBuilder() { in createEventBuilder()
190 final ClusterCommandEvent.Builder builder = in createEventBuilder()
191 ClusterCommandEvent.createEventBuilder(mCommandTask) in createEventBuilder()
226 final ClusterCommandEvent event = in invocationInitiated()
228 .setType(ClusterCommandEvent.Type.InvocationInitiated) in invocationInitiated()
253 final ClusterCommandEvent event = in invocationStarted()
255 .setType(ClusterCommandEvent.Type.InvocationStarted) in invocationStarted()
314 ClusterCommandEvent event = in invocationEnded()
316 .setType(ClusterCommandEvent.Type.InvocationEnded) in invocationEnded()
317 .setData(ClusterCommandEvent.DATA_KEY_ERROR, mError) in invocationEnded()
[all …]
DClusterCommandEvent.java30 public class ClusterCommandEvent implements IClusterEvent { class
73 private ClusterCommandEvent() {} in ClusterCommandEvent() method in ClusterCommandEvent
173 public ClusterCommandEvent build() { in build()
174 final ClusterCommandEvent obj = new ClusterCommandEvent(); in build()
202 final ClusterCommandEvent.Builder builder = new ClusterCommandEvent.Builder(); in createEventBuilder()
DClusterClient.java55 private IClusterEventUploader<ClusterCommandEvent> mCommandEventUploader = null;
61 private class ClusterCommandEventUploader extends ClusterEventUploader<ClusterCommandEvent> {
67 protected void doUploadEvents(List<ClusterCommandEvent> events) throws IOException { in doUploadEvents()
301 public IClusterEventUploader<ClusterCommandEvent> getCommandEventUploader() { in getCommandEventUploader()
DIClusterClient.java39 public IClusterEventUploader<ClusterCommandEvent> getCommandEventUploader(); in getCommandEventUploader()
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterCommandEventTest.java35 ClusterCommandEvent event = in testToJSON()
36 new ClusterCommandEvent.Builder() in testToJSON()
37 .setType(ClusterCommandEvent.Type.InvocationStarted) in testToJSON()
57 ClusterCommandEvent event = in testToJSON_noDeviceSerial()
58 new ClusterCommandEvent.Builder() in testToJSON_noDeviceSerial()
59 .setType(ClusterCommandEvent.Type.InvocationStarted) in testToJSON_noDeviceSerial()
DClusterCommandSchedulerTest.java127 ClusterCommandEvent event, ClusterCommandEvent.Type type) { in eventMatches()
134 implements ArgumentMatcher<ClusterCommandEvent> {
136 public boolean matches(ClusterCommandEvent event) { in matches()
137 return eventMatches(event, ClusterCommandEvent.Type.InvocationInitiated); in matches()
141 private static final class IsInvocationStarted implements ArgumentMatcher<ClusterCommandEvent> {
143 public boolean matches(ClusterCommandEvent event) { in matches()
144 return eventMatches(event, ClusterCommandEvent.Type.InvocationStarted); in matches()
148 private static final class IsInvocationEnded implements ArgumentMatcher<ClusterCommandEvent> {
150 public boolean matches(ClusterCommandEvent event) { in matches()
151 return eventMatches(event, ClusterCommandEvent.Type.InvocationEnded); in matches()
[all …]