Home
last modified time | relevance | path

Searched refs:appList (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
DManageApplicationsTest.java215 final ArrayList<ApplicationsState.AppEntry> appList = new ArrayList<>(); in updateLoading_appLoaded_shouldNotDelayCallToHandleLoadingContainer() local
216 appList.add(mock(ApplicationsState.AppEntry.class)); in updateLoading_appLoaded_shouldNotDelayCallToHandleLoadingContainer()
217 when(mSession.getAllApps()).thenReturn(appList); in updateLoading_appLoaded_shouldNotDelayCallToHandleLoadingContainer()
270 final ArrayList<ApplicationsState.AppEntry> appList = new ArrayList<>(); in onRebuildComplete_shouldHideLoadingView() local
271 appList.add(mock(ApplicationsState.AppEntry.class)); in onRebuildComplete_shouldHideLoadingView()
272 when(mSession.getAllApps()).thenReturn(appList); in onRebuildComplete_shouldHideLoadingView()
298 final ArrayList<ApplicationsState.AppEntry> appList = new ArrayList<>(); in onRebuildComplete_hasSearchQuery_shouldFilterSearch() local
299 appList.add(mock(ApplicationsState.AppEntry.class)); in onRebuildComplete_hasSearchQuery_shouldFilterSearch()
305 adapter.onRebuildComplete(appList); in onRebuildComplete_hasSearchQuery_shouldFilterSearch()
353 final ArrayList<ApplicationsState.AppEntry> appList = new ArrayList<>(); in applicationsAdapter_onBindViewHolder_notifications_wrongExtraInfo() local
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DDefaultLayoutParser.java115 final List<ResolveInfo> appList = mPackageManager.queryIntentActivities( in invalidPackageOrClass() local
120 if (wouldLaunchResolverActivity(resolved, appList)) { in invalidPackageOrClass()
122 final ResolveInfo systemApp = getSingleSystemActivity(appList); in invalidPackageOrClass()
144 private ResolveInfo getSingleSystemActivity(List<ResolveInfo> appList) { in getSingleSystemActivity() argument
146 final int N = appList.size(); in getSingleSystemActivity()
150 appList.get(i).activityInfo.packageName, 0); in getSingleSystemActivity()
155 systemResolve = appList.get(i); in getSingleSystemActivity()
167 List<ResolveInfo> appList) { in wouldLaunchResolverActivity() argument
170 for (int i = 0; i < appList.size(); ++i) { in wouldLaunchResolverActivity()
171 ResolveInfo tmp = appList.get(i); in wouldLaunchResolverActivity()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/
DHighUsageTip.java41 public HighUsageTip(long lastFullChargeTimeMs, List<AppInfo> appList) { in HighUsageTip() argument
42 super(TipType.HIGH_DEVICE_USAGE, appList.isEmpty() ? StateType.INVISIBLE : StateType.NEW, in HighUsageTip()
45 mHighUsageAppList = appList; in HighUsageTip()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DBatteryFixSliceTest.java100 final List<AppInfo> appList = new ArrayList<>(); in getSlice_unimportantSlice_shouldSkip() local
101 appList.add(new AppInfo.Builder() in getSlice_unimportantSlice_shouldSkip()
107 tips.add(new HighUsageTip(1000L, appList)); in getSlice_unimportantSlice_shouldSkip()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DInstalledAppCountItemManager.java60 List<ApplicationInfo> appList = mContext.getPackageManager() in startLoading() local
65 for (ApplicationInfo applicationInfo : appList) { in startLoading()
/packages/apps/Settings/src/com/android/settings/
DUsageStatsActivity.java62 AppNameComparator(Map<String, String> appList) { in AppNameComparator() argument
63 mAppLabelList = appList; in AppNameComparator()