Home
last modified time | relevance | path

Searched refs:isPackageInstalledForUser (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java271 isPackageInstalledForUser(pkg, userInfo1.id)); in testAddManagedProfile_withDisallowedPackages()
280 + pkg, isPackageInstalledForUser(pkg, userInfo2.id)); in testAddManagedProfile_withDisallowedPackages()
294 + pkg, isPackageInstalledForUser(pkg, userInfo.id)); in testAddManagedProfile_disallowedPackagesInstalledLater()
604 private boolean isPackageInstalledForUser(String packageName, int userId) { in isPackageInstalledForUser() method in UserManagerTest
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java6091 if (!isPackageInstalledForUser(delegatePackage, userId)) { in setDelegatedScopes()
6437 if (vpnPackage != null && !isPackageInstalledForUser(vpnPackage, userId)) { in setAlwaysOnVpnPackage()
6445 if (!isPackageInstalledForUser(packageName, userId)) { in setAlwaysOnVpnPackage()
7818 || !isPackageInstalledForUser(admin.getPackageName(), userId)) { in setDeviceOwner()
8086 || !isPackageInstalledForUser(who.getPackageName(), userHandle)) { in setProfileOwner()
11872 boolean isPackageInstalledForUser(String packageName, int userHandle) { in isPackageInstalledForUser() method