/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | InflatedSmartRepliesTest.java | 124 assertThat(smartReplyState.getSmartActions()).isNull(); in chooseSmartRepliesAndActions_smartRepliesOff_noAppGeneratedSmartSuggestions() 142 assertThat(smartReplyState.getSmartActions()).isNull(); in chooseSmartRepliesAndActions_smartRepliesOff_noSystemGeneratedSmartSuggestions() 158 assertThat(smartReplyState.getSmartActions()).isNull(); in chooseSmartRepliesAndActions_appGeneratedSmartReplies() 176 assertThat(smartReplyState.getSmartActions().actions) in chooseSmartRepliesAndActions_appGeneratedSmartRepliesAndActions() 199 assertThat(smartReplyState.getSmartActions()).isNull(); in chooseSmartRepliesAndActions_sysGeneratedSmartReplies() 217 assertThat(smartReplyState.getSmartActions()).isNull(); in chooseSmartRepliesAndActions_noSysGeneratedSmartRepliesIfNotAllowed() 236 assertThat(smartReplyState.getSmartActions().actions) in chooseSmartRepliesAndActions_sysGeneratedSmartActions() 269 assertThat(smartReplyState.getSmartActions().actions) in chooseSmartRepliesAndActions_sysGeneratedPhishingSmartAction() 298 assertThat(smartReplyState.getSmartActions().actions) in chooseSmartRepliesAndActions_appGenPreferredOverSysGen() 383 assertThat(smartReplyState.getSmartActions().actions) in chooseSmartRepliesAndActions_lockTaskKioskModeEnabled_smartActionsAffected() [all …]
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationListenerServiceTest.java | 118 assertActionsEqual(getSmartActions(key, i), ranking.getSmartActions()); in testRanking() 189 (ArrayList) tweak.getSmartActions(), in testRankingUpdate_equals() 270 getSmartActions(key, i), in generateUpdate() 357 private ArrayList<Notification.Action> getSmartActions(String key, int index) { in getSmartActions() method in NotificationListenerServiceTest 445 assertActionsEqual(a.getSmartActions(), b.getSmartActions()); in detailedAssertEquals()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationEntryManagerTest.java | 354 assertEquals(1, mEntry.getSmartActions().size()); in testUpdateNotificationRanking() 355 assertEquals("action", mEntry.getSmartActions().get(0).title); in testUpdateNotificationRanking() 369 assertThat(mEntry.getSmartActions()).isEmpty(); in testUpdateNotificationRanking_noChange() 382 assertEquals(1, mEntry.getSmartActions().size()); in testUpdateNotificationRanking_rowNotInflatedYet() 383 assertEquals("action", mEntry.getSmartActions().get(0).title); in testUpdateNotificationRanking_rowNotInflatedYet() 396 assertEquals(1, mEntry.getSmartActions().size()); in testUpdateNotificationRanking_pendingNotification() 397 assertEquals("action", mEntry.getSmartActions().get(0).title); in testUpdateNotificationRanking_pendingNotification()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationUiAdjustment.java | 60 entry.getKey(), entry.getSmartActions(), entry.getSmartReplies(), in extractFromNotificationEntry()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | RankingBuilder.java | 81 mSmartActions = copyList(ranking.getSmartActions()); in RankingBuilder()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | ScreenshotSmartActions.java | 112 List<Notification.Action> getSmartActions(String screenshotId, in getSmartActions() method in ScreenshotSmartActions
|
H A D | SaveImageInBackgroundTask.java | 160 mScreenshotSmartActions.getSmartActions( in doInBackground() 470 mScreenshotSmartActions.getSmartActions(
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
H A D | NotificationEntry.java | 340 public @NonNull List<Notification.Action> getSmartActions() { in getSmartActions() method in NotificationEntry 341 return mRanking.getSmartActions(); in getSmartActions()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
H A D | NotificationEntryTest.java | 194 assertEquals(systemGeneratedSmartActions, entry.getSmartActions()); in testCreateNotificationDataEntry_RankingUpdate()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
H A D | ScreenshotNotificationSmartActionsTest.java | 109 List<Notification.Action> actions = mScreenshotSmartActions.getSmartActions( in testExceptionHandlingInGetSmartActions()
|
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
H A D | PreprocessingManagerTest.java | 1041 getSmartActions(key, i), in generateRankingMap() 1131 private ArrayList<Notification.Action> getSmartActions(String key, int index) { in getSmartActions() method in PreprocessingManagerTest
|
/aosp12/frameworks/base/core/java/android/service/notification/ |
H A D | NotificationListenerService.java | 1927 public @NonNull List<Notification.Action> getSmartActions() { in getSmartActions() method in NotificationListenerService.Ranking
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | NotificationContentView.java | 1390 SmartReplyView.SmartActions smartActions = state.getSmartActions(); in applySmartReplyView()
|
/aosp12/frameworks/base/core/api/ |
H A D | current.txt | 38732 method @NonNull public java.util.List<android.app.Notification.Action> getSmartActions();
|