Home
last modified time | relevance | path

Searched refs:createAction (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DInflatedSmartRepliesTest.java300 actions.add(createAction("allowed action", WHITELISTED_TEST_INTENT)); in chooseSmartRepliesAndActions_lockTaskKioskModeEnabled_smartActionsAffected()
301 actions.add(createAction("non-allowed action", TEST_INTENT)); in chooseSmartRepliesAndActions_lockTaskKioskModeEnabled_smartActionsAffected()
346 createAction("firstAction"), in areSuggestionsSimilar_trueForSimilar()
347 createAction("secondAction")); in areSuggestionsSimilar_trueForSimilar()
349 createAction("firstAction"), in areSuggestionsSimilar_trueForSimilar()
350 createAction("secondAction")); in areSuggestionsSimilar_trueForSimilar()
368 createAction("firstAction"), in areSuggestionsSimilar_falseForDifferentReplies()
369 createAction("secondAction")); in areSuggestionsSimilar_falseForDifferentReplies()
371 createAction("firstAction"), in areSuggestionsSimilar_falseForDifferentReplies()
372 createAction("secondAction")); in areSuggestionsSimilar_falseForDifferentReplies()
[all …]
DSmartReplyViewTest.java484 private Notification.Action createAction(String actionTitle) { in createAction() method in SmartReplyViewTest
493 actions.add(createAction(title)); in createActions()
882 Button singleLineButton = inflateActionButton(createAction("One line")); in testInflateActionButton_smartActionIconSingleLineSizeForTwoLineButton()
883 Button doubleLineButton = inflateActionButton(createAction("Two\nlines")); in testInflateActionButton_smartActionIconSingleLineSizeForTwoLineButton()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAdjustmentExtractorTest.java61 smartActions.add(createAction()); in testExtractsAdjustment()
125 private Notification.Action createAction() { in createAction() method in NotificationAdjustmentExtractorTest
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntryTest.java241 private Notification.Action createAction(String title) { in createAction() method in NotificationEntryTest
251 actions.add(createAction(title)); in createActions()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java327 setSmartActions(mEntry.getKey(), new ArrayList<>(Arrays.asList(createAction()))); in testUpdateNotificationRanking()
356 setSmartActions(mEntry.getKey(), new ArrayList<>(Arrays.asList(createAction()))); in testUpdateNotificationRanking_rowNotInflatedYet()
371 setSmartActions(mEntry.getKey(), new ArrayList<>(Arrays.asList(createAction()))); in testUpdateNotificationRanking_pendingNotification()
594 private Notification.Action createAction() { in createAction() method in NotificationEntryManagerTest