/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
NotificationBackendTest.java | 24 import com.android.settings.notification.NotificationBackend.AppRow; 35 AppRow appRow = new AppRow(); 37 appRow.pkg = packageName; 41 NotificationBackend.markAppRowWithBlockables(nonBlockablePkgs, appRow, packageName); 44 assertTrue(appRow.lockedImportance); 45 assertNull(appRow.lockedChannelId); 57 AppRow channelBlockApp = new AppRow(); [all...] |
BlockPreferenceControllerTest.java | 103 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 104 appRow.systemApp = true; 107 mController.onResume(appRow, channel, null, null); 113 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 114 appRow.systemApp = true; 115 mController.onResume(appRow, null, mock(NotificationChannelGroup.class), null) [all...] |
BadgePreferenceControllerTest.java | 90 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 91 appRow.banned = true; 92 mController.onResume(appRow, mock(NotificationChannel.class), null, null); 98 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 101 mController.onResume(appRow, channel, null, null); 107 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow() [all...] |
NotificationPreferenceControllerTest.java | 96 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 97 appRow.banned = true; 98 mController.onResume(appRow, mock(NotificationChannel.class), 105 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 109 mController.onResume(appRow, channel, null, null); 115 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow() [all...] |
NotificationsOffPreferenceControllerTest.java | 69 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 70 appRow.banned = true; 71 mController.onResume(appRow, null, null, null); 77 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 80 mController.onResume(appRow, null, group, null); 86 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow() [all...] |
HeaderPreferenceControllerTest.java | 92 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 93 appRow.banned = true; 94 mController.onResume(appRow, null, null, null); 100 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 101 appRow.label = "bananas"; 102 mController.onResume(appRow, null, null, null) [all...] |
AppLinkPreferenceControllerTest.java | 81 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 82 appRow.banned = true; 83 mController.onResume(appRow, null, null, null); 89 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 92 mController.onResume(appRow, channel, null, null); 98 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow() [all...] |
DescriptionPreferenceControllerTest.java | 80 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 82 mController.onResume(appRow, null, group, null); 88 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 91 mController.onResume(appRow, channel, null, null); 97 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow() [all...] |
LightsPreferenceControllerTest.java | 99 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 101 mController.onResume(appRow, channel, null, null); 108 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 110 mController.onResume(appRow, channel, null, null); 116 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow() [all...] |
SoundPreferenceControllerTest.java | 112 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 113 mController.onResume(appRow, null, null, null); 119 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 121 mController.onResume(appRow, channel, null, null); 127 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow() [all...] |
ImportancePreferenceControllerTest.java | 96 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 97 appRow.banned = true; 98 mController.onResume(appRow, mock(NotificationChannel.class), null, null); 104 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 107 mController.onResume(appRow, channel, null, null); 113 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow() [all...] |
VibrationPreferenceControllerTest.java | 95 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 97 mController.onResume(appRow, channel, null, null); 103 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 105 mController.onResume(appRow, channel, null, null); 111 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow() [all...] |
AllowSoundPreferenceControllerTest.java | 95 mController.onResume(mock(NotificationBackend.AppRow.class), null, null, null); 101 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 102 appRow.banned = true; 103 mController.onResume(appRow, mock(NotificationChannel.class), null, null); 109 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 112 mController.onResume(appRow, channel, null, null) [all...] |
DndPreferenceControllerTest.java | 83 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 84 mController.onResume(appRow, null, null, null); 91 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 94 mController.onResume(appRow, channel, null, null); 102 mController.onResume(new NotificationBackend.AppRow(), channel, null, mock( 114 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow() [all...] |
VisibilityPreferenceControllerTest.java | 119 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 121 mController.onResume(appRow, channel, null, null); 127 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 129 mController.onResume(appRow, channel, null, null); 135 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow() [all...] |
DeletedChannelsPreferenceControllerTest.java | 75 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 76 appRow.banned = true; 77 mController.onResume(appRow, null, null, null); 83 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 84 mController.onResume(appRow, null, mock(NotificationChannelGroup.class), null); 91 new NotificationBackend.AppRow(), mock(NotificationChannel.class), null, null) [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
AppNotificationPreferenceControllerTest.java | 116 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 117 appRow.banned = true; 118 appRow.blockedChannelCount = 30; 119 assertThat(mController.getNotificationSummary(appRow, mContext).toString()) 125 NotificationBackend.AppRow appRow = new NotificationBackend.AppRow(); 126 appRow.banned = false [all...] |
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
AppNotificationPreferenceController.java | 74 NotificationBackend.AppRow appRow = 76 return getNotificationSummary(appRow, context); 79 public static CharSequence getNotificationSummary(NotificationBackend.AppRow appRow, 81 if (appRow == null) { 84 if (appRow.banned) { 86 } else if (appRow.channelCount == 0) { 88 } else if (appRow.channelCount == appRow.blockedChannelCount) [all...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
NotificationPreferenceController.java | 49 protected NotificationBackend.AppRow mAppRow; 104 protected void onResume(NotificationBackend.AppRow appRow, 107 mAppRow = appRow;
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
ScopedDirectoryAccessClientTest.java | 424 final UiObject2 appRow = mDevice.findObject(byAppLabel); 425 appRow.click();
|