Searched refs:mMonitor (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ActionTest.java | 41 private StubChatActionMonitor mMonitor; field in ActionTest 52 mMonitor = new StubChatActionMonitor(ActionMonitor.STATE_CREATED, mActionKey, in setUp() 55 mTransitions = mMonitor.getTransitions(); in setUp() 59 assertEquals(to, mMonitor.getState()); in verifyState() 73 mMonitor.setState(ActionMonitor.STATE_CREATED); in testActionStartTransitionsCorrectly() 75 ActionMonitor.registerActionMonitor(mAction.actionKey, mMonitor); in testActionStartTransitionsCorrectly() 77 assertTrue(ActionMonitor.sActionMonitors.containsValue(mMonitor)); in testActionStartTransitionsCorrectly() 78 assertEquals(ActionMonitor.sActionMonitors.get(mAction.actionKey), mMonitor); in testActionStartTransitionsCorrectly() local 82 mMonitor.getState()); in testActionStartTransitionsCorrectly() 85 ActionMonitor.unregisterActionMonitor(mAction.actionKey, mMonitor); in testActionStartTransitionsCorrectly() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | LaunchConversationData.java | 37 private GetOrCreateConversationActionMonitor mMonitor; field in LaunchConversationData 46 if (mMonitor != null) { in unregisterListeners() 47 mMonitor.unregister(); in unregisterListeners() 49 mMonitor = null; in unregisterListeners() 57 if (isBound(bindingId) && mMonitor == null) { in getOrCreateConversation() 58 mMonitor = GetOrCreateConversationAction.getOrCreateConversation(recipients, in getOrCreateConversation() 67 Assert.isTrue(monitor == mMonitor); in onGetOrCreateConversationSucceeded() 75 mMonitor = null; in onGetOrCreateConversationSucceeded() 82 Assert.isTrue(monitor == mMonitor); in onGetOrCreateConversationFailed() 88 mMonitor = null; in onGetOrCreateConversationFailed()
|
D | DraftMessageData.java | 85 private ReadDraftDataActionMonitor mMonitor; field in DraftMessageData 554 if (mMonitor == null && !isDraftCachedCopy && isBound(binding.getBindingId())) { in loadFromStorage() 555 mMonitor = ReadDraftDataAction.readDraftData(mConversationId, in loadFromStorage() 626 mMonitor = null; in onReadDraftDataSucceeded() 636 mMonitor = null; in onReadDraftDataFailed() 649 if (mMonitor != null) { in unregisterListeners() 650 mMonitor.unregister(); in unregisterListeners() 652 mMonitor = null; in unregisterListeners()
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactPickerFragment.java | 223 if (mMonitor != null) { in onDestroy() 224 mMonitor.unregister(); in onDestroy() 226 mMonitor = null; in onDestroy() 439 } else if (participants.size() > 0 && mMonitor == null) { in maybeGetOrCreateConversation() 440 mMonitor = GetOrCreateConversationAction.getOrCreateConversation(participants, in maybeGetOrCreateConversation() 583 private GetOrCreateConversationActionMonitor mMonitor; field in ContactPickerFragment 589 Assert.isTrue(monitor == mMonitor); in onGetOrCreateConversationSucceeded() 596 mMonitor = null; in onGetOrCreateConversationSucceeded() 603 Assert.isTrue(monitor == mMonitor); in onGetOrCreateConversationFailed() 605 mMonitor = null; in onGetOrCreateConversationFailed()
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/ac3/ |
D | Ac3TrackRenderer.java | 92 private final AudioTrackMonitor mMonitor; field in Ac3TrackRenderer 124 mMonitor = new AudioTrackMonitor(); in Ac3TrackRenderer() 198 mMonitor.reset(MONITOR_DURATION_MS); in seekToInternal() 244 mMonitor.maybeLog(); in doSomeWork() 483 mMonitor.addPts(presentationTimeUs, mOutputBuffer.position(), in decodeDone()
|