Searched refs:homePackages (Results 1 – 6 of 6) sorted by relevance
65 val homePackages = mutableSetOf<String>() in <lambda>() constant69 homePackages.add(activityInfo.packageName) in <lambda>()73 ?.let { homePackages.add(it) } in <lambda>()75 return HomePackages(homePackages, currentDefaultHome) in <lambda>()121 packageName !in homePackageInfo.homePackages -> false in <lambda>()124 homePackageInfo.homePackages.size == 1 -> true in <lambda>()145 val homePackages: Set<String>, in <lambda>() constant in com.android.settings.spa.app.appinfo.AppButtonRepository.HomePackages
76 packageName in appButtonRepository.getHomePackageInfo().homePackages -> false in canBeDisabled()
78 HashSet<String> homePackages = new HashSet<>(); in getHomePackages() local84 homePackages.add(activityPkg); in getHomePackages()90 homePackages.add(metaPkg); in getHomePackages()94 return homePackages; in getHomePackages()128 final HashSet<String> homePackages = getHomePackages(); in canDisable() local138 return !(homePackages.contains(mAppEntry.info.packageName) in canDisable()
93 final HashSet<String> homePackages = getHomePackages(); in canDisable() local103 return !(homePackages.contains(mEntry.info.packageName) || in canDisable()108 HashSet<String> homePackages = new HashSet<>(); in getHomePackages() local114 homePackages.add(activityPkg); in getHomePackages()120 homePackages.add(metaPkg); in getHomePackages()124 return homePackages; in getHomePackages()
81 assertThat(homePackageInfo.homePackages).isEmpty() in getHomePackageInfo_empty()91 assertThat(homePackageInfo.homePackages).isEmpty() in getHomePackageInfo_noActivityInfo()104 assertThat(homePackageInfo.homePackages).containsExactly(PACKAGE_NAME) in getHomePackageInfo_oneHome()116 assertThat(homePackageInfo.homePackages).containsExactly( in getHomePackageInfo_homeAlternateSignatureMatch()129 assertThat(homePackageInfo.homePackages).containsExactly(PACKAGE_NAME) in getHomePackageInfo_homeAlternateSignatureNoMatch()
490 Set<String> homePackages = new ArraySet<>(); in shouldDisableUninstallForHomeApp() local497 homePackages.add(activityPkg); in shouldDisableUninstallForHomeApp()504 homePackages.add(metaPkg); in shouldDisableUninstallForHomeApp()509 if (homePackages.contains(mPackageName)) { in shouldDisableUninstallForHomeApp()516 return (homePackages.size() == 1); in shouldDisableUninstallForHomeApp()