Home
last modified time | relevance | path

Searched refs:keepEnabledPackages (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/
DApplicationFeatureProviderImpl.java145 final Set<String> keepEnabledPackages = new ArraySet<>(); in getKeepEnabledPackages() local
148 keepEnabledPackages.add(defaultDialer); in getKeepEnabledPackages()
153 keepEnabledPackages.add(defaultSms.getPackageName()); in getKeepEnabledPackages()
159 keepEnabledPackages.add(euicc.packageName); in getKeepEnabledPackages()
162 keepEnabledPackages.addAll(getEnabledPackageAllowlist()); in getKeepEnabledPackages()
168 keepEnabledPackages.add(locationHistoryPackage); in getKeepEnabledPackages()
170 return keepEnabledPackages; in getKeepEnabledPackages()
174 final Set<String> keepEnabledPackages = new ArraySet<>(); in getEnabledPackageAllowlist() local
177 keepEnabledPackages.add( in getEnabledPackageAllowlist()
181 keepEnabledPackages.add(mContext.getString(R.string.config_package_installer_package_name)); in getEnabledPackageAllowlist()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/apps/
DApplicationFeatureProviderImpl.java148 final Set<String> keepEnabledPackages = new ArraySet<>(); in getKeepEnabledPackages() local
151 keepEnabledPackages.add(defaultDialer); in getKeepEnabledPackages()
156 keepEnabledPackages.add(defaultSms.getPackageName()); in getKeepEnabledPackages()
162 keepEnabledPackages.add(euicc.packageName); in getKeepEnabledPackages()
165 keepEnabledPackages.addAll(getEnabledPackageAllowlist()); in getKeepEnabledPackages()
170 keepEnabledPackages.add(locationHistoryPackage); in getKeepEnabledPackages()
172 return keepEnabledPackages; in getKeepEnabledPackages()
176 final Set<String> keepEnabledPackages = new ArraySet<>(); in getEnabledPackageAllowlist() local
179 keepEnabledPackages.add(mPm.getWellbeingPackageName()); in getEnabledPackageAllowlist()
181 return keepEnabledPackages; in getEnabledPackageAllowlist()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationsUtils.java52 Set<String> keepEnabledPackages = new ArraySet<>(); in isKeepEnabledPackage() local
55 keepEnabledPackages.add(defaultDialer); in isKeepEnabledPackage()
60 keepEnabledPackages.add(defaultSms.getPackageName()); in isKeepEnabledPackage()
62 return keepEnabledPackages.contains(packageName); in isKeepEnabledPackage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DApplicationFeatureProviderImplTest.java279 final Set<String> keepEnabledPackages = mProvider.getKeepEnabledPackages(); in getKeepEnabledPackages_shouldContainDefaultPhoneAndSmsAndLocationHistory() local
283 assertThat(keepEnabledPackages).containsAtLeastElementsIn(expectedPackages); in getKeepEnabledPackages_shouldContainDefaultPhoneAndSmsAndLocationHistory()
310 final Set<String> keepEnabledPackages = spyProvider.getKeepEnabledPackages(); in getKeepEnabledPackages_hasEuiccComponent_shouldContainEuiccPackage() local
312 assertThat(keepEnabledPackages).contains(testEuicc); in getKeepEnabledPackages_hasEuiccComponent_shouldContainEuiccPackage()