Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/
DVolumeCache.java58 private final UserCache mUserCache; field in VolumeCache
72 mUserCache = userCache; in VolumeCache()
115 final Context userContext = mUserCache.getContextForUser(user); in getVolumePath()
137 final Context userContext = mUserCache.getContextForUser(user); in getVolumeScanPaths()
197 List<UserHandle> users = mUserCache.updateAndGetUsers(); in update()
199 Context userContext = mUserCache.getContextForUser(user); in update()
DMediaProvider.java426 List<UserHandle> users = mUserCache.getUsersCached(); in getAllowedVolumePaths()
457 private UserCache mUserCache; field in MediaProvider
477 LocalCallingIdentity.fromExternal(getContext(), mUserCache, uid,
509 identity = LocalCallingIdentity.fromExternal(getContext(), mUserCache, uid); in getCachedCallingIdentityForFuse()
535 : LocalCallingIdentity.fromBinder(getContext(), this, mUserCache);
907 mUserCache = new UserCache(context); in onCreate()
917 mVolumeCache = new VolumeCache(context, mUserCache); in onCreate()
1312 if (mUserCache.userSharesMediaWithParent(user1) in isAppCloneUserPair()
1313 || mUserCache.userSharesMediaWithParent(user2)) { in isAppCloneUserPair()
2622 LocalCallingIdentity.fromExternal(getContext(), mUserCache, uid)); in checkUriPermission()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DDatabaseWidgetPreviewLoader.java99 private final UserCache mUserCache; field in DatabaseWidgetPreviewLoader
106 mUserCache = UserCache.INSTANCE.get(context); in DatabaseWidgetPreviewLoader()
200 values.put(CacheDb.COLUMN_USER, mUserCache.getSerialNumberForUser(key.user)); in writeToDb()
211 removePackage(packageName, user, mUserCache.getSerialNumberForUser(user)); in removePackage()
241 final long userId = mUserCache.getSerialNumberForUser(key.user); in removeObsoletePreviews()
252 : mUserCache.getSerialNumberForUser(packageUser.mUser); in removeObsoletePreviews()
291 UserHandle user = mUserCache.getUserForSerialNumber(userId); in removeObsoletePreviews()
317 Long.toString(mUserCache.getSerialNumberForUser(key.user)), in readFromDb()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderTask.java128 private final UserCache mUserCache; field in LoaderTask
153 mUserCache = UserCache.INSTANCE.get(mApp.getContext()); in LoaderTask()
387 mUserManagerState.init(mUserCache, mUserManager); in loadWorkspace()
389 for (UserHandle user : mUserCache.getUserProfiles()) { in loadWorkspace()
390 long serialNo = mUserCache.getSerialNumberForUser(user); in loadWorkspace()
907 final List<UserHandle> profiles = mUserCache.getUserProfiles(); in loadAllApps()
955 for (UserHandle user : mUserCache.getUserProfiles()) { in loadDeepShortcuts()