Searched refs:mMonitor (Results 1 – 7 of 7) 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/DocumentsUI/src/com/android/documentsui/ |
D | ContentLock.java | 36 private final OperationMonitor mMonitor = new OperationMonitor(); field in ContentLock 42 mMonitor.addListener(() -> { in ContentLock() 59 return mMonitor; in getMonitor() 66 return mMonitor.isStarted(); in isLocked()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/prefs/ |
D | PreferencesMonitorTest.java | 39 private PreferencesMonitor mMonitor; field in PreferencesMonitorTest 46 mMonitor = new PreferencesMonitor("Poodles", mPrefs, mConsumer); in setUp() 47 mMonitor.start(); in setUp() 52 mMonitor.stop(); in tearDown()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/ |
D | MpegTsDefaultAudioTrackRenderer.java | 107 private final AudioTrackMonitor mMonitor; field in MpegTsDefaultAudioTrackRenderer 148 mMonitor = new AudioTrackMonitor(); in MpegTsDefaultAudioTrackRenderer() 232 mMonitor.reset(MONITOR_DURATION_MS); in seekToInternal() 281 mMonitor.maybeLog(); in doSomeWork() 395 mMonitor.setEncoding(mimeType); in onInputFormatChanged() 472 mMonitor.addPts( in feedInputBuffer() 478 mMonitor.addPts( in feedInputBuffer()
|