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/provisioninglisteners/
DProvisioningCompletedControllerTest.java51 private SystemAppsSnapshot mSystemAppsSnapshot; field in ProvisioningCompletedControllerTest
66 mSystemAppsSnapshot, in provision_withNullUserId_doesNotTakeSystemAppsSnapshot()
72 verifyZeroInteractions(mSystemAppsSnapshot); in provision_withNullUserId_doesNotTakeSystemAppsSnapshot()
81 mSystemAppsSnapshot, in provision_leaveSystemAppsEnabled_doesNotTakeSystemAppsSnapshot()
87 verifyZeroInteractions(mSystemAppsSnapshot); in provision_leaveSystemAppsEnabled_doesNotTakeSystemAppsSnapshot()
96 mSystemAppsSnapshot, in provision_doNotLeaveSystemAppsEnabled_takesSystemAppsSnapshot()
102 verify(mSystemAppsSnapshot).takeNewSnapshot(MANAGED_USER_USER_ID); in provision_doNotLeaveSystemAppsEnabled_takesSystemAppsSnapshot()
114 mSystemAppsSnapshot, in provision_managedProfile_takesCrossProfileAppsSnapshot()
/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/provisioninglisteners/
DProvisioningCompletedController.java38 private final SystemAppsSnapshot mSystemAppsSnapshot; field in ProvisioningCompletedController
67 mSystemAppsSnapshot = requireNonNull(systemAppsSnapshot); in ProvisioningCompletedController()
78 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()