Searched refs:mSystemAppsSnapshot (Results 1 – 4 of 4) sorted by relevance
42 private SystemAppsSnapshot mSystemAppsSnapshot; field in ManagedUserCreationControllerTest52 UserHandle.USER_NULL, false, mSystemAppsSnapshot); in testNullUserId()56 verifyZeroInteractions(mSystemAppsSnapshot); in testNullUserId()62 MANAGED_USER_USER_ID, true, mSystemAppsSnapshot); in testLeaveAllSystemApps()66 verifyZeroInteractions(mSystemAppsSnapshot); in testLeaveAllSystemApps()72 MANAGED_USER_USER_ID, false, mSystemAppsSnapshot); in testTakeSnapshot()76 verify(mSystemAppsSnapshot).takeNewSnapshot(MANAGED_USER_USER_ID); in testTakeSnapshot()
59 private SystemAppsSnapshot mSystemAppsSnapshot; field in SystemAppsSnapshotTest71 mSystemAppsSnapshot = new SystemAppsSnapshot(mContext, mockIPackageManager, mUtils); in setUp()86 assertFalse(mSystemAppsSnapshot.hasSnapshot(TEST_USER_ID)); in testHasSnapshot()89 mSystemAppsSnapshot.takeNewSnapshot(TEST_USER_ID); in testHasSnapshot()92 assertTrue(mSystemAppsSnapshot.hasSnapshot(TEST_USER_ID)); in testHasSnapshot()101 assertTrue(mSystemAppsSnapshot.getSnapshot(TEST_USER_ID).isEmpty()); in testGetSnapshot()104 mSystemAppsSnapshot.takeNewSnapshot(TEST_USER_ID); in testGetSnapshot()107 assertSetEquals(mSystemAppsSnapshot.getSnapshot(TEST_USER_ID), in testGetSnapshot()
29 final private SystemAppsSnapshot mSystemAppsSnapshot; field in ManagedUserCreationController43 mSystemAppsSnapshot = systemAppsSnapshot; in ManagedUserCreationController()51 mSystemAppsSnapshot.takeNewSnapshot(mUserId); in run()
80 private SystemAppsSnapshot mSystemAppsSnapshot; field in MigrateSystemAppsSnapshotTaskTest95 mSystemAppsSnapshot = new SystemAppsSnapshot(mContext); in setup()170 Set<String> actual = mSystemAppsSnapshot.getSnapshot(userId); in assertSnapshotFileContent()