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.java169 private ClusterCommandEvent.Builder createEventBuilder() { in createEventBuilder()
170 final ClusterCommandEvent.Builder builder = in createEventBuilder()
171 ClusterCommandEvent.createEventBuilder(mCommandTask) in createEventBuilder()
206 final ClusterCommandEvent event = in invocationInitiated()
208 .setType(ClusterCommandEvent.Type.InvocationInitiated) in invocationInitiated()
233 final ClusterCommandEvent event = in invocationStarted()
235 .setType(ClusterCommandEvent.Type.InvocationStarted) in invocationStarted()
271 ClusterCommandEvent event = in invocationEnded()
273 .setType(ClusterCommandEvent.Type.InvocationEnded) in invocationEnded()
274 .setData(ClusterCommandEvent.DATA_KEY_ERROR, mError) in invocationEnded()
[all …]
DClusterCommandEvent.java30 public class ClusterCommandEvent implements IClusterEvent { class
68 private ClusterCommandEvent() {} in ClusterCommandEvent() method in ClusterCommandEvent
168 public ClusterCommandEvent build() { in build()
169 final ClusterCommandEvent obj = new ClusterCommandEvent(); in build()
197 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/tests/src/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java128 private IClusterEventUploader<ClusterCommandEvent> mMockEventUploader;
142 extends IClusterEventUploader<ClusterCommandEvent> {}
156 public IClusterEventUploader<ClusterCommandEvent> getCommandEventUploader() { in setUp()
585 static ClusterCommandEvent checkClusterCommandEvent(
586 ClusterCommandEvent.Type type, Set<String> deviceSerials) {
591 if (!(object instanceof ClusterCommandEvent)) {
595 ClusterCommandEvent actual = (ClusterCommandEvent) object;
611 static ClusterCommandEvent checkClusterCommandEvent(ClusterCommandEvent.Type type) {
632 checkClusterCommandEvent(ClusterCommandEvent.Type.InvocationInitiated));
635 checkClusterCommandEvent(ClusterCommandEvent.Type.InvocationStarted));
[all …]
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()