Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DSmartReplyControllerTest.java71 private SmartReplyController mSmartReplyController; field in SmartReplyControllerTest
90 mSmartReplyController = new SmartReplyController( in setUp()
96 mSmartReplyController); in setUp()
100 mock(NotificationLockscreenUserManager.class), mSmartReplyController, in setUp()
125 mSmartReplyController.smartReplySent(mEntry, TEST_CHOICE_INDEX, TEST_CHOICE_TEXT, in testSendSmartReply_updatesRemoteInput()
136 mSmartReplyController.smartReplySent(mEntry, TEST_CHOICE_INDEX, TEST_CHOICE_TEXT, in testSendSmartReply_logsToStatusBar()
147 mSmartReplyController.smartReplySent(mEntry, TEST_CHOICE_INDEX, TEST_CHOICE_TEXT, in testSendSmartReply_logsToStatusBar_modifiedBeforeSending()
169 mSmartReplyController.smartReplySent(mEntry, TEST_CHOICE_INDEX, TEST_CHOICE_TEXT, in testSendSmartReply_reportsSending()
172 assertTrue(mSmartReplyController.isSendingSmartReply(mSbn.getKey())); in testSendSmartReply_reportsSending()
179 mSmartReplyController.stopSending(mEntry); in testSendingSmartReply_afterRemove_shouldReturnFalse()
[all …]
H A DNotificationRemoteInputManagerTest.java77 @Mock private SmartReplyController mSmartReplyController; field in NotificationRemoteInputManagerTest
103 mSmartReplyController, in setUp()
168 when(mSmartReplyController.isSendingSmartReply(mEntry.getKey())).thenReturn(true); in testShouldExtendLifetime_smartReplySending()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DRemoteInputCoordinator.kt70 private val mSmartReplyController: SmartReplyController
106 mSmartReplyController.stopSending(entry)
114 mSmartReplyController.stopSending(entry)
178 mSmartReplyController.setCallback(this::onSmartReplySent)
206 mSmartReplyController.stopSending(entry)
214 mSmartReplyController.stopSending(entry)
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationRemoteInputManager.java97 private final SmartReplyController mSmartReplyController; field in NotificationRemoteInputManager
278 mSmartReplyController = smartReplyController; in NotificationRemoteInputManager()
303 mSmartReplyController.stopSending(entry); in NotificationRemoteInputManager()
313 mSmartReplyController.stopSending(entry); in NotificationRemoteInputManager()
383 mSmartReplyController.setCallback((entry, reply) -> { in setUpWithCallback()
643 return mSmartReplyController.isSendingSmartReply(entry.getKey()); in shouldKeepForSmartReplyHistory()
1008 mSmartReplyController.stopSending(entry); in setShouldManageLifetime()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DSmartReplyViewTest.java114 @Mock private SmartReplyController mSmartReplyController; field in SmartReplyViewTest
158 mSmartReplyController, in setUp()
163 mSmartReplyController, in setUp()
220 verify(mSmartReplyController).smartReplySent(mEntry, 2, TEST_CHOICES[2], in testSendSmartReply_controllerCalled()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDependency.java326 @Inject Lazy<SmartReplyController> mSmartReplyController; field in Dependency
542 mProviders.put(SmartReplyController.class, mSmartReplyController::get); in start()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DNotificationContentView.java106 private SmartReplyController mSmartReplyController; field in NotificationContentView
182 mSmartReplyController = Dependency.get(SmartReplyController.class); in NotificationContentView()
1401 mSmartReplyController.smartSuggestionsAdded(entry, numSmartReplies, in applySmartReplyView()