Searched refs:homeActivities (Results 1 – 9 of 9) sorted by relevance
65 homeActivities: List<ResolveInfo>, in mockGetHomeActivities()70 (it.arguments[0] as ArrayList<ResolveInfo>).addAll(homeActivities) in mockGetHomeActivities()77 mockGetHomeActivities(homeActivities = emptyList()) in getHomePackageInfo_empty()87 mockGetHomeActivities(homeActivities = listOf(ResolveInfo())) in getHomePackageInfo_noActivityInfo()98 homeActivities = listOf(RESOLVE_INFO), in getHomePackageInfo_oneHome()110 mockGetHomeActivities(homeActivities = listOf(RESOLVE_INFO_WITH_ALTERNATE)) in getHomePackageInfo_homeAlternateSignatureMatch()123 mockGetHomeActivities(homeActivities = listOf(RESOLVE_INFO_WITH_ALTERNATE)) in getHomePackageInfo_homeAlternateSignatureNoMatch()140 homeActivities = listOf(RESOLVE_INFO), in uninstallDisallowedDueToHomeApp_isNotSystemAndIsCurrentHomeAndHasOnlyOneHomeApp()157 homeActivities = listOf(RESOLVE_INFO, RESOLVE_INFO_FAKE), in uninstallDisallowedDueToHomeApp_isNotSystemAndIsCurrentHomeAndHasOtherHomeApps()175 homeActivities = listOf(RESOLVE_INFO, RESOLVE_INFO_FAKE), in uninstallDisallowedDueToHomeApp_isSystemAndIsCurrentHomeAndHasOtherHomeApps()
66 val homeActivities = ArrayList<ResolveInfo>() in <lambda>() constant67 val currentDefaultHome = packageManager.getHomeActivities(homeActivities) in <lambda>()68 homeActivities.mapNotNull { it.activityInfo }.forEach { activityInfo -> in <lambda>()
80 List<ResolveInfo> homeActivities = new ArrayList<>(); in getHomePackages() local81 mPackageManager.getHomeActivities(homeActivities); in getHomePackages()82 for (ResolveInfo ri : homeActivities) { in getHomePackages()
1186 final List<ResolveInfo> homeActivities = new ArrayList<>(); in handleMessage() local1187 mPm.getHomeActivities(homeActivities); in handleMessage()1195 for (ResolveInfo activity : homeActivities) { in handleMessage()
110 List<ResolveInfo> homeActivities = new ArrayList<>(); in getHomePackages() local111 mPackageManager.getHomeActivities(homeActivities); in getHomePackages()112 for (ResolveInfo ri : homeActivities) { in getHomePackages()
432 ArrayList<ResolveInfo> homeActivities = new ArrayList<ResolveInfo>(); in updateUninstallButton() local433 ComponentName currentDefaultHome = mPm.getHomeActivities(homeActivities); in updateUninstallButton()651 List<ResolveInfo> homeActivities = new ArrayList<>(); in refreshUi() local652 mPm.getHomeActivities(homeActivities); in refreshUi()654 for (ResolveInfo ri : homeActivities) { in refreshUi()
492 List<ResolveInfo> homeActivities = new ArrayList<>(); in shouldDisableUninstallForHomeApp() local493 ComponentName currentDefaultHome = mPm.getHomeActivities(homeActivities); in shouldDisableUninstallForHomeApp()494 for (int i = 0; i < homeActivities.size(); i++) { in shouldDisableUninstallForHomeApp()495 ResolveInfo ri = homeActivities.get(i); in shouldDisableUninstallForHomeApp()
193 public void setHomeActivities(List<ResolveInfo> homeActivities) { in setHomeActivities() argument194 mHomeActivities = homeActivities; in setHomeActivities()
215 final List<ResolveInfo> homeActivities = new ArrayList<>(); in isDefaultLauncher() local216 ComponentName defaultActivity = packageManager.getHomeActivities(homeActivities); in isDefaultLauncher()