Home
last modified time | relevance | path

Searched refs:takeNewSnapshot (Results 1 – 10 of 10) sorted by relevance

/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/ota/
DCrossProfileAppsPregrantControllerTest.java105 mCrossProfileAppsSnapshot.takeNewSnapshot(mContext.getUserId()); in onPrimaryProfile_noManagedProfile_doesNotPregrant()
120 mCrossProfileAppsSnapshot.takeNewSnapshot(mContext.getUserId()); in onManagedProfile_doesNotPregrant()
135 mCrossProfileAppsSnapshot.takeNewSnapshot(mContext.getUserId()); in defaultConfigurablePackage_doesPregrant()
150 mCrossProfileAppsSnapshot.takeNewSnapshot(mContext.getUserId()); in nonDefaultConfigurablePackage_doesNotPregrant()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/nonrequiredapps/
DNonRequiredAppsLogicTest.java169 verify(mSnapshot, never()).takeNewSnapshot(anyInt()); in testMaybeTakeSnapshot_NewLeave()
182 verify(mSnapshot).takeNewSnapshot(TEST_USER_ID); in testMaybeTakeSnapshot_NewDelete()
197 verify(mSnapshot, never()).takeNewSnapshot(anyInt()); in testMaybeTakeSnapshot_OtaLeave()
212 verify(mSnapshot).takeNewSnapshot(TEST_USER_ID); in testMaybeTakeSnapshot_OtaDelete()
DSystemAppsSnapshotTest.java89 mSystemAppsSnapshot.takeNewSnapshot(TEST_USER_ID); in testHasSnapshot()
104 mSystemAppsSnapshot.takeNewSnapshot(TEST_USER_ID); in testGetSnapshot()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioninglisteners/
DProvisioningCompletedController.java78 mSystemAppsSnapshot.takeNewSnapshot(mUserId); in run()
86 mCrossProfileAppsSnapshot.takeNewSnapshot(parentUser.id); in run()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioninglisteners/
DProvisioningCompletedControllerTest.java102 verify(mSystemAppsSnapshot).takeNewSnapshot(MANAGED_USER_USER_ID); in provision_doNotLeaveSystemAppsEnabled_takesSystemAppsSnapshot()
120 verify(mCrossProfileAppsSnapshot).takeNewSnapshot(PARENT_USER_USER_ID); in provision_managedProfile_takesCrossProfileAppsSnapshot()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/task/interactacrossprofiles/
DCrossProfileAppsSnapshotTest.java79 mCrossProfileAppsSnapshot.takeNewSnapshot(TEST_USER_ID); in hasSnapshot_snapshotTaken_returnsTrue()
92 mCrossProfileAppsSnapshot.takeNewSnapshot(TEST_USER_ID); in getSnapshot_snapshotTaken_returnsPreviousCrossProfilePackages()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/
DNonRequiredAppsLogic.java136 mSnapshot.takeNewSnapshot(userId); in maybeTakeSystemAppsSnapshot()
DSystemAppsSnapshot.java93 public void takeNewSnapshot(int userId) { in takeNewSnapshot() method in SystemAppsSnapshot
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/interactacrossprofiles/
DCrossProfileAppsSnapshot.java81 public void takeNewSnapshot(int userId) { in takeNewSnapshot() method in CrossProfileAppsSnapshot
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DUpdateInteractAcrossProfilesAppOpTask.java75 mCrossProfileAppsSnapshot.takeNewSnapshot(userId); in run()