Home
last modified time | relevance | path

Searched refs:sActionMonitors (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionTest.java76 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionStartTransitionsCorrectly()
77 assertTrue(ActionMonitor.sActionMonitors.containsValue(mMonitor)); in testActionStartTransitionsCorrectly()
78 assertEquals(ActionMonitor.sActionMonitors.get(mAction.actionKey), mMonitor); in testActionStartTransitionsCorrectly()
87 assertFalse(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionStartTransitionsCorrectly()
88 assertFalse(ActionMonitor.sActionMonitors.containsValue(mMonitor)); in testActionStartTransitionsCorrectly()
96 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionStartAssertsFromIncorrectState()
97 assertTrue(ActionMonitor.sActionMonitors.containsValue(mMonitor)); in testActionStartAssertsFromIncorrectState()
98 assertEquals(ActionMonitor.sActionMonitors.get(mAction.actionKey), mMonitor); in testActionStartAssertsFromIncorrectState()
107 assertFalse(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionStartAssertsFromIncorrectState()
108 assertFalse(ActionMonitor.sActionMonitors.containsValue(mMonitor)); in testActionStartAssertsFromIncorrectState()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DActionMonitor.java422 static SimpleArrayMap<String, ActionMonitor> sActionMonitors = field in ActionMonitor
437 synchronized (sActionMonitors) { in registerActionMonitor()
438 sActionMonitors.put(actionKey, monitor); in registerActionMonitor()
447 synchronized (sActionMonitors) { in lookupActionMonitor()
448 monitor = sActionMonitors.get(actionKey); in lookupActionMonitor()
460 synchronized (sActionMonitors) { in unregisterActionMonitor()
461 sActionMonitors.remove(actionKey); in unregisterActionMonitor()
472 synchronized (sActionMonitors) { in unregisterActionMonitorIfComplete()
473 sActionMonitors.remove(actionKey); in unregisterActionMonitorIfComplete()