HomeSort by relevance Sort by last modified time
    Searched refs:ActionMonitor (Results 1 - 13 of 13) sorted by null

  /packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
ActionTest.java 52 mMonitor = new StubChatActionMonitor(ActionMonitor.STATE_CREATED, mActionKey,
73 mMonitor.setState(ActionMonitor.STATE_CREATED);
75 ActionMonitor.registerActionMonitor(mAction.actionKey, mMonitor);
76 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey));
77 assertTrue(ActionMonitor.sActionMonitors.containsValue(mMonitor));
78 assertEquals(ActionMonitor.sActionMonitors.get(mAction.actionKey), mMonitor);
81 assertEquals("After start state: STATE_QUEUED", ActionMonitor.STATE_QUEUED,
83 verifyState(1, ActionMonitor.STATE_CREATED, ActionMonitor.STATE_QUEUED);
85 ActionMonitor.unregisterActionMonitor(mAction.actionKey, mMonitor)
    [all...]
ActionServiceTest.java 34 import com.android.messaging.datamodel.action.ActionMonitor.ActionCompletedListener;
35 import com.android.messaging.datamodel.action.ActionMonitor.ActionStateChangedListener;
55 public void onActionSucceeded(final ActionMonitor monitor,
70 public void onActionFailed(final ActionMonitor monitor, final Action action,
123 ActionMonitor.STATE_QUEUED);
125 ActionMonitor.STATE_EXECUTING);
127 ActionMonitor.STATE_COMPLETE);
266 public static class TestChatActionMonitor extends ActionMonitor {
ActionServiceSystemTest.java 34 import com.android.messaging.datamodel.action.ActionMonitor.ActionCompletedListener;
35 import com.android.messaging.datamodel.action.ActionMonitor.ActionExecutedListener;
54 public void onActionSucceeded(final ActionMonitor monitor,
66 public void onActionFailed(final ActionMonitor monitor, final Action action,
78 public void onActionExecuted(final ActionMonitor monitor, final Action action,
421 public static class TestChatActionMonitor extends ActionMonitor {
ActionTestHelpers.java 84 static class StubChatActionMonitor extends ActionMonitor {
ReadWriteDraftMessageActionTest.java 143 final ActionMonitor monitor =
202 final ActionMonitor monitor =
255 final ActionMonitor monitor =
  /packages/apps/Messaging/src/com/android/messaging/datamodel/action/
Action.java 26 import com.android.messaging.datamodel.action.ActionMonitor.ActionCompletedListener;
27 import com.android.messaging.datamodel.action.ActionMonitor.ActionExecutedListener;
142 protected void start(final ActionMonitor monitor) {
143 ActionMonitor.registerActionMonitor(this.actionKey, monitor);
165 ActionMonitor.setState(this, ActionMonitor.STATE_CREATED,
166 ActionMonitor.STATE_QUEUED);
173 ActionMonitor.setState(this, ActionMonitor.STATE_QUEUED,
174 ActionMonitor.STATE_EXECUTING)
    [all...]
ActionMonitor.java 44 public class ActionMonitor {
55 abstract void onActionExecuted(ActionMonitor monitor, final Action action,
70 abstract void onActionSucceeded(ActionMonitor monitor,
76 abstract void onActionFailed(ActionMonitor monitor, final Action action,
188 protected ActionMonitor(final int initialState, final String actionKey,
270 final ActionMonitor monitor
271 = ActionMonitor.lookupActionMonitor(action.actionKey);
318 listener.onActionSucceeded(ActionMonitor.this,
321 listener.onActionFailed(ActionMonitor.this,
342 final ActionMonitor monito
    [all...]
GetOrCreateConversationAction.java 27 import com.android.messaging.datamodel.action.ActionMonitor.ActionCompletedListener;
46 abstract void onGetOrCreateConversationSucceeded(final ActionMonitor monitor,
50 abstract void onGetOrCreateConversationFailed(final ActionMonitor monitor,
121 public static class GetOrCreateConversationActionMonitor extends ActionMonitor
133 public void onActionSucceeded(final ActionMonitor monitor,
143 public void onActionFailed(final ActionMonitor monitor,
UpdateDestinationBlockedAction.java 37 public static class UpdateDestinationBlockedActionMonitor extends ActionMonitor
38 implements ActionMonitor.ActionCompletedListener {
49 final ActionMonitor monitor,
61 public void onActionSucceeded(final ActionMonitor monitor,
69 public void onActionFailed(final ActionMonitor monitor,
ReadDraftDataAction.java 25 import com.android.messaging.datamodel.action.ActionMonitor.ActionCompletedListener;
114 public static class ReadDraftDataActionMonitor extends ActionMonitor
127 public void onActionSucceeded(final ActionMonitor monitor,
139 public void onActionFailed(final ActionMonitor monitor,
DownloadMmsAction.java 54 abstract void onDownloadMessageStarting(final ActionMonitor monitor,
57 abstract void onDownloadMessageSucceeded(final ActionMonitor monitor,
60 abstract void onDownloadMessageFailed(final ActionMonitor monitor,
  /packages/apps/Messaging/src/com/android/messaging/datamodel/data/
LaunchConversationData.java 19 import com.android.messaging.datamodel.action.ActionMonitor;
65 public void onGetOrCreateConversationSucceeded(final ActionMonitor monitor,
80 public void onGetOrCreateConversationFailed(final ActionMonitor monitor,
  /packages/apps/Messaging/src/com/android/messaging/ui/contact/
ContactPickerFragment.java 44 import com.android.messaging.datamodel.action.ActionMonitor;
587 public void onGetOrCreateConversationSucceeded(final ActionMonitor monitor,
601 public void onGetOrCreateConversationFailed(final ActionMonitor monitor,

Completed in 215 milliseconds