Searched refs:appList (Results 1 – 6 of 6) sorted by relevance
215 final ArrayList<ApplicationsState.AppEntry> appList = new ArrayList<>(); in updateLoading_appLoaded_shouldNotDelayCallToHandleLoadingContainer() local216 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() local271 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() local299 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 …]
115 final List<ResolveInfo> appList = mPackageManager.queryIntentActivities( in invalidPackageOrClass() local120 if (wouldLaunchResolverActivity(resolved, appList)) { in invalidPackageOrClass()122 final ResolveInfo systemApp = getSingleSystemActivity(appList); in invalidPackageOrClass()144 private ResolveInfo getSingleSystemActivity(List<ResolveInfo> appList) { in getSingleSystemActivity() argument146 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() argument170 for (int i = 0; i < appList.size(); ++i) { in wouldLaunchResolverActivity()171 ResolveInfo tmp = appList.get(i); in wouldLaunchResolverActivity()
41 public HighUsageTip(long lastFullChargeTimeMs, List<AppInfo> appList) { in HighUsageTip() argument42 super(TipType.HIGH_DEVICE_USAGE, appList.isEmpty() ? StateType.INVISIBLE : StateType.NEW, in HighUsageTip()45 mHighUsageAppList = appList; in HighUsageTip()
100 final List<AppInfo> appList = new ArrayList<>(); in getSlice_unimportantSlice_shouldSkip() local101 appList.add(new AppInfo.Builder() in getSlice_unimportantSlice_shouldSkip()107 tips.add(new HighUsageTip(1000L, appList)); in getSlice_unimportantSlice_shouldSkip()
60 List<ApplicationInfo> appList = mContext.getPackageManager() in startLoading() local65 for (ApplicationInfo applicationInfo : appList) { in startLoading()
62 AppNameComparator(Map<String, String> appList) { in AppNameComparator() argument63 mAppLabelList = appList; in AppNameComparator()