Home
last modified time | relevance | path

Searched refs:getUserForAncestralSerialNumber (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/tests/src/com/android/launcher3/provider/
DRestoreDbTaskTest.java175 doReturn(myUserHandle()).when(bm).getUserForAncestralSerialNumber(eq(myProfileId_old)); in testSanitizeDB_bothProfiles()
176 doReturn(mWorkUser).when(bm).getUserForAncestralSerialNumber(eq(workProfileId_old)); in testSanitizeDB_bothProfiles()
204 doReturn(myUserHandle()).when(bm).getUserForAncestralSerialNumber(eq(myProfileId_old)); in testSanitizeDB_workItemsRemoved()
206 doReturn(null).when(bm).getUserForAncestralSerialNumber(eq(workProfileId_old)); in testSanitizeDB_workItemsRemoved()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DRestoreDbTask.java238 UserHandle user = getUserForAncestralSerialNumber(backupManager, oldManagedProfileId); in sanitizeDB()
390 private UserHandle getUserForAncestralSerialNumber(BackupManager backupManager, in getUserForAncestralSerialNumber() method in RestoreDbTask
392 return backupManager.getUserForAncestralSerialNumber(ancestralSerialNumber); in getUserForAncestralSerialNumber()