Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/compat/
DUserManagerCompatVNMr1.java71 public long getSerialNumberForUser(UserHandle user) { in getSerialNumberForUser() method in UserManagerCompatVNMr1
78 return mUserManager.getSerialNumberForUser(user); in getSerialNumberForUser()
109 long serial = mUserManager.getSerialNumberForUser(user); in enableAndResetCache()
DUserManagerCompat.java52 public abstract long getSerialNumberForUser(UserHandle user); in getSerialNumberForUser() method in UserManagerCompat
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAppInfoComparator.java60 Long aUserSerial = mUserManager.getSerialNumberForUser(a.user); in compare()
61 Long bUserSerial = mUserManager.getSerialNumberForUser(b.user); in compare()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java86 protected long getSerialNumberForUser(UserHandle user) { in getSerialNumberForUser() method in IconCache
87 return mUserManager.getSerialNumberForUser(user); in getSerialNumberForUser()
108 long userSerial = mUserManager.getSerialNumberForUser(user); in updateIconsForPkg()
/packages/apps/Launcher3/src/com/android/launcher3/
DWidgetPreviewLoader.java148 values.put(CacheDb.COLUMN_USER, mUserManager.getSerialNumberForUser(key.user)); in writeToDb()
158 removePackage(packageName, user, mUserManager.getSerialNumberForUser(user)); in removePackage()
187 final long userId = mUserManager.getSerialNumberForUser(key.user); in removeObsoletePreviews()
198 : mUserManager.getSerialNumberForUser(packageUser.mUser); in removeObsoletePreviews()
263 Long.toString(mUserManager.getSerialNumberForUser(key.user)), in readFromDb()
DLauncherProvider.java647 public long getSerialNumberForUser(UserHandle user) { in getSerialNumberForUser() method in LauncherProvider.DatabaseHelper
648 return UserManagerCompat.getInstance(mContext).getSerialNumberForUser(user); in getSerialNumberForUser()
652 return getSerialNumberForUser(Process.myUserHandle()); in getDefaultUserSerial()
681 long serial = um.getSerialNumberForUser(user); in handleOneTimeDataUpgrade()
DInstallShortcutReceiver.java425 .getSerialNumberForUser(user)) in encodeToString()
435 .getSerialNumberForUser(user)) in encodeToString()
462 UserManagerCompat.getInstance(mContext).getSerialNumberForUser(user)) in encodeToString()
DAppWidgetsRestoredReceiver.java86 .getSerialNumberForUser(myUserHandle()); in restoreAppWidgetIds()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java137 protected abstract long getSerialNumberForUser(UserHandle user); in getSerialNumberForUser() method in BaseIconCache
220 long userSerial = getSerialNumberForUser(user); in removeIconsForPkg()
448 addIconToDB(values, cacheKey.componentName, info, getSerialNumberForUser(user)); in getEntryForPackageLocked()
472 Long.toString(getSerialNumberForUser(cacheKey.user))}); in getEntryFromDB()
DIconCacheUpdateHandler.java133 long userSerial = mIconCache.getSerialNumberForUser(user); in updateIconsPerUser()
/packages/apps/Launcher3/iconloaderlib/src_full_lib/com/android/launcher3/icons/
DSimpleIconCache.java67 protected long getSerialNumberForUser(UserHandle user) { in getSerialNumberForUser() method in SimpleIconCache
73 long serial = mUserManager.getSerialNumberForUser(user); in getSerialNumberForUser()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DContentWriter.java89 return put(key, UserManagerCompat.getInstance(mContext).getSerialNumberForUser(user)); in put()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridBackupTable.java97 long userSerial = UserManagerCompat.getInstance(mContext).getSerialNumberForUser( in copyTable()
DLoaderTask.java317 long serialNo = mUserManager.getSerialNumberForUser(user); in loadWorkspace()
/packages/apps/Messaging/src/com/android/messaging/util/
DOsUtil.java152 final long userSerialNumber = userManager.getSerialNumberForUser(uh); in isSecondaryUser()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DRestoreDbTask.java101 long newManagedProfileId = helper.getSerialNumberForUser(user); in sanitizeDB()
DImportDataTask.java104 .getSerialNumberForUser(Process.myUserHandle())); in importWorkspaceItems()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java1362 } else if (mUserManager.getSerialNumberForUser(userHandle) == -1) { in read()
1721 final long serialNumber = userManager.getSerialNumberForUser(o.userHandle);
2027 userManager.getSerialNumberForUser(o.getUserHandle()), serializer);
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DPhoneAccountRegistrarTest.java225 when(UserManager.get(mContext).getSerialNumberForUser(input.userHandle)) in testDefaultPhoneAccountHandleEmptyGroup()
1183 when(UserManager.get(mContext).getSerialNumberForUser(userHandle)) in makeQuickState()
DComponentContextFixture.java537 when(mUserManager.getSerialNumberForUser(any(UserHandle.class))).thenReturn(-1L);
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DLocationAccessCheck.java268 Long.valueOf(mUserManager.getSerialNumberForUser(userPkg.user)).toString()); in safeAlreadyNotifiedPackagesLocked()