Searched refs:myProfileId_old (Results 1 – 1 of 1) sorted by relevance
/packages/apps/Launcher3/tests/src/com/android/launcher3/provider/ |
D | RestoreDbTaskTest.java | 168 long myProfileId_old = myProfileId + 1; in testSanitizeDB_bothProfiles() local 175 doReturn(myUserHandle()).when(bm).getUserForAncestralSerialNumber(eq(myProfileId_old)); in testSanitizeDB_bothProfiles() 179 addIconsBulk(controller, 10, 1, myProfileId_old); in testSanitizeDB_bothProfiles() 181 assertEquals(10, getItemCountForProfile(db, myProfileId_old)); in testSanitizeDB_bothProfiles() 187 assertEquals(0, getItemCountForProfile(db, myProfileId_old)); in testSanitizeDB_bothProfiles() 198 long myProfileId_old = myProfileId + 1; in testSanitizeDB_workItemsRemoved() local 204 doReturn(myUserHandle()).when(bm).getUserForAncestralSerialNumber(eq(myProfileId_old)); in testSanitizeDB_workItemsRemoved() 208 addIconsBulk(controller, 10, 1, myProfileId_old); in testSanitizeDB_workItemsRemoved() 210 assertEquals(10, getItemCountForProfile(db, myProfileId_old)); in testSanitizeDB_workItemsRemoved() 216 assertEquals(0, getItemCountForProfile(db, myProfileId_old)); in testSanitizeDB_workItemsRemoved()
|