Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
DManageApplicationsTest.java224 final ArrayList<ApplicationsState.AppEntry> appList = new ArrayList<>(); in updateLoading_appLoaded_shouldNotDelayCallToHandleLoadingContainer() local
225 appList.add(mock(ApplicationsState.AppEntry.class)); in updateLoading_appLoaded_shouldNotDelayCallToHandleLoadingContainer()
226 when(mSession.getAllApps()).thenReturn(appList); in updateLoading_appLoaded_shouldNotDelayCallToHandleLoadingContainer()
281 final ArrayList<ApplicationsState.AppEntry> appList = new ArrayList<>(); in onRebuildComplete_shouldHideLoadingView() local
282 appList.add(mock(ApplicationsState.AppEntry.class)); in onRebuildComplete_shouldHideLoadingView()
283 when(mSession.getAllApps()).thenReturn(appList); in onRebuildComplete_shouldHideLoadingView()
308 final ArrayList<ApplicationsState.AppEntry> appList = new ArrayList<>(); in onRebuildComplete_hasSearchQuery_shouldFilterSearch() local
309 appList.add(mock(ApplicationsState.AppEntry.class)); in onRebuildComplete_hasSearchQuery_shouldFilterSearch()
315 adapter.onRebuildComplete(appList); in onRebuildComplete_hasSearchQuery_shouldFilterSearch()
363 final ArrayList<ApplicationsState.AppEntry> appList = new ArrayList<>(); in applicationsAdapter_onBindViewHolder_notifications_wrongExtraInfo() local
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DDefaultLayoutParser.java110 final List<ResolveInfo> appList = mPackageManager.queryIntentActivities( in invalidPackageOrClass() local
115 if (wouldLaunchResolverActivity(resolved, appList)) { in invalidPackageOrClass()
117 final ResolveInfo systemApp = getSingleSystemActivity(appList); in invalidPackageOrClass()
139 private ResolveInfo getSingleSystemActivity(List<ResolveInfo> appList) { in getSingleSystemActivity() argument
141 final int N = appList.size(); in getSingleSystemActivity()
145 appList.get(i).activityInfo.packageName, 0); in getSingleSystemActivity()
150 systemResolve = appList.get(i); in getSingleSystemActivity()
162 List<ResolveInfo> appList) { in wouldLaunchResolverActivity() argument
165 for (int i = 0; i < appList.size(); ++i) { in wouldLaunchResolverActivity()
166 ResolveInfo tmp = appList.get(i); in wouldLaunchResolverActivity()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/src/com/android/settings/
DUsageStatsActivity.java62 AppNameComparator(Map<String, String> appList) { in AppNameComparator() argument
63 mAppLabelList = appList; in AppNameComparator()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUsageStatsActivity.java62 AppNameComparator(Map<String, String> appList) { in AppNameComparator() argument
63 mAppLabelList = appList; in AppNameComparator()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java100 List<ApplicationInfo> appList = Arrays.asList( in testGetCurrentSystemApps() local
105 .thenReturn(new ParceledListSlice<ApplicationInfo>(appList)); in testGetCurrentSystemApps()