Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DProtectedPackages.java58 private final SparseArray<Set<String>> mOwnerProtectedPackages = new SparseArray<>(); field in ProtectedPackages
82 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()