Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridBackupTable.java99 doBackup(UserCache.INSTANCE.get(mContext).getSerialNumberForUser( in backupOrRestoreAsNeeded()
118 long userSerial = UserCache.INSTANCE.get(mContext).getSerialNumberForUser( in restoreIfBackupExists()
134 long profileId = UserCache.INSTANCE.get(mContext).getSerialNumberForUser( in createCustomBackupTable()
149 long userSerial = UserCache.INSTANCE.get(mContext).getSerialNumberForUser( in restoreFromCustomBackupTable()
DUserManagerState.java40 long serialNo = userCache.getSerialNumberForUser(user); in init()
DLoaderTask.java390 long serialNo = mUserCache.getSerialNumberForUser(user); in loadWorkspace()
/packages/apps/Launcher3/src/com/android/launcher3/pm/
DUserCache.java92 long serial = mUserManager.getSerialNumberForUser(user); in enableAndResetCache()
116 public long getSerialNumberForUser(UserHandle user) { in getSerialNumberForUser() method in UserCache
123 return mUserManager.getSerialNumberForUser(user); in getSerialNumberForUser()
/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/widget/
DDatabaseWidgetPreviewLoader.java200 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()
317 Long.toString(mUserCache.getSerialNumberForUser(key.user)), in readFromDb()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java101 protected long getSerialNumberForUser(UserHandle user) { in getSerialNumberForUser() method in IconCache
102 return mUserManager.getSerialNumberForUser(user); in getSerialNumberForUser()
123 long userSerial = mUserManager.getSerialNumberForUser(user); in updateIconsForPkg()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java750 public long getSerialNumberForUser(UserHandle user) { in getSerialNumberForUser() method in LauncherProvider.DatabaseHelper
751 return UserCache.INSTANCE.get(mContext).getSerialNumberForUser(user); in getSerialNumberForUser()
755 return getSerialNumberForUser(Process.myUserHandle()); in getDefaultUserSerial()
784 long serial = um.getSerialNumberForUser(user); in handleOneTimeDataUpgrade()
DAppWidgetsRestoredReceiver.java88 .getSerialNumberForUser(myUserHandle()); in restoreAppWidgetIds()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DContentWriter.java89 return put(key, UserCache.INSTANCE.get(mContext).getSerialNumberForUser(user)); in put()
DPersistedItemArray.java96 Long.toString(userCache.getSerialNumberForUser(item.user))); in write()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DLauncherDbUtils.java124 long userSerial = UserCache.INSTANCE.get(context).getSerialNumberForUser( in copyTable()
DRestoreDbTask.java152 long newManagedProfileId = helper.getSerialNumberForUser(user); in sanitizeDB()
DImportDataTask.java104 .getSerialNumberForUser(Process.myUserHandle())); in importWorkspaceItems()
/packages/apps/Messaging/src/com/android/messaging/util/
DOsUtil.java152 final long userSerialNumber = userManager.getSerialNumberForUser(uh); in isSecondaryUser()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DCacheDataUpdatedTaskTest.java85 um.getSerialNumberForUser(info.user), true); in setup()
DGridSizeMigrationTaskV2Test.java94 long userSerial = UserCache.INSTANCE.get(mContext).getSerialNumberForUser( in setUp()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DPinnedAppsAdapter.java202 + UserCache.INSTANCE.get(mLauncher).getSerialNumberForUser(key.user); in encode()
/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/apps/Launcher3/robolectric_tests/src/com/android/launcher3/util/
DLauncherModelHelper.java102 .getSerialNumberForUser(Process.myUserHandle()); in LauncherModelHelper()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DPhoneAccountRegistrarTest.java225 when(UserManager.get(mContext).getSerialNumberForUser(input.userHandle)) in testDefaultPhoneAccountHandleEmptyGroup()
1192 when(UserManager.get(mContext).getSerialNumberForUser(userHandle)) in makeQuickState()
DComponentContextFixture.java625 when(mUserManager.getSerialNumberForUser(any(UserHandle.class))).thenReturn(-1L);
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DLocationAccessCheck.java268 Long.valueOf(mUserManager.getSerialNumberForUser(userPkg.user)).toString()); in safeAlreadyNotifiedPackagesLocked()