Home
last modified time | relevance | path

Searched refs:appEntries (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeBypassingAppsPreferenceControllerTest.java99 List<ApplicationsState.AppEntry> appEntries = new ArrayList<>(); in testUpdateBypassingApps() local
100 appEntries.add(entry); in testUpdateBypassingApps()
109 mController.updateAppsBypassingDndSummaryText(appEntries); in testUpdateBypassingApps()
134 List<ApplicationsState.AppEntry> appEntries = new ArrayList<>(); in testUpdateBypassingApps_multipleApps() local
135 appEntries.add(entry1); in testUpdateBypassingApps_multipleApps()
136 appEntries.add(entry2); in testUpdateBypassingApps_multipleApps()
149 mController.updateAppsBypassingDndSummaryText(appEntries); in testUpdateBypassingApps_multipleApps()
170 List<ApplicationsState.AppEntry> appEntries = new ArrayList<>(); in testUpdateBypassingApps_conversation() local
171 appEntries.add(entry); in testUpdateBypassingApps_conversation()
182 mController.updateAppsBypassingDndSummaryText(appEntries); in testUpdateBypassingApps_conversation()
[all …]
DZenModeAddBypassingAppsPreferenceControllerTest.java127 List<ApplicationsState.AppEntry> appEntries = new ArrayList<>(); in testUpdateAppList() local
128 appEntries.add(appWithBypassingChannels); in testUpdateAppList()
129 appEntries.add(appWithoutChannels); in testUpdateAppList()
130 appEntries.add(appWithChannelsNoneBypassing); in testUpdateAppList()
133 mController.updateAppList(appEntries); in testUpdateAppList()
DZenModeAllBypassingAppsPreferenceControllerTest.java96 List<ApplicationsState.AppEntry> appEntries = new ArrayList<>(); in testUpdateAppList() local
97 appEntries.add(entry1); in testUpdateAppList()
98 appEntries.add(entry2); in testUpdateAppList()
106 mController.updateAppList(appEntries); in testUpdateAppList()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModeAddBypassingAppsPreferenceControllerTest.java127 List<ApplicationsState.AppEntry> appEntries = new ArrayList<>(); in testUpdateAppList() local
128 appEntries.add(appWithBypassingChannels); in testUpdateAppList()
129 appEntries.add(appWithoutChannels); in testUpdateAppList()
130 appEntries.add(appWithChannelsNoneBypassing); in testUpdateAppList()
133 mController.updateAppList(appEntries); in testUpdateAppList()
DZenModeAppsLinkPreferenceControllerTest.java150 List<ApplicationsState.AppEntry> appEntries = List.of(entry, entryConv); in testGetAppsBypassingDnd() local
155 assertThat(mController.getAppsBypassingDnd(appEntries)).containsExactly("testLabel"); in testGetAppsBypassingDnd()
166 ArrayList<ApplicationsState.AppEntry> appEntries = in testUpdateTriggersRebuild() local
168 appEntries.add(createAppEntry("test", "pkgLabel")); in testUpdateTriggersRebuild()
180 mController.mAppSessionCallbacks.onRebuildComplete(appEntries); in testUpdateTriggersRebuild()
DZenModeAllBypassingAppsPreferenceControllerTest.java96 List<ApplicationsState.AppEntry> appEntries = new ArrayList<>(); in testUpdateAppList() local
97 appEntries.add(entry1); in testUpdateAppList()
98 appEntries.add(entry2); in testUpdateAppList()
106 mController.updateAppList(appEntries); in testUpdateAppList()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryDiffData.java181 final @NonNull List<BatteryDiffEntry> appEntries) { in combineIntoSystemApps() argument
184 final Iterator<BatteryDiffEntry> appListIterator = appEntries.iterator(); in combineIntoSystemApps()
208 appEntries.add(systemAppsDiffEntry); in combineIntoSystemApps()
213 final Context context, final @NonNull List<BatteryDiffEntry> appEntries) { in combineIntoUninstalledApps() argument
215 final Iterator<BatteryDiffEntry> appListIterator = appEntries.iterator(); in combineIntoUninstalledApps()
237 appEntries.add(uninstalledAppDiffEntry); in combineIntoUninstalledApps()
DDataProcessor.java628 final List<BatteryDiffEntry> appEntries = new ArrayList<>(); in generateBatteryDiffData() local
639 appEntries, in generateBatteryDiffData()
675 appEntries.add(currentBatteryDiffEntry); in generateBatteryDiffData()
686 appEntries, in generateBatteryDiffData()
1346 final List<BatteryDiffEntry> appEntries = new ArrayList<>(); in insertHourlyUsageDiffDataPerSlot() local
1363 appEntries, in insertHourlyUsageDiffDataPerSlot()
1520 appEntries.add(currentBatteryDiffEntry); in insertHourlyUsageDiffDataPerSlot()
1530 appEntries, in insertHourlyUsageDiffDataPerSlot()
1591 final List<BatteryDiffEntry> appEntries = new ArrayList<>(); in getAccumulatedUsageDiffData() local
1625 appEntries.add(entry); in getAccumulatedUsageDiffData()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DAllAppsSession.java175 @Nullable ArrayList<ApplicationsState.AppEntry> appEntries) {
176 if (appEntries == null) {
179 return appEntries.stream().filter(appEntry ->
/packages/apps/Settings/src/com/android/settings/applications/appops/
DAppOpsState.java503 private AppEntry getAppEntry(final Context context, final HashMap<String, AppEntry> appEntries, in getAppEntry() argument
505 AppEntry appEntry = appEntries.get(packageName); in getAppEntry()
519 appEntries.put(packageName, appEntry); in getAppEntry()
532 final HashMap<String, AppEntry> appEntries = new HashMap<String, AppEntry>(); in buildState() local
559 AppEntry appEntry = getAppEntry(context, appEntries, pkgOps.getPackageName(), null); in buildState()
586 AppEntry appEntry = getAppEntry(context, appEntries, appInfo.packageName, in buildState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/premiumsms/
DPremiumSmsAccessTest.java177 final ArrayList<ApplicationsState.AppEntry> appEntries = new ArrayList<>(); in createAppEntries() local
189 appEntries.add(appEntry); in createAppEntries()
191 return appEntries; in createAppEntries()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreferenceControllerTest.java243 final ArrayList<AppEntry> appEntries = new ArrayList<>(); in createAppEntries() local
253 appEntries.add(appEntry); in createAppEntries()
255 return appEntries; in createAppEntries()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAllAppsFragment.java244 @Nullable ArrayList<ApplicationsState.AppEntry> appEntries) {
245 if (appEntries == null) {
248 return appEntries.stream().filter(appEntry ->