Searched refs:resolveInfo (Results 1 – 2 of 2) sorted by relevance
46 final ResolveInfo resolveInfo = mock(ResolveInfo.class); in createTestLaunchItem() local47 when(resolveInfo.loadIcon(any(PackageManager.class))).thenReturn(icon); in createTestLaunchItem()48 when(resolveInfo.loadLabel(any(PackageManager.class))).thenReturn(label); in createTestLaunchItem()49 resolveInfo.activityInfo = activityInfo; in createTestLaunchItem()54 return new LaunchItem(context, resolveInfo, priority); in createTestLaunchItem()
67 for (ResolveInfo resolveInfo : infoList) { in getSystemUpdateCheckerIntent()68 if (isSystemApp(resolveInfo)) { in getSystemUpdateCheckerIntent()70 intent.setComponent(new ComponentName(resolveInfo.activityInfo.packageName, in getSystemUpdateCheckerIntent()71 resolveInfo.activityInfo.name)); in getSystemUpdateCheckerIntent()