Searched refs:getUserForAncestralSerialNumber (Results 1 – 2 of 2) sorted by relevance
175 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()
238 UserHandle user = getUserForAncestralSerialNumber(backupManager, oldManagedProfileId); in sanitizeDB()390 private UserHandle getUserForAncestralSerialNumber(BackupManager backupManager, in getUserForAncestralSerialNumber() method in RestoreDbTask392 return backupManager.getUserForAncestralSerialNumber(ancestralSerialNumber); in getUserForAncestralSerialNumber()