Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridBackupTable.java46 long profileId = UserCache.INSTANCE.get(mContext).getSerialNumberForUser( in createCustomBackupTable()
60 long userSerial = UserCache.INSTANCE.get(mContext).getSerialNumberForUser( in restoreFromCustomBackupTable()
DModelDbController.java123 this::getSerialNumberForUser, onEmptyDbCreateCallback); in createDatabaseHelper()
131 getSerialNumberForUser(Process.myUserHandle()), in createDatabaseHelper()
621 public long getSerialNumberForUser(UserHandle user) { in getSerialNumberForUser() method in ModelDbController
622 return UserCache.INSTANCE.get(mContext).getSerialNumberForUser(user); in getSerialNumberForUser()
DUserManagerState.java43 long serialNo = userCache.getSerialNumberForUser(user); in init()
DDatabaseHelper.java151 long serial = um.getSerialNumberForUser(user); in handleOneTimeDataUpgrade()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAppInfoComparator.java61 Long aUserSerial = mUserManager.getSerialNumberForUser(a.user); in compare()
62 Long bUserSerial = mUserManager.getSerialNumberForUser(b.user); in compare()
/packages/modules/Permission/PermissionController/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/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java130 protected abstract long getSerialNumberForUser(UserHandle user); in getSerialNumberForUser() method in BaseIconCache
213 long userSerial = getSerialNumberForUser(user); in removeIconsForPkg()
443 addIconToDB(values, cacheKey.componentName, info, getSerialNumberForUser(user), in getEntryForPackageLocked()
468 Long.toString(getSerialNumberForUser(cacheKey.user))}); in getEntryFromDB()
DIconCacheUpdateHandler.java142 long userSerial = mIconCache.getSerialNumberForUser(user); in updateIconsPerUser()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DRestoreDbTask.java226 long myProfileId = controller.getSerialNumberForUser(myUserHandle()); in sanitizeDB()
240 long newManagedProfileId = controller.getSerialNumberForUser(user); in sanitizeDB()
491 .getSerialNumberForUser(myUserHandle()); in restoreAppWidgetIds()
492 long controllerProfileId = controller.getSerialNumberForUser(myUserHandle()); in restoreAppWidgetIds()
596 controller.getSerialNumberForUser(override.getUser())); in maybeOverrideShortcuts()
DLauncherDbUtils.java87 long userSerial = UserCache.INSTANCE.get(context).getSerialNumberForUser( in copyTable()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/gridmigration/
DValidGridMigrationUnitTest.kt115 val userSerial = UserCache.INSTANCE[context].getSerialNumberForUser(Process.myUserHandle()) in migrate()
120 { UserCache.INSTANCE.get(context).getSerialNumberForUser(it) }, in migrate()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java130 protected long getSerialNumberForUser(@NonNull UserHandle user) { in getSerialNumberForUser() method in IconCache
131 return mUserManager.getSerialNumberForUser(user); in getSerialNumberForUser()
154 long userSerial = mUserManager.getSerialNumberForUser(user); in updateIconsForPkg()
403 Stream.of(Long.toString(getSerialNumberForUser(user)))).toArray(String[]::new); in createBulkQueryCursor()
/packages/apps/Launcher3/tests/src/com/android/launcher3/provider/
DRestoreDbTaskTest.java167 .getSerialNumberForUser(myUser); in testSanitizeDB_bothProfiles()
197 .getSerialNumberForUser(myUser); in testSanitizeDB_workItemsRemoved()
406 public long getSerialNumberForUser(UserHandle user) { in getSerialNumberForUser() method in RestoreDbTaskTest.MyModelDbController
DLauncherDbUtilsTest.java168 super(mContext, null, UserCache.INSTANCE.get(mContext)::getSerialNumberForUser, in MyDatabaseHelper()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/model/
DDatabaseHelperTest.kt39 UserCache.INSTANCE.get(context).getSerialNumberForUser(it) in <lambda>()
DGridSizeMigrationUtilTest.kt71 UserCache.INSTANCE.get(context)::getSerialNumberForUser in <lambda>()
90 val userSerial = UserCache.INSTANCE[context].getSerialNumberForUser(Process.myUserHandle()) in <lambda>()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DContentWriter.java90 return put(key, UserCache.INSTANCE.get(mContext).getSerialNumberForUser(user)); in put()
DApiWrapper.java87 long serial = um.getSerialNumberForUser(user); in queryAllUsers()
DPersistedItemArray.java96 Long.toString(userCache.getSerialNumberForUser(item.user))); in write()
/packages/apps/Messaging/src/com/android/messaging/util/
DOsUtil.java152 final long userSerialNumber = userManager.getSerialNumberForUser(uh); in isSecondaryUser()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DGridMigrationTest.kt54 { UserCache.INSTANCE.get(phoneContext).getSerialNumberForUser(it) }, in <lambda>()
DDbDowngradeHelperTest.java227 UserCache.INSTANCE.get(mContext)::getSerialNumberForUser, in MyDatabaseHelper()
/packages/apps/Launcher3/src/com/android/launcher3/pm/
DUserCache.java155 public long getSerialNumberForUser(UserHandle user) { in getSerialNumberForUser() method in UserCache
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DPhoneAccountRegistrarTest.java206 doReturn(10L).when(userManager).getSerialNumberForUser(eq(USER_HANDLE_10)); in testPhoneAccountParsing_simultaneousCallingRestriction()
242 doReturn(10L).when(userManager).getSerialNumberForUser(eq(USER_HANDLE_10)); in testPhoneAccountParsing_simultaneousCallingRestrictionOnOffFlag()
372 when(userManager.getSerialNumberForUser(input.userHandle)) in testDefaultPhoneAccountHandleEmptyGroup()
1334 when(userManager.getSerialNumberForUser(users.get(0))) in testCleanUpOrphanAccounts()
1337 when(userManager.getSerialNumberForUser(users.get(1))) in testCleanUpOrphanAccounts()
2313 when(userManager.getSerialNumberForUser(userHandle)) in makeQuickStateWithTelephonyPhoneAccountHandle()
2332 when(userManager.getSerialNumberForUser(userHandle)) in makeQuickState()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DPinnedAppsAdapter.java207 + UserCache.INSTANCE.get(mLauncher).getSerialNumberForUser(key.user); in encode()

12