Home
last modified time | relevance | path

Searched refs:appEntries (Results 1 – 7 of 7) 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/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/src/com/android/settings/fuelgauge/
DBatteryChartPreferenceController.java355 final List<BatteryDiffEntry> appEntries = new ArrayList<>(); in addAllPreferences() local
366 appEntries.add(entry); in addAllPreferences()
373 Collections.sort(appEntries, BatteryDiffEntry.COMPARATOR); in addAllPreferences()
376 appEntries.size(), mSystemEntries.size())); in addAllPreferences()
379 if (!appEntries.isEmpty()) { in addAllPreferences()
380 addPreferenceToScreen(appEntries); in addAllPreferences()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreferenceControllerTest.java167 final ArrayList<AppEntry> appEntries = new ArrayList<>(); in createAppEntries() local
177 appEntries.add(appEntry); in createAppEntries()
179 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 ->