Home
last modified time | relevance | path

Searched refs:protectedPackages (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DPolicyVersionUpgrader.java169 List<String> protectedPackages = null; in upgradeProtectedPackages() local
176 protectedPackages = ownersData.mDeviceOwnerProtectedPackages in upgradeProtectedPackages()
178 if (protectedPackages != null) { in upgradeProtectedPackages()
184 protectedPackages = doUserData.mUserControlDisabledPackages; in upgradeProtectedPackages()
194 if (protectedPackages != null) { in upgradeProtectedPackages()
195 doAdmin.protectedPackages = new ArrayList<>(protectedPackages); in upgradeProtectedPackages()
DOwnersData.java472 List<String> protectedPackages = new ArrayList<>(); in readInner() local
474 protectedPackages.add(parser.getAttributeValue(null, ATTR_NAME + i)); in readInner()
479 mDeviceOwnerProtectedPackages.put(packageName, protectedPackages); in readInner()
DActiveAdmin.java279 List<String> protectedPackages; field in ActiveAdmin
567 writePackageListToXml(out, TAG_PROTECTED_PACKAGES, protectedPackages); in writeToXml()
868 protectedPackages = readPackageList(parser, tag); in readFromXml()
1365 if (protectedPackages != null) { in dump()
1367 pw.println(protectedPackages); in dump()
DDevicePolicyManagerService.java24474 if (admin != null && admin.protectedPackages != null) {
24484 new HashSet<>(admin.protectedPackages)));
24490 new HashSet<>(admin.protectedPackages)),
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageHelperTestBase.kt68 lateinit var protectedPackages: ProtectedPackages variable in com.android.server.pm.PackageHelperTestBase
92 pms, rule.mocks().injector, broadcastHelper, protectedPackages) in setup()
102 whenever(protectedPackages.getDeviceOwnerOrProfileOwnerPackage(eq(TEST_USER_ID))) in setup()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceTestParams.java82 public ProtectedPackages protectedPackages; field in PackageManagerServiceTestParams
DSuspendPackageHelper.java70 BroadcastHelper broadcastHelper, ProtectedPackages protectedPackages) { in SuspendPackageHelper() argument
74 mProtectedPackages = protectedPackages; in SuspendPackageHelper()
DPackageManagerService.java1907 mProtectedPackages = testParams.protectedPackages; in PackageManagerService()