Searched refs:mSmartReplyController (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | SmartReplyControllerTest.java | 64 private SmartReplyController mSmartReplyController; field in SmartReplyControllerTest 80 mSmartReplyController = new SmartReplyController(mNotificationEntryManager, in setUp() 83 mSmartReplyController); in setUp() 86 mock(NotificationLockscreenUserManager.class), mSmartReplyController, in setUp() 102 mSmartReplyController.smartReplySent(mEntry, TEST_CHOICE_INDEX, TEST_CHOICE_TEXT, in testSendSmartReply_updatesRemoteInput() 113 mSmartReplyController.smartReplySent(mEntry, TEST_CHOICE_INDEX, TEST_CHOICE_TEXT, in testSendSmartReply_logsToStatusBar() 124 mSmartReplyController.smartReplySent(mEntry, TEST_CHOICE_INDEX, TEST_CHOICE_TEXT, in testSendSmartReply_logsToStatusBar_modifiedBeforeSending() 136 mSmartReplyController.smartSuggestionsAdded(mEntry, TEST_CHOICE_COUNT, TEST_ACTION_COUNT, in testShowSmartSuggestions_logsToStatusBar() 146 mSmartReplyController.smartReplySent(mEntry, TEST_CHOICE_INDEX, TEST_CHOICE_TEXT, in testSendSmartReply_reportsSending() 149 assertTrue(mSmartReplyController.isSendingSmartReply(mSbn.getKey())); in testSendSmartReply_reportsSending() [all …]
|
D | NotificationRemoteInputManagerTest.java | 54 @Mock private SmartReplyController mSmartReplyController; field in NotificationRemoteInputManagerTest 74 mLockscreenUserManager, mSmartReplyController, mEntryManager, in setUp() 124 when(mSmartReplyController.isSendingSmartReply(mEntry.key)).thenReturn(true); in testShouldExtendLifetime_smartReplySending()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationRemoteInputManager.java | 115 private final SmartReplyController mSmartReplyController; field in NotificationRemoteInputManager 265 mSmartReplyController = smartReplyController; in NotificationRemoteInputManager() 280 mSmartReplyController.stopSending(entry); in NotificationRemoteInputManager() 289 mSmartReplyController.stopSending(entry); in NotificationRemoteInputManager() 339 mSmartReplyController.setCallback((entry, reply) -> { in setUpWithCallback() 495 return mSmartReplyController.isSendingSmartReply(entry.key); in shouldKeepForSmartReplyHistory() 668 mSmartReplyController.stopSending(entry); in setShouldManageLifetime()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | NotificationEntryManagerTest.java | 133 @Mock private SmartReplyController mSmartReplyController; field in NotificationEntryManagerTest 223 mDependency.injectTestDependency(SmartReplyController.class, mSmartReplyController); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Dependency.java | 280 @Inject Lazy<SmartReplyController> mSmartReplyController; field in Dependency 464 mProviders.put(SmartReplyController.class, mSmartReplyController::get); in start()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationContentView.java | 93 private SmartReplyController mSmartReplyController; field in NotificationContentView 175 mSmartReplyController = Dependency.get(SmartReplyController.class); in NotificationContentView() 1403 mSmartReplyController.smartSuggestionsAdded(entry, numSmartReplies,
|