Home
last modified time | relevance | path

Searched refs:actionKey (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionTest.java75 ActionMonitor.registerActionMonitor(mAction.actionKey, mMonitor); in testActionStartTransitionsCorrectly()
76 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionStartTransitionsCorrectly()
78 assertEquals(ActionMonitor.sActionMonitors.get(mAction.actionKey), mMonitor); in testActionStartTransitionsCorrectly()
85 ActionMonitor.unregisterActionMonitor(mAction.actionKey, mMonitor); in testActionStartTransitionsCorrectly()
87 assertFalse(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionStartTransitionsCorrectly()
95 ActionMonitor.registerActionMonitor(mAction.actionKey, mMonitor); in testActionStartAssertsFromIncorrectState()
96 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionStartAssertsFromIncorrectState()
98 assertEquals(ActionMonitor.sActionMonitors.get(mAction.actionKey), mMonitor); in testActionStartAssertsFromIncorrectState()
105 ActionMonitor.unregisterActionMonitor(mAction.actionKey, mMonitor); in testActionStartAssertsFromIncorrectState()
107 assertFalse(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionStartAssertsFromIncorrectState()
[all …]
DActionTestHelpers.java101 protected StubChatActionMonitor(final int initialState, final String actionKey, in StubChatActionMonitor() argument
103 super(initialState, actionKey, data); in StubChatActionMonitor()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DActionMonitor.java188 protected ActionMonitor(final int initialState, final String actionKey, in ActionMonitor() argument
191 mActionKey = actionKey; in ActionMonitor()
271 = ActionMonitor.lookupActionMonitor(action.actionKey); in setState()
280 LogUtil.v(TAG, "Operation-" + action.actionKey + ": @" + df.format(new Date()) in setState()
343 = ActionMonitor.lookupActionMonitor(action.actionKey); in setCompleteState()
347 unregisterActionMonitorIfComplete(action.actionKey, monitor); in setCompleteState()
352 LogUtil.v(TAG, "Operation-" + action.actionKey + ": @" + df.format(new Date()) in setCompleteState()
405 = ActionMonitor.lookupActionMonitor(action.actionKey); in setExecutedState()
413 LogUtil.v(TAG, "Operation-" + action.actionKey + ": @" + df.format(new Date()) in setExecutedState()
428 static void registerActionMonitor(final String actionKey, in registerActionMonitor() argument
[all …]
DAction.java43 public final String actionKey; field in Action
127 this.actionKey = key; in Action()
135 this.actionKey = generateUniqueActionKey(getClass().getSimpleName()); in Action()
143 ActionMonitor.registerActionMonitor(this.actionKey, monitor); in start()
283 parcel.writeString(this.actionKey); in writeActionToParcel()
291 this.actionKey = in.readString(); in Action()
DUpdateDestinationBlockedAction.java97 final String actionKey) { in UpdateDestinationBlockedAction() argument
98 super(actionKey); in UpdateDestinationBlockedAction()
DReadDraftDataAction.java65 final String actionKey) { in ReadDraftDataAction() argument
66 super(actionKey); in ReadDraftDataAction()
DGetOrCreateConversationAction.java83 final String actionKey) { in GetOrCreateConversationAction() argument
84 super(actionKey); in GetOrCreateConversationAction()