Home
last modified time | relevance | path

Searched refs:appEntries (Results 1 – 15 of 15) 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/
DZenModeAppsLinkPreferenceControllerTest.java270 ArrayList<ApplicationsState.AppEntry> appEntries = new ArrayList<>(); in updateState_withPolicyAllowingPriorityChannels_triggersRebuild() local
271 appEntries.add(createAppEntry("test", mContext.getUserId())); in updateState_withPolicyAllowingPriorityChannels_triggersRebuild()
283 mController.mAppSessionCallbacks.onRebuildComplete(appEntries); in updateState_withPolicyAllowingPriorityChannels_triggersRebuild()
294 ArrayList<ApplicationsState.AppEntry> appEntries = new ArrayList<>(); in updateState_withPolicyAllowingPriorityChannels_loadsIcons() local
295 appEntries.add(createAppEntry("test1", mContext.getUserId())); in updateState_withPolicyAllowingPriorityChannels_loadsIcons()
296 appEntries.add(createAppEntry("test2", mContext.getUserId())); in updateState_withPolicyAllowingPriorityChannels_loadsIcons()
297 mController.mAppSessionCallbacks.onRebuildComplete(appEntries); in updateState_withPolicyAllowingPriorityChannels_loadsIcons()
332 ArrayList<ApplicationsState.AppEntry> appEntries = new ArrayList<>(); in updateState_noneToPriority_loadsBypassingAppsAndListensForChanges() local
333 appEntries.add(createAppEntry("test", mContext.getUserId())); in updateState_noneToPriority_loadsBypassingAppsAndListensForChanges()
347 mController.mAppSessionCallbacks.onRebuildComplete(appEntries); in updateState_noneToPriority_loadsBypassingAppsAndListensForChanges()
[all …]
DZenModeAllBypassingAppsPreferenceControllerTest.java107 List<ApplicationsState.AppEntry> appEntries = new ArrayList<>(); in testUpdateAppList() local
108 appEntries.add(entry1); in testUpdateAppList()
109 appEntries.add(entry2); in testUpdateAppList()
110 appEntries.add(entry3); in testUpdateAppList()
115 mController.updateAppList(appEntries); in testUpdateAppList()
DZenModeAddBypassingAppsPreferenceControllerTest.java158 List<ApplicationsState.AppEntry> appEntries = new ArrayList<>(); in testUpdateAppList() local
159 appEntries.add(appWithBypassingChannels); in testUpdateAppList()
160 appEntries.add(appWithoutChannels); in testUpdateAppList()
161 appEntries.add(appWithChannelsNoneBypassing); in testUpdateAppList()
164 mController.updateAppList(appEntries); in testUpdateAppList()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DAdjustmentExcludedAppsPreferenceControllerTest.java127 List<ApplicationsState.AppEntry> appEntries = new ArrayList<>(); in testUpdateAppList() local
128 appEntries.add(canSummarize); in testUpdateAppList()
129 appEntries.add(canSummarize2); in testUpdateAppList()
130 appEntries.add(cannot); in testUpdateAppList()
131 appEntries.add(cannot2); in testUpdateAppList()
134 mController.updateAppList(appEntries); in testUpdateAppList()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryDiffData.java182 final @NonNull List<BatteryDiffEntry> appEntries) { in combineIntoSystemApps() argument
185 final Iterator<BatteryDiffEntry> appListIterator = appEntries.iterator(); in combineIntoSystemApps()
209 appEntries.add(systemAppsDiffEntry); in combineIntoSystemApps()
214 final Context context, final @NonNull List<BatteryDiffEntry> appEntries) { in combineIntoUninstalledApps() argument
216 final Iterator<BatteryDiffEntry> appListIterator = appEntries.iterator(); in combineIntoUninstalledApps()
238 appEntries.add(uninstalledAppDiffEntry); in combineIntoUninstalledApps()
DDataProcessor.java625 final List<BatteryDiffEntry> appEntries = new ArrayList<>(); in generateBatteryDiffData() local
636 appEntries, in generateBatteryDiffData()
672 appEntries.add(currentBatteryDiffEntry); in generateBatteryDiffData()
683 appEntries, in generateBatteryDiffData()
1338 final List<BatteryDiffEntry> appEntries = new ArrayList<>(); in insertHourlyUsageDiffDataPerSlot() local
1355 appEntries, in insertHourlyUsageDiffDataPerSlot()
1512 appEntries.add(currentBatteryDiffEntry); in insertHourlyUsageDiffDataPerSlot()
1522 appEntries, in insertHourlyUsageDiffDataPerSlot()
1583 final List<BatteryDiffEntry> appEntries = new ArrayList<>(); in getAccumulatedUsageDiffData() local
1617 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 ->
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DAppScanStats.java1153 List<ScannerMap.ScannerApp> appEntries = mScannerMap.getByName(mAppName); in dumpToString() local
1154 for (ScannerMap.ScannerApp appEntry : appEntries) { in dumpToString()