Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/util/
DUserCache.java71 final SparseArray<String> mWorkProfileOwnerApps = new SparseArray<>(); field in UserCache
139 int index = mWorkProfileOwnerApps.indexOfKey(userId); in isWorkProfile()
141 return !NO_WORK_PROFILE_OWNER_APP.equals(mWorkProfileOwnerApps.valueAt(index)); in isWorkProfile()
154 mWorkProfileOwnerApps.put(userId, ai.packageName); in isWorkProfile()
164 mWorkProfileOwnerApps.put(userId, NO_WORK_PROFILE_OWNER_APP); in isWorkProfile()
236 if (mWorkProfileOwnerApps.size() == 0) { in invalidateWorkProfileOwnerApps()
242 for (int i = 0; i < mWorkProfileOwnerApps.size(); i++) { in invalidateWorkProfileOwnerApps()
243 final int userId = mWorkProfileOwnerApps.keyAt(i); in invalidateWorkProfileOwnerApps()
244 if (packageName.equals(mWorkProfileOwnerApps.get(userId))) { in invalidateWorkProfileOwnerApps()
247 mWorkProfileOwnerApps.remove(userId); in invalidateWorkProfileOwnerApps()