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.java133 final Set<String> keepEnabledPackages = new ArraySet<>(); in getKeepEnabledPackages() local
136 keepEnabledPackages.add(defaultDialer); in getKeepEnabledPackages()
141 keepEnabledPackages.add(defaultSms.getPackageName()); in getKeepEnabledPackages()
144 keepEnabledPackages.addAll(getEnabledPackageWhitelist()); in getKeepEnabledPackages()
150 keepEnabledPackages.add(locationHistoryPackage); in getKeepEnabledPackages()
152 return keepEnabledPackages; in getKeepEnabledPackages()
156 final Set<String> keepEnabledPackages = new ArraySet<>(); in getEnabledPackageWhitelist() local
159 keepEnabledPackages.add( in getEnabledPackageWhitelist()
163 keepEnabledPackages.add(mContext.getString(R.string.config_package_installer_package_name)); in getEnabledPackageWhitelist()
165 return keepEnabledPackages; in getEnabledPackageWhitelist()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DApplicationFeatureProviderImpl.java133 final Set<String> keepEnabledPackages = new ArraySet<>(); in getKeepEnabledPackages() local
136 keepEnabledPackages.add(defaultDialer); in getKeepEnabledPackages()
141 keepEnabledPackages.add(defaultSms.getPackageName()); in getKeepEnabledPackages()
144 keepEnabledPackages.addAll(getEnabledPackageWhitelist()); in getKeepEnabledPackages()
150 keepEnabledPackages.add(locationHistoryPackage); in getKeepEnabledPackages()
152 return keepEnabledPackages; in getKeepEnabledPackages()
156 final Set<String> keepEnabledPackages = new ArraySet<>(); in getEnabledPackageWhitelist() local
159 keepEnabledPackages.add( in getEnabledPackageWhitelist()
163 keepEnabledPackages.add(mContext.getString(R.string.config_package_installer_package_name)); in getEnabledPackageWhitelist()
165 return keepEnabledPackages; in getEnabledPackageWhitelist()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationsUtils.java46 Set<String> keepEnabledPackages = new ArraySet<>(); in isKeepEnabledPackage() local
49 keepEnabledPackages.add(defaultDialer); in isKeepEnabledPackage()
54 keepEnabledPackages.add(defaultSms.getPackageName()); in isKeepEnabledPackage()
56 return keepEnabledPackages.contains(packageName); in isKeepEnabledPackage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DApplicationFeatureProviderImplTest.java278 final Set<String> keepEnabledPackages = mProvider.getKeepEnabledPackages(); in getKeepEnabledPackages_shouldContainDefaultPhoneAndSmsAndLocationHistory() local
282 assertThat(keepEnabledPackages).containsAllIn(expectedPackages); in getKeepEnabledPackages_shouldContainDefaultPhoneAndSmsAndLocationHistory()