Searched refs:keepEnabledPackages (Results 1 – 4 of 4) sorted by relevance
133 final Set<String> keepEnabledPackages = new ArraySet<>(); in getKeepEnabledPackages() local136 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() local159 keepEnabledPackages.add( in getEnabledPackageWhitelist()163 keepEnabledPackages.add(mContext.getString(R.string.config_package_installer_package_name)); in getEnabledPackageWhitelist()165 return keepEnabledPackages; in getEnabledPackageWhitelist()
46 Set<String> keepEnabledPackages = new ArraySet<>(); in isKeepEnabledPackage() local49 keepEnabledPackages.add(defaultDialer); in isKeepEnabledPackage()54 keepEnabledPackages.add(defaultSms.getPackageName()); in isKeepEnabledPackage()56 return keepEnabledPackages.contains(packageName); in isKeepEnabledPackage()
278 final Set<String> keepEnabledPackages = mProvider.getKeepEnabledPackages(); in getKeepEnabledPackages_shouldContainDefaultPhoneAndSmsAndLocationHistory() local282 assertThat(keepEnabledPackages).containsAllIn(expectedPackages); in getKeepEnabledPackages_shouldContainDefaultPhoneAndSmsAndLocationHistory()