Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DAssistantFeedbackControllerTest.java67 private AssistantFeedbackController mAssistantFeedbackController; field in AssistantFeedbackControllerTest
77 mAssistantFeedbackController = new AssistantFeedbackController( in setUp()
88 assertFalse(mAssistantFeedbackController.isFeedbackEnabled()); in testFlagDisabled()
94 assertTrue(mAssistantFeedbackController.isFeedbackEnabled()); in testFlagEnabled()
101 assertEquals(STATUS_UNCHANGED, mAssistantFeedbackController.getFeedbackStatus( in testFeedback_flagDisabled()
103 assertNull(mAssistantFeedbackController.getFeedbackIcon( in testFeedback_flagDisabled()
106 assertEquals(STATUS_UNCHANGED, mAssistantFeedbackController.getFeedbackStatus( in testFeedback_flagDisabled()
108 assertNull(mAssistantFeedbackController.getFeedbackIcon( in testFeedback_flagDisabled()
115 assertEquals(STATUS_UNCHANGED, mAssistantFeedbackController.getFeedbackStatus( in testFeedback_noChange()
117 assertNull(mAssistantFeedbackController.getFeedbackIcon( in testFeedback_noChange()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationInfoTest.java118 private AssistantFeedbackController mAssistantFeedbackController; field in NotificationInfoTest
167 when(mAssistantFeedbackController.isFeedbackEnabled()).thenReturn(false); in setUp()
168 when(mAssistantFeedbackController.getInlineDescriptionResource(any())) in setUp()
189 mAssistantFeedbackController, in testBindNotification_SetsTextApplicationName()
215 mAssistantFeedbackController, in testBindNotification_SetsPackageIcon()
237 mAssistantFeedbackController, in testBindNotification_noDelegate()
268 mAssistantFeedbackController, in testBindNotification_delegate()
291 mAssistantFeedbackController, in testBindNotification_GroupNameHiddenIfNoGroup()
319 mAssistantFeedbackController, in testBindNotification_SetsGroupNameIfNonNull()
342 mAssistantFeedbackController, in testBindNotification_SetsTextChannelName()
[all …]
DFeedbackInfoTest.java86 private final AssistantFeedbackController mAssistantFeedbackController = field in FeedbackInfoTest
136 mMockNotificationRow, mAssistantFeedbackController, mStatusBarService, in testBindNotification_SetsTextApplicationName()
148 mMockNotificationRow, mAssistantFeedbackController, mStatusBarService, in testBindNotification_SetsPackageIcon()
156 when(mAssistantFeedbackController.getFeedbackStatus(any(NotificationEntry.class))) in testPrompt_silenced()
159 mAssistantFeedbackController, mStatusBarService, mNotificationGutsManager); in testPrompt_silenced()
168 when(mAssistantFeedbackController.getFeedbackStatus(any(NotificationEntry.class))) in testPrompt_promoted()
171 mAssistantFeedbackController, mStatusBarService, mNotificationGutsManager); in testPrompt_promoted()
180 when(mAssistantFeedbackController.getFeedbackStatus(any(NotificationEntry.class))) in testPrompt_alerted()
183 mAssistantFeedbackController, mStatusBarService, mNotificationGutsManager); in testPrompt_alerted()
192 when(mAssistantFeedbackController.getFeedbackStatus(any(NotificationEntry.class))) in testPrompt_demoted()
[all …]
DNotificationGutsManagerTest.java154 @Mock private AssistantFeedbackController mAssistantFeedbackController; field in NotificationGutsManagerTest
200 mAssistantFeedbackController, in setUp()
484 eq(mAssistantFeedbackController), in testInitializeNotificationInfoView_highPriority()
517 eq(mAssistantFeedbackController), in testInitializeNotificationInfoView_PassesAlongProvisionedState()
548 eq(mAssistantFeedbackController), in testInitializeNotificationInfoView_withInitialAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DRowAppearanceCoordinator.kt37 private var mAssistantFeedbackController: AssistantFeedbackController, in <lambda>() variable
77 controller.setFeedbackIcon(mAssistantFeedbackController.getFeedbackIcon(entry)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java105 private final AssistantFeedbackController mAssistantFeedbackController; field in NotificationGutsManager
175 mAssistantFeedbackController = assistantFeedbackController; in NotificationGutsManager()
357 if (mAssistantFeedbackController.getFeedbackIcon(row.getEntry()) == null) { in initializeFeedbackInfo()
365 feedbackInfo.bindGuts(pmUser, sbn, row.getEntry(), row, mAssistantFeedbackController, in initializeFeedbackInfo()
418 mAssistantFeedbackController, in initializeNotificationInfo()
DNotificationInfo.java101 private AssistantFeedbackController mAssistantFeedbackController; field in NotificationInfo
211 mAssistantFeedbackController = assistantFeedbackController; in bindNotification()
226 mShowAutomaticSetting = mAssistantFeedbackController.isFeedbackEnabled(); in bindNotification()
286 mAssistantFeedbackController.getInlineDescriptionResource(mEntry)).toString())); in bindInlineControls()