Searched refs:adminPkgs (Results 1 – 2 of 2) sorted by relevance
1505 final Set<String> adminPkgs = mActiveAdminApps.get(userId); in isActiveDeviceAdmin() local1506 return adminPkgs != null && adminPkgs.contains(packageName); in isActiveDeviceAdmin()1513 Set<String> adminPkgs = mActiveAdminApps.get(userId); in addActiveDeviceAdmin() local1514 if (adminPkgs == null) { in addActiveDeviceAdmin()1515 adminPkgs = new ArraySet<>(); in addActiveDeviceAdmin()1516 mActiveAdminApps.put(userId, adminPkgs); in addActiveDeviceAdmin()1518 adminPkgs.add(adminPkg); in addActiveDeviceAdmin()1523 public void setActiveAdminApps(Set<String> adminPkgs, int userId) { in setActiveAdminApps() argument1525 if (adminPkgs == null) { in setActiveAdminApps()1528 mActiveAdminApps.put(userId, adminPkgs); in setActiveAdminApps()
147 void setActiveAdminApps(Set<String> adminPkgs, int userId); in setActiveAdminApps() argument