Searched refs:adminPkgs (Results 1 – 2 of 2) sorted by relevance
1277 final Set<String> adminPkgs = mActiveAdminApps.get(userId); in isActiveDeviceAdmin() local1278 return adminPkgs != null && adminPkgs.contains(packageName); in isActiveDeviceAdmin()1284 Set<String> adminPkgs = mActiveAdminApps.get(userId); in addActiveDeviceAdmin() local1285 if (adminPkgs == null) { in addActiveDeviceAdmin()1286 adminPkgs = new ArraySet<>(); in addActiveDeviceAdmin()1287 mActiveAdminApps.put(userId, adminPkgs); in addActiveDeviceAdmin()1289 adminPkgs.add(adminPkg); in addActiveDeviceAdmin()1293 public void setActiveAdminApps(Set<String> adminPkgs, int userId) { in setActiveAdminApps() argument1295 if (adminPkgs == null) { in setActiveAdminApps()1298 mActiveAdminApps.put(userId, adminPkgs); in setActiveAdminApps()
3881 Set<String> adminPkgs = null; in getActiveAdminPackagesLocked() local3884 if (adminPkgs == null) { in getActiveAdminPackagesLocked()3885 adminPkgs = new ArraySet<>(); in getActiveAdminPackagesLocked()3887 adminPkgs.add(pkgName); in getActiveAdminPackagesLocked()3889 return adminPkgs; in getActiveAdminPackagesLocked()