Searched refs:keepEnabledPackages (Results 1 – 6 of 6) sorted by relevance
158 final Set<String> keepEnabledPackages = new ArraySet<>(); in getKeepEnabledPackages() local161 keepEnabledPackages.add(defaultDialer); in getKeepEnabledPackages()166 keepEnabledPackages.add(defaultSms.getPackageName()); in getKeepEnabledPackages()172 keepEnabledPackages.add(euicc.packageName); in getKeepEnabledPackages()179 keepEnabledPackages.add(packageName); in getKeepEnabledPackages()183 keepEnabledPackages.addAll(getEnabledPackageAllowlist()); in getKeepEnabledPackages()189 keepEnabledPackages.add(locationHistoryPackage); in getKeepEnabledPackages()191 keepEnabledPackages.addAll(mSystemConfigManager.getPreventUserDisablePackages()); in getKeepEnabledPackages()192 return keepEnabledPackages; in getKeepEnabledPackages()196 final Set<String> keepEnabledPackages = new ArraySet<>(); in getEnabledPackageAllowlist() local[all …]
149 final Set<String> keepEnabledPackages = new ArraySet<>(); in getKeepEnabledPackages() local152 keepEnabledPackages.add(defaultDialer); in getKeepEnabledPackages()157 keepEnabledPackages.add(defaultSms.getPackageName()); in getKeepEnabledPackages()163 keepEnabledPackages.add(euicc.packageName); in getKeepEnabledPackages()166 keepEnabledPackages.addAll(getEnabledPackageAllowlist()); in getKeepEnabledPackages()172 keepEnabledPackages.add(locationHistoryPackage); in getKeepEnabledPackages()174 return keepEnabledPackages; in getKeepEnabledPackages()178 final Set<String> keepEnabledPackages = new ArraySet<>(); in getEnabledPackageAllowlist() local181 keepEnabledPackages.add( in getEnabledPackageAllowlist()185 keepEnabledPackages.add(mContext.getString(R.string.config_package_installer_package_name)); in getEnabledPackageAllowlist()[all …]
52 Set<String> keepEnabledPackages = new ArraySet<>(); in isKeepEnabledPackage() local55 keepEnabledPackages.add(defaultDialer); in isKeepEnabledPackage()60 keepEnabledPackages.add(defaultSms.getPackageName()); in isKeepEnabledPackage()62 return keepEnabledPackages.contains(packageName); in isKeepEnabledPackage()
317 final Set<String> keepEnabledPackages = mProvider.getKeepEnabledPackages(); in getKeepEnabledPackages_shouldContainDefaultPhoneAndSmsAndLocationHistory() local321 assertThat(keepEnabledPackages).containsAtLeastElementsIn(expectedPackages); in getKeepEnabledPackages_shouldContainDefaultPhoneAndSmsAndLocationHistory()348 final Set<String> keepEnabledPackages = spyProvider.getKeepEnabledPackages(); in getKeepEnabledPackages_hasEuiccComponent_shouldContainEuiccPackage() local350 assertThat(keepEnabledPackages).contains(testEuicc); in getKeepEnabledPackages_hasEuiccComponent_shouldContainEuiccPackage()422 final Set<String> keepEnabledPackages = mProvider.getKeepEnabledPackages(); in getKeepEnabledPackages_shouldContainPreventUserDisablePackages() local424 assertThat(keepEnabledPackages).containsAtLeastElementsIn(PREVENT_USER_DISABLE_PACKAGES); in getKeepEnabledPackages_shouldContainPreventUserDisablePackages()
85 whenever(appFeatureProvider.keepEnabledPackages).thenReturn(emptySet()) in setUp()123 whenever(appFeatureProvider.keepEnabledPackages).thenReturn(setOf(PACKAGE_NAME)) in getActionButton_isKeepEnabledPackages_cannotDisable()
72 packageName in applicationFeatureProvider.keepEnabledPackages -> false in canBeDisabled()