Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridBackupTable.java60 long userSerial = UserCache.INSTANCE.get(mContext).getSerialNumberForUser( in restoreFromCustomBackupTable() local
62 copyTable(mDb, tableName, Favorites.TABLE_NAME, userSerial); in restoreFromCustomBackupTable()
70 private static void copyTable(SQLiteDatabase db, String from, String to, long userSerial) { in copyTable() argument
72 Favorites.addTableToDb(db, userSerial, false, to); in copyTable()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/cache/
DIconCacheUpdateHandler.java142 long userSerial = mIconCache.getSerialNumberForUser(user); in updateIconsPerUser() local
151 new String[]{Long.toString(userSerial)})) { in updateIconsPerUser() argument
211 new SerializedIconUpdateTask(userSerial, user, appsToAdd, appsToUpdate, cachingLogic, in updateIconsPerUser()
258 SerializedIconUpdateTask(long userSerial, UserHandle userHandle, in SerializedIconUpdateTask() argument
262 mUserSerial = userSerial; in SerializedIconUpdateTask()
DBaseIconCache.java213 long userSerial = getSerialNumberForUser(user); in removeIconsForPkg() local
216 new String[]{packageName + "/%", Long.toString(userSerial)}); in removeIconsForPkg()
246 PackageInfo info, long userSerial, boolean replaceExisting) { in addIconToDBAndMemCache() argument
273 addIconToDB(values, componentName, info, userSerial, in addIconToDBAndMemCache()
282 PackageInfo info, long userSerial, long lastUpdateTime) { in addIconToDB() argument
284 values.put(IconDB.COLUMN_USER, userSerial); in addIconToDB()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DLauncherDbUtils.java87 long userSerial = UserCache.INSTANCE.get(context).getSerialNumberForUser( in copyTable() local
90 Favorites.addTableToDb(toDb, userSerial, false, toTable); in copyTable()
94 "INSERT INTO " + toTable + " SELECT " + getColumns(userSerial) in copyTable()
98 toDb.execSQL("INSERT INTO " + toTable + " SELECT " + getColumns(userSerial) + " FROM " in copyTable()
/packages/apps/Launcher3/src/com/android/launcher3/pm/
DUserCache.java156 return getUserInfo(user).userSerial; in getSerialNumberForUser()
175 .filter(entry -> serialNumber == entry.getValue().userSerial) in getUserForSerialNumber()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/gridmigration/
DValidGridMigrationUnitTest.kt115 val userSerial = UserCache.INSTANCE[context].getSerialNumberForUser(Process.myUserHandle()) in migrate() constant
124 Favorites.addTableToDb(dbHelper.writableDatabase, userSerial, false, srcGrid.tableName) in migrate()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java154 long userSerial = mUserManager.getSerialNumberForUser(user); in updateIconsForPkg() local
156 addIconToDBAndMemCache(app, mLauncherActivityInfoCachingLogic, info, userSerial, in updateIconsForPkg()
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java224 case TYPE_WORK -> mUserTypeToSerial.put(USER_TYPE_WORK, uii.userSerial); in AutoInstallsLayout()
225 case TYPE_CLONED -> mUserTypeToSerial.put(USER_TYPE_CLONED, uii.userSerial); in AutoInstallsLayout()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/model/
DGridSizeMigrationUtilTest.kt90 val userSerial = UserCache.INSTANCE[context].getSerialNumberForUser(Process.myUserHandle()) in <lambda>() constant
92 addTableToDb(db, userSerial, false, TMP_TABLE) in <lambda>()