Home
last modified time | relevance | path

Searched refs:mSystemAppsSnapshot (Results 1 – 4 of 4) sorted by relevance

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/manageduser/
DManagedUserCreationControllerTest.java42 private SystemAppsSnapshot mSystemAppsSnapshot; field in ManagedUserCreationControllerTest
52 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()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/nonrequiredapps/
DSystemAppsSnapshotTest.java59 private SystemAppsSnapshot mSystemAppsSnapshot; field in SystemAppsSnapshotTest
71 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()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/manageduser/
DManagedUserCreationController.java29 final private SystemAppsSnapshot mSystemAppsSnapshot; field in ManagedUserCreationController
43 mSystemAppsSnapshot = systemAppsSnapshot; in ManagedUserCreationController()
51 mSystemAppsSnapshot.takeNewSnapshot(mUserId); in run()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DMigrateSystemAppsSnapshotTaskTest.java80 private SystemAppsSnapshot mSystemAppsSnapshot; field in MigrateSystemAppsSnapshotTaskTest
95 mSystemAppsSnapshot = new SystemAppsSnapshot(mContext); in setup()
170 Set<String> actual = mSystemAppsSnapshot.getSnapshot(userId); in assertSnapshotFileContent()