Searched refs:mOwnerProtectedPackages (Results 1 – 1 of 1) sorted by relevance
58 private final SparseArray<Set<String>> mOwnerProtectedPackages = new SparseArray<>(); field in ProtectedPackages82 mOwnerProtectedPackages.remove(userId); in setOwnerProtectedPackages()84 mOwnerProtectedPackages.put(userId, new ArraySet<>(packageNames)); in setOwnerProtectedPackages()140 int userIdx = mOwnerProtectedPackages.indexOfKey(userId); in isPackageProtectedForUser()141 return userIdx >= 0 && mOwnerProtectedPackages.valueAt(userIdx).contains(packageName); in isPackageProtectedForUser()145 return mOwnerProtectedPackages.indexOfKey(userId) >= 0; in hasProtectedPackages()