Searched refs:adminPkgs (Results 1 – 2 of 2) sorted by relevance
1220 final Set<String> adminPkgs = mActiveAdminApps.get(userId); in isActiveDeviceAdmin() local1221 return adminPkgs != null && adminPkgs.contains(packageName); in isActiveDeviceAdmin()1227 Set<String> adminPkgs = mActiveAdminApps.get(userId); in addActiveDeviceAdmin() local1228 if (adminPkgs == null) { in addActiveDeviceAdmin()1229 adminPkgs = new ArraySet<>(); in addActiveDeviceAdmin()1230 mActiveAdminApps.put(userId, adminPkgs); in addActiveDeviceAdmin()1232 adminPkgs.add(adminPkg); in addActiveDeviceAdmin()1236 public void setActiveAdminApps(Set<String> adminPkgs, int userId) { in setActiveAdminApps() argument1238 if (adminPkgs == null) { in setActiveAdminApps()1241 mActiveAdminApps.put(userId, adminPkgs); in setActiveAdminApps()
3684 Set<String> adminPkgs = null; in getActiveAdminPackagesLocked() local3687 if (adminPkgs == null) { in getActiveAdminPackagesLocked()3688 adminPkgs = new ArraySet<>(); in getActiveAdminPackagesLocked()3690 adminPkgs.add(pkgName); in getActiveAdminPackagesLocked()3692 return adminPkgs; in getActiveAdminPackagesLocked()